@Stability(value=Stable) public static final class CfnClientVpnRoute.Builder extends Object implements software.amazon.jsii.Builder<CfnClientVpnRoute>
CfnClientVpnRoute.| Modifier and Type | Method and Description |
|---|---|
CfnClientVpnRoute |
build() |
CfnClientVpnRoute.Builder |
clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which to add the route.
|
static CfnClientVpnRoute.Builder |
create(software.constructs.Construct scope,
String id) |
CfnClientVpnRoute.Builder |
description(String description)
A brief description of the route.
|
CfnClientVpnRoute.Builder |
destinationCidrBlock(String destinationCidrBlock)
The IPv4 address range, in CIDR notation, of the route destination.
|
CfnClientVpnRoute.Builder |
targetVpcSubnetId(String targetVpcSubnetId)
The ID of the subnet through which you want to route traffic.
|
@Stability(value=Stable) public static CfnClientVpnRoute.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnClientVpnRoute.Builder.@Stability(value=Stable) public CfnClientVpnRoute.Builder clientVpnEndpointId(String clientVpnEndpointId)
clientVpnEndpointId - The ID of the Client VPN endpoint to which to add the route. This parameter is required.this@Stability(value=Stable) public CfnClientVpnRoute.Builder destinationCidrBlock(String destinationCidrBlock)
0.0.0.0/0destinationCidrBlock - The IPv4 address range, in CIDR notation, of the route destination. For example:. This parameter is required.this@Stability(value=Stable) public CfnClientVpnRoute.Builder targetVpcSubnetId(String targetVpcSubnetId)
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 .
targetVpcSubnetId - The ID of the subnet through which you want to route traffic. This parameter is required.this@Stability(value=Stable) public CfnClientVpnRoute.Builder description(String description)
description - A brief description of the route. This parameter is required.this@Stability(value=Stable) public CfnClientVpnRoute build()
build in interface software.amazon.jsii.Builder<CfnClientVpnRoute>Copyright © 2022. All rights reserved.