Interface CfnCapacityReservation.CommitmentInfoProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityReservation.CommitmentInfoProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityReservation
@Stability(Stable)
public static interface CfnCapacityReservation.CommitmentInfoProperty
extends software.amazon.jsii.JsiiSerializable
Information about your commitment for a future-dated Capacity Reservation.
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.*;
CommitmentInfoProperty commitmentInfoProperty = CommitmentInfoProperty.builder()
.commitmentEndDate("commitmentEndDate")
.committedInstanceCount(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityReservation.CommitmentInfoPropertystatic final classAn implementation forCfnCapacityReservation.CommitmentInfoProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).default NumberThe instance capacity that you committed to when you requested the future-dated Capacity Reservation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCommitmentEndDate
The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.- See Also:
-
getCommittedInstanceCount
The instance capacity that you committed to when you requested the future-dated Capacity Reservation.- See Also:
-
builder
-