Interface ICfnClientVpnRouteProps
Properties for defining a CfnClientVpnRoute
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnClientVpnRouteProps
Syntax (vb)
Public Interface 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
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. |
Properties
ClientVpnEndpointId
The ID of the Client VPN endpoint to which to add the route.
string ClientVpnEndpointId { get; }
Property Value
System.String
Remarks
Description
A brief description of the route.
virtual string Description { get; }
Property Value
System.String
Remarks
DestinationCidrBlock
The IPv4 address range, in CIDR notation, of the route destination. For example:.
string DestinationCidrBlock { get; }
Property Value
System.String
Remarks
TargetVpcSubnetId
The ID of the subnet through which you want to route traffic.
string TargetVpcSubnetId { get; }
Property Value
System.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
.