interface CfnSubnetRouteTableAssociationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnSubnetRouteTableAssociationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSubnetRouteTableAssociationProps |
![]() | software.amazon.awscdk.services.ec2.CfnSubnetRouteTableAssociationProps |
![]() | aws_cdk.aws_ec2.CfnSubnetRouteTableAssociationProps |
![]() | aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
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.