Interface SubnetReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubnetReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:40.506Z")
@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 classA builder forSubnetReferencestatic final classAn implementation forSubnetReference -
Method Summary
Modifier and TypeMethodDescriptionstatic SubnetReference.Builderbuilder()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.BuilderofSubnetReference
-