interface SubnetReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.SubnetReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#SubnetReference |
![]() | software.amazon.awscdk.services.ec2.SubnetReference |
![]() | aws_cdk.aws_ec2.SubnetReference |
![]() | aws-cdk-lib » aws_ec2 » SubnetReference |
A reference to a Subnet resource.
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 subnetReference: ec2.SubnetReference = {
subnetId: 'subnetId',
};
Properties
Name | Type | Description |
---|---|---|
subnet | string | The SubnetId of the Subnet resource. |
subnetId
Type:
string
The SubnetId of the Subnet resource.