Interface SubnetReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubnetReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:51:56.515Z")
@Stability(Stable)
public interface SubnetReference
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*; SubnetReference subnetReference = SubnetReference.builder() .subnetId("subnetId") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forSubnetReference
static final class
An implementation forSubnetReference
-
Method Summary
Modifier and TypeMethodDescriptionstatic SubnetReference.Builder
builder()
The SubnetId of the Subnet resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubnetId
The SubnetId of the Subnet resource. -
builder
- Returns:
- a
SubnetReference.Builder
ofSubnetReference
-