We recommend new projects start with resources from the AWS provider.
aws-native.ec2.Ec2Fleet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::EC2::EC2Fleet
Create Ec2Fleet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ec2Fleet(name: string, args: Ec2FleetArgs, opts?: CustomResourceOptions);
@overload
def Ec2Fleet(resource_name: str,
args: Ec2FleetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Ec2Fleet(resource_name: str,
opts: Optional[ResourceOptions] = None,
launch_template_configs: Optional[Sequence[Ec2FleetFleetLaunchTemplateConfigRequestArgs]] = None,
target_capacity_specification: Optional[Ec2FleetTargetCapacitySpecificationRequestArgs] = None,
context: Optional[str] = None,
excess_capacity_termination_policy: Optional[Ec2FleetExcessCapacityTerminationPolicy] = None,
on_demand_options: Optional[Ec2FleetOnDemandOptionsRequestArgs] = None,
replace_unhealthy_instances: Optional[bool] = None,
spot_options: Optional[Ec2FleetSpotOptionsRequestArgs] = None,
tag_specifications: Optional[Sequence[Ec2FleetTagSpecificationArgs]] = None,
terminate_instances_with_expiration: Optional[bool] = None,
type: Optional[Ec2FleetType] = None,
valid_from: Optional[str] = None,
valid_until: Optional[str] = None)
func NewEc2Fleet(ctx *Context, name string, args Ec2FleetArgs, opts ...ResourceOption) (*Ec2Fleet, error)
public Ec2Fleet(string name, Ec2FleetArgs args, CustomResourceOptions? opts = null)
public Ec2Fleet(String name, Ec2FleetArgs args)
public Ec2Fleet(String name, Ec2FleetArgs args, CustomResourceOptions options)
type: aws-native:ec2:Ec2Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args Ec2FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args Ec2FleetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args Ec2FleetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Ec2FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Ec2FleetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Ec2Fleet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Ec2Fleet resource accepts the following input properties:
- Launch
Template List<Pulumi.Configs Aws Native. Ec2. Inputs. Ec2Fleet Fleet Launch Template Config Request> - The configuration for the EC2 Fleet.
- Target
Capacity Pulumi.Specification Aws Native. Ec2. Inputs. Ec2Fleet Target Capacity Specification Request - The number of units to request.
- Context string
- Reserved.
- Excess
Capacity Pulumi.Termination Policy Aws Native. Ec2. Ec2Fleet Excess Capacity Termination Policy Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.- On
Demand Pulumi.Options Aws Native. Ec2. Inputs. Ec2Fleet On Demand Options Request - Describes the configuration of On-Demand Instances in an EC2 Fleet.
- Replace
Unhealthy boolInstances - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type
maintain
. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide . - Spot
Options Pulumi.Aws Native. Ec2. Inputs. Ec2Fleet Spot Options Request - Describes the configuration of Spot Instances in an EC2 Fleet.
- List<Pulumi.
Aws Native. Ec2. Inputs. Ec2Fleet Tag Specification> The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .
If the fleet type is
instant
, specify a resource type offleet
to tag the fleet orinstance
to tag the instances at launch.If the fleet type is
maintain
orrequest
, specify a resource type offleet
to tag the fleet. You cannot specify a resource type ofinstance
. To tag instances at launch, specify the tags in a launch template .- Terminate
Instances boolWith Expiration - Indicates whether running instances should be terminated when the EC2 Fleet expires.
- Type
Pulumi.
Aws Native. Ec2. Ec2Fleet Type The fleet type. The default value is
maintain
.maintain
- The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.request
- The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.instant
- The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.
For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .
- Valid
From string - The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). The default is to start fulfilling the request immediately.
- Valid
Until string - The end date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
- Launch
Template []Ec2FleetConfigs Fleet Launch Template Config Request Args - The configuration for the EC2 Fleet.
- Target
Capacity Ec2FleetSpecification Target Capacity Specification Request Args - The number of units to request.
- Context string
- Reserved.
- Excess
Capacity Ec2FleetTermination Policy Excess Capacity Termination Policy Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.- On
Demand Ec2FleetOptions On Demand Options Request Args - Describes the configuration of On-Demand Instances in an EC2 Fleet.
- Replace
Unhealthy boolInstances - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type
maintain
. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide . - Spot
Options Ec2FleetSpot Options Request Args - Describes the configuration of Spot Instances in an EC2 Fleet.
- []Ec2Fleet
Tag Specification Args The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .
If the fleet type is
instant
, specify a resource type offleet
to tag the fleet orinstance
to tag the instances at launch.If the fleet type is
maintain
orrequest
, specify a resource type offleet
to tag the fleet. You cannot specify a resource type ofinstance
. To tag instances at launch, specify the tags in a launch template .- Terminate
Instances boolWith Expiration - Indicates whether running instances should be terminated when the EC2 Fleet expires.
- Type
Ec2Fleet
Type The fleet type. The default value is
maintain
.maintain
- The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.request
- The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.instant
- The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.
For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .
- Valid
From string - The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). The default is to start fulfilling the request immediately.
- Valid
Until string - The end date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
- launch
Template List<Ec2FleetConfigs Fleet Launch Template Config Request> - The configuration for the EC2 Fleet.
- target
Capacity Ec2FleetSpecification Target Capacity Specification Request - The number of units to request.
- context String
- Reserved.
- excess
Capacity Ec2FleetTermination Policy Excess Capacity Termination Policy Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.- on
Demand Ec2FleetOptions On Demand Options Request - Describes the configuration of On-Demand Instances in an EC2 Fleet.
- replace
Unhealthy BooleanInstances - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type
maintain
. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide . - spot
Options Ec2FleetSpot Options Request - Describes the configuration of Spot Instances in an EC2 Fleet.
- List<Ec2Fleet
Tag Specification> The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .
If the fleet type is
instant
, specify a resource type offleet
to tag the fleet orinstance
to tag the instances at launch.If the fleet type is
maintain
orrequest
, specify a resource type offleet
to tag the fleet. You cannot specify a resource type ofinstance
. To tag instances at launch, specify the tags in a launch template .- terminate
Instances BooleanWith Expiration - Indicates whether running instances should be terminated when the EC2 Fleet expires.
- type
Ec2Fleet
Type The fleet type. The default value is
maintain
.maintain
- The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.request
- The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.instant
- The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.
For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .
- valid
From String - The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). The default is to start fulfilling the request immediately.
- valid
Until String - The end date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
- launch
Template Ec2FleetConfigs Fleet Launch Template Config Request[] - The configuration for the EC2 Fleet.
- target
Capacity Ec2FleetSpecification Target Capacity Specification Request - The number of units to request.
- context string
- Reserved.
- excess
Capacity Ec2FleetTermination Policy Excess Capacity Termination Policy Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.- on
Demand Ec2FleetOptions On Demand Options Request - Describes the configuration of On-Demand Instances in an EC2 Fleet.
- replace
Unhealthy booleanInstances - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type
maintain
. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide . - spot
Options Ec2FleetSpot Options Request - Describes the configuration of Spot Instances in an EC2 Fleet.
- Ec2Fleet
Tag Specification[] The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .
If the fleet type is
instant
, specify a resource type offleet
to tag the fleet orinstance
to tag the instances at launch.If the fleet type is
maintain
orrequest
, specify a resource type offleet
to tag the fleet. You cannot specify a resource type ofinstance
. To tag instances at launch, specify the tags in a launch template .- terminate
Instances booleanWith Expiration - Indicates whether running instances should be terminated when the EC2 Fleet expires.
- type
Ec2Fleet
Type The fleet type. The default value is
maintain
.maintain
- The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.request
- The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.instant
- The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.
For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .
- valid
From string - The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). The default is to start fulfilling the request immediately.
- valid
Until string - The end date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
- launch_
template_ Sequence[Ec2Fleetconfigs Fleet Launch Template Config Request Args] - The configuration for the EC2 Fleet.
- target_
capacity_ Ec2Fleetspecification Target Capacity Specification Request Args - The number of units to request.
- context str
- Reserved.
- excess_
capacity_ Ec2Fleettermination_ policy Excess Capacity Termination Policy Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.- on_
demand_ Ec2Fleetoptions On Demand Options Request Args - Describes the configuration of On-Demand Instances in an EC2 Fleet.
- replace_
unhealthy_ boolinstances - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type
maintain
. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide . - spot_
options Ec2FleetSpot Options Request Args - Describes the configuration of Spot Instances in an EC2 Fleet.
- tag_
specifications Sequence[Ec2FleetTag Specification Args] The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .
If the fleet type is
instant
, specify a resource type offleet
to tag the fleet orinstance
to tag the instances at launch.If the fleet type is
maintain
orrequest
, specify a resource type offleet
to tag the fleet. You cannot specify a resource type ofinstance
. To tag instances at launch, specify the tags in a launch template .- terminate_
instances_ boolwith_ expiration - Indicates whether running instances should be terminated when the EC2 Fleet expires.
- type
Ec2Fleet
Type The fleet type. The default value is
maintain
.maintain
- The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.request
- The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.instant
- The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.
For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .
- valid_
from str - The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). The default is to start fulfilling the request immediately.
- valid_
until str - The end date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
- launch
Template List<Property Map>Configs - The configuration for the EC2 Fleet.
- target
Capacity Property MapSpecification - The number of units to request.
- context String
- Reserved.
- excess
Capacity "termination" | "no-termination"Termination Policy Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.- on
Demand Property MapOptions - Describes the configuration of On-Demand Instances in an EC2 Fleet.
- replace
Unhealthy BooleanInstances - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type
maintain
. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide . - spot
Options Property Map - Describes the configuration of Spot Instances in an EC2 Fleet.
- List<Property Map>
The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .
If the fleet type is
instant
, specify a resource type offleet
to tag the fleet orinstance
to tag the instances at launch.If the fleet type is
maintain
orrequest
, specify a resource type offleet
to tag the fleet. You cannot specify a resource type ofinstance
. To tag instances at launch, specify the tags in a launch template .- terminate
Instances BooleanWith Expiration - Indicates whether running instances should be terminated when the EC2 Fleet expires.
- type "maintain" | "request" | "instant"
The fleet type. The default value is
maintain
.maintain
- The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.request
- The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.instant
- The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.
For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .
- valid
From String - The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). The default is to start fulfilling the request immediately.
- valid
Until String - The end date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ec2Fleet resource produces the following output properties:
Supporting Types
Ec2FleetAcceleratorCountRequest, Ec2FleetAcceleratorCountRequestArgs
Ec2FleetAcceleratorTotalMemoryMiBRequest, Ec2FleetAcceleratorTotalMemoryMiBRequestArgs
Ec2FleetBaselineEbsBandwidthMbpsRequest, Ec2FleetBaselineEbsBandwidthMbpsRequestArgs
Ec2FleetCapacityRebalance, Ec2FleetCapacityRebalanceArgs
- Replacement
Strategy Pulumi.Aws Native. Ec2. Ec2Fleet Capacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.launch-before-terminate
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (inTerminationDelay
), terminates the instances that received a rebalance notification.- Termination
Delay int The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.
Required when
ReplacementStrategy
is set tolaunch-before-terminate
.Not valid when
ReplacementStrategy
is set tolaunch
.Valid values: Minimum value of
120
seconds. Maximum value of7200
seconds.
- Replacement
Strategy Ec2FleetCapacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.launch-before-terminate
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (inTerminationDelay
), terminates the instances that received a rebalance notification.- Termination
Delay int The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.
Required when
ReplacementStrategy
is set tolaunch-before-terminate
.Not valid when
ReplacementStrategy
is set tolaunch
.Valid values: Minimum value of
120
seconds. Maximum value of7200
seconds.
- replacement
Strategy Ec2FleetCapacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.launch-before-terminate
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (inTerminationDelay
), terminates the instances that received a rebalance notification.- termination
Delay Integer The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.
Required when
ReplacementStrategy
is set tolaunch-before-terminate
.Not valid when
ReplacementStrategy
is set tolaunch
.Valid values: Minimum value of
120
seconds. Maximum value of7200
seconds.
- replacement
Strategy Ec2FleetCapacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.launch-before-terminate
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (inTerminationDelay
), terminates the instances that received a rebalance notification.- termination
Delay number The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.
Required when
ReplacementStrategy
is set tolaunch-before-terminate
.Not valid when
ReplacementStrategy
is set tolaunch
.Valid values: Minimum value of
120
seconds. Maximum value of7200
seconds.
- replacement_
strategy Ec2FleetCapacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.launch-before-terminate
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (inTerminationDelay
), terminates the instances that received a rebalance notification.- termination_
delay int The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.
Required when
ReplacementStrategy
is set tolaunch-before-terminate
.Not valid when
ReplacementStrategy
is set tolaunch
.Valid values: Minimum value of
120
seconds. Maximum value of7200
seconds.
- replacement
Strategy "launch" | "launch-before-terminate" The replacement strategy to use. Only available for fleets of type
maintain
.launch
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.launch-before-terminate
- EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (inTerminationDelay
), terminates the instances that received a rebalance notification.- termination
Delay Number The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.
Required when
ReplacementStrategy
is set tolaunch-before-terminate
.Not valid when
ReplacementStrategy
is set tolaunch
.Valid values: Minimum value of
120
seconds. Maximum value of7200
seconds.
Ec2FleetCapacityRebalanceReplacementStrategy, Ec2FleetCapacityRebalanceReplacementStrategyArgs
- Launch
- launch
- Launch
Before Terminate - launch-before-terminate
- Ec2Fleet
Capacity Rebalance Replacement Strategy Launch - launch
- Ec2Fleet
Capacity Rebalance Replacement Strategy Launch Before Terminate - launch-before-terminate
- Launch
- launch
- Launch
Before Terminate - launch-before-terminate
- Launch
- launch
- Launch
Before Terminate - launch-before-terminate
- LAUNCH
- launch
- LAUNCH_BEFORE_TERMINATE
- launch-before-terminate
- "launch"
- launch
- "launch-before-terminate"
- launch-before-terminate
Ec2FleetCapacityReservationOptionsRequest, Ec2FleetCapacityReservationOptionsRequestArgs
- Usage
Strategy Pulumi.Aws Native. Ec2. Ec2Fleet Capacity Reservation Options Request Usage Strategy Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.
If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
orprioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
orprioritized
).If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
- Usage
Strategy Ec2FleetCapacity Reservation Options Request Usage Strategy Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.
If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
orprioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
orprioritized
).If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
- usage
Strategy Ec2FleetCapacity Reservation Options Request Usage Strategy Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.
If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
orprioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
orprioritized
).If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
- usage
Strategy Ec2FleetCapacity Reservation Options Request Usage Strategy Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.
If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
orprioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
orprioritized
).If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
- usage_
strategy Ec2FleetCapacity Reservation Options Request Usage Strategy Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.
If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
orprioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
orprioritized
).If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
- usage
Strategy "use-capacity-reservations-first" Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.
If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
orprioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
orprioritized
).If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
Ec2FleetCapacityReservationOptionsRequestUsageStrategy, Ec2FleetCapacityReservationOptionsRequestUsageStrategyArgs
- Use
Capacity Reservations First - use-capacity-reservations-first
- Ec2Fleet
Capacity Reservation Options Request Usage Strategy Use Capacity Reservations First - use-capacity-reservations-first
- Use
Capacity Reservations First - use-capacity-reservations-first
- Use
Capacity Reservations First - use-capacity-reservations-first
- USE_CAPACITY_RESERVATIONS_FIRST
- use-capacity-reservations-first
- "use-capacity-reservations-first"
- use-capacity-reservations-first
Ec2FleetExcessCapacityTerminationPolicy, Ec2FleetExcessCapacityTerminationPolicyArgs
- Termination
- termination
- No
Termination - no-termination
- Ec2Fleet
Excess Capacity Termination Policy Termination - termination
- Ec2Fleet
Excess Capacity Termination Policy No Termination - no-termination
- Termination
- termination
- No
Termination - no-termination
- Termination
- termination
- No
Termination - no-termination
- TERMINATION
- termination
- NO_TERMINATION
- no-termination
- "termination"
- termination
- "no-termination"
- no-termination
Ec2FleetFleetLaunchTemplateConfigRequest, Ec2FleetFleetLaunchTemplateConfigRequestArgs
- Launch
Template Pulumi.Specification Aws Native. Ec2. Inputs. Ec2Fleet Fleet Launch Template Specification Request - The launch template to use. You must specify either the launch template ID or launch template name in the request.
- Overrides
List<Pulumi.
Aws Native. Ec2. Inputs. Ec2Fleet Fleet Launch Template Overrides Request> Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.
- Launch
Template Ec2FleetSpecification Fleet Launch Template Specification Request - The launch template to use. You must specify either the launch template ID or launch template name in the request.
- Overrides
[]Ec2Fleet
Fleet Launch Template Overrides Request Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.
- launch
Template Ec2FleetSpecification Fleet Launch Template Specification Request - The launch template to use. You must specify either the launch template ID or launch template name in the request.
- overrides
List<Ec2Fleet
Fleet Launch Template Overrides Request> Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.
- launch
Template Ec2FleetSpecification Fleet Launch Template Specification Request - The launch template to use. You must specify either the launch template ID or launch template name in the request.
- overrides
Ec2Fleet
Fleet Launch Template Overrides Request[] Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.
- launch_
template_ Ec2Fleetspecification Fleet Launch Template Specification Request - The launch template to use. You must specify either the launch template ID or launch template name in the request.
- overrides
Sequence[Ec2Fleet
Fleet Launch Template Overrides Request] Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.
- launch
Template Property MapSpecification - The launch template to use. You must specify either the launch template ID or launch template name in the request.
- overrides List<Property Map>
Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.
Ec2FleetFleetLaunchTemplateOverridesRequest, Ec2FleetFleetLaunchTemplateOverridesRequestArgs
- Availability
Zone string - The Availability Zone in which to launch the instances.
- Instance
Requirements Pulumi.Aws Native. Ec2. Inputs. Ec2Fleet Instance Requirements Request The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- Instance
Type string The instance type.
mac1.metal
is not supported as a launch template override.If you specify
InstanceType
, you can't specifyInstanceRequirements
.- Max
Price string The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- Placement
Pulumi.
Aws Native. Ec2. Inputs. Ec2Fleet Placement - The location where the instance launched, if applicable.
- Priority double
The priority for the launch template override. The highest priority is launched first.
If the On-Demand
AllocationStrategy
is set toprioritized
, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacity-optimized-prioritized
, EC2 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.- Subnet
Id string - The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example,
subnet-1234abcdeexample1, subnet-0987cdef6example2
). A request of typeinstant
can have only one subnet ID. - Weighted
Capacity double The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
When specifying weights, the price used in the
lowest-price
andprice-capacity-optimized
allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requestedTargetCapacity
, resulting in only 1 instance being launched, the price used is per instance hour.
- Availability
Zone string - The Availability Zone in which to launch the instances.
- Instance
Requirements Ec2FleetInstance Requirements Request The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- Instance
Type string The instance type.
mac1.metal
is not supported as a launch template override.If you specify
InstanceType
, you can't specifyInstanceRequirements
.- Max
Price string The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- Placement
Ec2Fleet
Placement - The location where the instance launched, if applicable.
- Priority float64
The priority for the launch template override. The highest priority is launched first.
If the On-Demand
AllocationStrategy
is set toprioritized
, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacity-optimized-prioritized
, EC2 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.- Subnet
Id string - The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example,
subnet-1234abcdeexample1, subnet-0987cdef6example2
). A request of typeinstant
can have only one subnet ID. - Weighted
Capacity float64 The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
When specifying weights, the price used in the
lowest-price
andprice-capacity-optimized
allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requestedTargetCapacity
, resulting in only 1 instance being launched, the price used is per instance hour.
- availability
Zone String - The Availability Zone in which to launch the instances.
- instance
Requirements Ec2FleetInstance Requirements Request The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance
Type String The instance type.
mac1.metal
is not supported as a launch template override.If you specify
InstanceType
, you can't specifyInstanceRequirements
.- max
Price String The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- placement
Ec2Fleet
Placement - The location where the instance launched, if applicable.
- priority Double
The priority for the launch template override. The highest priority is launched first.
If the On-Demand
AllocationStrategy
is set toprioritized
, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacity-optimized-prioritized
, EC2 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.- subnet
Id String - The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example,
subnet-1234abcdeexample1, subnet-0987cdef6example2
). A request of typeinstant
can have only one subnet ID. - weighted
Capacity Double The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
When specifying weights, the price used in the
lowest-price
andprice-capacity-optimized
allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requestedTargetCapacity
, resulting in only 1 instance being launched, the price used is per instance hour.
- availability
Zone string - The Availability Zone in which to launch the instances.
- instance
Requirements Ec2FleetInstance Requirements Request The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance
Type string The instance type.
mac1.metal
is not supported as a launch template override.If you specify
InstanceType
, you can't specifyInstanceRequirements
.- max
Price string The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- placement
Ec2Fleet
Placement - The location where the instance launched, if applicable.
- priority number
The priority for the launch template override. The highest priority is launched first.
If the On-Demand
AllocationStrategy
is set toprioritized
, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacity-optimized-prioritized
, EC2 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.- subnet
Id string - The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example,
subnet-1234abcdeexample1, subnet-0987cdef6example2
). A request of typeinstant
can have only one subnet ID. - weighted
Capacity number The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
When specifying weights, the price used in the
lowest-price
andprice-capacity-optimized
allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requestedTargetCapacity
, resulting in only 1 instance being launched, the price used is per instance hour.
- availability_
zone str - The Availability Zone in which to launch the instances.
- instance_
requirements Ec2FleetInstance Requirements Request The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance_
type str The instance type.
mac1.metal
is not supported as a launch template override.If you specify
InstanceType
, you can't specifyInstanceRequirements
.- max_
price str The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- placement
Ec2Fleet
Placement - The location where the instance launched, if applicable.
- priority float
The priority for the launch template override. The highest priority is launched first.
If the On-Demand
AllocationStrategy
is set toprioritized
, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacity-optimized-prioritized
, EC2 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.- subnet_
id str - The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example,
subnet-1234abcdeexample1, subnet-0987cdef6example2
). A request of typeinstant
can have only one subnet ID. - weighted_
capacity float The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
When specifying weights, the price used in the
lowest-price
andprice-capacity-optimized
allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requestedTargetCapacity
, resulting in only 1 instance being launched, the price used is per instance hour.
- availability
Zone String - The Availability Zone in which to launch the instances.
- instance
Requirements Property Map The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance
Type String The instance type.
mac1.metal
is not supported as a launch template override.If you specify
InstanceType
, you can't specifyInstanceRequirements
.- max
Price String The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- placement Property Map
- The location where the instance launched, if applicable.
- priority Number
The priority for the launch template override. The highest priority is launched first.
If the On-Demand
AllocationStrategy
is set toprioritized
, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacity-optimized-prioritized
, EC2 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.- subnet
Id String - The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example,
subnet-1234abcdeexample1, subnet-0987cdef6example2
). A request of typeinstant
can have only one subnet ID. - weighted
Capacity Number The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
When specifying weights, the price used in the
lowest-price
andprice-capacity-optimized
allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requestedTargetCapacity
, resulting in only 1 instance being launched, the price used is per instance hour.
Ec2FleetFleetLaunchTemplateSpecificationRequest, Ec2FleetFleetLaunchTemplateSpecificationRequestArgs
- Version string
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.If the value is
$Latest
, Amazon EC2 uses the latest version of the launch template.If the value is
$Default
, Amazon EC2 uses the default version of the launch template.- Launch
Template stringId The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- Launch
Template stringName The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
- Version string
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.If the value is
$Latest
, Amazon EC2 uses the latest version of the launch template.If the value is
$Default
, Amazon EC2 uses the default version of the launch template.- Launch
Template stringId The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- Launch
Template stringName The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
- version String
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.If the value is
$Latest
, Amazon EC2 uses the latest version of the launch template.If the value is
$Default
, Amazon EC2 uses the default version of the launch template.- launch
Template StringId The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- launch
Template StringName The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
- version string
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.If the value is
$Latest
, Amazon EC2 uses the latest version of the launch template.If the value is
$Default
, Amazon EC2 uses the default version of the launch template.- launch
Template stringId The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- launch
Template stringName The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
- version str
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.If the value is
$Latest
, Amazon EC2 uses the latest version of the launch template.If the value is
$Default
, Amazon EC2 uses the default version of the launch template.- launch_
template_ strid The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- launch_
template_ strname The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
- version String
The launch template version number,
$Latest
, or$Default
. You must specify a value, otherwise the request fails.If the value is
$Latest
, Amazon EC2 uses the latest version of the launch template.If the value is
$Default
, Amazon EC2 uses the default version of the launch template.- launch
Template StringId The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.- launch
Template StringName The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.
Ec2FleetInstanceRequirementsRequest, Ec2FleetInstanceRequirementsRequestArgs
- Accelerator
Count Pulumi.Aws Native. Ec2. Inputs. Ec2Fleet Accelerator Count Request The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set
Max
to0
.Default: No minimum or maximum limits
- Accelerator
Manufacturers List<Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Accelerator Manufacturers Item> Indicates whether instance types must have accelerators by specific manufacturers.
- For instance types with AWS devices, specify
amazon-web-services
. - For instance types with AMD devices, specify
amd
. - For instance types with Habana devices, specify
habana
. - For instance types with NVIDIA devices, specify
nvidia
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
- For instance types with AWS devices, specify
- Accelerator
Names List<Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Accelerator Names Item> The accelerators that must be on the instance type.
- For instance types with NVIDIA A10G GPUs, specify
a10g
. - For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA H100 GPUs, specify
h100
. - For instance types with AWS Inferentia chips, specify
inferentia
. - For instance types with NVIDIA GRID K520 GPUs, specify
k520
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA T4G GPUs, specify
t4g
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
. - For instance types with NVIDIA V100 GPUs, specify
v100
.
Default: Any accelerator
- For instance types with NVIDIA A10G GPUs, specify
- Accelerator
Total Pulumi.Memory Mi B Aws Native. Ec2. Inputs. Ec2Fleet Accelerator Total Memory Mi BRequest The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- Accelerator
Types List<Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Accelerator Types Item> The accelerator types that must be on the instance type.
- To include instance types with GPU hardware, specify
gpu
. - To include instance types with FPGA hardware, specify
fpga
.
Default: Any accelerator type
- To include instance types with GPU hardware, specify
- Allowed
Instance List<string>Types The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.If you specify
AllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
.Default: All instance types
- Bare
Metal Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Bare Metal Indicates whether bare metal instance types must be included, excluded, or required.
- To include bare metal instance types, specify
included
. - To require only bare metal instance types, specify
required
. - To exclude bare metal instance types, specify
excluded
.
Default:
excluded
- To include bare metal instance types, specify
- Baseline
Ebs Pulumi.Bandwidth Mbps Aws Native. Ec2. Inputs. Ec2Fleet Baseline Ebs Bandwidth Mbps Request The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- Burstable
Performance Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Burstable Performance Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
- To include burstable performance instance types, specify
included
. - To require only burstable performance instance types, specify
required
. - To exclude burstable performance instance types, specify
excluded
.
Default:
excluded
- To include burstable performance instance types, specify
- Cpu
Manufacturers List<Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Cpu Manufacturers Item> The CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with AWS CPUs, specify
amazon-web-services
.
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
- For instance types with Intel CPUs, specify
- Excluded
Instance List<string>Types The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.If you specify
ExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
.Default: No excluded instance types
- Instance
Generations List<Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Instance Generations Item> Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .
For current generation instance types, specify
current
.For previous generation instance types, specify
previous
.Default: Current and previous generation instance types
- Local
Storage Pulumi.Aws Native. Ec2. Ec2Fleet Instance Requirements Request Local Storage Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
- To include instance types with instance store volumes, specify
included
. - To require only instance types with instance store volumes, specify
required
. - To exclude instance types with instance store volumes, specify
excluded
.
Default:
included
- To include instance types with instance store volumes, specify
- Local
Storage List<Pulumi.Types Aws Native. Ec2. Ec2Fleet Instance Requirements Request Local Storage Types Item> The type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default:
hdd
andssd
- For instance types with hard disk drive (HDD) storage, specify
- Max
Spot intPrice As Percentage Of Optimal On Demand Price [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.- Memory
Gi Pulumi.BPer VCpu Aws Native. Ec2. Inputs. Ec2Fleet Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- Memory
Mi Pulumi.B Aws Native. Ec2. Inputs. Ec2Fleet Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- Network
Bandwidth Pulumi.Gbps Aws Native. Ec2. Inputs. Ec2Fleet Network Bandwidth Gbps Request The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- Network
Interface Pulumi.Count Aws Native. Ec2. Inputs. Ec2Fleet Network Interface Count Request The minimum and maximum number of network interfaces.
Default: No minimum or maximum limits
- On
Demand intMax Price Percentage Over Lowest Price [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To indicate no price protection threshold, specify a high value, such as
999999
.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.Default:
20
- Require
Hibernate boolSupport Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores .
Default:
false
- Spot
Max intPrice Percentage Over Lowest Price [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.Default:
100
- Total
Local Pulumi.Storage Gb Aws Native. Ec2. Inputs. Ec2Fleet Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- VCpu
Count Pulumi.Aws Native. Ec2. Inputs. Ec2Fleet VCpu Count Range Request - The minimum and maximum number of vCPUs.
- Accelerator
Count Ec2FleetAccelerator Count Request The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set
Max
to0
.Default: No minimum or maximum limits
- Accelerator
Manufacturers []Ec2FleetInstance Requirements Request Accelerator Manufacturers Item Indicates whether instance types must have accelerators by specific manufacturers.
- For instance types with AWS devices, specify
amazon-web-services
. - For instance types with AMD devices, specify
amd
. - For instance types with Habana devices, specify
habana
. - For instance types with NVIDIA devices, specify
nvidia
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
- For instance types with AWS devices, specify
- Accelerator
Names []Ec2FleetInstance Requirements Request Accelerator Names Item The accelerators that must be on the instance type.
- For instance types with NVIDIA A10G GPUs, specify
a10g
. - For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA H100 GPUs, specify
h100
. - For instance types with AWS Inferentia chips, specify
inferentia
. - For instance types with NVIDIA GRID K520 GPUs, specify
k520
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA T4G GPUs, specify
t4g
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
. - For instance types with NVIDIA V100 GPUs, specify
v100
.
Default: Any accelerator
- For instance types with NVIDIA A10G GPUs, specify
- Accelerator
Total Ec2FleetMemory Mi B Accelerator Total Memory Mi BRequest The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- Accelerator
Types []Ec2FleetInstance Requirements Request Accelerator Types Item The accelerator types that must be on the instance type.
- To include instance types with GPU hardware, specify
gpu
. - To include instance types with FPGA hardware, specify
fpga
.
Default: Any accelerator type
- To include instance types with GPU hardware, specify
- Allowed
Instance []stringTypes The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.If you specify
AllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
.Default: All instance types
- Bare
Metal Ec2FleetInstance Requirements Request Bare Metal Indicates whether bare metal instance types must be included, excluded, or required.
- To include bare metal instance types, specify
included
. - To require only bare metal instance types, specify
required
. - To exclude bare metal instance types, specify
excluded
.
Default:
excluded
- To include bare metal instance types, specify
- Baseline
Ebs Ec2FleetBandwidth Mbps Baseline Ebs Bandwidth Mbps Request The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- Burstable
Performance Ec2FleetInstance Requirements Request Burstable Performance Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
- To include burstable performance instance types, specify
included
. - To require only burstable performance instance types, specify
required
. - To exclude burstable performance instance types, specify
excluded
.
Default:
excluded
- To include burstable performance instance types, specify
- Cpu
Manufacturers []Ec2FleetInstance Requirements Request Cpu Manufacturers Item The CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with AWS CPUs, specify
amazon-web-services
.
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
- For instance types with Intel CPUs, specify
- Excluded
Instance []stringTypes The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.If you specify
ExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
.Default: No excluded instance types
- Instance
Generations []Ec2FleetInstance Requirements Request Instance Generations Item Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .
For current generation instance types, specify
current
.For previous generation instance types, specify
previous
.Default: Current and previous generation instance types
- Local
Storage Ec2FleetInstance Requirements Request Local Storage Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
- To include instance types with instance store volumes, specify
included
. - To require only instance types with instance store volumes, specify
required
. - To exclude instance types with instance store volumes, specify
excluded
.
Default:
included
- To include instance types with instance store volumes, specify
- Local
Storage []Ec2FleetTypes Instance Requirements Request Local Storage Types Item The type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default:
hdd
andssd
- For instance types with hard disk drive (HDD) storage, specify
- Max
Spot intPrice As Percentage Of Optimal On Demand Price [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.- Memory
Gi Ec2FleetBPer VCpu Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- Memory
Mi Ec2FleetB Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- Network
Bandwidth Ec2FleetGbps Network Bandwidth Gbps Request The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- Network
Interface Ec2FleetCount Network Interface Count Request The minimum and maximum number of network interfaces.
Default: No minimum or maximum limits
- On
Demand intMax Price Percentage Over Lowest Price [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To indicate no price protection threshold, specify a high value, such as
999999
.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.Default:
20
- Require
Hibernate boolSupport Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores .
Default:
false
- Spot
Max intPrice Percentage Over Lowest Price [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.Default:
100
- Total
Local Ec2FleetStorage Gb Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- VCpu
Count Ec2FleetVCpu Count Range Request - The minimum and maximum number of vCPUs.
- accelerator
Count Ec2FleetAccelerator Count Request The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set
Max
to0
.Default: No minimum or maximum limits
- accelerator
Manufacturers List<Ec2FleetInstance Requirements Request Accelerator Manufacturers Item> Indicates whether instance types must have accelerators by specific manufacturers.
- For instance types with AWS devices, specify
amazon-web-services
. - For instance types with AMD devices, specify
amd
. - For instance types with Habana devices, specify
habana
. - For instance types with NVIDIA devices, specify
nvidia
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
- For instance types with AWS devices, specify
- accelerator
Names List<Ec2FleetInstance Requirements Request Accelerator Names Item> The accelerators that must be on the instance type.
- For instance types with NVIDIA A10G GPUs, specify
a10g
. - For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA H100 GPUs, specify
h100
. - For instance types with AWS Inferentia chips, specify
inferentia
. - For instance types with NVIDIA GRID K520 GPUs, specify
k520
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA T4G GPUs, specify
t4g
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
. - For instance types with NVIDIA V100 GPUs, specify
v100
.
Default: Any accelerator
- For instance types with NVIDIA A10G GPUs, specify
- accelerator
Total Ec2FleetMemory Mi B Accelerator Total Memory Mi BRequest The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- accelerator
Types List<Ec2FleetInstance Requirements Request Accelerator Types Item> The accelerator types that must be on the instance type.
- To include instance types with GPU hardware, specify
gpu
. - To include instance types with FPGA hardware, specify
fpga
.
Default: Any accelerator type
- To include instance types with GPU hardware, specify
- allowed
Instance List<String>Types The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.If you specify
AllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
.Default: All instance types
- bare
Metal Ec2FleetInstance Requirements Request Bare Metal Indicates whether bare metal instance types must be included, excluded, or required.
- To include bare metal instance types, specify
included
. - To require only bare metal instance types, specify
required
. - To exclude bare metal instance types, specify
excluded
.
Default:
excluded
- To include bare metal instance types, specify
- baseline
Ebs Ec2FleetBandwidth Mbps Baseline Ebs Bandwidth Mbps Request The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- burstable
Performance Ec2FleetInstance Requirements Request Burstable Performance Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
- To include burstable performance instance types, specify
included
. - To require only burstable performance instance types, specify
required
. - To exclude burstable performance instance types, specify
excluded
.
Default:
excluded
- To include burstable performance instance types, specify
- cpu
Manufacturers List<Ec2FleetInstance Requirements Request Cpu Manufacturers Item> The CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with AWS CPUs, specify
amazon-web-services
.
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
- For instance types with Intel CPUs, specify
- excluded
Instance List<String>Types The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.If you specify
ExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
.Default: No excluded instance types
- instance
Generations List<Ec2FleetInstance Requirements Request Instance Generations Item> Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .
For current generation instance types, specify
current
.For previous generation instance types, specify
previous
.Default: Current and previous generation instance types
- local
Storage Ec2FleetInstance Requirements Request Local Storage Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
- To include instance types with instance store volumes, specify
included
. - To require only instance types with instance store volumes, specify
required
. - To exclude instance types with instance store volumes, specify
excluded
.
Default:
included
- To include instance types with instance store volumes, specify
- local
Storage List<Ec2FleetTypes Instance Requirements Request Local Storage Types Item> The type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default:
hdd
andssd
- For instance types with hard disk drive (HDD) storage, specify
- max
Spot IntegerPrice As Percentage Of Optimal On Demand Price [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.- memory
Gi Ec2FleetBPer VCpu Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- memory
Mi Ec2FleetB Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- network
Bandwidth Ec2FleetGbps Network Bandwidth Gbps Request The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- network
Interface Ec2FleetCount Network Interface Count Request The minimum and maximum number of network interfaces.
Default: No minimum or maximum limits
- on
Demand IntegerMax Price Percentage Over Lowest Price [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To indicate no price protection threshold, specify a high value, such as
999999
.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.Default:
20
- require
Hibernate BooleanSupport Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores .
Default:
false
- spot
Max IntegerPrice Percentage Over Lowest Price [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.Default:
100
- total
Local Ec2FleetStorage Gb Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- v
Cpu Ec2FleetCount VCpu Count Range Request - The minimum and maximum number of vCPUs.
- accelerator
Count Ec2FleetAccelerator Count Request The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set
Max
to0
.Default: No minimum or maximum limits
- accelerator
Manufacturers Ec2FleetInstance Requirements Request Accelerator Manufacturers Item[] Indicates whether instance types must have accelerators by specific manufacturers.
- For instance types with AWS devices, specify
amazon-web-services
. - For instance types with AMD devices, specify
amd
. - For instance types with Habana devices, specify
habana
. - For instance types with NVIDIA devices, specify
nvidia
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
- For instance types with AWS devices, specify
- accelerator
Names Ec2FleetInstance Requirements Request Accelerator Names Item[] The accelerators that must be on the instance type.
- For instance types with NVIDIA A10G GPUs, specify
a10g
. - For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA H100 GPUs, specify
h100
. - For instance types with AWS Inferentia chips, specify
inferentia
. - For instance types with NVIDIA GRID K520 GPUs, specify
k520
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA T4G GPUs, specify
t4g
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
. - For instance types with NVIDIA V100 GPUs, specify
v100
.
Default: Any accelerator
- For instance types with NVIDIA A10G GPUs, specify
- accelerator
Total Ec2FleetMemory Mi B Accelerator Total Memory Mi BRequest The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- accelerator
Types Ec2FleetInstance Requirements Request Accelerator Types Item[] The accelerator types that must be on the instance type.
- To include instance types with GPU hardware, specify
gpu
. - To include instance types with FPGA hardware, specify
fpga
.
Default: Any accelerator type
- To include instance types with GPU hardware, specify
- allowed
Instance string[]Types The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.If you specify
AllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
.Default: All instance types
- bare
Metal Ec2FleetInstance Requirements Request Bare Metal Indicates whether bare metal instance types must be included, excluded, or required.
- To include bare metal instance types, specify
included
. - To require only bare metal instance types, specify
required
. - To exclude bare metal instance types, specify
excluded
.
Default:
excluded
- To include bare metal instance types, specify
- baseline
Ebs Ec2FleetBandwidth Mbps Baseline Ebs Bandwidth Mbps Request The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- burstable
Performance Ec2FleetInstance Requirements Request Burstable Performance Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
- To include burstable performance instance types, specify
included
. - To require only burstable performance instance types, specify
required
. - To exclude burstable performance instance types, specify
excluded
.
Default:
excluded
- To include burstable performance instance types, specify
- cpu
Manufacturers Ec2FleetInstance Requirements Request Cpu Manufacturers Item[] The CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with AWS CPUs, specify
amazon-web-services
.
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
- For instance types with Intel CPUs, specify
- excluded
Instance string[]Types The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.If you specify
ExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
.Default: No excluded instance types
- instance
Generations Ec2FleetInstance Requirements Request Instance Generations Item[] Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .
For current generation instance types, specify
current
.For previous generation instance types, specify
previous
.Default: Current and previous generation instance types
- local
Storage Ec2FleetInstance Requirements Request Local Storage Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
- To include instance types with instance store volumes, specify
included
. - To require only instance types with instance store volumes, specify
required
. - To exclude instance types with instance store volumes, specify
excluded
.
Default:
included
- To include instance types with instance store volumes, specify
- local
Storage Ec2FleetTypes Instance Requirements Request Local Storage Types Item[] The type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default:
hdd
andssd
- For instance types with hard disk drive (HDD) storage, specify
- max
Spot numberPrice As Percentage Of Optimal On Demand Price [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.- memory
Gi Ec2FleetBPer VCpu Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- memory
Mi Ec2FleetB Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- network
Bandwidth Ec2FleetGbps Network Bandwidth Gbps Request The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- network
Interface Ec2FleetCount Network Interface Count Request The minimum and maximum number of network interfaces.
Default: No minimum or maximum limits
- on
Demand numberMax Price Percentage Over Lowest Price [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To indicate no price protection threshold, specify a high value, such as
999999
.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.Default:
20
- require
Hibernate booleanSupport Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores .
Default:
false
- spot
Max numberPrice Percentage Over Lowest Price [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.Default:
100
- total
Local Ec2FleetStorage Gb Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- v
Cpu Ec2FleetCount VCpu Count Range Request - The minimum and maximum number of vCPUs.
- accelerator_
count Ec2FleetAccelerator Count Request The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set
Max
to0
.Default: No minimum or maximum limits
- accelerator_
manufacturers Sequence[Ec2FleetInstance Requirements Request Accelerator Manufacturers Item] Indicates whether instance types must have accelerators by specific manufacturers.
- For instance types with AWS devices, specify
amazon-web-services
. - For instance types with AMD devices, specify
amd
. - For instance types with Habana devices, specify
habana
. - For instance types with NVIDIA devices, specify
nvidia
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
- For instance types with AWS devices, specify
- accelerator_
names Sequence[Ec2FleetInstance Requirements Request Accelerator Names Item] The accelerators that must be on the instance type.
- For instance types with NVIDIA A10G GPUs, specify
a10g
. - For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA H100 GPUs, specify
h100
. - For instance types with AWS Inferentia chips, specify
inferentia
. - For instance types with NVIDIA GRID K520 GPUs, specify
k520
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA T4G GPUs, specify
t4g
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
. - For instance types with NVIDIA V100 GPUs, specify
v100
.
Default: Any accelerator
- For instance types with NVIDIA A10G GPUs, specify
- accelerator_
total_ Ec2Fleetmemory_ mi_ b Accelerator Total Memory Mi BRequest The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- accelerator_
types Sequence[Ec2FleetInstance Requirements Request Accelerator Types Item] The accelerator types that must be on the instance type.
- To include instance types with GPU hardware, specify
gpu
. - To include instance types with FPGA hardware, specify
fpga
.
Default: Any accelerator type
- To include instance types with GPU hardware, specify
- allowed_
instance_ Sequence[str]types The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.If you specify
AllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
.Default: All instance types
- bare_
metal Ec2FleetInstance Requirements Request Bare Metal Indicates whether bare metal instance types must be included, excluded, or required.
- To include bare metal instance types, specify
included
. - To require only bare metal instance types, specify
required
. - To exclude bare metal instance types, specify
excluded
.
Default:
excluded
- To include bare metal instance types, specify
- baseline_
ebs_ Ec2Fleetbandwidth_ mbps Baseline Ebs Bandwidth Mbps Request The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- burstable_
performance Ec2FleetInstance Requirements Request Burstable Performance Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
- To include burstable performance instance types, specify
included
. - To require only burstable performance instance types, specify
required
. - To exclude burstable performance instance types, specify
excluded
.
Default:
excluded
- To include burstable performance instance types, specify
- cpu_
manufacturers Sequence[Ec2FleetInstance Requirements Request Cpu Manufacturers Item] The CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with AWS CPUs, specify
amazon-web-services
.
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
- For instance types with Intel CPUs, specify
- excluded_
instance_ Sequence[str]types The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.If you specify
ExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
.Default: No excluded instance types
- instance_
generations Sequence[Ec2FleetInstance Requirements Request Instance Generations Item] Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .
For current generation instance types, specify
current
.For previous generation instance types, specify
previous
.Default: Current and previous generation instance types
- local_
storage Ec2FleetInstance Requirements Request Local Storage Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
- To include instance types with instance store volumes, specify
included
. - To require only instance types with instance store volumes, specify
required
. - To exclude instance types with instance store volumes, specify
excluded
.
Default:
included
- To include instance types with instance store volumes, specify
- local_
storage_ Sequence[Ec2Fleettypes Instance Requirements Request Local Storage Types Item] The type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default:
hdd
andssd
- For instance types with hard disk drive (HDD) storage, specify
- max_
spot_ intprice_ as_ percentage_ of_ optimal_ on_ demand_ price [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.- memory_
gi_ Ec2Fleetb_ per_ v_ cpu Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- memory_
mi_ Ec2Fleetb Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- network_
bandwidth_ Ec2Fleetgbps Network Bandwidth Gbps Request The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- network_
interface_ Ec2Fleetcount Network Interface Count Request The minimum and maximum number of network interfaces.
Default: No minimum or maximum limits
- on_
demand_ intmax_ price_ percentage_ over_ lowest_ price [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To indicate no price protection threshold, specify a high value, such as
999999
.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.Default:
20
- require_
hibernate_ boolsupport Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores .
Default:
false
- spot_
max_ intprice_ percentage_ over_ lowest_ price [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.Default:
100
- total_
local_ Ec2Fleetstorage_ gb Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- v_
cpu_ Ec2Fleetcount VCpu Count Range Request - The minimum and maximum number of vCPUs.
- accelerator
Count Property Map The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set
Max
to0
.Default: No minimum or maximum limits
- accelerator
Manufacturers List<"amazon-web-services" | "amd" | "habana" | "nvidia" | "xilinx"> Indicates whether instance types must have accelerators by specific manufacturers.
- For instance types with AWS devices, specify
amazon-web-services
. - For instance types with AMD devices, specify
amd
. - For instance types with Habana devices, specify
habana
. - For instance types with NVIDIA devices, specify
nvidia
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
- For instance types with AWS devices, specify
- accelerator
Names List<"a10g" | "a100" | "h100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "t4g" | "vu9p" | "v100"> The accelerators that must be on the instance type.
- For instance types with NVIDIA A10G GPUs, specify
a10g
. - For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA H100 GPUs, specify
h100
. - For instance types with AWS Inferentia chips, specify
inferentia
. - For instance types with NVIDIA GRID K520 GPUs, specify
k520
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA T4G GPUs, specify
t4g
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
. - For instance types with NVIDIA V100 GPUs, specify
v100
.
Default: Any accelerator
- For instance types with NVIDIA A10G GPUs, specify
- accelerator
Total Property MapMemory Mi B The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- accelerator
Types List<"gpu" | "fpga" | "inference"> The accelerator types that must be on the instance type.
- To include instance types with GPU hardware, specify
gpu
. - To include instance types with FPGA hardware, specify
fpga
.
Default: Any accelerator type
- To include instance types with GPU hardware, specify
- allowed
Instance List<String>Types The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to allow an instance type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.If you specify
AllowedInstanceTypes
, you can't specifyExcludedInstanceTypes
.Default: All instance types
- bare
Metal "included" | "required" | "excluded" Indicates whether bare metal instance types must be included, excluded, or required.
- To include bare metal instance types, specify
included
. - To require only bare metal instance types, specify
required
. - To exclude bare metal instance types, specify
excluded
.
Default:
excluded
- To include bare metal instance types, specify
- baseline
Ebs Property MapBandwidth Mbps The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- burstable
Performance "included" | "required" | "excluded" Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .
- To include burstable performance instance types, specify
included
. - To require only burstable performance instance types, specify
required
. - To exclude burstable performance instance types, specify
excluded
.
Default:
excluded
- To include burstable performance instance types, specify
- cpu
Manufacturers List<"intel" | "amd" | "amazon-web-services" | "apple"> The CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with AWS CPUs, specify
amazon-web-services
.
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
- For instance types with Intel CPUs, specify
- excluded
Instance List<String>Types The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (
*
), to exclude an instance family, type, size, or generation. The following are examples:m5.8xlarge
,c5*.*
,m5a.*
,r*
,*3*
.For example, if you specify
c5*
,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*
, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.If you specify
ExcludedInstanceTypes
, you can't specifyAllowedInstanceTypes
.Default: No excluded instance types
- instance
Generations List<"current" | "previous"> Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .
For current generation instance types, specify
current
.For previous generation instance types, specify
previous
.Default: Current and previous generation instance types
- local
Storage "included" | "required" | "excluded" Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .
- To include instance types with instance store volumes, specify
included
. - To require only instance types with instance store volumes, specify
required
. - To exclude instance types with instance store volumes, specify
excluded
.
Default:
included
- To include instance types with instance store volumes, specify
- local
Storage List<"hdd" | "ssd">Types The type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default:
hdd
andssd
- For instance types with hard disk drive (HDD) storage, specify
- max
Spot NumberPrice As Percentage Of Optimal On Demand Price [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.- memory
Gi Property MapBPer VCpu The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- memory
Mi Property MapB - The minimum and maximum amount of memory, in MiB.
- network
Bandwidth Property MapGbps The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .
Default: No minimum or maximum limits
- network
Interface Property MapCount The minimum and maximum number of network interfaces.
Default: No minimum or maximum limits
- on
Demand NumberMax Price Percentage Over Lowest Price [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To indicate no price protection threshold, specify a high value, such as
999999
.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.Default:
20
- require
Hibernate BooleanSupport Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores .
Default:
false
- spot
Max NumberPrice Percentage Over Lowest Price [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set
TargetCapacityUnitType
tovcpu
ormemory-mib
, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .
Only one of
SpotMaxPricePercentageOverLowestPrice
orMaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999
.Default:
100
- total
Local Property MapStorage Gb The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- v
Cpu Property MapCount - The minimum and maximum number of vCPUs.
Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem, Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemArgs
- Amazon
Web Services - amazon-web-services
- Amd
- amd
- Habana
- habana
- Nvidia
- nvidia
- Xilinx
- xilinx
- Ec2Fleet
Instance Requirements Request Accelerator Manufacturers Item Amazon Web Services - amazon-web-services
- Ec2Fleet
Instance Requirements Request Accelerator Manufacturers Item Amd - amd
- Ec2Fleet
Instance Requirements Request Accelerator Manufacturers Item Habana - habana
- Ec2Fleet
Instance Requirements Request Accelerator Manufacturers Item Nvidia - nvidia
- Ec2Fleet
Instance Requirements Request Accelerator Manufacturers Item Xilinx - xilinx
- Amazon
Web Services - amazon-web-services
- Amd
- amd
- Habana
- habana
- Nvidia
- nvidia
- Xilinx
- xilinx
- Amazon
Web Services - amazon-web-services
- Amd
- amd
- Habana
- habana
- Nvidia
- nvidia
- Xilinx
- xilinx
- AMAZON_WEB_SERVICES
- amazon-web-services
- AMD
- amd
- HABANA
- habana
- NVIDIA
- nvidia
- XILINX
- xilinx
- "amazon-web-services"
- amazon-web-services
- "amd"
- amd
- "habana"
- habana
- "nvidia"
- nvidia
- "xilinx"
- xilinx
Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem, Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemArgs
- A10g
- a10g
- A100
- a100
- H100
- h100
- Inferentia
- inferentia
- K520
- k520
- K80
- k80
- M60
- m60
- Radeon
Pro V520 - radeon-pro-v520
- T4
- t4
- T4g
- t4g
- Vu9p
- vu9p
- V100
- v100
- Ec2Fleet
Instance Requirements Request Accelerator Names Item A10g - a10g
- Ec2Fleet
Instance Requirements Request Accelerator Names Item A100 - a100
- Ec2Fleet
Instance Requirements Request Accelerator Names Item H100 - h100
- Ec2Fleet
Instance Requirements Request Accelerator Names Item Inferentia - inferentia
- Ec2Fleet
Instance Requirements Request Accelerator Names Item K520 - k520
- Ec2Fleet
Instance Requirements Request Accelerator Names Item K80 - k80
- Ec2Fleet
Instance Requirements Request Accelerator Names Item M60 - m60
- Ec2Fleet
Instance Requirements Request Accelerator Names Item Radeon Pro V520 - radeon-pro-v520
- Ec2Fleet
Instance Requirements Request Accelerator Names Item T4 - t4
- Ec2Fleet
Instance Requirements Request Accelerator Names Item T4g - t4g
- Ec2Fleet
Instance Requirements Request Accelerator Names Item Vu9p - vu9p
- Ec2Fleet
Instance Requirements Request Accelerator Names Item V100 - v100
- A10g
- a10g
- A100
- a100
- H100
- h100
- Inferentia
- inferentia
- K520
- k520
- K80
- k80
- M60
- m60
- Radeon
Pro V520 - radeon-pro-v520
- T4
- t4
- T4g
- t4g
- Vu9p
- vu9p
- V100
- v100
- A10g
- a10g
- A100
- a100
- H100
- h100
- Inferentia
- inferentia
- K520
- k520
- K80
- k80
- M60
- m60
- Radeon
Pro V520 - radeon-pro-v520
- T4
- t4
- T4g
- t4g
- Vu9p
- vu9p
- V100
- v100
- A10G
- a10g
- A100
- a100
- H100
- h100
- INFERENTIA
- inferentia
- K520
- k520
- K80
- k80
- M60
- m60
- RADEON_PRO_V520
- radeon-pro-v520
- T4
- t4
- T4G
- t4g
- VU9P
- vu9p
- V100
- v100
- "a10g"
- a10g
- "a100"
- a100
- "h100"
- h100
- "inferentia"
- inferentia
- "k520"
- k520
- "k80"
- k80
- "m60"
- m60
- "radeon-pro-v520"
- radeon-pro-v520
- "t4"
- t4
- "t4g"
- t4g
- "vu9p"
- vu9p
- "v100"
- v100
Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem, Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemArgs
- Gpu
- gpu
- Fpga
- fpga
- Inference
- inference
- Ec2Fleet
Instance Requirements Request Accelerator Types Item Gpu - gpu
- Ec2Fleet
Instance Requirements Request Accelerator Types Item Fpga - fpga
- Ec2Fleet
Instance Requirements Request Accelerator Types Item Inference - inference
- Gpu
- gpu
- Fpga
- fpga
- Inference
- inference
- Gpu
- gpu
- Fpga
- fpga
- Inference
- inference
- GPU
- gpu
- FPGA
- fpga
- INFERENCE
- inference
- "gpu"
- gpu
- "fpga"
- fpga
- "inference"
- inference
Ec2FleetInstanceRequirementsRequestBareMetal, Ec2FleetInstanceRequirementsRequestBareMetalArgs
- Included
- included
- Required
- required
- Excluded
- excluded
- Ec2Fleet
Instance Requirements Request Bare Metal Included - included
- Ec2Fleet
Instance Requirements Request Bare Metal Required - required
- Ec2Fleet
Instance Requirements Request Bare Metal Excluded - excluded
- Included
- included
- Required
- required
- Excluded
- excluded
- Included
- included
- Required
- required
- Excluded
- excluded
- INCLUDED
- included
- REQUIRED
- required
- EXCLUDED
- excluded
- "included"
- included
- "required"
- required
- "excluded"
- excluded
Ec2FleetInstanceRequirementsRequestBurstablePerformance, Ec2FleetInstanceRequirementsRequestBurstablePerformanceArgs
- Included
- included
- Required
- required
- Excluded
- excluded
- Ec2Fleet
Instance Requirements Request Burstable Performance Included - included
- Ec2Fleet
Instance Requirements Request Burstable Performance Required - required
- Ec2Fleet
Instance Requirements Request Burstable Performance Excluded - excluded
- Included
- included
- Required
- required
- Excluded
- excluded
- Included
- included
- Required
- required
- Excluded
- excluded
- INCLUDED
- included
- REQUIRED
- required
- EXCLUDED
- excluded
- "included"
- included
- "required"
- required
- "excluded"
- excluded
Ec2FleetInstanceRequirementsRequestCpuManufacturersItem, Ec2FleetInstanceRequirementsRequestCpuManufacturersItemArgs
- Intel
- intel
- Amd
- amd
- Amazon
Web Services - amazon-web-services
- Apple
- apple
- Ec2Fleet
Instance Requirements Request Cpu Manufacturers Item Intel - intel
- Ec2Fleet
Instance Requirements Request Cpu Manufacturers Item Amd - amd
- Ec2Fleet
Instance Requirements Request Cpu Manufacturers Item Amazon Web Services - amazon-web-services
- Ec2Fleet
Instance Requirements Request Cpu Manufacturers Item Apple - apple
- Intel
- intel
- Amd
- amd
- Amazon
Web Services - amazon-web-services
- Apple
- apple
- Intel
- intel
- Amd
- amd
- Amazon
Web Services - amazon-web-services
- Apple
- apple
- INTEL
- intel
- AMD
- amd
- AMAZON_WEB_SERVICES
- amazon-web-services
- APPLE
- apple
- "intel"
- intel
- "amd"
- amd
- "amazon-web-services"
- amazon-web-services
- "apple"
- apple
Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem, Ec2FleetInstanceRequirementsRequestInstanceGenerationsItemArgs
- Current
- current
- Previous
- previous
- Ec2Fleet
Instance Requirements Request Instance Generations Item Current - current
- Ec2Fleet
Instance Requirements Request Instance Generations Item Previous - previous
- Current
- current
- Previous
- previous
- Current
- current
- Previous
- previous
- CURRENT
- current
- PREVIOUS
- previous
- "current"
- current
- "previous"
- previous
Ec2FleetInstanceRequirementsRequestLocalStorage, Ec2FleetInstanceRequirementsRequestLocalStorageArgs
- Included
- included
- Required
- required
- Excluded
- excluded
- Ec2Fleet
Instance Requirements Request Local Storage Included - included
- Ec2Fleet
Instance Requirements Request Local Storage Required - required
- Ec2Fleet
Instance Requirements Request Local Storage Excluded - excluded
- Included
- included
- Required
- required
- Excluded
- excluded
- Included
- included
- Required
- required
- Excluded
- excluded
- INCLUDED
- included
- REQUIRED
- required
- EXCLUDED
- excluded
- "included"
- included
- "required"
- required
- "excluded"
- excluded
Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem, Ec2FleetInstanceRequirementsRequestLocalStorageTypesItemArgs
- Hdd
- hdd
- Ssd
- ssd
- Ec2Fleet
Instance Requirements Request Local Storage Types Item Hdd - hdd
- Ec2Fleet
Instance Requirements Request Local Storage Types Item Ssd - ssd
- Hdd
- hdd
- Ssd
- ssd
- Hdd
- hdd
- Ssd
- ssd
- HDD
- hdd
- SSD
- ssd
- "hdd"
- hdd
- "ssd"
- ssd
Ec2FleetMaintenanceStrategies, Ec2FleetMaintenanceStrategiesArgs
- Capacity
Rebalance Pulumi.Aws Native. Ec2. Inputs. Ec2Fleet Capacity Rebalance - The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
- Capacity
Rebalance Ec2FleetCapacity Rebalance - The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
- capacity
Rebalance Ec2FleetCapacity Rebalance - The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
- capacity
Rebalance Ec2FleetCapacity Rebalance - The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
- capacity_
rebalance Ec2FleetCapacity Rebalance - The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
- capacity
Rebalance Property Map - The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
Ec2FleetMemoryGiBPerVCpuRequest, Ec2FleetMemoryGiBPerVCpuRequestArgs
Ec2FleetMemoryMiBRequest, Ec2FleetMemoryMiBRequestArgs
Ec2FleetNetworkBandwidthGbpsRequest, Ec2FleetNetworkBandwidthGbpsRequestArgs
Ec2FleetNetworkInterfaceCountRequest, Ec2FleetNetworkInterfaceCountRequestArgs
Ec2FleetOnDemandOptionsRequest, Ec2FleetOnDemandOptionsRequestArgs
- Allocation
Strategy string The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.
lowest-price
- EC2 Fleet uses price to determine the order, launching the lowest price first.prioritized
- EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.Default:
lowest-price
- Capacity
Reservation Pulumi.Options Aws Native. Ec2. Inputs. Ec2Fleet Capacity Reservation Options Request The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
Supported only for fleets of type
instant
.- Max
Total stringPrice The maximum amount per hour for On-Demand Instances that you're willing to pay.
If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- Min
Target intCapacity The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- Single
Availability boolZone Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- Single
Instance boolType Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet.
Supported only for fleets of type
instant
.
- Allocation
Strategy string The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.
lowest-price
- EC2 Fleet uses price to determine the order, launching the lowest price first.prioritized
- EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.Default:
lowest-price
- Capacity
Reservation Ec2FleetOptions Capacity Reservation Options Request The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
Supported only for fleets of type
instant
.- Max
Total stringPrice The maximum amount per hour for On-Demand Instances that you're willing to pay.
If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- Min
Target intCapacity The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- Single
Availability boolZone Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- Single
Instance boolType Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation
Strategy String The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.
lowest-price
- EC2 Fleet uses price to determine the order, launching the lowest price first.prioritized
- EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.Default:
lowest-price
- capacity
Reservation Ec2FleetOptions Capacity Reservation Options Request The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
Supported only for fleets of type
instant
.- max
Total StringPrice The maximum amount per hour for On-Demand Instances that you're willing to pay.
If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min
Target IntegerCapacity The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single
Availability BooleanZone Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single
Instance BooleanType Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation
Strategy string The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.
lowest-price
- EC2 Fleet uses price to determine the order, launching the lowest price first.prioritized
- EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.Default:
lowest-price
- capacity
Reservation Ec2FleetOptions Capacity Reservation Options Request The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
Supported only for fleets of type
instant
.- max
Total stringPrice The maximum amount per hour for On-Demand Instances that you're willing to pay.
If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min
Target numberCapacity The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single
Availability booleanZone Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single
Instance booleanType Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation_
strategy str The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.
lowest-price
- EC2 Fleet uses price to determine the order, launching the lowest price first.prioritized
- EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.Default:
lowest-price
- capacity_
reservation_ Ec2Fleetoptions Capacity Reservation Options Request The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
Supported only for fleets of type
instant
.- max_
total_ strprice The maximum amount per hour for On-Demand Instances that you're willing to pay.
If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min_
target_ intcapacity The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single_
availability_ boolzone Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single_
instance_ booltype Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation
Strategy String The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.
lowest-price
- EC2 Fleet uses price to determine the order, launching the lowest price first.prioritized
- EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.Default:
lowest-price
- capacity
Reservation Property MapOptions The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
Supported only for fleets of type
instant
.- max
Total StringPrice The maximum amount per hour for On-Demand Instances that you're willing to pay.
If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min
Target NumberCapacity The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single
Availability BooleanZone Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single
Instance BooleanType Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet.
Supported only for fleets of type
instant
.
Ec2FleetPlacement, Ec2FleetPlacementArgs
- Affinity string
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance .
- Availability
Zone string The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet .
- Group
Name string - The name of the placement group that the instance is in. If you specify
GroupName
, you can't specifyGroupId
. - Host
Id string The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance .
- Host
Resource stringGroup Arn The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or set it to
host
.This parameter is not supported for CreateFleet .
- Partition
Number int The number of the partition that the instance is in. Valid only if the placement group strategy is set to
partition
.This parameter is not supported for CreateFleet .
- Spread
Domain string - Reserved for future use.
- Tenancy string
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware.This parameter is not supported for CreateFleet . The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimited
CPU credit option.
- Affinity string
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance .
- Availability
Zone string The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet .
- Group
Name string - The name of the placement group that the instance is in. If you specify
GroupName
, you can't specifyGroupId
. - Host
Id string The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance .
- Host
Resource stringGroup Arn The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or set it to
host
.This parameter is not supported for CreateFleet .
- Partition
Number int The number of the partition that the instance is in. Valid only if the placement group strategy is set to
partition
.This parameter is not supported for CreateFleet .
- Spread
Domain string - Reserved for future use.
- Tenancy string
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware.This parameter is not supported for CreateFleet . The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimited
CPU credit option.
- affinity String
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance .
- availability
Zone String The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet .
- group
Name String - The name of the placement group that the instance is in. If you specify
GroupName
, you can't specifyGroupId
. - host
Id String The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance .
- host
Resource StringGroup Arn The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or set it to
host
.This parameter is not supported for CreateFleet .
- partition
Number Integer The number of the partition that the instance is in. Valid only if the placement group strategy is set to
partition
.This parameter is not supported for CreateFleet .
- spread
Domain String - Reserved for future use.
- tenancy String
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware.This parameter is not supported for CreateFleet . The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimited
CPU credit option.
- affinity string
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance .
- availability
Zone string The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet .
- group
Name string - The name of the placement group that the instance is in. If you specify
GroupName
, you can't specifyGroupId
. - host
Id string The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance .
- host
Resource stringGroup Arn The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or set it to
host
.This parameter is not supported for CreateFleet .
- partition
Number number The number of the partition that the instance is in. Valid only if the placement group strategy is set to
partition
.This parameter is not supported for CreateFleet .
- spread
Domain string - Reserved for future use.
- tenancy string
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware.This parameter is not supported for CreateFleet . The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimited
CPU credit option.
- affinity str
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance .
- availability_
zone str The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet .
- group_
name str - The name of the placement group that the instance is in. If you specify
GroupName
, you can't specifyGroupId
. - host_
id str The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance .
- host_
resource_ strgroup_ arn The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or set it to
host
.This parameter is not supported for CreateFleet .
- partition_
number int The number of the partition that the instance is in. Valid only if the placement group strategy is set to
partition
.This parameter is not supported for CreateFleet .
- spread_
domain str - Reserved for future use.
- tenancy str
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware.This parameter is not supported for CreateFleet . The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimited
CPU credit option.
- affinity String
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance .
- availability
Zone String The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet .
- group
Name String - The name of the placement group that the instance is in. If you specify
GroupName
, you can't specifyGroupId
. - host
Id String The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance .
- host
Resource StringGroup Arn The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or set it to
host
.This parameter is not supported for CreateFleet .
- partition
Number Number The number of the partition that the instance is in. Valid only if the placement group strategy is set to
partition
.This parameter is not supported for CreateFleet .
- spread
Domain String - Reserved for future use.
- tenancy String
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware.This parameter is not supported for CreateFleet . The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimited
CPU credit option.
Ec2FleetSpotOptionsRequest, Ec2FleetSpotOptionsRequestArgs
- Allocation
Strategy Pulumi.Aws Native. Ec2. Ec2Fleet Spot Options Request Allocation Strategy Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.
If the allocation strategy is
lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.If the allocation strategy is
diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify.If the allocation strategy is
capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.Allowed Values :
lowestPrice
|diversified
|capacityOptimized
|capacityOptimizedPrioritized
- Instance
Interruption Pulumi.Behavior Aws Native. Ec2. Ec2Fleet Spot Options Request Instance Interruption Behavior The behavior when a Spot Instance is interrupted.
Default:
terminate
- Instance
Pools intTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot
AllocationStrategy
is set tolowest-price
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.
- Maintenance
Strategies Pulumi.Aws Native. Ec2. Inputs. Ec2Fleet Maintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- Max
Total stringPrice The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- Min
Target intCapacity The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- Single
Availability boolZone Indicates that the fleet launches all Spot Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- Single
Instance boolType Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
Supported only for fleets of type
instant
.
- Allocation
Strategy Ec2FleetSpot Options Request Allocation Strategy Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.
If the allocation strategy is
lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.If the allocation strategy is
diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify.If the allocation strategy is
capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.Allowed Values :
lowestPrice
|diversified
|capacityOptimized
|capacityOptimizedPrioritized
- Instance
Interruption Ec2FleetBehavior Spot Options Request Instance Interruption Behavior The behavior when a Spot Instance is interrupted.
Default:
terminate
- Instance
Pools intTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot
AllocationStrategy
is set tolowest-price
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.
- Maintenance
Strategies Ec2FleetMaintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- Max
Total stringPrice The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- Min
Target intCapacity The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- Single
Availability boolZone Indicates that the fleet launches all Spot Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- Single
Instance boolType Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation
Strategy Ec2FleetSpot Options Request Allocation Strategy Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.
If the allocation strategy is
lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.If the allocation strategy is
diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify.If the allocation strategy is
capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.Allowed Values :
lowestPrice
|diversified
|capacityOptimized
|capacityOptimizedPrioritized
- instance
Interruption Ec2FleetBehavior Spot Options Request Instance Interruption Behavior The behavior when a Spot Instance is interrupted.
Default:
terminate
- instance
Pools IntegerTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot
AllocationStrategy
is set tolowest-price
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.
- maintenance
Strategies Ec2FleetMaintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- max
Total StringPrice The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min
Target IntegerCapacity The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single
Availability BooleanZone Indicates that the fleet launches all Spot Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single
Instance BooleanType Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation
Strategy Ec2FleetSpot Options Request Allocation Strategy Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.
If the allocation strategy is
lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.If the allocation strategy is
diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify.If the allocation strategy is
capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.Allowed Values :
lowestPrice
|diversified
|capacityOptimized
|capacityOptimizedPrioritized
- instance
Interruption Ec2FleetBehavior Spot Options Request Instance Interruption Behavior The behavior when a Spot Instance is interrupted.
Default:
terminate
- instance
Pools numberTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot
AllocationStrategy
is set tolowest-price
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.
- maintenance
Strategies Ec2FleetMaintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- max
Total stringPrice The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min
Target numberCapacity The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single
Availability booleanZone Indicates that the fleet launches all Spot Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single
Instance booleanType Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation_
strategy Ec2FleetSpot Options Request Allocation Strategy Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.
If the allocation strategy is
lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.If the allocation strategy is
diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify.If the allocation strategy is
capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.Allowed Values :
lowestPrice
|diversified
|capacityOptimized
|capacityOptimizedPrioritized
- instance_
interruption_ Ec2Fleetbehavior Spot Options Request Instance Interruption Behavior The behavior when a Spot Instance is interrupted.
Default:
terminate
- instance_
pools_ intto_ use_ count The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot
AllocationStrategy
is set tolowest-price
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.
- maintenance_
strategies Ec2FleetMaintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- max_
total_ strprice The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min_
target_ intcapacity The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single_
availability_ boolzone Indicates that the fleet launches all Spot Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single_
instance_ booltype Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
Supported only for fleets of type
instant
.
- allocation
Strategy "lowest-price" | "diversified" | "capacityOptimized" | "capacity Optimized Prioritized" | "price Capacity Optimized" Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.
If the allocation strategy is
lowestPrice
, EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.If the allocation strategy is
diversified
, EC2 Fleet launches instances from all the Spot Instance pools that you specify.If the allocation strategy is
capacityOptimized
, EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.Allowed Values :
lowestPrice
|diversified
|capacityOptimized
|capacityOptimizedPrioritized
- instance
Interruption "hibernate" | "stop" | "terminate"Behavior The behavior when a Spot Instance is interrupted.
Default:
terminate
- instance
Pools NumberTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot
AllocationStrategy
is set tolowest-price
. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.
- maintenance
Strategies Property Map - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- max
Total StringPrice The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as
unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. TheMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- min
Target NumberCapacity The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.
Constraints: Maximum value of
1000
. Supported only for fleets of typeinstant
.At least one of the following must be specified:
SingleAvailabilityZone
|SingleInstanceType
- single
Availability BooleanZone Indicates that the fleet launches all Spot Instances into a single Availability Zone.
Supported only for fleets of type
instant
.- single
Instance BooleanType Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
Supported only for fleets of type
instant
.
Ec2FleetSpotOptionsRequestAllocationStrategy, Ec2FleetSpotOptionsRequestAllocationStrategyArgs
- Lowest
Price - lowest-price
- Diversified
- diversified
- Capacity
Optimized - capacityOptimized
- Capacity
Optimized Prioritized - capacityOptimizedPrioritized
- Price
Capacity Optimized - priceCapacityOptimized
- Ec2Fleet
Spot Options Request Allocation Strategy Lowest Price - lowest-price
- Ec2Fleet
Spot Options Request Allocation Strategy Diversified - diversified
- Ec2Fleet
Spot Options Request Allocation Strategy Capacity Optimized - capacityOptimized
- Ec2Fleet
Spot Options Request Allocation Strategy Capacity Optimized Prioritized - capacityOptimizedPrioritized
- Ec2Fleet
Spot Options Request Allocation Strategy Price Capacity Optimized - priceCapacityOptimized
- Lowest
Price - lowest-price
- Diversified
- diversified
- Capacity
Optimized - capacityOptimized
- Capacity
Optimized Prioritized - capacityOptimizedPrioritized
- Price
Capacity Optimized - priceCapacityOptimized
- Lowest
Price - lowest-price
- Diversified
- diversified
- Capacity
Optimized - capacityOptimized
- Capacity
Optimized Prioritized - capacityOptimizedPrioritized
- Price
Capacity Optimized - priceCapacityOptimized
- LOWEST_PRICE
- lowest-price
- DIVERSIFIED
- diversified
- CAPACITY_OPTIMIZED
- capacityOptimized
- CAPACITY_OPTIMIZED_PRIORITIZED
- capacityOptimizedPrioritized
- PRICE_CAPACITY_OPTIMIZED
- priceCapacityOptimized
- "lowest-price"
- lowest-price
- "diversified"
- diversified
- "capacity
Optimized" - capacityOptimized
- "capacity
Optimized Prioritized" - capacityOptimizedPrioritized
- "price
Capacity Optimized" - priceCapacityOptimized
Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior, Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorArgs
- Hibernate
- hibernate
- Stop
- stop
- Terminate
- terminate
- Ec2Fleet
Spot Options Request Instance Interruption Behavior Hibernate - hibernate
- Ec2Fleet
Spot Options Request Instance Interruption Behavior Stop - stop
- Ec2Fleet
Spot Options Request Instance Interruption Behavior Terminate - terminate
- Hibernate
- hibernate
- Stop
- stop
- Terminate
- terminate
- Hibernate
- hibernate
- Stop
- stop
- Terminate
- terminate
- HIBERNATE
- hibernate
- STOP
- stop
- TERMINATE
- terminate
- "hibernate"
- hibernate
- "stop"
- stop
- "terminate"
- terminate
Ec2FleetTag, Ec2FleetTagArgs
Ec2FleetTagSpecification, Ec2FleetTagSpecificationArgs
- Resource
Type Pulumi.Aws Native. Ec2. Ec2Fleet Tag Specification Resource Type - The type of resource to tag.
- List<Pulumi.
Aws Native. Ec2. Inputs. Ec2Fleet Tag> - The tags to apply to the resource.
- Resource
Type Ec2FleetTag Specification Resource Type - The type of resource to tag.
- []Ec2Fleet
Tag - The tags to apply to the resource.
- resource
Type Ec2FleetTag Specification Resource Type - The type of resource to tag.
- List<Ec2Fleet
Tag> - The tags to apply to the resource.
- resource
Type Ec2FleetTag Specification Resource Type - The type of resource to tag.
- Ec2Fleet
Tag[] - The tags to apply to the resource.
- resource_
type Ec2FleetTag Specification Resource Type - The type of resource to tag.
- Sequence[Ec2Fleet
Tag] - The tags to apply to the resource.
- resource
Type "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "internet-gateway" | "key-pair" | "launch-template" | "local-gateway-route-table-vpc-association" | "natgateway" | "network-acl" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "reserved-instances" | "route-table" | "security-group" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" - The type of resource to tag.
- List<Property Map>
- The tags to apply to the resource.
Ec2FleetTagSpecificationResourceType, Ec2FleetTagSpecificationResourceTypeArgs
- Client
Vpn Endpoint - client-vpn-endpoint
- Customer
Gateway - customer-gateway
- Dedicated
Host - dedicated-host
- Dhcp
Options - dhcp-options
- Egress
Only Internet Gateway - egress-only-internet-gateway
- Elastic
Gpu - elastic-gpu
- Elastic
Ip - elastic-ip
- Export
Image Task - export-image-task
- Export
Instance Task - export-instance-task
- Fleet
- fleet
- Fpga
Image - fpga-image
- Host
Reservation - host-reservation
- Image
- image
- Import
Image Task - import-image-task
- Import
Snapshot Task - import-snapshot-task
- Instance
- instance
- Internet
Gateway - internet-gateway
- Key
Pair - key-pair
- Launch
Template - launch-template
- Local
Gateway Route Table Vpc Association - local-gateway-route-table-vpc-association
- Natgateway
- natgateway
- Network
Acl - network-acl
- Network
Insights Analysis - network-insights-analysis
- Network
Insights Path - network-insights-path
- Network
Interface - network-interface
- Placement
Group - placement-group
- Reserved
Instances - reserved-instances
- Route
Table - route-table
- Security
Group - security-group
- Snapshot
- snapshot
- Spot
Fleet Request - spot-fleet-request
- Spot
Instances Request - spot-instances-request
- Subnet
- subnet
- Traffic
Mirror Filter - traffic-mirror-filter
- Traffic
Mirror Session - traffic-mirror-session
- Traffic
Mirror Target - traffic-mirror-target
- Transit
Gateway - transit-gateway
- Transit
Gateway Attachment - transit-gateway-attachment
- Transit
Gateway Connect Peer - transit-gateway-connect-peer
- Transit
Gateway Multicast Domain - transit-gateway-multicast-domain
- Transit
Gateway Route Table - transit-gateway-route-table
- Volume
- volume
- Vpc
- vpc
- Vpc
Flow Log - vpc-flow-log
- Vpc
Peering Connection - vpc-peering-connection
- Vpn
Connection - vpn-connection
- Vpn
Gateway - vpn-gateway
- Ec2Fleet
Tag Specification Resource Type Client Vpn Endpoint - client-vpn-endpoint
- Ec2Fleet
Tag Specification Resource Type Customer Gateway - customer-gateway
- Ec2Fleet
Tag Specification Resource Type Dedicated Host - dedicated-host
- Ec2Fleet
Tag Specification Resource Type Dhcp Options - dhcp-options
- Ec2Fleet
Tag Specification Resource Type Egress Only Internet Gateway - egress-only-internet-gateway
- Ec2Fleet
Tag Specification Resource Type Elastic Gpu - elastic-gpu
- Ec2Fleet
Tag Specification Resource Type Elastic Ip - elastic-ip
- Ec2Fleet
Tag Specification Resource Type Export Image Task - export-image-task
- Ec2Fleet
Tag Specification Resource Type Export Instance Task - export-instance-task
- Ec2Fleet
Tag Specification Resource Type Fleet - fleet
- Ec2Fleet
Tag Specification Resource Type Fpga Image - fpga-image
- Ec2Fleet
Tag Specification Resource Type Host Reservation - host-reservation
- Ec2Fleet
Tag Specification Resource Type Image - image
- Ec2Fleet
Tag Specification Resource Type Import Image Task - import-image-task
- Ec2Fleet
Tag Specification Resource Type Import Snapshot Task - import-snapshot-task
- Ec2Fleet
Tag Specification Resource Type Instance - instance
- Ec2Fleet
Tag Specification Resource Type Internet Gateway - internet-gateway
- Ec2Fleet
Tag Specification Resource Type Key Pair - key-pair
- Ec2Fleet
Tag Specification Resource Type Launch Template - launch-template
- Ec2Fleet
Tag Specification Resource Type Local Gateway Route Table Vpc Association - local-gateway-route-table-vpc-association
- Ec2Fleet
Tag Specification Resource Type Natgateway - natgateway
- Ec2Fleet
Tag Specification Resource Type Network Acl - network-acl
- Ec2Fleet
Tag Specification Resource Type Network Insights Analysis - network-insights-analysis
- Ec2Fleet
Tag Specification Resource Type Network Insights Path - network-insights-path
- Ec2Fleet
Tag Specification Resource Type Network Interface - network-interface
- Ec2Fleet
Tag Specification Resource Type Placement Group - placement-group
- Ec2Fleet
Tag Specification Resource Type Reserved Instances - reserved-instances
- Ec2Fleet
Tag Specification Resource Type Route Table - route-table
- Ec2Fleet
Tag Specification Resource Type Security Group - security-group
- Ec2Fleet
Tag Specification Resource Type Snapshot - snapshot
- Ec2Fleet
Tag Specification Resource Type Spot Fleet Request - spot-fleet-request
- Ec2Fleet
Tag Specification Resource Type Spot Instances Request - spot-instances-request
- Ec2Fleet
Tag Specification Resource Type Subnet - subnet
- Ec2Fleet
Tag Specification Resource Type Traffic Mirror Filter - traffic-mirror-filter
- Ec2Fleet
Tag Specification Resource Type Traffic Mirror Session - traffic-mirror-session
- Ec2Fleet
Tag Specification Resource Type Traffic Mirror Target - traffic-mirror-target
- Ec2Fleet
Tag Specification Resource Type Transit Gateway - transit-gateway
- Ec2Fleet
Tag Specification Resource Type Transit Gateway Attachment - transit-gateway-attachment
- Ec2Fleet
Tag Specification Resource Type Transit Gateway Connect Peer - transit-gateway-connect-peer
- Ec2Fleet
Tag Specification Resource Type Transit Gateway Multicast Domain - transit-gateway-multicast-domain
- Ec2Fleet
Tag Specification Resource Type Transit Gateway Route Table - transit-gateway-route-table
- Ec2Fleet
Tag Specification Resource Type Volume - volume
- Ec2Fleet
Tag Specification Resource Type Vpc - vpc
- Ec2Fleet
Tag Specification Resource Type Vpc Flow Log - vpc-flow-log
- Ec2Fleet
Tag Specification Resource Type Vpc Peering Connection - vpc-peering-connection
- Ec2Fleet
Tag Specification Resource Type Vpn Connection - vpn-connection
- Ec2Fleet
Tag Specification Resource Type Vpn Gateway - vpn-gateway
- Client
Vpn Endpoint - client-vpn-endpoint
- Customer
Gateway - customer-gateway
- Dedicated
Host - dedicated-host
- Dhcp
Options - dhcp-options
- Egress
Only Internet Gateway - egress-only-internet-gateway
- Elastic
Gpu - elastic-gpu
- Elastic
Ip - elastic-ip
- Export
Image Task - export-image-task
- Export
Instance Task - export-instance-task
- Fleet
- fleet
- Fpga
Image - fpga-image
- Host
Reservation - host-reservation
- Image
- image
- Import
Image Task - import-image-task
- Import
Snapshot Task - import-snapshot-task
- Instance
- instance
- Internet
Gateway - internet-gateway
- Key
Pair - key-pair
- Launch
Template - launch-template
- Local
Gateway Route Table Vpc Association - local-gateway-route-table-vpc-association
- Natgateway
- natgateway
- Network
Acl - network-acl
- Network
Insights Analysis - network-insights-analysis
- Network
Insights Path - network-insights-path
- Network
Interface - network-interface
- Placement
Group - placement-group
- Reserved
Instances - reserved-instances
- Route
Table - route-table
- Security
Group - security-group
- Snapshot
- snapshot
- Spot
Fleet Request - spot-fleet-request
- Spot
Instances Request - spot-instances-request
- Subnet
- subnet
- Traffic
Mirror Filter - traffic-mirror-filter
- Traffic
Mirror Session - traffic-mirror-session
- Traffic
Mirror Target - traffic-mirror-target
- Transit
Gateway - transit-gateway
- Transit
Gateway Attachment - transit-gateway-attachment
- Transit
Gateway Connect Peer - transit-gateway-connect-peer
- Transit
Gateway Multicast Domain - transit-gateway-multicast-domain
- Transit
Gateway Route Table - transit-gateway-route-table
- Volume
- volume
- Vpc
- vpc
- Vpc
Flow Log - vpc-flow-log
- Vpc
Peering Connection - vpc-peering-connection
- Vpn
Connection - vpn-connection
- Vpn
Gateway - vpn-gateway
- Client
Vpn Endpoint - client-vpn-endpoint
- Customer
Gateway - customer-gateway
- Dedicated
Host - dedicated-host
- Dhcp
Options - dhcp-options
- Egress
Only Internet Gateway - egress-only-internet-gateway
- Elastic
Gpu - elastic-gpu
- Elastic
Ip - elastic-ip
- Export
Image Task - export-image-task
- Export
Instance Task - export-instance-task
- Fleet
- fleet
- Fpga
Image - fpga-image
- Host
Reservation - host-reservation
- Image
- image
- Import
Image Task - import-image-task
- Import
Snapshot Task - import-snapshot-task
- Instance
- instance
- Internet
Gateway - internet-gateway
- Key
Pair - key-pair
- Launch
Template - launch-template
- Local
Gateway Route Table Vpc Association - local-gateway-route-table-vpc-association
- Natgateway
- natgateway
- Network
Acl - network-acl
- Network
Insights Analysis - network-insights-analysis
- Network
Insights Path - network-insights-path
- Network
Interface - network-interface
- Placement
Group - placement-group
- Reserved
Instances - reserved-instances
- Route
Table - route-table
- Security
Group - security-group
- Snapshot
- snapshot
- Spot
Fleet Request - spot-fleet-request
- Spot
Instances Request - spot-instances-request
- Subnet
- subnet
- Traffic
Mirror Filter - traffic-mirror-filter
- Traffic
Mirror Session - traffic-mirror-session
- Traffic
Mirror Target - traffic-mirror-target
- Transit
Gateway - transit-gateway
- Transit
Gateway Attachment - transit-gateway-attachment
- Transit
Gateway Connect Peer - transit-gateway-connect-peer
- Transit
Gateway Multicast Domain - transit-gateway-multicast-domain
- Transit
Gateway Route Table - transit-gateway-route-table
- Volume
- volume
- Vpc
- vpc
- Vpc
Flow Log - vpc-flow-log
- Vpc
Peering Connection - vpc-peering-connection
- Vpn
Connection - vpn-connection
- Vpn
Gateway - vpn-gateway
- CLIENT_VPN_ENDPOINT
- client-vpn-endpoint
- CUSTOMER_GATEWAY
- customer-gateway
- DEDICATED_HOST
- dedicated-host
- DHCP_OPTIONS
- dhcp-options
- EGRESS_ONLY_INTERNET_GATEWAY
- egress-only-internet-gateway
- ELASTIC_GPU
- elastic-gpu
- ELASTIC_IP
- elastic-ip
- EXPORT_IMAGE_TASK
- export-image-task
- EXPORT_INSTANCE_TASK
- export-instance-task
- FLEET
- fleet
- FPGA_IMAGE
- fpga-image
- HOST_RESERVATION
- host-reservation
- IMAGE
- image
- IMPORT_IMAGE_TASK
- import-image-task
- IMPORT_SNAPSHOT_TASK
- import-snapshot-task
- INSTANCE
- instance
- INTERNET_GATEWAY
- internet-gateway
- KEY_PAIR
- key-pair
- LAUNCH_TEMPLATE
- launch-template
- LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION
- local-gateway-route-table-vpc-association
- NATGATEWAY
- natgateway
- NETWORK_ACL
- network-acl
- NETWORK_INSIGHTS_ANALYSIS
- network-insights-analysis
- NETWORK_INSIGHTS_PATH
- network-insights-path
- NETWORK_INTERFACE
- network-interface
- PLACEMENT_GROUP
- placement-group
- RESERVED_INSTANCES
- reserved-instances
- ROUTE_TABLE
- route-table
- SECURITY_GROUP
- security-group
- SNAPSHOT
- snapshot
- SPOT_FLEET_REQUEST
- spot-fleet-request
- SPOT_INSTANCES_REQUEST
- spot-instances-request
- SUBNET
- subnet
- TRAFFIC_MIRROR_FILTER
- traffic-mirror-filter
- TRAFFIC_MIRROR_SESSION
- traffic-mirror-session
- TRAFFIC_MIRROR_TARGET
- traffic-mirror-target
- TRANSIT_GATEWAY
- transit-gateway
- TRANSIT_GATEWAY_ATTACHMENT
- transit-gateway-attachment
- TRANSIT_GATEWAY_CONNECT_PEER
- transit-gateway-connect-peer
- TRANSIT_GATEWAY_MULTICAST_DOMAIN
- transit-gateway-multicast-domain
- TRANSIT_GATEWAY_ROUTE_TABLE
- transit-gateway-route-table
- VOLUME
- volume
- VPC
- vpc
- VPC_FLOW_LOG
- vpc-flow-log
- VPC_PEERING_CONNECTION
- vpc-peering-connection
- VPN_CONNECTION
- vpn-connection
- VPN_GATEWAY
- vpn-gateway
- "client-vpn-endpoint"
- client-vpn-endpoint
- "customer-gateway"
- customer-gateway
- "dedicated-host"
- dedicated-host
- "dhcp-options"
- dhcp-options
- "egress-only-internet-gateway"
- egress-only-internet-gateway
- "elastic-gpu"
- elastic-gpu
- "elastic-ip"
- elastic-ip
- "export-image-task"
- export-image-task
- "export-instance-task"
- export-instance-task
- "fleet"
- fleet
- "fpga-image"
- fpga-image
- "host-reservation"
- host-reservation
- "image"
- image
- "import-image-task"
- import-image-task
- "import-snapshot-task"
- import-snapshot-task
- "instance"
- instance
- "internet-gateway"
- internet-gateway
- "key-pair"
- key-pair
- "launch-template"
- launch-template
- "local-gateway-route-table-vpc-association"
- local-gateway-route-table-vpc-association
- "natgateway"
- natgateway
- "network-acl"
- network-acl
- "network-insights-analysis"
- network-insights-analysis
- "network-insights-path"
- network-insights-path
- "network-interface"
- network-interface
- "placement-group"
- placement-group
- "reserved-instances"
- reserved-instances
- "route-table"
- route-table
- "security-group"
- security-group
- "snapshot"
- snapshot
- "spot-fleet-request"
- spot-fleet-request
- "spot-instances-request"
- spot-instances-request
- "subnet"
- subnet
- "traffic-mirror-filter"
- traffic-mirror-filter
- "traffic-mirror-session"
- traffic-mirror-session
- "traffic-mirror-target"
- traffic-mirror-target
- "transit-gateway"
- transit-gateway
- "transit-gateway-attachment"
- transit-gateway-attachment
- "transit-gateway-connect-peer"
- transit-gateway-connect-peer
- "transit-gateway-multicast-domain"
- transit-gateway-multicast-domain
- "transit-gateway-route-table"
- transit-gateway-route-table
- "volume"
- volume
- "vpc"
- vpc
- "vpc-flow-log"
- vpc-flow-log
- "vpc-peering-connection"
- vpc-peering-connection
- "vpn-connection"
- vpn-connection
- "vpn-gateway"
- vpn-gateway
Ec2FleetTargetCapacitySpecificationRequest, Ec2FleetTargetCapacitySpecificationRequestArgs
- Total
Target intCapacity - The number of units to request, filled using the default target capacity type.
- Default
Target Pulumi.Capacity Type Aws Native. Ec2. Ec2Fleet Target Capacity Specification Request Default Target Capacity Type - The default target capacity type.
- On
Demand intTarget Capacity - The number of On-Demand units to request.
- Spot
Target intCapacity - The number of Spot units to request.
- Target
Capacity Pulumi.Unit Type Aws Native. Ec2. Ec2Fleet Target Capacity Specification Request Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.
Default:
units
(the number of instances)
- Total
Target intCapacity - The number of units to request, filled using the default target capacity type.
- Default
Target Ec2FleetCapacity Type Target Capacity Specification Request Default Target Capacity Type - The default target capacity type.
- On
Demand intTarget Capacity - The number of On-Demand units to request.
- Spot
Target intCapacity - The number of Spot units to request.
- Target
Capacity Ec2FleetUnit Type Target Capacity Specification Request Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.
Default:
units
(the number of instances)
- total
Target IntegerCapacity - The number of units to request, filled using the default target capacity type.
- default
Target Ec2FleetCapacity Type Target Capacity Specification Request Default Target Capacity Type - The default target capacity type.
- on
Demand IntegerTarget Capacity - The number of On-Demand units to request.
- spot
Target IntegerCapacity - The number of Spot units to request.
- target
Capacity Ec2FleetUnit Type Target Capacity Specification Request Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.
Default:
units
(the number of instances)
- total
Target numberCapacity - The number of units to request, filled using the default target capacity type.
- default
Target Ec2FleetCapacity Type Target Capacity Specification Request Default Target Capacity Type - The default target capacity type.
- on
Demand numberTarget Capacity - The number of On-Demand units to request.
- spot
Target numberCapacity - The number of Spot units to request.
- target
Capacity Ec2FleetUnit Type Target Capacity Specification Request Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.
Default:
units
(the number of instances)
- total_
target_ intcapacity - The number of units to request, filled using the default target capacity type.
- default_
target_ Ec2Fleetcapacity_ type Target Capacity Specification Request Default Target Capacity Type - The default target capacity type.
- on_
demand_ inttarget_ capacity - The number of On-Demand units to request.
- spot_
target_ intcapacity - The number of Spot units to request.
- target_
capacity_ Ec2Fleetunit_ type Target Capacity Specification Request Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.
Default:
units
(the number of instances)
- total
Target NumberCapacity - The number of units to request, filled using the default target capacity type.
- default
Target "on-demand" | "spot"Capacity Type - The default target capacity type.
- on
Demand NumberTarget Capacity - The number of On-Demand units to request.
- spot
Target NumberCapacity - The number of Spot units to request.
- target
Capacity "vcpu" | "memory-mib" | "units"Unit Type The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.
Default:
units
(the number of instances)
Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType, Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeArgs
- On
Demand - on-demand
- Spot
- spot
- Ec2Fleet
Target Capacity Specification Request Default Target Capacity Type On Demand - on-demand
- Ec2Fleet
Target Capacity Specification Request Default Target Capacity Type Spot - spot
- On
Demand - on-demand
- Spot
- spot
- On
Demand - on-demand
- Spot
- spot
- ON_DEMAND
- on-demand
- SPOT
- spot
- "on-demand"
- on-demand
- "spot"
- spot
Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType, Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeArgs
- Vcpu
- vcpu
- Memory
Mib - memory-mib
- Units
- units
- Ec2Fleet
Target Capacity Specification Request Target Capacity Unit Type Vcpu - vcpu
- Ec2Fleet
Target Capacity Specification Request Target Capacity Unit Type Memory Mib - memory-mib
- Ec2Fleet
Target Capacity Specification Request Target Capacity Unit Type Units - units
- Vcpu
- vcpu
- Memory
Mib - memory-mib
- Units
- units
- Vcpu
- vcpu
- Memory
Mib - memory-mib
- Units
- units
- VCPU
- vcpu
- MEMORY_MIB
- memory-mib
- UNITS
- units
- "vcpu"
- vcpu
- "memory-mib"
- memory-mib
- "units"
- units
Ec2FleetTotalLocalStorageGbRequest, Ec2FleetTotalLocalStorageGbRequestArgs
Ec2FleetType, Ec2FleetTypeArgs
- Maintain
- maintain
- Request
- request
- Instant
- instant
- Ec2Fleet
Type Maintain - maintain
- Ec2Fleet
Type Request - request
- Ec2Fleet
Type Instant - instant
- Maintain
- maintain
- Request
- request
- Instant
- instant
- Maintain
- maintain
- Request
- request
- Instant
- instant
- MAINTAIN
- maintain
- REQUEST
- request
- INSTANT
- instant
- "maintain"
- maintain
- "request"
- request
- "instant"
- instant
Ec2FleetVCpuCountRangeRequest, Ec2FleetVCpuCountRangeRequestArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.