CfnClientVpnTargetNetworkAssociationProps

class aws_cdk.aws_ec2.CfnClientVpnTargetNetworkAssociationProps(*, client_vpn_endpoint_id, subnet_id)

Bases: object

Properties for defining a CfnClientVpnTargetNetworkAssociation.

Parameters:
  • client_vpn_endpoint_id (str) – The ID of the Client VPN endpoint.

  • subnet_id (str) – The ID of the subnet to associate with the Client VPN endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpntargetnetworkassociation.html

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 import aws_ec2 as ec2

cfn_client_vpn_target_network_association_props = ec2.CfnClientVpnTargetNetworkAssociationProps(
    client_vpn_endpoint_id="clientVpnEndpointId",
    subnet_id="subnetId"
)

Attributes

client_vpn_endpoint_id

The ID of the Client VPN endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpntargetnetworkassociation.html#cfn-ec2-clientvpntargetnetworkassociation-clientvpnendpointid

subnet_id

The ID of the subnet to associate with the Client VPN endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpntargetnetworkassociation.html#cfn-ec2-clientvpntargetnetworkassociation-subnetid