NAME
Paws::EC2::LaunchTemplateOverrides
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::LaunchTemplateOverrides object:
$service_obj->Method(Att1 => { AvailabilityZone => $value, ..., WeightedCapacity => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::LaunchTemplateOverrides object:
$result = $service_obj->Method(...);
$result->Att1->AvailabilityZone
DESCRIPTION
This class has no description
ATTRIBUTES
AvailabilityZone => Str
The Availability Zone in which to launch the instances.
InstanceType => Str
The instance type.
Priority => Num
The priority for the launch template override. The highest priority is launched first.
If OnDemandAllocationStrategy
is set to prioritized
, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.
If the Spot AllocationStrategy
is set to capacityOptimizedPrioritized
, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.
Valid values are whole numbers starting at 0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.
SpotPrice => Str
The maximum price per unit hour that you are willing to pay for a Spot Instance.
SubnetId => Str
The ID of the subnet in which to launch the instances.
WeightedCapacity => Num
The number of units provided by the specified instance type.
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