ResponseLaunchTemplateData
¶
Source code in docs_src/capo_ec2/types/response_launch_template_data.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | |
block_device_mappings
instance-attribute
¶
block_device_mappings: NotRequired[LaunchTemplateBlockDeviceMappingList]
The block device mappings.
capacity_reservation_specification
instance-attribute
¶
capacity_reservation_specification: NotRequired[
LaunchTemplateCapacityReservationSpecificationResponse
]
Information about the Capacity Reservation targeting option.
cpu_options
instance-attribute
¶
cpu_options: NotRequired[LaunchTemplateCpuOptions]
The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
credit_specification
instance-attribute
¶
credit_specification: NotRequired[CreditSpecification]
The credit option for CPU usage of the instance.
disable_api_stop
instance-attribute
¶
disable_api_stop: NotRequired[Boolean]
Indicates whether the instance is enabled for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
disable_api_termination
instance-attribute
¶
disable_api_termination: NotRequired[Boolean]
If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.
ebs_optimized
instance-attribute
¶
ebs_optimized: NotRequired[Boolean]
Indicates whether the instance is optimized for Amazon EBS I/O.
elastic_gpu_specifications
instance-attribute
¶
elastic_gpu_specifications: NotRequired[ElasticGpuSpecificationResponseList]
Deprecated.
Amazon Elastic Graphics reached end of life on January 8, 2024.
elastic_inference_accelerators
instance-attribute
¶
elastic_inference_accelerators: NotRequired[
LaunchTemplateElasticInferenceAcceleratorResponseList
]
Amazon Elastic Inference is no longer available.
An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
You cannot specify accelerators from different generations in the same request.
enclave_options
instance-attribute
¶
enclave_options: NotRequired[LaunchTemplateEnclaveOptions]
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
hibernation_options
instance-attribute
¶
hibernation_options: NotRequired[LaunchTemplateHibernationOptions]
Indicates whether an instance is configured for hibernation. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
iam_instance_profile
instance-attribute
¶
iam_instance_profile: NotRequired[LaunchTemplateIamInstanceProfileSpecification]
The IAM instance profile.
image_id
instance-attribute
¶
image_id: NotRequired[String]
The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter will resolve to the ID of the AMI at instance launch.
The value depends on what you specified in the request. The possible values are:
-
If an AMI ID was specified in the request, then this is the AMI ID.
-
If a Systems Manager parameter was specified in the request, and
ResolveAliaswas configured astrue, then this is the AMI ID that the parameter is mapped to in the Parameter Store. -
If a Systems Manager parameter was specified in the request, and
ResolveAliaswas configured asfalse, then this is the parameter value.
For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide.
instance_initiated_shutdown_behavior
instance-attribute
¶
instance_initiated_shutdown_behavior: NotRequired[ShutdownBehavior]
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instance_market_options
instance-attribute
¶
instance_market_options: NotRequired[LaunchTemplateInstanceMarketOptions]
The market (purchasing) option for the instances.
instance_requirements
instance-attribute
¶
instance_requirements: NotRequired[InstanceRequirements]
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
If you specify InstanceRequirements, you can't specify InstanceTypes.
license_specifications
instance-attribute
¶
license_specifications: NotRequired[LaunchTemplateLicenseList]
The license configurations.
maintenance_options
instance-attribute
¶
maintenance_options: NotRequired[LaunchTemplateInstanceMaintenanceOptions]
The maintenance options for your instance.
metadata_options
instance-attribute
¶
metadata_options: NotRequired[LaunchTemplateInstanceMetadataOptions]
The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
monitoring
instance-attribute
¶
monitoring: NotRequired[LaunchTemplatesMonitoring]
The monitoring for the instance.
network_interfaces
instance-attribute
¶
network_interfaces: NotRequired[LaunchTemplateInstanceNetworkInterfaceSpecificationList]
The network interfaces.
network_performance_options
instance-attribute
¶
network_performance_options: NotRequired[LaunchTemplateNetworkPerformanceOptions]
Contains the launch template settings for network performance options for your instance.
operator
instance-attribute
¶
operator: NotRequired[OperatorResponse]
The entity that manages the launch template.
placement
instance-attribute
¶
placement: NotRequired[LaunchTemplatePlacement]
The placement of the instance.
private_dns_name_options
instance-attribute
¶
private_dns_name_options: NotRequired[LaunchTemplatePrivateDnsNameOptions]
The options for the instance hostname.
ram_disk_id
instance-attribute
¶
ram_disk_id: NotRequired[String]
The ID of the RAM disk, if applicable.
secondary_interfaces
instance-attribute
¶
secondary_interfaces: NotRequired[
LaunchTemplateInstanceSecondaryInterfaceSpecificationList
]
The secondary interfaces associated with the launch template.
security_group_ids
instance-attribute
¶
security_group_ids: NotRequired[ValueStringList]
The security group IDs.
security_groups
instance-attribute
¶
security_groups: NotRequired[ValueStringList]
The security group names.
tag_specifications
instance-attribute
¶
tag_specifications: NotRequired[LaunchTemplateTagSpecificationList]
The tags that are applied to the resources that are created during instance launch.
user_data
instance-attribute
¶
user_data: NotRequired[SensitiveUserData]
The user data for the instance.