#[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 How to ensure 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 How to ensure 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 ==
.