CfnRouteProps

class aws_cdk.aws_ec2.CfnRouteProps(*, route_table_id, destination_cidr_block=None, destination_ipv6_cidr_block=None, egress_only_internet_gateway_id=None, gateway_id=None, instance_id=None, nat_gateway_id=None, network_interface_id=None, transit_gateway_id=None, vpc_peering_connection_id=None)

Bases: object

__init__(*, route_table_id, destination_cidr_block=None, destination_ipv6_cidr_block=None, egress_only_internet_gateway_id=None, gateway_id=None, instance_id=None, nat_gateway_id=None, network_interface_id=None, transit_gateway_id=None, vpc_peering_connection_id=None)

Properties for defining a AWS::EC2::Route.

Parameters
  • route_table_id (str) – AWS::EC2::Route.RouteTableId.

  • destination_cidr_block (Optional[str]) – AWS::EC2::Route.DestinationCidrBlock.

  • destination_ipv6_cidr_block (Optional[str]) – AWS::EC2::Route.DestinationIpv6CidrBlock.

  • egress_only_internet_gateway_id (Optional[str]) – AWS::EC2::Route.EgressOnlyInternetGatewayId.

  • gateway_id (Optional[str]) – AWS::EC2::Route.GatewayId.

  • instance_id (Optional[str]) – AWS::EC2::Route.InstanceId.

  • nat_gateway_id (Optional[str]) – AWS::EC2::Route.NatGatewayId.

  • network_interface_id (Optional[str]) – AWS::EC2::Route.NetworkInterfaceId.

  • transit_gateway_id (Optional[str]) – AWS::EC2::Route.TransitGatewayId.

  • vpc_peering_connection_id (Optional[str]) – AWS::EC2::Route.VpcPeeringConnectionId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html

Attributes

destination_cidr_block

AWS::EC2::Route.DestinationCidrBlock.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationcidrblock

Return type

Optional[str]

destination_ipv6_cidr_block

AWS::EC2::Route.DestinationIpv6CidrBlock.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationipv6cidrblock

Return type

Optional[str]

egress_only_internet_gateway_id

AWS::EC2::Route.EgressOnlyInternetGatewayId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-egressonlyinternetgatewayid

Return type

Optional[str]

gateway_id

AWS::EC2::Route.GatewayId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-gatewayid

Return type

Optional[str]

instance_id

AWS::EC2::Route.InstanceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-instanceid

Return type

Optional[str]

nat_gateway_id

AWS::EC2::Route.NatGatewayId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-natgatewayid

Return type

Optional[str]

network_interface_id

AWS::EC2::Route.NetworkInterfaceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-networkinterfaceid

Return type

Optional[str]

route_table_id

AWS::EC2::Route.RouteTableId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-routetableid

Return type

str

transit_gateway_id

AWS::EC2::Route.TransitGatewayId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-transitgatewayid

Return type

Optional[str]

vpc_peering_connection_id

AWS::EC2::Route.VpcPeeringConnectionId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-vpcpeeringconnectionid

Return type

Optional[str]