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:
- 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.
- tags
The tags assigned to the association.