FleetLaunchTemplateConfigOverride class
Constructors
-
FleetLaunchTemplateConfigOverride({Input<String?>? availabilityZone, Input<FleetLaunchTemplateConfigOverrideInstanceRequirements?>? instanceRequirements, Input<String?>? instanceType, Input<String?>? maxPrice, Input<double?>? priority, Input<String?>? subnetId, Input<double?>? weightedCapacity})
-
Creates a new FleetLaunchTemplateConfigOverride.
availabilityZone Availability Zone in which to launch the instances.
instanceRequirements Override the instance type in the Launch Template with instance types that satisfy the requirements.
instanceType Instance type.
maxPrice Maximum price per unit hour that you are willing to pay for a Spot Instance.
priority Priority for the launch template override. If onDemandOptions allocationStrategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.
subnetId ID of the subnet in which to launch the instances.
weightedCapacity Number of units provided by the specified instance type.
const
-
FleetLaunchTemplateConfigOverride.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
availabilityZone
→ Input<String?>?
-
Availability Zone in which to launch the instances.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
instanceRequirements
→ Input<FleetLaunchTemplateConfigOverrideInstanceRequirements?>?
-
Override the instance type in the Launch Template with instance types that satisfy the requirements.
final
-
instanceType
→ Input<String?>?
-
Instance type.
final
-
maxPrice
→ Input<String?>?
-
Maximum price per unit hour that you are willing to pay for a Spot Instance.
final
-
priority
→ Input<double?>?
-
Priority for the launch template override. If
onDemandOptions allocationStrategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
subnetId
→ Input<String?>?
-
ID of the subnet in which to launch the instances.
final
-
weightedCapacity
→ Input<double?>?
-
Number of units provided by the specified instance type.
final