Interface CapacityReservationReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CapacityReservationReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:20.108Z")
@Stability(Stable)
public interface CapacityReservationReference
extends software.amazon.jsii.JsiiSerializable
A reference to a CapacityReservation 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.interfaces.ec2.*;
CapacityReservationReference capacityReservationReference = CapacityReservationReference.builder()
.capacityReservationArn("capacityReservationArn")
.capacityReservationId("capacityReservationId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCapacityReservationReferencestatic final classAn implementation forCapacityReservationReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ARN of the CapacityReservation resource.The Id of the CapacityReservation resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityReservationArn
The ARN of the CapacityReservation resource. -
getCapacityReservationId
The Id of the CapacityReservation resource. -
builder
-