Skip to content

EC2  >  Dictionaries  >  RequestSpotLaunchSpecificationDict

RequestSpotLaunchSpecificationDict

Dictionary Type

RequestSpotLaunchSpecificationDict

Bases: TypedDict

Dictionary form of RequestSpotLaunchSpecification.

Attributes

addressing_type instance-attribute
addressing_type: str | None

Deprecated.

block_device_mappings instance-attribute
block_device_mappings: Sequence[BlockDeviceMapping | BlockDeviceMappingDict] | None

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

ebs_optimized instance-attribute
ebs_optimized: bool | None

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

iam_instance_profile instance-attribute

The IAM instance profile.

image_id instance-attribute
image_id: str | None

The ID of the AMI.

instance_type instance-attribute
instance_type: str | None

The instance type. Only one instance type can be specified.

kernel_id instance-attribute
kernel_id: str | None

The ID of the kernel.

key_name instance-attribute
key_name: str | None

The name of the key pair.

monitoring instance-attribute

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

Default: Disabled

network_interfaces instance-attribute

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

placement instance-attribute
placement: SpotPlacement | SpotPlacementDict | None

The placement information for the instance.

ramdisk_id instance-attribute
ramdisk_id: str | None

The ID of the RAM disk.

security_group_ids instance-attribute
security_group_ids: Sequence[str] | None

The IDs of the security groups.

security_groups instance-attribute
security_groups: Sequence[str] | None

Not supported.

subnet_id instance-attribute
subnet_id: str | None

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

user_data instance-attribute
user_data: str | None

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