pub struct ResponseLaunchTemplateData {Show 26 fields
pub block_device_mappings: Option<Vec<LaunchTemplateBlockDeviceMapping>>,
pub capacity_reservation_specification: Option<LaunchTemplateCapacityReservationSpecificationResponse>,
pub cpu_options: Option<LaunchTemplateCpuOptions>,
pub credit_specification: Option<CreditSpecification>,
pub disable_api_termination: Option<bool>,
pub ebs_optimized: Option<bool>,
pub elastic_gpu_specifications: Option<Vec<ElasticGpuSpecificationResponse>>,
pub elastic_inference_accelerators: Option<Vec<LaunchTemplateElasticInferenceAcceleratorResponse>>,
pub hibernation_options: Option<LaunchTemplateHibernationOptions>,
pub iam_instance_profile: Option<LaunchTemplateIamInstanceProfileSpecification>,
pub image_id: Option<String>,
pub instance_initiated_shutdown_behavior: Option<String>,
pub instance_market_options: Option<LaunchTemplateInstanceMarketOptions>,
pub instance_type: Option<String>,
pub kernel_id: Option<String>,
pub key_name: Option<String>,
pub license_specifications: Option<Vec<LaunchTemplateLicenseConfiguration>>,
pub metadata_options: Option<LaunchTemplateInstanceMetadataOptions>,
pub monitoring: Option<LaunchTemplatesMonitoring>,
pub network_interfaces: Option<Vec<LaunchTemplateInstanceNetworkInterfaceSpecification>>,
pub placement: Option<LaunchTemplatePlacement>,
pub ram_disk_id: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub security_groups: Option<Vec<String>>,
pub tag_specifications: Option<Vec<LaunchTemplateTagSpecification>>,
pub user_data: Option<String>,
}Expand description
The information for a launch template.
Fields§
§block_device_mappings: Option<Vec<LaunchTemplateBlockDeviceMapping>>The block device mappings.
capacity_reservation_specification: Option<LaunchTemplateCapacityReservationSpecificationResponse>Information about the Capacity Reservation targeting option.
cpu_options: Option<LaunchTemplateCpuOptions>The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.
credit_specification: Option<CreditSpecification>The credit option for CPU usage of the instance.
disable_api_termination: Option<bool>If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.
ebs_optimized: Option<bool>Indicates whether the instance is optimized for Amazon EBS I/O.
elastic_gpu_specifications: Option<Vec<ElasticGpuSpecificationResponse>>The elastic GPU specification.
elastic_inference_accelerators: Option<Vec<LaunchTemplateElasticInferenceAcceleratorResponse>>The elastic inference accelerator for the instance.
hibernation_options: Option<LaunchTemplateHibernationOptions>Indicates whether an instance is configured for hibernation. For more information, see Hibernate Your Instance in the Amazon Elastic Compute Cloud User Guide.
iam_instance_profile: Option<LaunchTemplateIamInstanceProfileSpecification>The IAM instance profile.
image_id: Option<String>The ID of the AMI that was used to launch the instance.
instance_initiated_shutdown_behavior: Option<String>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: Option<LaunchTemplateInstanceMarketOptions>The market (purchasing) option for the instances.
instance_type: Option<String>The instance type.
kernel_id: Option<String>The ID of the kernel, if applicable.
key_name: Option<String>The name of the key pair.
license_specifications: Option<Vec<LaunchTemplateLicenseConfiguration>>The license configurations.
metadata_options: Option<LaunchTemplateInstanceMetadataOptions>The metadata options for the instance. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.
monitoring: Option<LaunchTemplatesMonitoring>The monitoring for the instance.
network_interfaces: Option<Vec<LaunchTemplateInstanceNetworkInterfaceSpecification>>The network interfaces.
placement: Option<LaunchTemplatePlacement>The placement of the instance.
ram_disk_id: Option<String>The ID of the RAM disk, if applicable.
security_group_ids: Option<Vec<String>>The security group IDs.
security_groups: Option<Vec<String>>The security group names.
tag_specifications: Option<Vec<LaunchTemplateTagSpecification>>The tags.
user_data: Option<String>The user data for the instance.
Trait Implementations§
Source§impl Clone for ResponseLaunchTemplateData
impl Clone for ResponseLaunchTemplateData
Source§fn clone(&self) -> ResponseLaunchTemplateData
fn clone(&self) -> ResponseLaunchTemplateData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more