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

RequestSpotLaunchSpecification

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

Describes the launch specification for an instance.

interface RequestSpotLaunchSpecification {
AddressingType?: string | null;
BlockDeviceMappings?: BlockDeviceMapping[] | null;
EbsOptimized?: boolean | null;
IamInstanceProfile?: IamInstanceProfileSpecification | null;
ImageId?: string | null;
InstanceType?: InstanceType | null;
KernelId?: string | null;
KeyName?: string | null;
Monitoring?: RunInstancesMonitoringEnabled | null;
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | null;
Placement?: SpotPlacement | null;
RamdiskId?: string | null;
SecurityGroupIds?: string[] | null;
SecurityGroups?: string[] | null;
SubnetId?: string | null;
UserData?: string | null;
}

§Properties

§
AddressingType?: string | null
[src]

Deprecated.

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

One or more block device mapping entries. 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 instance is 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.

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

§

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

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

§
Placement?: SpotPlacement | null
[src]

The placement information for the instance.

§
RamdiskId?: string | null
[src]

The ID of the RAM disk.

§
SecurityGroupIds?: string[] | null
[src]

One or more security group IDs.

§
SecurityGroups?: string[] | 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.

§
SubnetId?: string | null
[src]

The ID of the subnet in which to launch the instance.

§
UserData?: string | null
[src]

The Base64-encoded user data for the instance. User data is limited to 16 KB.