@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:22.230Z") @Stability(value=Stable) public class CfnRoute extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRoute.Builder
A fluent builder for
CfnRoute. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnRoute(Construct scope,
String id,
CfnRouteProps props)
Create a new `AWS::EC2::Route`.
|
protected |
CfnRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRoute(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCarrierGatewayId()
`AWS::EC2::Route.CarrierGatewayId`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDestinationCidrBlock()
`AWS::EC2::Route.DestinationCidrBlock`.
|
String |
getDestinationIpv6CidrBlock()
`AWS::EC2::Route.DestinationIpv6CidrBlock`.
|
String |
getEgressOnlyInternetGatewayId()
`AWS::EC2::Route.EgressOnlyInternetGatewayId`.
|
String |
getGatewayId()
`AWS::EC2::Route.GatewayId`.
|
String |
getInstanceId()
`AWS::EC2::Route.InstanceId`.
|
String |
getLocalGatewayId()
`AWS::EC2::Route.LocalGatewayId`.
|
String |
getNatGatewayId()
`AWS::EC2::Route.NatGatewayId`.
|
String |
getNetworkInterfaceId()
`AWS::EC2::Route.NetworkInterfaceId`.
|
String |
getRouteTableId()
`AWS::EC2::Route.RouteTableId`.
|
String |
getTransitGatewayId()
`AWS::EC2::Route.TransitGatewayId`.
|
String |
getVpcEndpointId()
`AWS::EC2::Route.VpcEndpointId`.
|
String |
getVpcPeeringConnectionId()
`AWS::EC2::Route.VpcPeeringConnectionId`.
|
void |
inspect(TreeInspector inspector)
(experimental) Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCarrierGatewayId(String value)
`AWS::EC2::Route.CarrierGatewayId`.
|
void |
setDestinationCidrBlock(String value)
`AWS::EC2::Route.DestinationCidrBlock`.
|
void |
setDestinationIpv6CidrBlock(String value)
`AWS::EC2::Route.DestinationIpv6CidrBlock`.
|
void |
setEgressOnlyInternetGatewayId(String value)
`AWS::EC2::Route.EgressOnlyInternetGatewayId`.
|
void |
setGatewayId(String value)
`AWS::EC2::Route.GatewayId`.
|
void |
setInstanceId(String value)
`AWS::EC2::Route.InstanceId`.
|
void |
setLocalGatewayId(String value)
`AWS::EC2::Route.LocalGatewayId`.
|
void |
setNatGatewayId(String value)
`AWS::EC2::Route.NatGatewayId`.
|
void |
setNetworkInterfaceId(String value)
`AWS::EC2::Route.NetworkInterfaceId`.
|
void |
setRouteTableId(String value)
`AWS::EC2::Route.RouteTableId`.
|
void |
setTransitGatewayId(String value)
`AWS::EC2::Route.TransitGatewayId`.
|
void |
setVpcEndpointId(String value)
`AWS::EC2::Route.VpcEndpointId`.
|
void |
setVpcPeeringConnectionId(String value)
`AWS::EC2::Route.VpcPeeringConnectionId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnRoute(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRoute(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnRouteProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Experimental)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getRouteTableId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-routetableid@Stability(value=Stable)
public void setRouteTableId(@NotNull
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-routetableid@Stability(value=Stable) @Nullable public String getCarrierGatewayId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-carriergatewayid@Stability(value=Stable)
public void setCarrierGatewayId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-carriergatewayid@Stability(value=Stable) @Nullable public String getDestinationCidrBlock()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationcidrblock@Stability(value=Stable)
public void setDestinationCidrBlock(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationcidrblock@Stability(value=Stable) @Nullable public String getDestinationIpv6CidrBlock()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationipv6cidrblock@Stability(value=Stable)
public void setDestinationIpv6CidrBlock(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationipv6cidrblock@Stability(value=Stable) @Nullable public String getEgressOnlyInternetGatewayId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-egressonlyinternetgatewayid@Stability(value=Stable)
public void setEgressOnlyInternetGatewayId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-egressonlyinternetgatewayid@Stability(value=Stable) @Nullable public String getGatewayId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-gatewayid@Stability(value=Stable)
public void setGatewayId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-gatewayid@Stability(value=Stable) @Nullable public String getInstanceId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-instanceid@Stability(value=Stable)
public void setInstanceId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-instanceid@Stability(value=Stable) @Nullable public String getLocalGatewayId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-localgatewayid@Stability(value=Stable)
public void setLocalGatewayId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-localgatewayid@Stability(value=Stable) @Nullable public String getNatGatewayId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-natgatewayid@Stability(value=Stable)
public void setNatGatewayId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-natgatewayid@Stability(value=Stable) @Nullable public String getNetworkInterfaceId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-networkinterfaceid@Stability(value=Stable)
public void setNetworkInterfaceId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-networkinterfaceid@Stability(value=Stable) @Nullable public String getTransitGatewayId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-transitgatewayid@Stability(value=Stable)
public void setTransitGatewayId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-transitgatewayid@Stability(value=Stable) @Nullable public String getVpcEndpointId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-vpcendpointid@Stability(value=Stable)
public void setVpcEndpointId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-vpcendpointid@Stability(value=Stable) @Nullable public String getVpcPeeringConnectionId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-vpcpeeringconnectionid@Stability(value=Stable)
public void setVpcPeeringConnectionId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-vpcpeeringconnectionidCopyright © 2020. All rights reserved.