CfnGatewayRouteTableAssociationProps

class aws_cdk.aws_ec2.CfnGatewayRouteTableAssociationProps(*, gateway_id, route_table_id)

Bases: object

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

Parameters
  • gateway_id (str) – AWS::EC2::GatewayRouteTableAssociation.GatewayId.

  • route_table_id (str) – AWS::EC2::GatewayRouteTableAssociation.RouteTableId.

Link

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

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_gateway_route_table_association_props = ec2.CfnGatewayRouteTableAssociationProps(
    gateway_id="gatewayId",
    route_table_id="routeTableId"
)

Attributes

gateway_id

AWS::EC2::GatewayRouteTableAssociation.GatewayId.

Link

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

Return type

str

route_table_id

AWS::EC2::GatewayRouteTableAssociation.RouteTableId.

Link

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

Return type

str