We recommend new projects start with resources from the AWS provider.
aws-native.ec2.SpotFleet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::EC2::SpotFleet
Create SpotFleet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SpotFleet(name: string, args: SpotFleetArgs, opts?: CustomResourceOptions);
@overload
def SpotFleet(resource_name: str,
args: SpotFleetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SpotFleet(resource_name: str,
opts: Optional[ResourceOptions] = None,
spot_fleet_request_config_data: Optional[SpotFleetRequestConfigDataArgs] = None)
func NewSpotFleet(ctx *Context, name string, args SpotFleetArgs, opts ...ResourceOption) (*SpotFleet, error)
public SpotFleet(string name, SpotFleetArgs args, CustomResourceOptions? opts = null)
public SpotFleet(String name, SpotFleetArgs args)
public SpotFleet(String name, SpotFleetArgs args, CustomResourceOptions options)
type: aws-native:ec2:SpotFleet
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 SpotFleetArgs
- 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 SpotFleetArgs
- 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 SpotFleetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SpotFleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SpotFleetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SpotFleet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SpotFleet resource accepts the following input properties:
- Spot
Fleet Pulumi.Request Config Data Aws Native. Ec2. Inputs. Spot Fleet Request Config Data - Describes the configuration of a Spot Fleet request.
- Spot
Fleet SpotRequest Config Data Fleet Request Config Data Args - Describes the configuration of a Spot Fleet request.
- spot
Fleet SpotRequest Config Data Fleet Request Config Data - Describes the configuration of a Spot Fleet request.
- spot
Fleet SpotRequest Config Data Fleet Request Config Data - Describes the configuration of a Spot Fleet request.
- spot_
fleet_ Spotrequest_ config_ data Fleet Request Config Data Args - Describes the configuration of a Spot Fleet request.
- spot
Fleet Property MapRequest Config Data - Describes the configuration of a Spot Fleet request.
Outputs
All input properties are implicitly available as output properties. Additionally, the SpotFleet resource produces the following output properties:
Supporting Types
SpotFleetAcceleratorCountRequest, SpotFleetAcceleratorCountRequestArgs
SpotFleetAcceleratorTotalMemoryMiBRequest, SpotFleetAcceleratorTotalMemoryMiBRequestArgs
SpotFleetBaselineEbsBandwidthMbpsRequest, SpotFleetBaselineEbsBandwidthMbpsRequestArgs
SpotFleetBlockDeviceMapping, SpotFleetBlockDeviceMappingArgs
- Device
Name string - The device name (for example,
/dev/sdh
orxvdh
). - Ebs
Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Ebs Block Device - Parameters used to automatically set up EBS volumes when the instance is launched.
- No
Device string - To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
- Virtual
Name string The virtual device name (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
- Device
Name string - The device name (for example,
/dev/sdh
orxvdh
). - Ebs
Spot
Fleet Ebs Block Device - Parameters used to automatically set up EBS volumes when the instance is launched.
- No
Device string - To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
- Virtual
Name string The virtual device name (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
- device
Name String - The device name (for example,
/dev/sdh
orxvdh
). - ebs
Spot
Fleet Ebs Block Device - Parameters used to automatically set up EBS volumes when the instance is launched.
- no
Device String - To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
- virtual
Name String The virtual device name (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
- device
Name string - The device name (for example,
/dev/sdh
orxvdh
). - ebs
Spot
Fleet Ebs Block Device - Parameters used to automatically set up EBS volumes when the instance is launched.
- no
Device string - To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
- virtual
Name string The virtual device name (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
- device_
name str - The device name (for example,
/dev/sdh
orxvdh
). - ebs
Spot
Fleet Ebs Block Device - Parameters used to automatically set up EBS volumes when the instance is launched.
- no_
device str - To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
- virtual_
name str The virtual device name (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
- device
Name String - The device name (for example,
/dev/sdh
orxvdh
). - ebs Property Map
- Parameters used to automatically set up EBS volumes when the instance is launched.
- no
Device String - To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
- virtual
Name String The virtual device name (
ephemeral
N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings forephemeral0
andephemeral1
. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
SpotFleetClassicLoadBalancer, SpotFleetClassicLoadBalancerArgs
- Name string
- The name of the load balancer.
- Name string
- The name of the load balancer.
- name String
- The name of the load balancer.
- name string
- The name of the load balancer.
- name str
- The name of the load balancer.
- name String
- The name of the load balancer.
SpotFleetClassicLoadBalancersConfig, SpotFleetClassicLoadBalancersConfigArgs
- Classic
Load List<Pulumi.Balancers Aws Native. Ec2. Inputs. Spot Fleet Classic Load Balancer> - One or more Classic Load Balancers.
- Classic
Load []SpotBalancers Fleet Classic Load Balancer - One or more Classic Load Balancers.
- classic
Load List<SpotBalancers Fleet Classic Load Balancer> - One or more Classic Load Balancers.
- classic
Load SpotBalancers Fleet Classic Load Balancer[] - One or more Classic Load Balancers.
- classic_
load_ Sequence[Spotbalancers Fleet Classic Load Balancer] - One or more Classic Load Balancers.
- classic
Load List<Property Map>Balancers - One or more Classic Load Balancers.
SpotFleetEbsBlockDevice, SpotFleetEbsBlockDeviceArgs
- Delete
On boolTermination - Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
- Encrypted bool
Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to
true
depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS Encryption in the Amazon EC2 User Guide .In no case can you remove encryption from an encrypted volume.
Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported Instance Types .
This parameter is not returned by DescribeImageAttribute .
- Iops int
The number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
gp3
: 3,000 - 16,000 IOPSio1
: 100 - 64,000 IOPSio2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.This parameter is required for
io1
andio2
volumes. The default forgp3
volumes is 3,000 IOPS.- Snapshot
Id string - The ID of the snapshot.
- Volume
Size int The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
The following are the supported sizes for each volume type:
gp2
andgp3
: 1 - 16,384 GiBio1
: 4 - 16,384 GiBio2
: 4 - 65,536 GiBst1
andsc1
: 125 - 16,384 GiBstandard
: 1 - 1024 GiB
- Volume
Type Pulumi.Aws Native. Ec2. Spot Fleet Ebs Block Device Volume Type - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
- Delete
On boolTermination - Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
- Encrypted bool
Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to
true
depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS Encryption in the Amazon EC2 User Guide .In no case can you remove encryption from an encrypted volume.
Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported Instance Types .
This parameter is not returned by DescribeImageAttribute .
- Iops int
The number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
gp3
: 3,000 - 16,000 IOPSio1
: 100 - 64,000 IOPSio2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.This parameter is required for
io1
andio2
volumes. The default forgp3
volumes is 3,000 IOPS.- Snapshot
Id string - The ID of the snapshot.
- Volume
Size int The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
The following are the supported sizes for each volume type:
gp2
andgp3
: 1 - 16,384 GiBio1
: 4 - 16,384 GiBio2
: 4 - 65,536 GiBst1
andsc1
: 125 - 16,384 GiBstandard
: 1 - 1024 GiB
- Volume
Type SpotFleet Ebs Block Device Volume Type - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
- delete
On BooleanTermination - Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
- encrypted Boolean
Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to
true
depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS Encryption in the Amazon EC2 User Guide .In no case can you remove encryption from an encrypted volume.
Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported Instance Types .
This parameter is not returned by DescribeImageAttribute .
- iops Integer
The number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
gp3
: 3,000 - 16,000 IOPSio1
: 100 - 64,000 IOPSio2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.This parameter is required for
io1
andio2
volumes. The default forgp3
volumes is 3,000 IOPS.- snapshot
Id String - The ID of the snapshot.
- volume
Size Integer The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
The following are the supported sizes for each volume type:
gp2
andgp3
: 1 - 16,384 GiBio1
: 4 - 16,384 GiBio2
: 4 - 65,536 GiBst1
andsc1
: 125 - 16,384 GiBstandard
: 1 - 1024 GiB
- volume
Type SpotFleet Ebs Block Device Volume Type - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
- delete
On booleanTermination - Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
- encrypted boolean
Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to
true
depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS Encryption in the Amazon EC2 User Guide .In no case can you remove encryption from an encrypted volume.
Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported Instance Types .
This parameter is not returned by DescribeImageAttribute .
- iops number
The number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
gp3
: 3,000 - 16,000 IOPSio1
: 100 - 64,000 IOPSio2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.This parameter is required for
io1
andio2
volumes. The default forgp3
volumes is 3,000 IOPS.- snapshot
Id string - The ID of the snapshot.
- volume
Size number The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
The following are the supported sizes for each volume type:
gp2
andgp3
: 1 - 16,384 GiBio1
: 4 - 16,384 GiBio2
: 4 - 65,536 GiBst1
andsc1
: 125 - 16,384 GiBstandard
: 1 - 1024 GiB
- volume
Type SpotFleet Ebs Block Device Volume Type - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
- delete_
on_ booltermination - Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
- encrypted bool
Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to
true
depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS Encryption in the Amazon EC2 User Guide .In no case can you remove encryption from an encrypted volume.
Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported Instance Types .
This parameter is not returned by DescribeImageAttribute .
- iops int
The number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
gp3
: 3,000 - 16,000 IOPSio1
: 100 - 64,000 IOPSio2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.This parameter is required for
io1
andio2
volumes. The default forgp3
volumes is 3,000 IOPS.- snapshot_
id str - The ID of the snapshot.
- volume_
size int The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
The following are the supported sizes for each volume type:
gp2
andgp3
: 1 - 16,384 GiBio1
: 4 - 16,384 GiBio2
: 4 - 65,536 GiBst1
andsc1
: 125 - 16,384 GiBstandard
: 1 - 1024 GiB
- volume_
type SpotFleet Ebs Block Device Volume Type - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
- delete
On BooleanTermination - Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
- encrypted Boolean
Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to
true
depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS Encryption in the Amazon EC2 User Guide .In no case can you remove encryption from an encrypted volume.
Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported Instance Types .
This parameter is not returned by DescribeImageAttribute .
- iops Number
The number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
gp3
: 3,000 - 16,000 IOPSio1
: 100 - 64,000 IOPSio2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.This parameter is required for
io1
andio2
volumes. The default forgp3
volumes is 3,000 IOPS.- snapshot
Id String - The ID of the snapshot.
- volume
Size Number The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
The following are the supported sizes for each volume type:
gp2
andgp3
: 1 - 16,384 GiBio1
: 4 - 16,384 GiBio2
: 4 - 65,536 GiBst1
andsc1
: 125 - 16,384 GiBstandard
: 1 - 1024 GiB
- volume
Type "gp2" | "gp3" | "io1" | "io2" | "sc1" | "st1" | "standard" - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
SpotFleetEbsBlockDeviceVolumeType, SpotFleetEbsBlockDeviceVolumeTypeArgs
- Gp2
- gp2
- Gp3
- gp3
- Io1
- io1
- Io2
- io2
- Sc1
- sc1
- St1
- st1
- Standard
- standard
- Spot
Fleet Ebs Block Device Volume Type Gp2 - gp2
- Spot
Fleet Ebs Block Device Volume Type Gp3 - gp3
- Spot
Fleet Ebs Block Device Volume Type Io1 - io1
- Spot
Fleet Ebs Block Device Volume Type Io2 - io2
- Spot
Fleet Ebs Block Device Volume Type Sc1 - sc1
- Spot
Fleet Ebs Block Device Volume Type St1 - st1
- Spot
Fleet Ebs Block Device Volume Type Standard - standard
- Gp2
- gp2
- Gp3
- gp3
- Io1
- io1
- Io2
- io2
- Sc1
- sc1
- St1
- st1
- Standard
- standard
- Gp2
- gp2
- Gp3
- gp3
- Io1
- io1
- Io2
- io2
- Sc1
- sc1
- St1
- st1
- Standard
- standard
- GP2
- gp2
- GP3
- gp3
- IO1
- io1
- IO2
- io2
- SC1
- sc1
- ST1
- st1
- STANDARD
- standard
- "gp2"
- gp2
- "gp3"
- gp3
- "io1"
- io1
- "io2"
- io2
- "sc1"
- sc1
- "st1"
- st1
- "standard"
- standard
SpotFleetFleetLaunchTemplateSpecification, SpotFleetFleetLaunchTemplateSpecificationArgs
- Version string
The version number of the launch template.
Specifying
$Latest
or$Default
for the template version number is not supported. However, you can specifyLatestVersionNumber
orDefaultVersionNumber
using theFn::GetAtt
intrinsic function. For more information, see Fn::GetAtt .- 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 version number of the launch template.
Specifying
$Latest
or$Default
for the template version number is not supported. However, you can specifyLatestVersionNumber
orDefaultVersionNumber
using theFn::GetAtt
intrinsic function. For more information, see Fn::GetAtt .- 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 version number of the launch template.
Specifying
$Latest
or$Default
for the template version number is not supported. However, you can specifyLatestVersionNumber
orDefaultVersionNumber
using theFn::GetAtt
intrinsic function. For more information, see Fn::GetAtt .- 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 version number of the launch template.
Specifying
$Latest
or$Default
for the template version number is not supported. However, you can specifyLatestVersionNumber
orDefaultVersionNumber
using theFn::GetAtt
intrinsic function. For more information, see Fn::GetAtt .- 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 version number of the launch template.
Specifying
$Latest
or$Default
for the template version number is not supported. However, you can specifyLatestVersionNumber
orDefaultVersionNumber
using theFn::GetAtt
intrinsic function. For more information, see Fn::GetAtt .- 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 version number of the launch template.
Specifying
$Latest
or$Default
for the template version number is not supported. However, you can specifyLatestVersionNumber
orDefaultVersionNumber
using theFn::GetAtt
intrinsic function. For more information, see Fn::GetAtt .- 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.
SpotFleetGroupIdentifier, SpotFleetGroupIdentifierArgs
- Group
Id string - The ID of the security group.
- Group
Id string - The ID of the security group.
- group
Id String - The ID of the security group.
- group
Id string - The ID of the security group.
- group_
id str - The ID of the security group.
- group
Id String - The ID of the security group.
SpotFleetIamInstanceProfileSpecification, SpotFleetIamInstanceProfileSpecificationArgs
- Arn string
- The Amazon Resource Name (ARN) of the instance profile.
- Arn string
- The Amazon Resource Name (ARN) of the instance profile.
- arn String
- The Amazon Resource Name (ARN) of the instance profile.
- arn string
- The Amazon Resource Name (ARN) of the instance profile.
- arn str
- The Amazon Resource Name (ARN) of the instance profile.
- arn String
- The Amazon Resource Name (ARN) of the instance profile.
SpotFleetInstanceIpv6Address, SpotFleetInstanceIpv6AddressArgs
- Ipv6Address string
- The IPv6 address.
- Ipv6Address string
- The IPv6 address.
- ipv6Address String
- The IPv6 address.
- ipv6Address string
- The IPv6 address.
- ipv6_
address str - The IPv6 address.
- ipv6Address String
- The IPv6 address.
SpotFleetInstanceNetworkInterfaceSpecification, SpotFleetInstanceNetworkInterfaceSpecificationArgs
- Associate
Public boolIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is
true
.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
- Delete
On boolTermination - Indicates whether the network interface is deleted when the instance is terminated.
- Description string
- The description of the network interface. Applies only if creating a network interface when launching an instance.
- Device
Index int The position of the network interface in the attachment order. A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
- Groups List<string>
- The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.
- Ipv6Address
Count int - A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- Ipv6Addresses
List<Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Instance Ipv6Address> - The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
- Network
Interface stringId The ID of the network interface.
If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
- Private
Ip List<Pulumi.Addresses Aws Native. Ec2. Inputs. Spot Fleet Private Ip Address Specification> - The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- Secondary
Private intIp Address Count - The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- Subnet
Id string - The ID of the subnet associated with the network interface.
- Associate
Public boolIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is
true
.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
- Delete
On boolTermination - Indicates whether the network interface is deleted when the instance is terminated.
- Description string
- The description of the network interface. Applies only if creating a network interface when launching an instance.
- Device
Index int The position of the network interface in the attachment order. A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
- Groups []string
- The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.
- Ipv6Address
Count int - A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- Ipv6Addresses
[]Spot
Fleet Instance Ipv6Address - The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
- Network
Interface stringId The ID of the network interface.
If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
- Private
Ip []SpotAddresses Fleet Private Ip Address Specification - The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- Secondary
Private intIp Address Count - The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- Subnet
Id string - The ID of the subnet associated with the network interface.
- associate
Public BooleanIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is
true
.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
- delete
On BooleanTermination - Indicates whether the network interface is deleted when the instance is terminated.
- description String
- The description of the network interface. Applies only if creating a network interface when launching an instance.
- device
Index Integer The position of the network interface in the attachment order. A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
- groups List<String>
- The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.
- ipv6Address
Count Integer - A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- ipv6Addresses
List<Spot
Fleet Instance Ipv6Address> - The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
- network
Interface StringId The ID of the network interface.
If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
- private
Ip List<SpotAddresses Fleet Private Ip Address Specification> - The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- secondary
Private IntegerIp Address Count - The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- subnet
Id String - The ID of the subnet associated with the network interface.
- associate
Public booleanIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is
true
.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
- delete
On booleanTermination - Indicates whether the network interface is deleted when the instance is terminated.
- description string
- The description of the network interface. Applies only if creating a network interface when launching an instance.
- device
Index number The position of the network interface in the attachment order. A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
- groups string[]
- The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.
- ipv6Address
Count number - A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- ipv6Addresses
Spot
Fleet Instance Ipv6Address[] - The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
- network
Interface stringId The ID of the network interface.
If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
- private
Ip SpotAddresses Fleet Private Ip Address Specification[] - The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- secondary
Private numberIp Address Count - The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- subnet
Id string - The ID of the subnet associated with the network interface.
- associate_
public_ boolip_ address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is
true
.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
- delete_
on_ booltermination - Indicates whether the network interface is deleted when the instance is terminated.
- description str
- The description of the network interface. Applies only if creating a network interface when launching an instance.
- device_
index int The position of the network interface in the attachment order. A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
- groups Sequence[str]
- The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.
- ipv6_
address_ intcount - A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- ipv6_
addresses Sequence[SpotFleet Instance Ipv6Address] - The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
- network_
interface_ strid The ID of the network interface.
If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
- private_
ip_ Sequence[Spotaddresses Fleet Private Ip Address Specification] - The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- secondary_
private_ intip_ address_ count - The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- subnet_
id str - The ID of the subnet associated with the network interface.
- associate
Public BooleanIp Address Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is
true
.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .
- delete
On BooleanTermination - Indicates whether the network interface is deleted when the instance is terminated.
- description String
- The description of the network interface. Applies only if creating a network interface when launching an instance.
- device
Index Number The position of the network interface in the attachment order. A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
- groups List<String>
- The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.
- ipv6Address
Count Number - A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- ipv6Addresses List<Property Map>
- The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
- network
Interface StringId The ID of the network interface.
If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
- private
Ip List<Property Map>Addresses - The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- secondary
Private NumberIp Address Count - The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
- subnet
Id String - The ID of the subnet associated with the network interface.
SpotFleetInstanceRequirementsRequest, SpotFleetInstanceRequirementsRequestArgs
- Accelerator
Count Pulumi.Aws Native. Ec2. Inputs. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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
. - To include instance types with inference hardware, specify
inference
.
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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- Network
Bandwidth Pulumi.Gbps Aws Native. Ec2. Inputs. Spot Fleet 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. Spot Fleet 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. Spot Fleet 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. Spot Fleet VCpu Count Range Request - The minimum and maximum number of vCPUs.
- Accelerator
Count SpotFleet 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 []SpotFleet 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 []SpotFleet 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 SpotMemory Mi B Fleet Accelerator Total Memory Mi BRequest The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- Accelerator
Types []SpotFleet 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
. - To include instance types with inference hardware, specify
inference
.
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 SpotFleet 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 SpotBandwidth Mbps Fleet 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 SpotFleet 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 []SpotFleet 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 []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 []SpotFleet 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 SpotFleet 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 []SpotTypes Fleet 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 SpotBPer VCpu Fleet Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- Memory
Mi SpotB Fleet Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- Network
Bandwidth SpotGbps Fleet 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 SpotCount Fleet 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 SpotStorage Gb Fleet Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- VCpu
Count SpotFleet VCpu Count Range Request - The minimum and maximum number of vCPUs.
- accelerator
Count SpotFleet 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<SpotFleet 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<SpotFleet 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 SpotMemory Mi B Fleet 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<SpotFleet 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
. - To include instance types with inference hardware, specify
inference
.
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 SpotFleet 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 SpotBandwidth Mbps Fleet 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 SpotFleet 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<SpotFleet 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<SpotFleet 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 SpotFleet 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<SpotTypes Fleet 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 SpotBPer VCpu Fleet Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- memory
Mi SpotB Fleet Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- network
Bandwidth SpotGbps Fleet 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 SpotCount Fleet 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 SpotStorage Gb Fleet Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- v
Cpu SpotCount Fleet VCpu Count Range Request - The minimum and maximum number of vCPUs.
- accelerator
Count SpotFleet 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 SpotFleet 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 SpotFleet 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 SpotMemory Mi B Fleet Accelerator Total Memory Mi BRequest The minimum and maximum amount of total accelerator memory, in MiB.
Default: No minimum or maximum limits
- accelerator
Types SpotFleet 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
. - To include instance types with inference hardware, specify
inference
.
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 SpotFleet 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 SpotBandwidth Mbps Fleet 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 SpotFleet 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 SpotFleet 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 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 SpotFleet 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 SpotFleet 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 SpotTypes Fleet 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 SpotBPer VCpu Fleet Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- memory
Mi SpotB Fleet Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- network
Bandwidth SpotGbps Fleet 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 SpotCount Fleet 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 SpotStorage Gb Fleet Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- v
Cpu SpotCount Fleet VCpu Count Range Request - The minimum and maximum number of vCPUs.
- accelerator_
count SpotFleet 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 Sequence[SpotFleet 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 Sequence[SpotFleet 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_ Spotmemory_ mi_ b Fleet 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[SpotFleet 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
. - To include instance types with inference hardware, specify
inference
.
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 SpotFleet 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_ Spotbandwidth_ mbps Fleet 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 SpotFleet 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 Sequence[SpotFleet 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_ 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[SpotFleet 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 SpotFleet 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_ Sequence[Spottypes Fleet 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_ Spotb_ per_ v_ cpu Fleet Memory Gi BPer VCpu Request The minimum and maximum amount of memory per vCPU, in GiB.
Default: No minimum or maximum limits
- memory_
mi_ Spotb Fleet Memory Mi BRequest - The minimum and maximum amount of memory, in MiB.
- network_
bandwidth_ Spotgbps Fleet 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_ Spotcount Fleet 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_ Spotstorage_ gb Fleet Total Local Storage Gb Request The minimum and maximum amount of total local storage, in GB.
Default: No minimum or maximum limits
- v_
cpu_ Spotcount Fleet 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
. - To include instance types with inference hardware, specify
inference
.
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"> 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.
SpotFleetInstanceRequirementsRequestAcceleratorManufacturersItem, SpotFleetInstanceRequirementsRequestAcceleratorManufacturersItemArgs
- Amazon
Web Services - amazon-web-services
- Amd
- amd
- Habana
- habana
- Nvidia
- nvidia
- Xilinx
- xilinx
- Spot
Fleet Instance Requirements Request Accelerator Manufacturers Item Amazon Web Services - amazon-web-services
- Spot
Fleet Instance Requirements Request Accelerator Manufacturers Item Amd - amd
- Spot
Fleet Instance Requirements Request Accelerator Manufacturers Item Habana - habana
- Spot
Fleet Instance Requirements Request Accelerator Manufacturers Item Nvidia - nvidia
- Spot
Fleet 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
SpotFleetInstanceRequirementsRequestAcceleratorNamesItem, SpotFleetInstanceRequirementsRequestAcceleratorNamesItemArgs
- 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
- Spot
Fleet Instance Requirements Request Accelerator Names Item A10g - a10g
- Spot
Fleet Instance Requirements Request Accelerator Names Item A100 - a100
- Spot
Fleet Instance Requirements Request Accelerator Names Item H100 - h100
- Spot
Fleet Instance Requirements Request Accelerator Names Item Inferentia - inferentia
- Spot
Fleet Instance Requirements Request Accelerator Names Item K520 - k520
- Spot
Fleet Instance Requirements Request Accelerator Names Item K80 - k80
- Spot
Fleet Instance Requirements Request Accelerator Names Item M60 - m60
- Spot
Fleet Instance Requirements Request Accelerator Names Item Radeon Pro V520 - radeon-pro-v520
- Spot
Fleet Instance Requirements Request Accelerator Names Item T4 - t4
- Spot
Fleet Instance Requirements Request Accelerator Names Item T4g - t4g
- Spot
Fleet Instance Requirements Request Accelerator Names Item Vu9p - vu9p
- Spot
Fleet 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
SpotFleetInstanceRequirementsRequestAcceleratorTypesItem, SpotFleetInstanceRequirementsRequestAcceleratorTypesItemArgs
- Gpu
- gpu
- Fpga
- fpga
- Inference
- inference
- Spot
Fleet Instance Requirements Request Accelerator Types Item Gpu - gpu
- Spot
Fleet Instance Requirements Request Accelerator Types Item Fpga - fpga
- Spot
Fleet 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
SpotFleetInstanceRequirementsRequestBareMetal, SpotFleetInstanceRequirementsRequestBareMetalArgs
- Included
- included
- Required
- required
- Excluded
- excluded
- Spot
Fleet Instance Requirements Request Bare Metal Included - included
- Spot
Fleet Instance Requirements Request Bare Metal Required - required
- Spot
Fleet 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
SpotFleetInstanceRequirementsRequestBurstablePerformance, SpotFleetInstanceRequirementsRequestBurstablePerformanceArgs
- Included
- included
- Required
- required
- Excluded
- excluded
- Spot
Fleet Instance Requirements Request Burstable Performance Included - included
- Spot
Fleet Instance Requirements Request Burstable Performance Required - required
- Spot
Fleet 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
SpotFleetInstanceRequirementsRequestCpuManufacturersItem, SpotFleetInstanceRequirementsRequestCpuManufacturersItemArgs
- Intel
- intel
- Amd
- amd
- Amazon
Web Services - amazon-web-services
- Spot
Fleet Instance Requirements Request Cpu Manufacturers Item Intel - intel
- Spot
Fleet Instance Requirements Request Cpu Manufacturers Item Amd - amd
- Spot
Fleet Instance Requirements Request Cpu Manufacturers Item Amazon Web Services - amazon-web-services
- Intel
- intel
- Amd
- amd
- Amazon
Web Services - amazon-web-services
- Intel
- intel
- Amd
- amd
- Amazon
Web Services - amazon-web-services
- INTEL
- intel
- AMD
- amd
- AMAZON_WEB_SERVICES
- amazon-web-services
- "intel"
- intel
- "amd"
- amd
- "amazon-web-services"
- amazon-web-services
SpotFleetInstanceRequirementsRequestInstanceGenerationsItem, SpotFleetInstanceRequirementsRequestInstanceGenerationsItemArgs
- Current
- current
- Previous
- previous
- Spot
Fleet Instance Requirements Request Instance Generations Item Current - current
- Spot
Fleet Instance Requirements Request Instance Generations Item Previous - previous
- Current
- current
- Previous
- previous
- Current
- current
- Previous
- previous
- CURRENT
- current
- PREVIOUS
- previous
- "current"
- current
- "previous"
- previous
SpotFleetInstanceRequirementsRequestLocalStorage, SpotFleetInstanceRequirementsRequestLocalStorageArgs
- Included
- included
- Required
- required
- Excluded
- excluded
- Spot
Fleet Instance Requirements Request Local Storage Included - included
- Spot
Fleet Instance Requirements Request Local Storage Required - required
- Spot
Fleet 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
SpotFleetInstanceRequirementsRequestLocalStorageTypesItem, SpotFleetInstanceRequirementsRequestLocalStorageTypesItemArgs
- Hdd
- hdd
- Ssd
- ssd
- Spot
Fleet Instance Requirements Request Local Storage Types Item Hdd - hdd
- Spot
Fleet 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
SpotFleetLaunchSpecification, SpotFleetLaunchSpecificationArgs
- Image
Id string - The ID of the AMI.
- Block
Device List<Pulumi.Mappings Aws Native. Ec2. Inputs. Spot Fleet Block Device Mapping> - One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
- Ebs
Optimized bool Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default:
false
- Iam
Instance Pulumi.Profile Aws Native. Ec2. Inputs. Spot Fleet Iam Instance Profile Specification - The IAM instance profile.
- Instance
Requirements Pulumi.Aws Native. Ec2. Inputs. Spot Fleet 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.
- Kernel
Id string - The ID of the kernel.
- Key
Name string - The name of the key pair.
- Monitoring
Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Monitoring - Enable or disable monitoring for the instances.
- Network
Interfaces List<Pulumi.Aws Native. Ec2. Inputs. Spot Fleet Instance Network Interface Specification> - The network interfaces.
- Placement
Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Spot Placement - The placement information.
- Ramdisk
Id string - The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
- Security
Groups List<Pulumi.Aws Native. Ec2. Inputs. Spot Fleet Group Identifier> The security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- Spot
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.
- Subnet
Id string The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- List<Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Tag Specification> - The tags to apply during creation.
- User
Data string - The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
- 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
lowestPrice
andpriceCapacityOptimized
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.
- Image
Id string - The ID of the AMI.
- Block
Device []SpotMappings Fleet Block Device Mapping - One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
- Ebs
Optimized bool Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default:
false
- Iam
Instance SpotProfile Fleet Iam Instance Profile Specification - The IAM instance profile.
- Instance
Requirements SpotFleet 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.
- Kernel
Id string - The ID of the kernel.
- Key
Name string - The name of the key pair.
- Monitoring
Spot
Fleet Monitoring - Enable or disable monitoring for the instances.
- Network
Interfaces []SpotFleet Instance Network Interface Specification - The network interfaces.
- Placement
Spot
Fleet Spot Placement - The placement information.
- Ramdisk
Id string - The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
- Security
Groups []SpotFleet Group Identifier The security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- Spot
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.
- Subnet
Id string The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- []Spot
Fleet Tag Specification - The tags to apply during creation.
- User
Data string - The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
- 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
lowestPrice
andpriceCapacityOptimized
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.
- image
Id String - The ID of the AMI.
- block
Device List<SpotMappings Fleet Block Device Mapping> - One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
- ebs
Optimized Boolean Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default:
false
- iam
Instance SpotProfile Fleet Iam Instance Profile Specification - The IAM instance profile.
- instance
Requirements SpotFleet 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.
- kernel
Id String - The ID of the kernel.
- key
Name String - The name of the key pair.
- monitoring
Spot
Fleet Monitoring - Enable or disable monitoring for the instances.
- network
Interfaces List<SpotFleet Instance Network Interface Specification> - The network interfaces.
- placement
Spot
Fleet Spot Placement - The placement information.
- ramdisk
Id String - The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
- security
Groups List<SpotFleet Group Identifier> The security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- spot
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.
- subnet
Id String The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- List<Spot
Fleet Tag Specification> - The tags to apply during creation.
- user
Data String - The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
- 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
lowestPrice
andpriceCapacityOptimized
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.
- image
Id string - The ID of the AMI.
- block
Device SpotMappings Fleet Block Device Mapping[] - One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
- ebs
Optimized boolean Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default:
false
- iam
Instance SpotProfile Fleet Iam Instance Profile Specification - The IAM instance profile.
- instance
Requirements SpotFleet 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.
- kernel
Id string - The ID of the kernel.
- key
Name string - The name of the key pair.
- monitoring
Spot
Fleet Monitoring - Enable or disable monitoring for the instances.
- network
Interfaces SpotFleet Instance Network Interface Specification[] - The network interfaces.
- placement
Spot
Fleet Spot Placement - The placement information.
- ramdisk
Id string - The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
- security
Groups SpotFleet Group Identifier[] The security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- spot
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.
- subnet
Id string The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- Spot
Fleet Tag Specification[] - The tags to apply during creation.
- user
Data string - The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
- 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
lowestPrice
andpriceCapacityOptimized
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.
- image_
id str - The ID of the AMI.
- block_
device_ Sequence[Spotmappings Fleet Block Device Mapping] - One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
- ebs_
optimized bool Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default:
false
- iam_
instance_ Spotprofile Fleet Iam Instance Profile Specification - The IAM instance profile.
- instance_
requirements SpotFleet 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 str - The instance type.
- kernel_
id str - The ID of the kernel.
- key_
name str - The name of the key pair.
- monitoring
Spot
Fleet Monitoring - Enable or disable monitoring for the instances.
- network_
interfaces Sequence[SpotFleet Instance Network Interface Specification] - The network interfaces.
- placement
Spot
Fleet Spot Placement - The placement information.
- ramdisk_
id str - The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
- security_
groups Sequence[SpotFleet Group Identifier] The security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- spot_
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.
- subnet_
id str The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- tag_
specifications Sequence[SpotFleet Tag Specification] - The tags to apply during creation.
- user_
data str - The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
- 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
lowestPrice
andpriceCapacityOptimized
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.
- image
Id String - The ID of the AMI.
- block
Device List<Property Map>Mappings - One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
- ebs
Optimized Boolean Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default:
false
- iam
Instance Property MapProfile - The IAM instance profile.
- 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.
- kernel
Id String - The ID of the kernel.
- key
Name String - The name of the key pair.
- monitoring Property Map
- Enable or disable monitoring for the instances.
- network
Interfaces List<Property Map> - The network interfaces.
- placement Property Map
- The placement information.
- ramdisk
Id String - The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
- security
Groups List<Property Map> The security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- spot
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.
- subnet
Id String The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- List<Property Map>
- The tags to apply during creation.
- user
Data String - The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
- 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
lowestPrice
andpriceCapacityOptimized
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.
SpotFleetLaunchTemplateConfig, SpotFleetLaunchTemplateConfigArgs
- Launch
Template Pulumi.Specification Aws Native. Ec2. Inputs. Spot Fleet Fleet Launch Template Specification - The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet. - Overrides
List<Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Launch Template Overrides> - Any parameters that you specify override the same parameters in the launch template.
- Launch
Template SpotSpecification Fleet Fleet Launch Template Specification - The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet. - Overrides
[]Spot
Fleet Launch Template Overrides - Any parameters that you specify override the same parameters in the launch template.
- launch
Template SpotSpecification Fleet Fleet Launch Template Specification - The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet. - overrides
List<Spot
Fleet Launch Template Overrides> - Any parameters that you specify override the same parameters in the launch template.
- launch
Template SpotSpecification Fleet Fleet Launch Template Specification - The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet. - overrides
Spot
Fleet Launch Template Overrides[] - Any parameters that you specify override the same parameters in the launch template.
- launch_
template_ Spotspecification Fleet Fleet Launch Template Specification - The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet. - overrides
Sequence[Spot
Fleet Launch Template Overrides] - Any parameters that you specify override the same parameters in the launch template.
- launch
Template Property MapSpecification - The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet. - overrides List<Property Map>
- Any parameters that you specify override the same parameters in the launch template.
SpotFleetLaunchTemplateOverrides, SpotFleetLaunchTemplateOverridesArgs
- Availability
Zone string - The Availability Zone in which to launch the instances.
- Instance
Requirements Pulumi.Aws Native. Ec2. Inputs. Spot Fleet Instance Requirements Request The instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- Instance
Type string - The instance type.
- Priority double
The priority for the launch template override. The highest priority is launched first.
If
OnDemandAllocationStrategy
is set toprioritized
, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacityOptimizedPrioritized
, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.Valid values are whole numbers starting at
0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.- Spot
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.
- Subnet
Id string - The ID of the subnet in which to launch the instances.
- 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
lowestPrice
andpriceCapacityOptimized
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 SpotFleet Instance Requirements Request The instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- Instance
Type string - The instance type.
- Priority float64
The priority for the launch template override. The highest priority is launched first.
If
OnDemandAllocationStrategy
is set toprioritized
, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacityOptimizedPrioritized
, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.Valid values are whole numbers starting at
0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.- Spot
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.
- Subnet
Id string - The ID of the subnet in which to launch the instances.
- 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
lowestPrice
andpriceCapacityOptimized
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 SpotFleet Instance Requirements Request The instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance
Type String - The instance type.
- priority Double
The priority for the launch template override. The highest priority is launched first.
If
OnDemandAllocationStrategy
is set toprioritized
, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacityOptimizedPrioritized
, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.Valid values are whole numbers starting at
0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.- spot
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.
- subnet
Id String - The ID of the subnet in which to launch the instances.
- 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
lowestPrice
andpriceCapacityOptimized
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 SpotFleet Instance Requirements Request The instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance
Type string - The instance type.
- priority number
The priority for the launch template override. The highest priority is launched first.
If
OnDemandAllocationStrategy
is set toprioritized
, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacityOptimizedPrioritized
, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.Valid values are whole numbers starting at
0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.- spot
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.
- subnet
Id string - The ID of the subnet in which to launch the instances.
- 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
lowestPrice
andpriceCapacityOptimized
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 SpotFleet Instance Requirements Request The instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance_
type str - The instance type.
- priority float
The priority for the launch template override. The highest priority is launched first.
If
OnDemandAllocationStrategy
is set toprioritized
, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacityOptimizedPrioritized
, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.Valid values are whole numbers starting at
0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.- spot_
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.
- subnet_
id str - The ID of the subnet in which to launch the instances.
- 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
lowestPrice
andpriceCapacityOptimized
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 instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- instance
Type String - The instance type.
- priority Number
The priority for the launch template override. The highest priority is launched first.
If
OnDemandAllocationStrategy
is set toprioritized
, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategy
is set tocapacityOptimizedPrioritized
, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.Valid values are whole numbers starting at
0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.- spot
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.
- subnet
Id String - The ID of the subnet in which to launch the instances.
- 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
lowestPrice
andpriceCapacityOptimized
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.
SpotFleetLoadBalancersConfig, SpotFleetLoadBalancersConfigArgs
- Classic
Load Pulumi.Balancers Config Aws Native. Ec2. Inputs. Spot Fleet Classic Load Balancers Config - The Classic Load Balancers.
- Target
Groups Pulumi.Config Aws Native. Ec2. Inputs. Spot Fleet Target Groups Config - The target groups.
- Classic
Load SpotBalancers Config Fleet Classic Load Balancers Config - The Classic Load Balancers.
- Target
Groups SpotConfig Fleet Target Groups Config - The target groups.
- classic
Load SpotBalancers Config Fleet Classic Load Balancers Config - The Classic Load Balancers.
- target
Groups SpotConfig Fleet Target Groups Config - The target groups.
- classic
Load SpotBalancers Config Fleet Classic Load Balancers Config - The Classic Load Balancers.
- target
Groups SpotConfig Fleet Target Groups Config - The target groups.
- classic_
load_ Spotbalancers_ config Fleet Classic Load Balancers Config - The Classic Load Balancers.
- target_
groups_ Spotconfig Fleet Target Groups Config - The target groups.
- classic
Load Property MapBalancers Config - The Classic Load Balancers.
- target
Groups Property MapConfig - The target groups.
SpotFleetMemoryGiBPerVCpuRequest, SpotFleetMemoryGiBPerVCpuRequestArgs
SpotFleetMemoryMiBRequest, SpotFleetMemoryMiBRequestArgs
SpotFleetMonitoring, SpotFleetMonitoringArgs
- Enabled bool
Enables monitoring for the instance.
Default:
false
- Enabled bool
Enables monitoring for the instance.
Default:
false
- enabled Boolean
Enables monitoring for the instance.
Default:
false
- enabled boolean
Enables monitoring for the instance.
Default:
false
- enabled bool
Enables monitoring for the instance.
Default:
false
- enabled Boolean
Enables monitoring for the instance.
Default:
false
SpotFleetNetworkBandwidthGbpsRequest, SpotFleetNetworkBandwidthGbpsRequestArgs
SpotFleetNetworkInterfaceCountRequest, SpotFleetNetworkInterfaceCountRequestArgs
SpotFleetPrivateIpAddressSpecification, SpotFleetPrivateIpAddressSpecificationArgs
- Private
Ip stringAddress - The private IPv4 address.
- Primary bool
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- Private
Ip stringAddress - The private IPv4 address.
- Primary bool
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- private
Ip StringAddress - The private IPv4 address.
- primary Boolean
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- private
Ip stringAddress - The private IPv4 address.
- primary boolean
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- private_
ip_ straddress - The private IPv4 address.
- primary bool
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- private
Ip StringAddress - The private IPv4 address.
- primary Boolean
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
SpotFleetRequestConfigData, SpotFleetRequestConfigDataArgs
- Iam
Fleet stringRole - The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For more information, see Spot Fleet Prerequisites in the Amazon EC2 User Guide . Spot Fleet can terminate Spot Instances on your behalf when you cancel its Spot Fleet request or when the Spot Fleet request expires, if you set
TerminateInstancesWithExpiration
. - Target
Capacity int - The number of units to request for the Spot Fleet. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - Allocation
Strategy Pulumi.Aws Native. Ec2. Spot Fleet Request Config Data Allocation Strategy The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide .
- priceCapacityOptimized (recommended) - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.
- capacityOptimized - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use
capacityOptimizedPrioritized
. Set a priority for each instance type by using thePriority
parameter forLaunchTemplateOverrides
. You can assign the same priority to differentLaunchTemplateOverrides
. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first.capacityOptimizedPrioritized
is supported only if your Spot Fleet uses a launch template. Note that if theOnDemandAllocationStrategy
is set toprioritized
, the same priority is applied when fulfilling On-Demand capacity. - diversified - Spot Fleet requests instances from all of the Spot Instance pools that you specify.
- lowestPrice (not recommended) - > We don't recommend the
lowestPrice
allocation strategy because it has the highest risk of interruption for your Spot Instances.
Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.
Default:
lowestPrice
- Context string
- Reserved.
- Excess
Capacity Pulumi.Termination Policy Aws Native. Ec2. Spot Fleet Request Config Data Excess Capacity Termination Policy Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet.
Supported only for fleets of type
maintain
.- Instance
Interruption Pulumi.Behavior Aws Native. Ec2. Spot Fleet Request Config Data Instance Interruption Behavior - The behavior when a Spot Instance is interrupted. The default is
terminate
. - Instance
Pools intTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to
lowest-price
. Spot Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that Spot 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, Spot 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.
- Launch
Specifications List<Pulumi.Aws Native. Ec2. Inputs. Spot Fleet Launch Specification> - The launch specifications for the Spot Fleet request. If you specify
LaunchSpecifications
, you can't specifyLaunchTemplateConfigs
. - Launch
Template List<Pulumi.Configs Aws Native. Ec2. Inputs. Spot Fleet Launch Template Config> - The launch template and overrides. If you specify
LaunchTemplateConfigs
, you can't specifyLaunchSpecifications
. - Load
Balancers Pulumi.Config Aws Native. Ec2. Inputs. Spot Fleet Load Balancers Config One or more Classic Load Balancers and target groups to attach to the Spot Fleet request. Spot Fleet registers the running Spot Instances with the specified Classic Load Balancers and target groups.
With Network Load Balancers, Spot Fleet cannot register instances that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1.
- On
Demand stringAllocation Strategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify
lowestPrice
, Spot Fleet uses price to determine the order, launching the lowest price first. If you specifyprioritized
, Spot Fleet uses the priority that you assign to each Spot Fleet launch template override, launching the highest priority first. If you do not specify a value, Spot Fleet defaults tolowestPrice
. - On
Demand stringMax Total Price The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the
onDemandMaxTotalPrice
parameter, thespotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. TheonDemandMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified foronDemandMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- On
Demand intTarget Capacity - The number of On-Demand units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - Replace
Unhealthy boolInstances - Indicates whether Spot Fleet should replace unhealthy instances.
- Spot
Maintenance Pulumi.Strategies Aws Native. Ec2. Inputs. Spot Fleet Spot Maintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- Spot
Max stringTotal Price The maximum amount per hour for Spot Instances that you're willing to pay. You can use the
spotMaxTotalPrice
parameter, theonDemandMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. ThespotMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forspotMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- Spot
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.
- List<Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Tag Specification> - The key-value pair for tagging the Spot Fleet request on creation. The value for
ResourceType
must bespot-fleet-request
, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you useLaunchTemplateConfigs
) or in the[SpotFleetTagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)
(valid only if you useLaunchSpecifications
). For information about tagging after launch, see Tag your resources . - Target
Capacity Pulumi.Unit Type Aws Native. Ec2. Spot Fleet Request Config Data Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection.
Default:
units
(the number of instances)- Terminate
Instances boolWith Expiration - Indicates whether running Spot Instances are terminated when the Spot Fleet request expires.
- Type
Pulumi.
Aws Native. Ec2. Spot Fleet Request Config Data Type - The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is
request
, the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value ismaintain
, the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default:maintain
.instant
is listed but is not used by Spot Fleet. - Valid
From string - The start date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). By default, Amazon EC2 starts fulfilling the request immediately.
- Valid
Until string - The end date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). After the end date and time, no new Spot Instance requests are placed or able to fulfill the request. If no value is specified, the Spot Fleet request remains until you cancel it.
- Iam
Fleet stringRole - The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For more information, see Spot Fleet Prerequisites in the Amazon EC2 User Guide . Spot Fleet can terminate Spot Instances on your behalf when you cancel its Spot Fleet request or when the Spot Fleet request expires, if you set
TerminateInstancesWithExpiration
. - Target
Capacity int - The number of units to request for the Spot Fleet. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - Allocation
Strategy SpotFleet Request Config Data Allocation Strategy The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide .
- priceCapacityOptimized (recommended) - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.
- capacityOptimized - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use
capacityOptimizedPrioritized
. Set a priority for each instance type by using thePriority
parameter forLaunchTemplateOverrides
. You can assign the same priority to differentLaunchTemplateOverrides
. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first.capacityOptimizedPrioritized
is supported only if your Spot Fleet uses a launch template. Note that if theOnDemandAllocationStrategy
is set toprioritized
, the same priority is applied when fulfilling On-Demand capacity. - diversified - Spot Fleet requests instances from all of the Spot Instance pools that you specify.
- lowestPrice (not recommended) - > We don't recommend the
lowestPrice
allocation strategy because it has the highest risk of interruption for your Spot Instances.
Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.
Default:
lowestPrice
- Context string
- Reserved.
- Excess
Capacity SpotTermination Policy Fleet Request Config Data Excess Capacity Termination Policy Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet.
Supported only for fleets of type
maintain
.- Instance
Interruption SpotBehavior Fleet Request Config Data Instance Interruption Behavior - The behavior when a Spot Instance is interrupted. The default is
terminate
. - Instance
Pools intTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to
lowest-price
. Spot Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that Spot 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, Spot 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.
- Launch
Specifications []SpotFleet Launch Specification - The launch specifications for the Spot Fleet request. If you specify
LaunchSpecifications
, you can't specifyLaunchTemplateConfigs
. - Launch
Template []SpotConfigs Fleet Launch Template Config - The launch template and overrides. If you specify
LaunchTemplateConfigs
, you can't specifyLaunchSpecifications
. - Load
Balancers SpotConfig Fleet Load Balancers Config One or more Classic Load Balancers and target groups to attach to the Spot Fleet request. Spot Fleet registers the running Spot Instances with the specified Classic Load Balancers and target groups.
With Network Load Balancers, Spot Fleet cannot register instances that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1.
- On
Demand stringAllocation Strategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify
lowestPrice
, Spot Fleet uses price to determine the order, launching the lowest price first. If you specifyprioritized
, Spot Fleet uses the priority that you assign to each Spot Fleet launch template override, launching the highest priority first. If you do not specify a value, Spot Fleet defaults tolowestPrice
. - On
Demand stringMax Total Price The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the
onDemandMaxTotalPrice
parameter, thespotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. TheonDemandMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified foronDemandMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- On
Demand intTarget Capacity - The number of On-Demand units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - Replace
Unhealthy boolInstances - Indicates whether Spot Fleet should replace unhealthy instances.
- Spot
Maintenance SpotStrategies Fleet Spot Maintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- Spot
Max stringTotal Price The maximum amount per hour for Spot Instances that you're willing to pay. You can use the
spotMaxTotalPrice
parameter, theonDemandMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. ThespotMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forspotMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- Spot
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.
- []Spot
Fleet Tag Specification - The key-value pair for tagging the Spot Fleet request on creation. The value for
ResourceType
must bespot-fleet-request
, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you useLaunchTemplateConfigs
) or in the[SpotFleetTagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)
(valid only if you useLaunchSpecifications
). For information about tagging after launch, see Tag your resources . - Target
Capacity SpotUnit Type Fleet Request Config Data Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection.
Default:
units
(the number of instances)- Terminate
Instances boolWith Expiration - Indicates whether running Spot Instances are terminated when the Spot Fleet request expires.
- Type
Spot
Fleet Request Config Data Type - The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is
request
, the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value ismaintain
, the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default:maintain
.instant
is listed but is not used by Spot Fleet. - Valid
From string - The start date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). By default, Amazon EC2 starts fulfilling the request immediately.
- Valid
Until string - The end date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). After the end date and time, no new Spot Instance requests are placed or able to fulfill the request. If no value is specified, the Spot Fleet request remains until you cancel it.
- iam
Fleet StringRole - The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For more information, see Spot Fleet Prerequisites in the Amazon EC2 User Guide . Spot Fleet can terminate Spot Instances on your behalf when you cancel its Spot Fleet request or when the Spot Fleet request expires, if you set
TerminateInstancesWithExpiration
. - target
Capacity Integer - The number of units to request for the Spot Fleet. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - allocation
Strategy SpotFleet Request Config Data Allocation Strategy The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide .
- priceCapacityOptimized (recommended) - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.
- capacityOptimized - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use
capacityOptimizedPrioritized
. Set a priority for each instance type by using thePriority
parameter forLaunchTemplateOverrides
. You can assign the same priority to differentLaunchTemplateOverrides
. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first.capacityOptimizedPrioritized
is supported only if your Spot Fleet uses a launch template. Note that if theOnDemandAllocationStrategy
is set toprioritized
, the same priority is applied when fulfilling On-Demand capacity. - diversified - Spot Fleet requests instances from all of the Spot Instance pools that you specify.
- lowestPrice (not recommended) - > We don't recommend the
lowestPrice
allocation strategy because it has the highest risk of interruption for your Spot Instances.
Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.
Default:
lowestPrice
- context String
- Reserved.
- excess
Capacity SpotTermination Policy Fleet Request Config Data Excess Capacity Termination Policy Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet.
Supported only for fleets of type
maintain
.- instance
Interruption SpotBehavior Fleet Request Config Data Instance Interruption Behavior - The behavior when a Spot Instance is interrupted. The default is
terminate
. - instance
Pools IntegerTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to
lowest-price
. Spot Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that Spot 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, Spot 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.
- launch
Specifications List<SpotFleet Launch Specification> - The launch specifications for the Spot Fleet request. If you specify
LaunchSpecifications
, you can't specifyLaunchTemplateConfigs
. - launch
Template List<SpotConfigs Fleet Launch Template Config> - The launch template and overrides. If you specify
LaunchTemplateConfigs
, you can't specifyLaunchSpecifications
. - load
Balancers SpotConfig Fleet Load Balancers Config One or more Classic Load Balancers and target groups to attach to the Spot Fleet request. Spot Fleet registers the running Spot Instances with the specified Classic Load Balancers and target groups.
With Network Load Balancers, Spot Fleet cannot register instances that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1.
- on
Demand StringAllocation Strategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify
lowestPrice
, Spot Fleet uses price to determine the order, launching the lowest price first. If you specifyprioritized
, Spot Fleet uses the priority that you assign to each Spot Fleet launch template override, launching the highest priority first. If you do not specify a value, Spot Fleet defaults tolowestPrice
. - on
Demand StringMax Total Price The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the
onDemandMaxTotalPrice
parameter, thespotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. TheonDemandMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified foronDemandMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- on
Demand IntegerTarget Capacity - The number of On-Demand units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - replace
Unhealthy BooleanInstances - Indicates whether Spot Fleet should replace unhealthy instances.
- spot
Maintenance SpotStrategies Fleet Spot Maintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- spot
Max StringTotal Price The maximum amount per hour for Spot Instances that you're willing to pay. You can use the
spotMaxTotalPrice
parameter, theonDemandMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. ThespotMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forspotMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- spot
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.
- List<Spot
Fleet Tag Specification> - The key-value pair for tagging the Spot Fleet request on creation. The value for
ResourceType
must bespot-fleet-request
, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you useLaunchTemplateConfigs
) or in the[SpotFleetTagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)
(valid only if you useLaunchSpecifications
). For information about tagging after launch, see Tag your resources . - target
Capacity SpotUnit Type Fleet Request Config Data Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection.
Default:
units
(the number of instances)- terminate
Instances BooleanWith Expiration - Indicates whether running Spot Instances are terminated when the Spot Fleet request expires.
- type
Spot
Fleet Request Config Data Type - The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is
request
, the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value ismaintain
, the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default:maintain
.instant
is listed but is not used by Spot Fleet. - valid
From String - The start date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). By default, Amazon EC2 starts fulfilling the request immediately.
- valid
Until String - The end date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). After the end date and time, no new Spot Instance requests are placed or able to fulfill the request. If no value is specified, the Spot Fleet request remains until you cancel it.
- iam
Fleet stringRole - The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For more information, see Spot Fleet Prerequisites in the Amazon EC2 User Guide . Spot Fleet can terminate Spot Instances on your behalf when you cancel its Spot Fleet request or when the Spot Fleet request expires, if you set
TerminateInstancesWithExpiration
. - target
Capacity number - The number of units to request for the Spot Fleet. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - allocation
Strategy SpotFleet Request Config Data Allocation Strategy The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide .
- priceCapacityOptimized (recommended) - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.
- capacityOptimized - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use
capacityOptimizedPrioritized
. Set a priority for each instance type by using thePriority
parameter forLaunchTemplateOverrides
. You can assign the same priority to differentLaunchTemplateOverrides
. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first.capacityOptimizedPrioritized
is supported only if your Spot Fleet uses a launch template. Note that if theOnDemandAllocationStrategy
is set toprioritized
, the same priority is applied when fulfilling On-Demand capacity. - diversified - Spot Fleet requests instances from all of the Spot Instance pools that you specify.
- lowestPrice (not recommended) - > We don't recommend the
lowestPrice
allocation strategy because it has the highest risk of interruption for your Spot Instances.
Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.
Default:
lowestPrice
- context string
- Reserved.
- excess
Capacity SpotTermination Policy Fleet Request Config Data Excess Capacity Termination Policy Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet.
Supported only for fleets of type
maintain
.- instance
Interruption SpotBehavior Fleet Request Config Data Instance Interruption Behavior - The behavior when a Spot Instance is interrupted. The default is
terminate
. - instance
Pools numberTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to
lowest-price
. Spot Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that Spot 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, Spot 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.
- launch
Specifications SpotFleet Launch Specification[] - The launch specifications for the Spot Fleet request. If you specify
LaunchSpecifications
, you can't specifyLaunchTemplateConfigs
. - launch
Template SpotConfigs Fleet Launch Template Config[] - The launch template and overrides. If you specify
LaunchTemplateConfigs
, you can't specifyLaunchSpecifications
. - load
Balancers SpotConfig Fleet Load Balancers Config One or more Classic Load Balancers and target groups to attach to the Spot Fleet request. Spot Fleet registers the running Spot Instances with the specified Classic Load Balancers and target groups.
With Network Load Balancers, Spot Fleet cannot register instances that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1.
- on
Demand stringAllocation Strategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify
lowestPrice
, Spot Fleet uses price to determine the order, launching the lowest price first. If you specifyprioritized
, Spot Fleet uses the priority that you assign to each Spot Fleet launch template override, launching the highest priority first. If you do not specify a value, Spot Fleet defaults tolowestPrice
. - on
Demand stringMax Total Price The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the
onDemandMaxTotalPrice
parameter, thespotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. TheonDemandMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified foronDemandMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- on
Demand numberTarget Capacity - The number of On-Demand units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - replace
Unhealthy booleanInstances - Indicates whether Spot Fleet should replace unhealthy instances.
- spot
Maintenance SpotStrategies Fleet Spot Maintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- spot
Max stringTotal Price The maximum amount per hour for Spot Instances that you're willing to pay. You can use the
spotMaxTotalPrice
parameter, theonDemandMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. ThespotMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forspotMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- spot
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.
- Spot
Fleet Tag Specification[] - The key-value pair for tagging the Spot Fleet request on creation. The value for
ResourceType
must bespot-fleet-request
, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you useLaunchTemplateConfigs
) or in the[SpotFleetTagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)
(valid only if you useLaunchSpecifications
). For information about tagging after launch, see Tag your resources . - target
Capacity SpotUnit Type Fleet Request Config Data Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection.
Default:
units
(the number of instances)- terminate
Instances booleanWith Expiration - Indicates whether running Spot Instances are terminated when the Spot Fleet request expires.
- type
Spot
Fleet Request Config Data Type - The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is
request
, the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value ismaintain
, the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default:maintain
.instant
is listed but is not used by Spot Fleet. - valid
From string - The start date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). By default, Amazon EC2 starts fulfilling the request immediately.
- valid
Until string - The end date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). After the end date and time, no new Spot Instance requests are placed or able to fulfill the request. If no value is specified, the Spot Fleet request remains until you cancel it.
- iam_
fleet_ strrole - The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For more information, see Spot Fleet Prerequisites in the Amazon EC2 User Guide . Spot Fleet can terminate Spot Instances on your behalf when you cancel its Spot Fleet request or when the Spot Fleet request expires, if you set
TerminateInstancesWithExpiration
. - target_
capacity int - The number of units to request for the Spot Fleet. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - allocation_
strategy SpotFleet Request Config Data Allocation Strategy The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide .
- priceCapacityOptimized (recommended) - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.
- capacityOptimized - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use
capacityOptimizedPrioritized
. Set a priority for each instance type by using thePriority
parameter forLaunchTemplateOverrides
. You can assign the same priority to differentLaunchTemplateOverrides
. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first.capacityOptimizedPrioritized
is supported only if your Spot Fleet uses a launch template. Note that if theOnDemandAllocationStrategy
is set toprioritized
, the same priority is applied when fulfilling On-Demand capacity. - diversified - Spot Fleet requests instances from all of the Spot Instance pools that you specify.
- lowestPrice (not recommended) - > We don't recommend the
lowestPrice
allocation strategy because it has the highest risk of interruption for your Spot Instances.
Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.
Default:
lowestPrice
- context str
- Reserved.
- excess_
capacity_ Spottermination_ policy Fleet Request Config Data Excess Capacity Termination Policy Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet.
Supported only for fleets of type
maintain
.- instance_
interruption_ Spotbehavior Fleet Request Config Data Instance Interruption Behavior - The behavior when a Spot Instance is interrupted. The default is
terminate
. - instance_
pools_ intto_ use_ count The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to
lowest-price
. Spot Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that Spot 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, Spot 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.
- launch_
specifications Sequence[SpotFleet Launch Specification] - The launch specifications for the Spot Fleet request. If you specify
LaunchSpecifications
, you can't specifyLaunchTemplateConfigs
. - launch_
template_ Sequence[Spotconfigs Fleet Launch Template Config] - The launch template and overrides. If you specify
LaunchTemplateConfigs
, you can't specifyLaunchSpecifications
. - load_
balancers_ Spotconfig Fleet Load Balancers Config One or more Classic Load Balancers and target groups to attach to the Spot Fleet request. Spot Fleet registers the running Spot Instances with the specified Classic Load Balancers and target groups.
With Network Load Balancers, Spot Fleet cannot register instances that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1.
- on_
demand_ strallocation_ strategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify
lowestPrice
, Spot Fleet uses price to determine the order, launching the lowest price first. If you specifyprioritized
, Spot Fleet uses the priority that you assign to each Spot Fleet launch template override, launching the highest priority first. If you do not specify a value, Spot Fleet defaults tolowestPrice
. - on_
demand_ strmax_ total_ price The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the
onDemandMaxTotalPrice
parameter, thespotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. TheonDemandMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified foronDemandMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- on_
demand_ inttarget_ capacity - The number of On-Demand units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - replace_
unhealthy_ boolinstances - Indicates whether Spot Fleet should replace unhealthy instances.
- spot_
maintenance_ Spotstrategies Fleet Spot Maintenance Strategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- spot_
max_ strtotal_ price The maximum amount per hour for Spot Instances that you're willing to pay. You can use the
spotMaxTotalPrice
parameter, theonDemandMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. ThespotMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forspotMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- spot_
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.
- tag_
specifications Sequence[SpotFleet Tag Specification] - The key-value pair for tagging the Spot Fleet request on creation. The value for
ResourceType
must bespot-fleet-request
, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you useLaunchTemplateConfigs
) or in the[SpotFleetTagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)
(valid only if you useLaunchSpecifications
). For information about tagging after launch, see Tag your resources . - target_
capacity_ Spotunit_ type Fleet Request Config Data Target Capacity Unit Type The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection.
Default:
units
(the number of instances)- terminate_
instances_ boolwith_ expiration - Indicates whether running Spot Instances are terminated when the Spot Fleet request expires.
- type
Spot
Fleet Request Config Data Type - The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is
request
, the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value ismaintain
, the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default:maintain
.instant
is listed but is not used by Spot Fleet. - valid_
from str - The start date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). By default, Amazon EC2 starts fulfilling the request immediately.
- valid_
until str - The end date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). After the end date and time, no new Spot Instance requests are placed or able to fulfill the request. If no value is specified, the Spot Fleet request remains until you cancel it.
- iam
Fleet StringRole - The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For more information, see Spot Fleet Prerequisites in the Amazon EC2 User Guide . Spot Fleet can terminate Spot Instances on your behalf when you cancel its Spot Fleet request or when the Spot Fleet request expires, if you set
TerminateInstancesWithExpiration
. - target
Capacity Number - The number of units to request for the Spot Fleet. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - allocation
Strategy "capacityOptimized" | "capacity Optimized Prioritized" | "diversified" | "lowest Price" | "price Capacity Optimized" The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide .
- priceCapacityOptimized (recommended) - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.
- capacityOptimized - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use
capacityOptimizedPrioritized
. Set a priority for each instance type by using thePriority
parameter forLaunchTemplateOverrides
. You can assign the same priority to differentLaunchTemplateOverrides
. EC2 implements the priorities on a best-effort basis, but optimizes for capacity first.capacityOptimizedPrioritized
is supported only if your Spot Fleet uses a launch template. Note that if theOnDemandAllocationStrategy
is set toprioritized
, the same priority is applied when fulfilling On-Demand capacity. - diversified - Spot Fleet requests instances from all of the Spot Instance pools that you specify.
- lowestPrice (not recommended) - > We don't recommend the
lowestPrice
allocation strategy because it has the highest risk of interruption for your Spot Instances.
Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates.
Default:
lowestPrice
- context String
- Reserved.
- excess
Capacity "Default" | "NoTermination Policy Termination" Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet.
Supported only for fleets of type
maintain
.- instance
Interruption "hibernate" | "stop" | "terminate"Behavior - The behavior when a Spot Instance is interrupted. The default is
terminate
. - instance
Pools NumberTo Use Count The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to
lowest-price
. Spot Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.Note that Spot 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, Spot 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.
- launch
Specifications List<Property Map> - The launch specifications for the Spot Fleet request. If you specify
LaunchSpecifications
, you can't specifyLaunchTemplateConfigs
. - launch
Template List<Property Map>Configs - The launch template and overrides. If you specify
LaunchTemplateConfigs
, you can't specifyLaunchSpecifications
. - load
Balancers Property MapConfig One or more Classic Load Balancers and target groups to attach to the Spot Fleet request. Spot Fleet registers the running Spot Instances with the specified Classic Load Balancers and target groups.
With Network Load Balancers, Spot Fleet cannot register instances that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1.
- on
Demand StringAllocation Strategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify
lowestPrice
, Spot Fleet uses price to determine the order, launching the lowest price first. If you specifyprioritized
, Spot Fleet uses the priority that you assign to each Spot Fleet launch template override, launching the highest priority first. If you do not specify a value, Spot Fleet defaults tolowestPrice
. - on
Demand StringMax Total Price The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the
onDemandMaxTotalPrice
parameter, thespotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. TheonDemandMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified foronDemandMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- on
Demand NumberTarget Capacity - The number of On-Demand units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is
maintain
, you can specify a target capacity of 0 and add capacity later. - replace
Unhealthy BooleanInstances - Indicates whether Spot Fleet should replace unhealthy instances.
- spot
Maintenance Property MapStrategies - The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
- spot
Max StringTotal Price The maximum amount per hour for Spot Instances that you're willing to pay. You can use the
spotMaxTotalPrice
parameter, theonDemandMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.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. ThespotMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified forspotMaxTotalPrice
. For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .- spot
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.
- List<Property Map>
- The key-value pair for tagging the Spot Fleet request on creation. The value for
ResourceType
must bespot-fleet-request
, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you useLaunchTemplateConfigs
) or in the[SpotFleetTagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)
(valid only if you useLaunchSpecifications
). For information about tagging after launch, see Tag your resources . - target
Capacity "vcpu" | "memory-mib" | "units"Unit Type The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection.
Default:
units
(the number of instances)- terminate
Instances BooleanWith Expiration - Indicates whether running Spot Instances are terminated when the Spot Fleet request expires.
- type "maintain" | "request"
- The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is
request
, the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value ismaintain
, the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default:maintain
.instant
is listed but is not used by Spot Fleet. - valid
From String - The start date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). By default, Amazon EC2 starts fulfilling the request immediately.
- valid
Until String - The end date and time of the request, in UTC format ( YYYY - MM - DD T HH : MM : SS Z). After the end date and time, no new Spot Instance requests are placed or able to fulfill the request. If no value is specified, the Spot Fleet request remains until you cancel it.
SpotFleetRequestConfigDataAllocationStrategy, SpotFleetRequestConfigDataAllocationStrategyArgs
- Capacity
Optimized - capacityOptimized
- Capacity
Optimized Prioritized - capacityOptimizedPrioritized
- Diversified
- diversified
- Lowest
Price - lowestPrice
- Price
Capacity Optimized - priceCapacityOptimized
- Spot
Fleet Request Config Data Allocation Strategy Capacity Optimized - capacityOptimized
- Spot
Fleet Request Config Data Allocation Strategy Capacity Optimized Prioritized - capacityOptimizedPrioritized
- Spot
Fleet Request Config Data Allocation Strategy Diversified - diversified
- Spot
Fleet Request Config Data Allocation Strategy Lowest Price - lowestPrice
- Spot
Fleet Request Config Data Allocation Strategy Price Capacity Optimized - priceCapacityOptimized
- Capacity
Optimized - capacityOptimized
- Capacity
Optimized Prioritized - capacityOptimizedPrioritized
- Diversified
- diversified
- Lowest
Price - lowestPrice
- Price
Capacity Optimized - priceCapacityOptimized
- Capacity
Optimized - capacityOptimized
- Capacity
Optimized Prioritized - capacityOptimizedPrioritized
- Diversified
- diversified
- Lowest
Price - lowestPrice
- Price
Capacity Optimized - priceCapacityOptimized
- CAPACITY_OPTIMIZED
- capacityOptimized
- CAPACITY_OPTIMIZED_PRIORITIZED
- capacityOptimizedPrioritized
- DIVERSIFIED
- diversified
- LOWEST_PRICE
- lowestPrice
- PRICE_CAPACITY_OPTIMIZED
- priceCapacityOptimized
- "capacity
Optimized" - capacityOptimized
- "capacity
Optimized Prioritized" - capacityOptimizedPrioritized
- "diversified"
- diversified
- "lowest
Price" - lowestPrice
- "price
Capacity Optimized" - priceCapacityOptimized
SpotFleetRequestConfigDataExcessCapacityTerminationPolicy, SpotFleetRequestConfigDataExcessCapacityTerminationPolicyArgs
- Default
- Default
- No
Termination - NoTermination
- Spot
Fleet Request Config Data Excess Capacity Termination Policy Default - Default
- Spot
Fleet Request Config Data Excess Capacity Termination Policy No Termination - NoTermination
- Default
- Default
- No
Termination - NoTermination
- Default
- Default
- No
Termination - NoTermination
- DEFAULT
- Default
- NO_TERMINATION
- NoTermination
- "Default"
- Default
- "No
Termination" - NoTermination
SpotFleetRequestConfigDataInstanceInterruptionBehavior, SpotFleetRequestConfigDataInstanceInterruptionBehaviorArgs
- Hibernate
- hibernate
- Stop
- stop
- Terminate
- terminate
- Spot
Fleet Request Config Data Instance Interruption Behavior Hibernate - hibernate
- Spot
Fleet Request Config Data Instance Interruption Behavior Stop - stop
- Spot
Fleet Request Config Data 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
SpotFleetRequestConfigDataTargetCapacityUnitType, SpotFleetRequestConfigDataTargetCapacityUnitTypeArgs
- Vcpu
- vcpu
- Memory
Mib - memory-mib
- Units
- units
- Spot
Fleet Request Config Data Target Capacity Unit Type Vcpu - vcpu
- Spot
Fleet Request Config Data Target Capacity Unit Type Memory Mib - memory-mib
- Spot
Fleet Request Config Data 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
SpotFleetRequestConfigDataType, SpotFleetRequestConfigDataTypeArgs
- Maintain
- maintain
- Request
- request
- Spot
Fleet Request Config Data Type Maintain - maintain
- Spot
Fleet Request Config Data Type Request - request
- Maintain
- maintain
- Request
- request
- Maintain
- maintain
- Request
- request
- MAINTAIN
- maintain
- REQUEST
- request
- "maintain"
- maintain
- "request"
- request
SpotFleetSpotCapacityRebalance, SpotFleetSpotCapacityRebalanceArgs
- Replacement
Strategy Pulumi.Aws Native. Ec2. Spot Fleet Spot Capacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot 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
- Spot Fleet launches a new 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 SpotFleet Spot Capacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot 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
- Spot Fleet launches a new 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 SpotFleet Spot Capacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot 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
- Spot Fleet launches a new 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 SpotFleet Spot Capacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot 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
- Spot Fleet launches a new 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 SpotFleet Spot Capacity Rebalance Replacement Strategy The replacement strategy to use. Only available for fleets of type
maintain
.launch
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot 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
- Spot Fleet launches a new 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
- Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot 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
- Spot Fleet launches a new 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.
SpotFleetSpotCapacityRebalanceReplacementStrategy, SpotFleetSpotCapacityRebalanceReplacementStrategyArgs
- Launch
- launch
- Launch
Before Terminate - launch-before-terminate
- Spot
Fleet Spot Capacity Rebalance Replacement Strategy Launch - launch
- Spot
Fleet Spot 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
SpotFleetSpotMaintenanceStrategies, SpotFleetSpotMaintenanceStrategiesArgs
- Capacity
Rebalance Pulumi.Aws Native. Ec2. Inputs. Spot Fleet Spot Capacity Rebalance - The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
- Capacity
Rebalance SpotFleet Spot Capacity Rebalance - The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
- capacity
Rebalance SpotFleet Spot Capacity Rebalance - The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
- capacity
Rebalance SpotFleet Spot Capacity Rebalance - The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
- capacity_
rebalance SpotFleet Spot Capacity Rebalance - The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
- capacity
Rebalance Property Map - The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
SpotFleetSpotPlacement, SpotFleetSpotPlacementArgs
- Availability
Zone string The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
- Group
Name string - The name of the placement group.
- Tenancy
Pulumi.
Aws Native. Ec2. Spot Fleet Spot Placement Tenancy - The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicated
runs on single-tenant hardware. Thehost
tenancy is not supported for Spot Instances.
- Availability
Zone string The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
- Group
Name string - The name of the placement group.
- Tenancy
Spot
Fleet Spot Placement Tenancy - The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicated
runs on single-tenant hardware. Thehost
tenancy is not supported for Spot Instances.
- availability
Zone String The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
- group
Name String - The name of the placement group.
- tenancy
Spot
Fleet Spot Placement Tenancy - The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicated
runs on single-tenant hardware. Thehost
tenancy is not supported for Spot Instances.
- availability
Zone string The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
- group
Name string - The name of the placement group.
- tenancy
Spot
Fleet Spot Placement Tenancy - The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicated
runs on single-tenant hardware. Thehost
tenancy is not supported for Spot Instances.
- availability_
zone str The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
- group_
name str - The name of the placement group.
- tenancy
Spot
Fleet Spot Placement Tenancy - The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicated
runs on single-tenant hardware. Thehost
tenancy is not supported for Spot Instances.
- availability
Zone String The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
- group
Name String - The name of the placement group.
- tenancy "dedicated" | "default" | "host"
- The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicated
runs on single-tenant hardware. Thehost
tenancy is not supported for Spot Instances.
SpotFleetSpotPlacementTenancy, SpotFleetSpotPlacementTenancyArgs
- Dedicated
- dedicated
- Default
- default
- Host
- host
- Spot
Fleet Spot Placement Tenancy Dedicated - dedicated
- Spot
Fleet Spot Placement Tenancy Default - default
- Spot
Fleet Spot Placement Tenancy Host - host
- Dedicated
- dedicated
- Default
- default
- Host
- host
- Dedicated
- dedicated
- Default
- default
- Host
- host
- DEDICATED
- dedicated
- DEFAULT
- default
- HOST
- host
- "dedicated"
- dedicated
- "default"
- default
- "host"
- host
SpotFleetTag, SpotFleetTagArgs
SpotFleetTagSpecification, SpotFleetTagSpecificationArgs
- Resource
Type Pulumi.Aws Native. Ec2. Spot Fleet Tag Specification Resource Type - The type of resource. Currently, the only resource type that is supported is
instance
. To tag the Spot Fleet request on creation, use theTagSpecifications
parameter in[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)
. - List<Pulumi.
Aws Native. Ec2. Inputs. Spot Fleet Tag> - The tags.
- Resource
Type SpotFleet Tag Specification Resource Type - The type of resource. Currently, the only resource type that is supported is
instance
. To tag the Spot Fleet request on creation, use theTagSpecifications
parameter in[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)
. - []Spot
Fleet Tag - The tags.
- resource
Type SpotFleet Tag Specification Resource Type - The type of resource. Currently, the only resource type that is supported is
instance
. To tag the Spot Fleet request on creation, use theTagSpecifications
parameter in[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)
. - List<Spot
Fleet Tag> - The tags.
- resource
Type SpotFleet Tag Specification Resource Type - The type of resource. Currently, the only resource type that is supported is
instance
. To tag the Spot Fleet request on creation, use theTagSpecifications
parameter in[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)
. - Spot
Fleet Tag[] - The tags.
- resource_
type SpotFleet Tag Specification Resource Type - The type of resource. Currently, the only resource type that is supported is
instance
. To tag the Spot Fleet request on creation, use theTagSpecifications
parameter in[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)
. - Sequence[Spot
Fleet Tag] - The tags.
- 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. Currently, the only resource type that is supported is
instance
. To tag the Spot Fleet request on creation, use theTagSpecifications
parameter in[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)
. - List<Property Map>
- The tags.
SpotFleetTagSpecificationResourceType, SpotFleetTagSpecificationResourceTypeArgs
- 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
- Spot
Fleet Tag Specification Resource Type Client Vpn Endpoint - client-vpn-endpoint
- Spot
Fleet Tag Specification Resource Type Customer Gateway - customer-gateway
- Spot
Fleet Tag Specification Resource Type Dedicated Host - dedicated-host
- Spot
Fleet Tag Specification Resource Type Dhcp Options - dhcp-options
- Spot
Fleet Tag Specification Resource Type Egress Only Internet Gateway - egress-only-internet-gateway
- Spot
Fleet Tag Specification Resource Type Elastic Gpu - elastic-gpu
- Spot
Fleet Tag Specification Resource Type Elastic Ip - elastic-ip
- Spot
Fleet Tag Specification Resource Type Export Image Task - export-image-task
- Spot
Fleet Tag Specification Resource Type Export Instance Task - export-instance-task
- Spot
Fleet Tag Specification Resource Type Fleet - fleet
- Spot
Fleet Tag Specification Resource Type Fpga Image - fpga-image
- Spot
Fleet Tag Specification Resource Type Host Reservation - host-reservation
- Spot
Fleet Tag Specification Resource Type Image - image
- Spot
Fleet Tag Specification Resource Type Import Image Task - import-image-task
- Spot
Fleet Tag Specification Resource Type Import Snapshot Task - import-snapshot-task
- Spot
Fleet Tag Specification Resource Type Instance - instance
- Spot
Fleet Tag Specification Resource Type Internet Gateway - internet-gateway
- Spot
Fleet Tag Specification Resource Type Key Pair - key-pair
- Spot
Fleet Tag Specification Resource Type Launch Template - launch-template
- Spot
Fleet Tag Specification Resource Type Local Gateway Route Table Vpc Association - local-gateway-route-table-vpc-association
- Spot
Fleet Tag Specification Resource Type Natgateway - natgateway
- Spot
Fleet Tag Specification Resource Type Network Acl - network-acl
- Spot
Fleet Tag Specification Resource Type Network Insights Analysis - network-insights-analysis
- Spot
Fleet Tag Specification Resource Type Network Insights Path - network-insights-path
- Spot
Fleet Tag Specification Resource Type Network Interface - network-interface
- Spot
Fleet Tag Specification Resource Type Placement Group - placement-group
- Spot
Fleet Tag Specification Resource Type Reserved Instances - reserved-instances
- Spot
Fleet Tag Specification Resource Type Route Table - route-table
- Spot
Fleet Tag Specification Resource Type Security Group - security-group
- Spot
Fleet Tag Specification Resource Type Snapshot - snapshot
- Spot
Fleet Tag Specification Resource Type Spot Fleet Request - spot-fleet-request
- Spot
Fleet Tag Specification Resource Type Spot Instances Request - spot-instances-request
- Spot
Fleet Tag Specification Resource Type Subnet - subnet
- Spot
Fleet Tag Specification Resource Type Traffic Mirror Filter - traffic-mirror-filter
- Spot
Fleet Tag Specification Resource Type Traffic Mirror Session - traffic-mirror-session
- Spot
Fleet Tag Specification Resource Type Traffic Mirror Target - traffic-mirror-target
- Spot
Fleet Tag Specification Resource Type Transit Gateway - transit-gateway
- Spot
Fleet Tag Specification Resource Type Transit Gateway Attachment - transit-gateway-attachment
- Spot
Fleet Tag Specification Resource Type Transit Gateway Connect Peer - transit-gateway-connect-peer
- Spot
Fleet Tag Specification Resource Type Transit Gateway Multicast Domain - transit-gateway-multicast-domain
- Spot
Fleet Tag Specification Resource Type Transit Gateway Route Table - transit-gateway-route-table
- Spot
Fleet Tag Specification Resource Type Volume - volume
- Spot
Fleet Tag Specification Resource Type Vpc - vpc
- Spot
Fleet Tag Specification Resource Type Vpc Flow Log - vpc-flow-log
- Spot
Fleet Tag Specification Resource Type Vpc Peering Connection - vpc-peering-connection
- Spot
Fleet Tag Specification Resource Type Vpn Connection - vpn-connection
- Spot
Fleet 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
SpotFleetTargetGroup, SpotFleetTargetGroupArgs
- Arn string
- The Amazon Resource Name (ARN) of the target group.
- Arn string
- The Amazon Resource Name (ARN) of the target group.
- arn String
- The Amazon Resource Name (ARN) of the target group.
- arn string
- The Amazon Resource Name (ARN) of the target group.
- arn str
- The Amazon Resource Name (ARN) of the target group.
- arn String
- The Amazon Resource Name (ARN) of the target group.
SpotFleetTargetGroupsConfig, SpotFleetTargetGroupsConfigArgs
- Target
Groups List<Pulumi.Aws Native. Ec2. Inputs. Spot Fleet Target Group> - One or more target groups.
- Target
Groups []SpotFleet Target Group - One or more target groups.
- target
Groups List<SpotFleet Target Group> - One or more target groups.
- target
Groups SpotFleet Target Group[] - One or more target groups.
- target_
groups Sequence[SpotFleet Target Group] - One or more target groups.
- target
Groups List<Property Map> - One or more target groups.
SpotFleetTotalLocalStorageGbRequest, SpotFleetTotalLocalStorageGbRequestArgs
SpotFleetVCpuCountRangeRequest, SpotFleetVCpuCountRangeRequestArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.