Skip to content
v2.275.0

CfnLocalGatewayRouteTableVPCAssociationProps Struct ​

Properties for defining a CfnLocalGatewayRouteTableVPCAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnLocalGatewayRouteTableVPCAssociationProps: ec2.CfnLocalGatewayRouteTableVPCAssociationProps = {
  localGatewayRouteTableId: 'localGatewayRouteTableId',
  vpcId: 'vpcId',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

localGatewayRouteTableIdstringlocal_gateway_route_table_idstrlocalGatewayRouteTableIdStringLocalGatewayRouteTableIdstringLocalGatewayRouteTableId*stringrequired#
The ID of the local gateway route table.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags assigned to the association.
vpcIdstring | IVPCRefvpc_idtyping.Union[str, IVPCRef]vpcIdStringVpcIdstringVpcIdinterface{}required#
The ID of the VPC.