interface CfnSubnetRouteTableAssociationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnSubnetRouteTableAssociationProps |
![]() | software.amazon.awscdk.services.ec2.CfnSubnetRouteTableAssociationProps |
![]() | aws_cdk.aws_ec2.CfnSubnetRouteTableAssociationProps |
![]() | @aws-cdk/aws-ec2 » CfnSubnetRouteTableAssociationProps |
Properties for defining a CfnSubnetRouteTableAssociation
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const cfnSubnetRouteTableAssociationProps: ec2.CfnSubnetRouteTableAssociationProps = {
routeTableId: 'routeTableId',
subnetId: 'subnetId',
};
Properties
Name | Type | Description |
---|---|---|
route | string | The ID of the route table. |
subnet | string | The ID of the subnet. |
routeTableId
Type:
string
The ID of the route table.
The physical ID changes when the route table ID is changed.
subnetId
Type:
string
The ID of the subnet.