#[non_exhaustive]pub struct AuthorizeClientVpnIngressInput {
pub client_vpn_endpoint_id: Option<String>,
pub target_network_cidr: Option<String>,
pub access_group_id: Option<String>,
pub authorize_all_groups: Option<bool>,
pub description: Option<String>,
pub client_token: Option<String>,
pub dry_run: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_vpn_endpoint_id: Option<String>The ID of the Client VPN endpoint.
target_network_cidr: Option<String>The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
access_group_id: Option<String>The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. Required if AuthorizeAllGroups is false or not specified.
Indicates whether to grant access to all clients. Specify true to grant all clients who successfully establish a VPN connection access to the network. Must be set to true if AccessGroupId is not specified.
description: Option<String>A brief description of the authorization rule.
client_token: Option<String>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Implementations§
source§impl AuthorizeClientVpnIngressInput
impl AuthorizeClientVpnIngressInput
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN endpoint.
sourcepub fn target_network_cidr(&self) -> Option<&str>
pub fn target_network_cidr(&self) -> Option<&str>
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
sourcepub fn access_group_id(&self) -> Option<&str>
pub fn access_group_id(&self) -> Option<&str>
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. Required if AuthorizeAllGroups is false or not specified.
Indicates whether to grant access to all clients. Specify true to grant all clients who successfully establish a VPN connection access to the network. Must be set to true if AccessGroupId is not specified.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the authorization rule.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
source§impl AuthorizeClientVpnIngressInput
impl AuthorizeClientVpnIngressInput
sourcepub fn builder() -> AuthorizeClientVpnIngressInputBuilder
pub fn builder() -> AuthorizeClientVpnIngressInputBuilder
Creates a new builder-style object to manufacture AuthorizeClientVpnIngressInput.
Trait Implementations§
source§impl Clone for AuthorizeClientVpnIngressInput
impl Clone for AuthorizeClientVpnIngressInput
source§fn clone(&self) -> AuthorizeClientVpnIngressInput
fn clone(&self) -> AuthorizeClientVpnIngressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AuthorizeClientVpnIngressInput
impl PartialEq for AuthorizeClientVpnIngressInput
source§fn eq(&self, other: &AuthorizeClientVpnIngressInput) -> bool
fn eq(&self, other: &AuthorizeClientVpnIngressInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthorizeClientVpnIngressInput
Auto Trait Implementations§
impl Freeze for AuthorizeClientVpnIngressInput
impl RefUnwindSafe for AuthorizeClientVpnIngressInput
impl Send for AuthorizeClientVpnIngressInput
impl Sync for AuthorizeClientVpnIngressInput
impl Unpin for AuthorizeClientVpnIngressInput
impl UnwindSafe for AuthorizeClientVpnIngressInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more