CapacityReservationArgs

data class CapacityReservationArgs(val availabilityZone: Output<String>? = null, val ebsOptimized: Output<Boolean>? = null, val endDate: Output<String>? = null, val endDateType: Output<String>? = null, val ephemeralStorage: Output<Boolean>? = null, val instanceCount: Output<Int>? = null, val instanceMatchCriteria: Output<String>? = null, val instancePlatform: Output<String>? = null, val instanceType: Output<String>? = null, val outPostArn: Output<String>? = null, val placementGroupArn: Output<String>? = null, val tagSpecifications: Output<List<CapacityReservationTagSpecificationArgs>>? = null, val tenancy: Output<String>? = null) : ConvertibleToJava<CapacityReservationArgs>

Resource Type definition for AWS::EC2::CapacityReservation

Constructors

Link copied to clipboard
constructor(availabilityZone: Output<String>? = null, ebsOptimized: Output<Boolean>? = null, endDate: Output<String>? = null, endDateType: Output<String>? = null, ephemeralStorage: Output<Boolean>? = null, instanceCount: Output<Int>? = null, instanceMatchCriteria: Output<String>? = null, instancePlatform: Output<String>? = null, instanceType: Output<String>? = null, outPostArn: Output<String>? = null, placementGroupArn: Output<String>? = null, tagSpecifications: Output<List<CapacityReservationTagSpecificationArgs>>? = null, tenancy: Output<String>? = null)

Properties

Link copied to clipboard
val availabilityZone: Output<String>? = null

The Availability Zone in which to create the Capacity Reservation.

Link copied to clipboard
val ebsOptimized: Output<Boolean>? = null

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

Link copied to clipboard
val endDate: Output<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.

Link copied to clipboard
val endDateType: Output<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 ephemeralStorage: Output<Boolean>? = null

Deprecated.

Link copied to clipboard
val instanceCount: Output<Int>? = null

The number of instances for which to reserve capacity. Valid range: 1 - 1000

Link copied to clipboard
val instanceMatchCriteria: Output<String>? = null

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

Link copied to clipboard
val instancePlatform: Output<String>? = null

The type of operating system for which to reserve capacity.

Link copied to clipboard
val instanceType: Output<String>? = null

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide .

Link copied to clipboard
val outPostArn: Output<String>? = null

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Link copied to clipboard
val placementGroupArn: Output<String>? = null

The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see Capacity Reservations for cluster placement groups in the Amazon EC2 User Guide .

Link copied to clipboard

The tags to apply to the Capacity Reservation during launch.

Link copied to clipboard
val tenancy: Output<String>? = null

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

Functions

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