CapacityReservationState constructor

const CapacityReservationState({
  1. Input<String?>? arn,
  2. Input<String?>? availabilityZone,
  3. Input<bool?>? ebsOptimized,
  4. Input<String?>? endDate,
  5. Input<String?>? endDateType,
  6. Input<bool?>? ephemeralStorage,
  7. Input<int?>? instanceCount,
  8. Input<String?>? instanceMatchCriteria,
  9. Input? instancePlatform,
  10. Input? instanceType,
  11. Input<String?>? outpostArn,
  12. Input<String?>? ownerId,
  13. Input<String?>? placementGroupArn,
  14. Input<String?>? region,
  15. Input<Map<String, String>?>? tags,
  16. Input<Map<String, String>?>? tagsAll,
  17. Input? tenancy,
})

Creates a new CapacityReservationState. arn The ARN of the Capacity Reservation. availabilityZone The Availability Zone in which to create the Capacity Reservation. ebsOptimized Indicates whether the Capacity Reservation supports EBS-optimized instances. endDate 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. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ) endDateType Indicates the way in which the Capacity Reservation ends. Specify either unlimited or limited. ephemeralStorage Indicates whether the Capacity Reservation supports instances with temporary, block-level storage. instanceCount The number of instances for which to reserve capacity. instanceMatchCriteria Indicates the type of instance launches that the Capacity Reservation accepts. Specify either open or targeted. instancePlatform The type of operating system for which to reserve capacity. Valid options are Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard or Windows with SQL Server Web. instanceType The instance type for which to reserve capacity. outpostArn ARN of the Outpost on which to create the Capacity Reservation. ownerId The ID of the AWS account that owns the Capacity Reservation. placementGroupArn ARN of the cluster placement group in which to create the Capacity Reservation. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block tenancy Indicates the tenancy of the Capacity Reservation. Specify either default or dedicated.

Implementation

const CapacityReservationState({
  this.arn,
  this.availabilityZone,
  this.ebsOptimized,
  this.endDate,
  this.endDateType,
  this.ephemeralStorage,
  this.instanceCount,
  this.instanceMatchCriteria,
  this.instancePlatform,
  this.instanceType,
  this.outpostArn,
  this.ownerId,
  this.placementGroupArn,
  this.region,
  this.tags,
  this.tagsAll,
  this.tenancy,
});