Struct rusoto_ec2::ResponseLaunchTemplateData[][src]

pub struct ResponseLaunchTemplateData {
Show 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 enclave_options: Option<LaunchTemplateEnclaveOptions>, 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.

enclave_options: Option<LaunchTemplateEnclaveOptions>

Indicates whether the instance is enabled for AWS Nitro Enclaves.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.