Skip to content
v2.274.0

CommitmentInfoProperty Struct ​

Information about your commitment for a future-dated Capacity Reservation.

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 ec2 } from 'aws-cdk-lib';
const commitmentInfoProperty: ec2.CfnCapacityReservation.CommitmentInfoProperty = {
  commitmentEndDate: 'commitmentEndDate',
  committedInstanceCount: 123,
};

Properties ​

commitmentEndDatestringcommitment_end_datestrcommitmentEndDateStringCommitmentEndDatestringCommitmentEndDate*string#
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.
committedInstanceCountnumbercommitted_instance_countint | floatcommittedInstanceCountNumberCommittedInstanceCountdoubleCommittedInstanceCount*float64#
The instance capacity that you committed to when you requested the future-dated Capacity Reservation.