CfnClientVpnAuthorizationRuleMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnClientVpnAuthorizationRuleMixinProps(*, access_group_id=None, authorize_all_groups=None, client_vpn_endpoint_id=None, description=None, target_network_cidr=None)
Bases:
objectProperties for CfnClientVpnAuthorizationRulePropsMixin.
- Parameters:
access_group_id (
Optional[str]) – The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. Required ifAuthorizeAllGroupsisfalseor not specified.authorize_all_groups (
Union[bool,IResolvable,None]) – Indicates whether to grant access to all clients. Specifytrueto grant all clients who successfully establish a VPN connection access to the network. Must be set totrueifAccessGroupIdis not specified.client_vpn_endpoint_id (
Optional[str]) – The ID of the Client VPN endpoint.description (
Optional[str]) – A brief description of the authorization rule.target_network_cidr (
Optional[str]) – The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_client_vpn_authorization_rule_mixin_props = ec2_mixins.CfnClientVpnAuthorizationRuleMixinProps( access_group_id="accessGroupId", authorize_all_groups=False, client_vpn_endpoint_id="clientVpnEndpointId", description="description", target_network_cidr="targetNetworkCidr" )
Attributes
- access_group_id
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.
Required if
AuthorizeAllGroupsisfalseor not specified.
- authorize_all_groups
Indicates whether to grant access to all clients.
Specify
trueto grant all clients who successfully establish a VPN connection access to the network. Must be set totrueifAccessGroupIdis not specified.
- client_vpn_endpoint_id
The ID of the Client VPN endpoint.
- description
A brief description of the authorization rule.
- target_network_cidr
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.