Struct aws_sdk_ec2::input::AuthorizeClientVpnIngressInput [−][src]
#[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
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<AuthorizeClientVpnIngress, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<AuthorizeClientVpnIngress, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AuthorizeClientVpnIngress
>
Creates a new builder-style object to manufacture AuthorizeClientVpnIngressInput
The ID of the Client VPN endpoint.
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
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.
A brief description of the authorization rule.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for AuthorizeClientVpnIngressInput
impl Sync for AuthorizeClientVpnIngressInput
impl Unpin for AuthorizeClientVpnIngressInput
impl UnwindSafe for AuthorizeClientVpnIngressInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more