GetCapacityReservationResult

data class GetCapacityReservationResult(val availableInstanceCount: Int? = null, val capacityAllocationSet: List<CapacityReservationCapacityAllocation>? = null, val capacityReservationArn: String? = null, val capacityReservationFleetId: String? = null, val commitmentInfo: CommitmentInfoProperties? = null, val createDate: String? = null, val deliveryPreference: String? = null, val endDate: String? = null, val endDateType: String? = null, val id: String? = null, val instanceCount: Int? = null, val instanceMatchCriteria: String? = null, val ownerId: String? = null, val reservationType: String? = null, val startDate: String? = null, val state: String? = null, val totalInstanceCount: Int? = null)

Constructors

Link copied to clipboard
constructor(availableInstanceCount: Int? = null, capacityAllocationSet: List<CapacityReservationCapacityAllocation>? = null, capacityReservationArn: String? = null, capacityReservationFleetId: String? = null, commitmentInfo: CommitmentInfoProperties? = null, createDate: String? = null, deliveryPreference: String? = null, endDate: String? = null, endDateType: String? = null, id: String? = null, instanceCount: Int? = null, instanceMatchCriteria: String? = null, ownerId: String? = null, reservationType: String? = null, startDate: String? = null, state: String? = null, totalInstanceCount: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the remaining capacity, which indicates the number of instances that can be launched in the Capacity Reservation. For example: 9 .

Link copied to clipboard

The Amazon Resource Name (ARN) of the Capacity Reservation.

Link copied to clipboard

The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs. Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.

Link copied to clipboard
Link copied to clipboard
val createDate: String? = null

The date and time at which the Capacity Reservation was created.

Link copied to clipboard

The delivery method for a future-dated Capacity Reservation. incremental indicates that the requested capacity is delivered in addition to any running instances and reserved capacity that you have in your account at the requested date and time.

Link copied to clipboard
val endDate: String? = null

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time. You must provide an EndDate value if EndDateType is limited . Omit EndDate if EndDateType is unlimited . If the EndDateType is limited , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. If you are requesting a future-dated Capacity Reservation, you can't specify an end date and time that is within the commitment duration.

Link copied to clipboard
val endDateType: String? = null

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

Link copied to clipboard
val id: String? = null

The ID of the Capacity Reservation.

Link copied to clipboard
val instanceCount: Int? = null

The number of instances for which to reserve capacity.

Link copied to clipboard

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

Link copied to clipboard
val ownerId: String? = null

The ID of the AWS account that owns the Capacity Reservation.

Link copied to clipboard
val reservationType: String? = null

The type of Capacity Reservation.

Link copied to clipboard
val startDate: String? = null

The date and time at which the Capacity Reservation was started.

Link copied to clipboard
val state: String? = null

The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

Link copied to clipboard
val totalInstanceCount: Int? = null

Returns the total number of instances for which the Capacity Reservation reserves capacity. For example: 15 .