interface CommitmentInfoProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnCapacityReservationPropsMixin.CommitmentInfoProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnCapacityReservationPropsMixin_CommitmentInfoProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnCapacityReservationPropsMixin.CommitmentInfoProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnCapacityReservationPropsMixin.CommitmentInfoProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnCapacityReservationPropsMixin » CommitmentInfoProperty |
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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const commitmentInfoProperty: ec2_mixins.CfnCapacityReservationPropsMixin.CommitmentInfoProperty = {
commitmentEndDate: 'commitmentEndDate',
committedInstanceCount: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| commitment | 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. |
| committed | number | The instance capacity that you committed to when you requested the future-dated Capacity Reservation. |
commitmentEndDate?
Type:
string
(optional)
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.
committedInstanceCount?
Type:
number
(optional)
The instance capacity that you committed to when you requested the future-dated Capacity Reservation.

.NET
Go
Java
Python
TypeScript