| Modifier and Type | Method and Description |
|---|---|
CfnRoute |
build() |
CfnRoute.Builder |
carrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
|
static CfnRoute.Builder |
create(software.constructs.Construct scope,
String id) |
CfnRoute.Builder |
destinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR block used for the destination match.
|
CfnRoute.Builder |
destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
CfnRoute.Builder |
egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.
|
CfnRoute.Builder |
gatewayId(String gatewayId)
The ID of an internet gateway or virtual private gateway attached to your VPC.
|
CfnRoute.Builder |
instanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
CfnRoute.Builder |
localGatewayId(String localGatewayId)
The ID of the local gateway.
|
CfnRoute.Builder |
natGatewayId(String natGatewayId)
The ID of a NAT gateway.
|
CfnRoute.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
CfnRoute.Builder |
routeTableId(String routeTableId)
The ID of the route table.
|
CfnRoute.Builder |
transitGatewayId(String transitGatewayId)
The ID of a transit gateway.
|
CfnRoute.Builder |
vpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint.
|
CfnRoute.Builder |
vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
@Stability(value=Stable) public static CfnRoute.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.CfnRoute.Builder.@Stability(value=Stable) public CfnRoute.Builder routeTableId(String routeTableId)
The routing table must be associated with the same VPC that the virtual private gateway is attached to.
routeTableId - The ID of the route table. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder carrierGatewayId(String carrierGatewayId)
carrierGatewayId - The ID of the carrier gateway. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder destinationCidrBlock(String destinationCidrBlock)
destinationCidrBlock - The IPv4 CIDR block used for the destination match. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
destinationIpv6CidrBlock - The IPv6 CIDR block used for the destination match. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
egressOnlyInternetGatewayId - The ID of the egress-only internet gateway. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder gatewayId(String gatewayId)
gatewayId - The ID of an internet gateway or virtual private gateway attached to your VPC. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder instanceId(String instanceId)
instanceId - The ID of a NAT instance in your VPC. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder localGatewayId(String localGatewayId)
localGatewayId - The ID of the local gateway. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder natGatewayId(String natGatewayId)
natGatewayId - The ID of a NAT gateway. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder networkInterfaceId(String networkInterfaceId)
networkInterfaceId - The ID of the network interface. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder transitGatewayId(String transitGatewayId)
transitGatewayId - The ID of a transit gateway. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder vpcEndpointId(String vpcEndpointId)
Supported for Gateway Load Balancer endpoints only.
vpcEndpointId - The ID of a VPC endpoint. This parameter is required.this@Stability(value=Stable) public CfnRoute.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
vpcPeeringConnectionId - The ID of a VPC peering connection. This parameter is required.thisCopyright © 2022. All rights reserved.