Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SpotFleetLaunchSpecification

import type { SpotFleetLaunchSpecification } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";

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.

interface SpotFleetLaunchSpecification {
AddressingType?: string | null;
BlockDeviceMappings?: BlockDeviceMapping[] | null;
EbsOptimized?: boolean | null;
IamInstanceProfile?: IamInstanceProfileSpecification | null;
ImageId?: string | null;
InstanceRequirements?: InstanceRequirements | null;
InstanceType?: InstanceType | null;
KernelId?: string | null;
KeyName?: string | null;
Monitoring?: SpotFleetMonitoring | null;
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | null;
Placement?: SpotPlacement | null;
RamdiskId?: string | null;
SecurityGroups?: GroupIdentifier[] | null;
SpotPrice?: string | null;
SubnetId?: string | null;
TagSpecifications?: SpotFleetTagSpecification[] | null;
UserData?: string | null;
WeightedCapacity?: number | null;
}

§Properties

§
AddressingType?: string | null
[src]

Deprecated.

§
BlockDeviceMappings?: BlockDeviceMapping[] | null
[src]

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.

§
EbsOptimized?: boolean | null
[src]

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

§
IamInstanceProfile?: IamInstanceProfileSpecification | null
[src]

The IAM instance profile.

§
ImageId?: string | null
[src]

The ID of the AMI.

§
InstanceRequirements?: InstanceRequirements | null
[src]

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

Note: If you specify InstanceRequirements, you can't specify InstanceTypes.

§
InstanceType?: InstanceType | null
[src]

The instance type.

§
KernelId?: string | null
[src]

The ID of the kernel.

§
KeyName?: string | null
[src]

The name of the key pair.

§
Monitoring?: SpotFleetMonitoring | null
[src]

Enable or disable monitoring for the instances.

§
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | null
[src]

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Note: SpotFleetLaunchSpecification currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig.

§
Placement?: SpotPlacement | null
[src]

The placement information.

§
RamdiskId?: string | null
[src]

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.

§
SecurityGroups?: GroupIdentifier[] | null
[src]

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

§
SpotPrice?: string | null
[src]

The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity.

§
SubnetId?: string | null
[src]

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

§
TagSpecifications?: SpotFleetTagSpecification[] | null
[src]

The tags to apply during creation.

§
UserData?: string | null
[src]

The Base64-encoded user data that instances use when starting up.

§
WeightedCapacity?: number | null
[src]

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.