Class CfnClientVpnTargetNetworkAssociation
Specifies a target network to associate with a Client VPN endpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnClientVpnTargetNetworkAssociation : CfnResource, IInspectable, IClientVpnTargetNetworkAssociationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnClientVpnTargetNetworkAssociation Inherits CfnResource Implements IInspectable, IClientVpnTargetNetworkAssociationRef, IConstruct, IDependable, IEnvironmentAware
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnClientVpnTargetNetworkAssociation = new CfnClientVpnTargetNetworkAssociation(this, "MyCfnClientVpnTargetNetworkAssociation", new CfnClientVpnTargetNetworkAssociationProps {
ClientVpnEndpointId = "clientVpnEndpointId",
SubnetId = "subnetId"
});
Synopsis
Constructors
| CfnClientVpnTargetNetworkAssociation(Construct, string, ICfnClientVpnTargetNetworkAssociationProps) | Create a new |
Properties
| AttrId | Specifies a target network to associate with a Client VPN endpoint. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Specifies a target network to associate with a Client VPN endpoint. |
| ClientVpnEndpointId | The ID of the Client VPN endpoint. |
| ClientVpnTargetNetworkAssociationRef | A reference to a ClientVpnTargetNetworkAssociation resource. |
| SubnetId | The ID of the subnet to associate with the Client VPN endpoint. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnClientVpnTargetNetworkAssociation(object) | Checks whether the given object is a CfnClientVpnTargetNetworkAssociation. |
| RenderProperties(IDictionary<string, object>) | Specifies a target network to associate with a Client VPN endpoint. |
Constructors
CfnClientVpnTargetNetworkAssociation(Construct, string, ICfnClientVpnTargetNetworkAssociationProps)
Create a new AWS::EC2::ClientVpnTargetNetworkAssociation.
public CfnClientVpnTargetNetworkAssociation(Construct scope, string id, ICfnClientVpnTargetNetworkAssociationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnClientVpnTargetNetworkAssociationProps
Resource properties.
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
Properties
AttrId
Specifies a target network to associate with a Client VPN endpoint.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
CfnProperties
Specifies a target network to associate with a Client VPN endpoint.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
ClientVpnEndpointId
The ID of the Client VPN endpoint.
public virtual string ClientVpnEndpointId { get; set; }
Property Value
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
ClientVpnTargetNetworkAssociationRef
A reference to a ClientVpnTargetNetworkAssociation resource.
public virtual IClientVpnTargetNetworkAssociationReference ClientVpnTargetNetworkAssociationRef { get; }
Property Value
IClientVpnTargetNetworkAssociationReference
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
SubnetId
The ID of the subnet to associate with the Client VPN endpoint.
public virtual string SubnetId { get; set; }
Property Value
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
IsCfnClientVpnTargetNetworkAssociation(object)
Checks whether the given object is a CfnClientVpnTargetNetworkAssociation.
public static bool IsCfnClientVpnTargetNetworkAssociation(object x)
Parameters
- x object
Returns
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Specifies a target network to associate with a Client VPN endpoint.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
CloudformationResource: AWS::EC2::ClientVpnTargetNetworkAssociation
ExampleMetadata: fixture=_generated