@Generated(value="jsii-pacmak/1.9.0 (build 5c646d5)", date="2020-07-28T21:12:25.893Z") @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.InitializationMode
IInspectable.Jsii$Proxy
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 |
---|---|
static CfnRoute |
fromCloudFormation(Construct scope,
String id,
Object resourceAttributes,
FromCloudFormationOptions options)
A factory method that creates a new instance of this class from an object containing the CloudFormation properties of this resource.
|
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 |
getNatGatewayId()
`AWS::EC2::Route.NatGatewayId`.
|
String |
getNetworkInterfaceId()
`AWS::EC2::Route.NetworkInterfaceId`.
|
String |
getRouteTableId()
`AWS::EC2::Route.RouteTableId`.
|
String |
getTransitGatewayId()
`AWS::EC2::Route.TransitGatewayId`.
|
String |
getVpcPeeringConnectionId()
`AWS::EC2::Route.VpcPeeringConnectionId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
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 |
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 |
setVpcPeeringConnectionId(String value)
`AWS::EC2::Route.VpcPeeringConnectionId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getUpdatedProperites, isCfnResource, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, 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) @NotNull public static CfnRoute fromCloudFormation(@NotNull Construct scope, @NotNull String id, @NotNull Object resourceAttributes, @NotNull FromCloudFormationOptions options)
Used in the @aws-cdk/cloudformation-include module.
EXPERIMENTAL
scope
- This parameter is required.id
- This parameter is required.resourceAttributes
- This parameter is required.options
- This parameter is required.@Stability(value=Experimental) public void inspect(@NotNull TreeInspector inspector)
EXPERIMENTAL
inspect
in interface IInspectable
inspector
- - 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 CfnResource
props
- 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 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 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 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-vpcpeeringconnectionid
Copyright © 2020. All rights reserved.