@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.950Z") @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()
`AWS::EC2::Route.CarrierGatewayId`.
|
default String |
getDestinationCidrBlock()
`AWS::EC2::Route.DestinationCidrBlock`.
|
default String |
getDestinationIpv6CidrBlock()
`AWS::EC2::Route.DestinationIpv6CidrBlock`.
|
default String |
getEgressOnlyInternetGatewayId()
`AWS::EC2::Route.EgressOnlyInternetGatewayId`.
|
default String |
getGatewayId()
`AWS::EC2::Route.GatewayId`.
|
default String |
getInstanceId()
`AWS::EC2::Route.InstanceId`.
|
default String |
getLocalGatewayId()
`AWS::EC2::Route.LocalGatewayId`.
|
default String |
getNatGatewayId()
`AWS::EC2::Route.NatGatewayId`.
|
default String |
getNetworkInterfaceId()
`AWS::EC2::Route.NetworkInterfaceId`.
|
String |
getRouteTableId()
`AWS::EC2::Route.RouteTableId`.
|
default String |
getTransitGatewayId()
`AWS::EC2::Route.TransitGatewayId`.
|
default String |
getVpcEndpointId()
`AWS::EC2::Route.VpcEndpointId`.
|
default String |
getVpcPeeringConnectionId()
`AWS::EC2::Route.VpcPeeringConnectionId`.
|
@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) @NotNull String getRouteTableId()
@Stability(value=Stable) @Nullable default String getTransitGatewayId()
@Stability(value=Stable) @Nullable default String getVpcEndpointId()
@Stability(value=Stable) @Nullable default String getVpcPeeringConnectionId()
@Stability(value=Stable) static CfnRouteProps.Builder builder()
CfnRouteProps.Builder of CfnRoutePropsCopyright © 2021. All rights reserved.