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