CapacityReservation

class CapacityReservation : KotlinCustomResource

Resource Type definition for AWS::EC2::CapacityReservation

Properties

Link copied to clipboard

The Availability Zone in which to create the Capacity Reservation.

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
val awsId: Output<String>

The ID of the Capacity Reservation.

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

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>?

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>?

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

Link copied to clipboard

Deprecated.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceCount: Output<Int>

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

Link copied to clipboard

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

Link copied to clipboard

The type of operating system for which to reserve capacity.

Link copied to clipboard
val instanceType: Output<String>

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>?

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

Link copied to clipboard

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
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The tags to apply to the Capacity Reservation during launch.

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

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

Link copied to clipboard
val totalInstanceCount: Output<Int>

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

Link copied to clipboard
val urn: Output<String>