CfnGatewayRouteTableAssociationProps

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

Bases: object

Properties for defining a CfnGatewayRouteTableAssociation.

Parameters:
  • gateway_id (str) – The ID of the gateway.

  • route_table_id (str) – The ID of the route table.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

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

Attributes

gateway_id

The ID of the gateway.

See:

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

route_table_id

The ID of the route table.

See:

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