Skip to content
v2.274.0

CfnGatewayRouteTableAssociationProps Struct ​

Properties for defining a CfnGatewayRouteTableAssociation.

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 cfnGatewayRouteTableAssociationProps: ec2.CfnGatewayRouteTableAssociationProps = {
  gatewayId: 'gatewayId',
  routeTableId: 'routeTableId',
};

Properties ​

gatewayIdstring | IInternetGatewayRef | IVPNGatewayRefgateway_idtyping.Union[str, IInternetGatewayRef, IVPNGatewayRef]gatewayIdStringGatewayIdstringGatewayIdinterface{}required#
The ID of the gateway.
routeTableIdstring | IRouteTableRefroute_table_idtyping.Union[str, IRouteTableRef]routeTableIdStringRouteTableIdstringRouteTableIdinterface{}required#
The ID of the route table.