Interface CfnClientVpnRouteMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClientVpnRouteMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.351Z")
@Stability(Stable)
public interface CfnClientVpnRouteMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnClientVpnRoutePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
CfnClientVpnRouteMixinProps cfnClientVpnRouteMixinProps = CfnClientVpnRouteMixinProps.builder()
.clientVpnEndpointId("clientVpnEndpointId")
.description("description")
.destinationCidrBlock("destinationCidrBlock")
.targetVpcSubnetId("targetVpcSubnetId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClientVpnRouteMixinPropsstatic final classAn implementation forCfnClientVpnRouteMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe ID of the Client VPN endpoint to which to add the route.default StringA brief description of the route.default StringThe IPv4 address range, in CIDR notation, of the route destination.default StringThe ID of the subnet through which you want to route traffic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientVpnEndpointId
The ID of the Client VPN endpoint to which to add the route.- See Also:
-
getDescription
A brief description of the route.- See Also:
-
getDestinationCidrBlock
The IPv4 address range, in CIDR notation, of the route destination. For example:.- To add a route for Internet access, enter
0.0.0.0/0 - To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
- To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range
- To add a route for the local network, enter the client CIDR range
- See Also:
- To add a route for Internet access, enter
-
getTargetVpcSubnetId
The ID of the subnet through which you want to route traffic.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.- See Also:
-
builder
-