Skip to content
v2.273.0

SubnetReference Struct ​

A reference to a Subnet resource.

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 interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const subnetReference: interfaces_ec2.SubnetReference = {
  subnetId: 'subnetId',
};

Properties ​

subnetIdstringsubnet_idstrsubnetIdStringSubnetIdstringSubnetId*stringrequired#
The SubnetId of the Subnet resource.