LaunchSpecification
¶
Source code in docs_src/capo_ec2/types/launch_specification.py
block_device_mappings
instance-attribute
¶
block_device_mappings: NotRequired[BlockDeviceMappingList]
The block device mapping entries.
ebs_optimized
instance-attribute
¶
ebs_optimized: NotRequired[Boolean]
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
¶
iam_instance_profile: NotRequired[IamInstanceProfileSpecification]
The IAM instance profile.
instance_type
instance-attribute
¶
instance_type: NotRequired[InstanceType]
The instance type. Only one instance type can be specified.
network_interfaces
instance-attribute
¶
network_interfaces: NotRequired[InstanceNetworkInterfaceSpecificationList]
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: NotRequired[SpotPlacement]
The placement information for the instance.
security_groups
instance-attribute
¶
security_groups: NotRequired[GroupIdentifierList]
The IDs of the security groups.
subnet_id
instance-attribute
¶
subnet_id: NotRequired[String]
The ID of the subnet in which to launch the instance.
user_data
instance-attribute
¶
user_data: NotRequired[SensitiveUserData]
The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.