CfnSubnetRouteTableAssociationProps Struct
Properties for defining a CfnSubnetRouteTableAssociation.
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 cfnSubnetRouteTableAssociationProps: ec2.CfnSubnetRouteTableAssociationProps = {
routeTableId: 'routeTableId',
subnetId: 'subnetId',
};
Properties
routeTableIdstring | IRouteTableRefroute_table_idtyping.Union[str, IRouteTableRef]routeTableIdStringRouteTableIdstringRouteTableIdinterface{}required#The ID of the route table.
The physical ID changes when the route table ID is changed.
subnetIdstring | ISubnetRefsubnet_idtyping.Union[str, ISubnetRef]subnetIdStringSubnetIdstringSubnetIdinterface{}required#The ID of the subnet.