SpotFleetLaunchSpecification

Describes the launch specification for one or more Spot Instances. If you include On-Demand capacity in your fleet request or want to specify an EFA network device, you can't use SpotFleetLaunchSpecification; you must use LaunchTemplateConfig.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Deprecated.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

The ID of the AMI.

Link copied to clipboard

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

Link copied to clipboard

The instance type.

Link copied to clipboard

The ID of the kernel.

Link copied to clipboard

The name of the key pair.

Link copied to clipboard

Enable or disable monitoring for the instances.

Link copied to clipboard
Link copied to clipboard

The placement information.

Link copied to clipboard

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 Amazon Web Services Resource Center and search for the kernel ID.

Link copied to clipboard

The security groups.

Link copied to clipboard

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.

Link copied to clipboard

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".

Link copied to clipboard

The tags to apply during creation.

Link copied to clipboard

The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.

Link copied to clipboard

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.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String