Show / Hide Table of Contents

Class ClientVpnRouteProps

Properties for a ClientVpnRoute.

Inheritance
object
ClientVpnRouteProps
Implements
IClientVpnRouteProps
IClientVpnRouteOptions
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 ClientVpnRouteProps : IClientVpnRouteProps, IClientVpnRouteOptions
Syntax (vb)
Public Class ClientVpnRouteProps 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
                ClientVpnEndpoint = clientVpnEndpoint,
                Description = "description"
            };

Synopsis

Constructors

ClientVpnRouteProps()

Properties for a ClientVpnRoute.

Properties

Cidr

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

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()

Properties for a ClientVpnRoute.

public ClientVpnRouteProps()
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
                ClientVpnEndpoint = clientVpnEndpoint,
                Description = "description"
            };

Properties

Cidr

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

public string Cidr { get; set; }
Property Value

string

Remarks

For example:

    ClientVpnEndpoint

    The client VPN endpoint to which to add the route.

    public IClientVpnEndpoint? ClientVpnEndpoint { get; set; }
    Property Value

    IClientVpnEndpoint

    Remarks

    Default: clientVpnEndpoint is required

    Description

    A brief description of the authorization rule.

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

    string

    Remarks

    Default: - no description

    Target

    The target for the route.

    public ClientVpnRouteTarget Target { get; set; }
    Property Value

    ClientVpnRouteTarget

    Remarks

    ExampleMetadata: fixture=_generated

    Implements

    IClientVpnRouteProps
    IClientVpnRouteOptions
    Back to top Generated by DocFX