Show / Hide Table of Contents

Class CfnClientVpnRouteProps

Properties for defining a CfnClientVpnRoute.

Inheritance
object
CfnClientVpnRouteProps
Implements
ICfnClientVpnRouteProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnClientVpnRouteProps : ICfnClientVpnRouteProps
Syntax (vb)
Public Class CfnClientVpnRouteProps Implements ICfnClientVpnRouteProps
Remarks

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

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 cfnClientVpnRouteProps = new CfnClientVpnRouteProps {
                 ClientVpnEndpointId = "clientVpnEndpointId",
                 DestinationCidrBlock = "destinationCidrBlock",
                 TargetVpcSubnetId = "targetVpcSubnetId",

                 // the properties below are optional
                 Description = "description"
             };

Synopsis

Constructors

CfnClientVpnRouteProps()

Properties for defining a CfnClientVpnRoute.

Properties

ClientVpnEndpointId

The ID of the Client VPN endpoint to which to add the route.

Description

A brief description of the route.

DestinationCidrBlock

The IPv4 address range, in CIDR notation, of the route destination. For example:.

TargetVpcSubnetId

The ID of the subnet through which you want to route traffic.

Constructors

CfnClientVpnRouteProps()

Properties for defining a CfnClientVpnRoute.

public CfnClientVpnRouteProps()
Remarks

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

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 cfnClientVpnRouteProps = new CfnClientVpnRouteProps {
                 ClientVpnEndpointId = "clientVpnEndpointId",
                 DestinationCidrBlock = "destinationCidrBlock",
                 TargetVpcSubnetId = "targetVpcSubnetId",

                 // the properties below are optional
                 Description = "description"
             };

Properties

ClientVpnEndpointId

The ID of the Client VPN endpoint to which to add the route.

public string ClientVpnEndpointId { get; set; }
Property Value

string

Remarks

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

Description

A brief description of the route.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html#cfn-ec2-clientvpnroute-description

DestinationCidrBlock

The IPv4 address range, in CIDR notation, of the route destination. For example:.

public string DestinationCidrBlock { get; set; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html#cfn-ec2-clientvpnroute-destinationcidrblock

    TargetVpcSubnetId

    The ID of the subnet through which you want to route traffic.

    public string TargetVpcSubnetId { get; set; }
    Property Value

    string

    Remarks

    The specified subnet must be an existing target network of the Client VPN endpoint.

    Alternatively, if you're adding a route for the local network, specify local .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html#cfn-ec2-clientvpnroute-targetvpcsubnetid

    Implements

    ICfnClientVpnRouteProps
    Back to top Generated by DocFX