SpotFleetLaunchSpecificationArgs

data class SpotFleetLaunchSpecificationArgs(val blockDeviceMappings: Output<List<SpotFleetBlockDeviceMappingArgs>>? = null, val ebsOptimized: Output<Boolean>? = null, val iamInstanceProfile: Output<SpotFleetIamInstanceProfileSpecificationArgs>? = null, val imageId: Output<String>, val instanceRequirements: Output<SpotFleetInstanceRequirementsRequestArgs>? = null, val instanceType: Output<String>? = null, val kernelId: Output<String>? = null, val keyName: Output<String>? = null, val monitoring: Output<SpotFleetMonitoringArgs>? = null, val networkInterfaces: Output<List<SpotFleetInstanceNetworkInterfaceSpecificationArgs>>? = null, val placement: Output<SpotFleetSpotPlacementArgs>? = null, val ramdiskId: Output<String>? = null, val securityGroups: Output<List<SpotFleetGroupIdentifierArgs>>? = null, val spotPrice: Output<String>? = null, val subnetId: Output<String>? = null, val tagSpecifications: Output<List<SpotFleetTagSpecificationArgs>>? = null, val userData: Output<String>? = null, val weightedCapacity: Output<Double>? = null) : ConvertibleToJava<SpotFleetLaunchSpecificationArgs>

Constructors

Link copied to clipboard
constructor(blockDeviceMappings: Output<List<SpotFleetBlockDeviceMappingArgs>>? = null, ebsOptimized: Output<Boolean>? = null, iamInstanceProfile: Output<SpotFleetIamInstanceProfileSpecificationArgs>? = null, imageId: Output<String>, instanceRequirements: Output<SpotFleetInstanceRequirementsRequestArgs>? = null, instanceType: Output<String>? = null, kernelId: Output<String>? = null, keyName: Output<String>? = null, monitoring: Output<SpotFleetMonitoringArgs>? = null, networkInterfaces: Output<List<SpotFleetInstanceNetworkInterfaceSpecificationArgs>>? = null, placement: Output<SpotFleetSpotPlacementArgs>? = null, ramdiskId: Output<String>? = null, securityGroups: Output<List<SpotFleetGroupIdentifierArgs>>? = null, spotPrice: Output<String>? = null, subnetId: Output<String>? = null, tagSpecifications: Output<List<SpotFleetTagSpecificationArgs>>? = null, userData: Output<String>? = null, weightedCapacity: Output<Double>? = null)

Properties

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
val ebsOptimized: Output<Boolean>? = null

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

Link copied to clipboard

The IAM instance profile.

Link copied to clipboard
val imageId: Output<String>

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
val instanceType: Output<String>? = null

The instance type.

Link copied to clipboard
val kernelId: Output<String>? = null

The ID of the kernel.

Link copied to clipboard
val keyName: Output<String>? = null

The name of the key pair.

Link copied to clipboard
val monitoring: Output<SpotFleetMonitoringArgs>? = null

Enable or disable monitoring for the instances.

Link copied to clipboard
Link copied to clipboard

The placement information.

Link copied to clipboard
val ramdiskId: Output<String>? = null

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.

Link copied to clipboard

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.

Link copied to clipboard
val spotPrice: Output<String>? = null

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
val subnetId: Output<String>? = null

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.

Link copied to clipboard

The tags to apply during creation.

Link copied to clipboard
val userData: Output<String>? = null

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

Link copied to clipboard
val weightedCapacity: Output<Double>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): SpotFleetLaunchSpecificationArgs