GetCapacityBlockOfferingPlainArgs

data class GetCapacityBlockOfferingPlainArgs(val capacityDurationHours: Int, val endDateRange: String? = null, val instanceCount: Int, val instanceType: String, val startDateRange: String? = null) : ConvertibleToJava<GetCapacityBlockOfferingPlainArgs>

A collection of arguments for invoking getCapacityBlockOffering.

Constructors

Link copied to clipboard
constructor(capacityDurationHours: Int, endDateRange: String? = null, instanceCount: Int, instanceType: String, startDateRange: String? = null)

Properties

Link copied to clipboard

The amount of time of the Capacity Block reservation in hours.

Link copied to clipboard
val endDateRange: String? = null

The date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)

Link copied to clipboard

The number of instances for which to reserve capacity.

Link copied to clipboard

The instance type for which to reserve capacity.

Link copied to clipboard
val startDateRange: String? = null

The date and time at which the Capacity Block Reservation starts. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)

Functions

Link copied to clipboard
open override fun toJava(): GetCapacityBlockOfferingPlainArgs