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[Union[CfnTag, Dict[str, Any]]]]) – The tags assigned to the association.

See:

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.
from aws_cdk import 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.

See:

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

tags

The tags assigned to the association.

See:

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

vpc_id

The ID of the VPC.

See:

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