@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.278Z") @Stability(value=Stable) public interface CfnRouteProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnRouteProps cfnRouteProps = CfnRouteProps.builder()
.routeTableId("routeTableId")
// the properties below are optional
.carrierGatewayId("carrierGatewayId")
.destinationCidrBlock("destinationCidrBlock")
.destinationIpv6CidrBlock("destinationIpv6CidrBlock")
.egressOnlyInternetGatewayId("egressOnlyInternetGatewayId")
.gatewayId("gatewayId")
.instanceId("instanceId")
.localGatewayId("localGatewayId")
.natGatewayId("natGatewayId")
.networkInterfaceId("networkInterfaceId")
.transitGatewayId("transitGatewayId")
.vpcEndpointId("vpcEndpointId")
.vpcPeeringConnectionId("vpcPeeringConnectionId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRouteProps.Builder
A builder for
CfnRouteProps |
static class |
CfnRouteProps.Jsii$Proxy
An implementation for
CfnRouteProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRouteProps.Builder |
builder() |
default String |
getCarrierGatewayId()
The ID of the carrier gateway.
|
default String |
getDestinationCidrBlock()
The IPv4 CIDR block used for the destination match.
|
default String |
getDestinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match.
|
default String |
getEgressOnlyInternetGatewayId()
The ID of the egress-only internet gateway.
|
default String |
getGatewayId()
The ID of an internet gateway or virtual private gateway attached to your VPC.
|
default String |
getInstanceId()
The ID of a NAT instance in your VPC.
|
default String |
getLocalGatewayId()
The ID of the local gateway.
|
default String |
getNatGatewayId()
The ID of a NAT gateway.
|
default String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getRouteTableId()
The ID of the route table.
|
default String |
getTransitGatewayId()
The ID of a transit gateway.
|
default String |
getVpcEndpointId()
The ID of a VPC endpoint.
|
default String |
getVpcPeeringConnectionId()
The ID of a VPC peering connection.
|
@Stability(value=Stable) @NotNull String getRouteTableId()
The routing table must be associated with the same VPC that the virtual private gateway is attached to.
@Stability(value=Stable) @Nullable default String getCarrierGatewayId()
@Stability(value=Stable) @Nullable default String getDestinationCidrBlock()
@Stability(value=Stable) @Nullable default String getDestinationIpv6CidrBlock()
@Stability(value=Stable) @Nullable default String getEgressOnlyInternetGatewayId()
@Stability(value=Stable) @Nullable default String getGatewayId()
@Stability(value=Stable) @Nullable default String getInstanceId()
@Stability(value=Stable) @Nullable default String getLocalGatewayId()
@Stability(value=Stable) @Nullable default String getNatGatewayId()
@Stability(value=Stable) @Nullable default String getNetworkInterfaceId()
@Stability(value=Stable) @Nullable default String getTransitGatewayId()
@Stability(value=Stable) @Nullable default String getVpcEndpointId()
Supported for Gateway Load Balancer endpoints only.
@Stability(value=Stable) @Nullable default String getVpcPeeringConnectionId()
@Stability(value=Stable) static CfnRouteProps.Builder builder()
CfnRouteProps.Builder of CfnRoutePropsCopyright © 2022. All rights reserved.