Interface IClientVpnRouteOptions
Options for a ClientVpnRoute.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IClientVpnRouteOptions
Syntax (vb)
Public Interface IClientVpnRouteOptions
Remarks
ExampleMetadata: fixture=client-vpn infused
Examples
var 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
Properties
Cidr | The IPv4 address range, in CIDR notation, of the route destination. |
Description | A brief description of the authorization rule. |
Target | The target for the route. |
Properties
Cidr
The IPv4 address range, in CIDR notation, of the route destination.
string Cidr { get; }
Property Value
System.String
Remarks
For example:
Description
A brief description of the authorization rule.
virtual string Description { get; }
Property Value
System.String
Remarks
Default: - no description