Skip to content

EC2  >  Structures  >  ScheduledInstancesLaunchSpecification

ScheduledInstancesLaunchSpecification

Structure Class

ScheduledInstancesLaunchSpecification dataclass

Bases: _SerdeShape

Describes the launch specification for a Scheduled Instance.

If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet. You can specify the subnet using either SubnetId or NetworkInterface.

Attributes

block_device_mappings class-attribute instance-attribute
block_device_mappings: list[ScheduledInstancesBlockDeviceMapping] | None = ...

The block device mapping entries.

ebs_optimized class-attribute instance-attribute
ebs_optimized: bool | None = ...

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

iam_instance_profile class-attribute instance-attribute
iam_instance_profile: ScheduledInstancesIamInstanceProfile | None = ...

The IAM instance profile.

image_id class-attribute instance-attribute
image_id: str | None = ...

The ID of the Amazon Machine Image (AMI).

instance_type class-attribute instance-attribute
instance_type: str | None = ...

The instance type.

kernel_id class-attribute instance-attribute
kernel_id: str | None = ...

The ID of the kernel.

key_name class-attribute instance-attribute
key_name: str | None = ...

The name of the key pair.

monitoring class-attribute instance-attribute
monitoring: ScheduledInstancesMonitoring | None = ...

Enable or disable monitoring for the instances.

network_interfaces class-attribute instance-attribute
network_interfaces: list[ScheduledInstancesNetworkInterface] | None = ...

The network interfaces.

placement class-attribute instance-attribute
placement: ScheduledInstancesPlacement | None = ...

The placement information.

ramdisk_id class-attribute instance-attribute
ramdisk_id: str | None = ...

The ID of the RAM disk.

security_group_ids class-attribute instance-attribute
security_group_ids: list[str] | None = ...

The IDs of the security groups.

subnet_id class-attribute instance-attribute
subnet_id: str | None = ...

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

user_data class-attribute instance-attribute
user_data: str | None = ...

The base64-encoded MIME user data.