ResponseLaunchTemplateData

Struct ResponseLaunchTemplateData 

Source
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

Source§

fn clone(&self) -> ResponseLaunchTemplateData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResponseLaunchTemplateData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ResponseLaunchTemplateData

Source§

fn default() -> ResponseLaunchTemplateData

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

impl PartialEq for ResponseLaunchTemplateData

Source§

fn eq(&self, other: &ResponseLaunchTemplateData) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ResponseLaunchTemplateData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,