NAME
Paws::EC2::CapacityReservation
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::EC2::CapacityReservation object:
$service_obj->Method(Att1 => { AvailabilityZone => $value, ..., TotalInstanceCount => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::CapacityReservation object:
$result = $service_obj->Method(...);
$result->Att1->AvailabilityZone
DESCRIPTION
This class has no description
ATTRIBUTES
AvailabilityZone => Str
The Availability Zone in which the capacity is reserved.
AvailabilityZoneId => Str
The Availability Zone ID of the Capacity Reservation.
AvailableInstanceCount => Int
The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.
CapacityReservationArn => Str
The Amazon Resource Name (ARN) of the Capacity Reservation.
CapacityReservationId => Str
The ID of the Capacity Reservation.
CreateDate => Str
The date and time at which the Capacity Reservation was created.
EbsOptimized => Bool
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.
EndDate => Str
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.
EndDateType => Str
Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:
unlimited
- The Capacity Reservation remains active until you explicitly cancel it.limited
- The Capacity Reservation expires automatically at a specified date and time.
EphemeralStorage => Bool
Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.
InstanceMatchCriteria => Str
Indicates the type of instance launches that the Capacity Reservation accepts. The options include:
open
- The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters.targeted
- The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.
InstancePlatform => Str
The type of operating system for which the Capacity Reservation reserves capacity.
InstanceType => Str
The type of instance for which the Capacity Reservation reserves capacity.
OutpostArn => Str
The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created.
OwnerId => Str
The ID of the account that owns the Capacity Reservation.
StartDate => Str
The date and time at which the Capacity Reservation was started.
State => Str
The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:
active
- The Capacity Reservation is active and the capacity is available for your use.expired
- The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.cancelled
- The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.pending
- The Capacity Reservation request was successful but the capacity provisioning is still pending.failed
- The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.
Tags => ArrayRef[Paws::EC2::Tag]
Any tags assigned to the Capacity Reservation.
Tenancy => Str
Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:
default
- The Capacity Reservation is created on hardware that is shared with other accounts.dedicated
- The Capacity Reservation is created on single-tenant hardware that is dedicated to a single account.
TotalInstanceCount => Int
The total number of instances for which the Capacity Reservation reserves capacity.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::EC2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues