Class ClientVpnRouteProps
Properties for a ClientVpnRoute.
Inheritance
System.Object
ClientVpnRouteProps
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class ClientVpnRouteProps : Object, IClientVpnRouteProps, IClientVpnRouteOptions
Syntax (vb)
Public Class ClientVpnRouteProps
Inherits Object
Implements IClientVpnRouteProps, IClientVpnRouteOptions
Remarks
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;
ClientVpnEndpoint clientVpnEndpoint;
ClientVpnRouteTarget clientVpnRouteTarget;
var clientVpnRouteProps = new ClientVpnRouteProps {
Cidr = "cidr",
Target = clientVpnRouteTarget,
// the properties below are optional
ClientVpnEndoint = clientVpnEndpoint,
ClientVpnEndpoint = clientVpnEndpoint,
Description = "description"
};
Synopsis
Constructors
ClientVpnRouteProps() |
Properties
Cidr | The IPv4 address range, in CIDR notation, of the route destination. |
ClientVpnEndoint | (deprecated) The client VPN endpoint to which to add the route. |
ClientVpnEndpoint | The client VPN endpoint to which to add the route. |
Description | A brief description of the authorization rule. |
Target | The target for the route. |
Constructors
ClientVpnRouteProps()
public ClientVpnRouteProps()
Properties
Cidr
The IPv4 address range, in CIDR notation, of the route destination.
public string Cidr { get; set; }
Property Value
System.String
Remarks
For example:
ClientVpnEndoint
(deprecated) The client VPN endpoint to which to add the route.
public IClientVpnEndpoint ClientVpnEndoint { get; set; }
Property Value
Remarks
Default: clientVpnEndpoint is required
Stability: Deprecated
ClientVpnEndpoint
The client VPN endpoint to which to add the route.
public IClientVpnEndpoint ClientVpnEndpoint { get; set; }
Property Value
Remarks
Default: clientVpnEndpoint is required
Description
A brief description of the authorization rule.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - no description
Target
The target for the route.
public ClientVpnRouteTarget Target { get; set; }
Property Value