GetCapacityBlockOfferingArgs constructor

const GetCapacityBlockOfferingArgs({
  1. required Input<int> capacityDurationHours,
  2. Input<String?>? endDateRange,
  3. required Input<int> instanceCount,
  4. required Input<String> instanceType,
  5. Input<String?>? region,
  6. Input<String?>? startDateRange,
})

Creates a new GetCapacityBlockOfferingArgs. capacityDurationHours The amount of time of the Capacity Block reservation in hours. endDateRange 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) instanceCount The number of instances for which to reserve capacity. instanceType The instance type for which to reserve capacity. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. startDateRange The date and time at which the Capacity Block Reservation starts. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)

Implementation

const GetCapacityBlockOfferingArgs({
  required this.capacityDurationHours,
  this.endDateRange,
  required this.instanceCount,
  required this.instanceType,
  this.region,
  this.startDateRange,
});