Show / Hide Table of Contents

Class ClientVpnRouteTarget

Target for a client VPN route.

Inheritance
System.Object
ClientVpnRouteTarget
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public abstract class ClientVpnRouteTarget : DeputyBase
Syntax (vb)
Public MustInherit Class ClientVpnRouteTarget
    Inherits DeputyBase
Remarks

ExampleMetadata: fixture=client-vpn infused

Examples
ClientVpnEndpoint endpoint = vpc.AddClientVpnEndpoint("Endpoint", new ClientVpnEndpointOptions {
    Cidr = "10.100.0.0/16",
    ServerCertificateArn = "arn:aws:acm:us-east-1:123456789012:certificate/server-certificate-id",
    UserBasedAuthentication = ClientVpnUserBasedAuthentication.Federated(samlProvider)
});

// Client-to-client access
endpoint.AddRoute("Route", new ClientVpnRouteOptions {
    Cidr = "10.100.0.0/16",
    Target = ClientVpnRouteTarget.Local()
});

Synopsis

Constructors

ClientVpnRouteTarget()
ClientVpnRouteTarget(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

ClientVpnRouteTarget(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Properties

SubnetId

The subnet ID.

Methods

Local()

Local network.

Subnet(ISubnet)

Subnet.

Constructors

ClientVpnRouteTarget()

protected ClientVpnRouteTarget()

ClientVpnRouteTarget(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected ClientVpnRouteTarget(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

ClientVpnRouteTarget(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected ClientVpnRouteTarget(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Properties

SubnetId

The subnet ID.

public abstract string SubnetId { get; }
Property Value

System.String

Methods

Local()

Local network.

public static ClientVpnRouteTarget Local()
Returns

ClientVpnRouteTarget

Subnet(ISubnet)

Subnet.

public static ClientVpnRouteTarget Subnet(ISubnet subnet)
Parameters
subnet ISubnet
Returns

ClientVpnRouteTarget

Remarks

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

Back to top Generated by DocFX