CfnLocalGatewayRouteTableVPCAssociationProps

class aws_cdk.aws_ec2.CfnLocalGatewayRouteTableVPCAssociationProps(*, local_gateway_route_table_id, vpc_id, tags=None)

Bases: object

Properties for defining a CfnLocalGatewayRouteTableVPCAssociation.

Parameters
  • local_gateway_route_table_id (str) – The ID of the local gateway route table.

  • vpc_id (str) – The ID of the VPC.

  • tags (Optional[Sequence[CfnTag]]) – The tags assigned to the association.

Link

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

ExampleMetadata

fixture=_generated

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_local_gateway_route_table_vPCAssociation_props = ec2.CfnLocalGatewayRouteTableVPCAssociationProps(
    local_gateway_route_table_id="localGatewayRouteTableId",
    vpc_id="vpcId",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

local_gateway_route_table_id

The ID of the local gateway route table.

Link

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

Return type

str

tags

The tags assigned to the association.

Link

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

Return type

Optional[List[CfnTag]]

vpc_id

The ID of the VPC.

Link

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

Return type

str