#[non_exhaustive]
pub struct AwsEc2LaunchTemplateDataDetails { /* private fields */ }
Expand description

The information to include in an Amazon Elastic Compute Cloud (Amazon EC2) launch template.

Implementations§

Information about a block device mapping for an Amazon EC2 launch template.

Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time.

Specifies the CPU options for an instance. For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide.

Specifies the credit option for CPU usage of a T2, T3, or T3a instance.

Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection in the Amazon EC2 User Guide.

If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API. If set to true, you can.

Indicates whether the instance is optimized for Amazon EBS I/O.

Provides details about Elastic Graphics accelerators to associate with the instance.

The Amazon Elastic Inference accelerator for the instance.

Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services Nitro Enclaves.

Specifies whether your Amazon EC2 instance is configured for hibernation.

The name or Amazon Resource Name (ARN) of an IAM instance profile.

The ID of the Amazon Machine Image (AMI).

Provides the options for specifying the instance initiated shutdown behavior.

Specifies the market (purchasing) option for an instance.

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 InstanceType.

The instance type. For more information, see Instance types in the Amazon EC2 User Guide. If you specify InstanceType, you can't specify InstanceRequirements.

The ID of the kernel.

The name of the key pair that allows users to connect to the instance.

Specifies a license configuration for an instance.

The maintenance options of your instance.

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.

The monitoring for the instance.

Specifies the parameters for a network interface that is attached to the instance.

Specifies the placement of an instance.

The options for the instance hostname.

The ID of the RAM disk.

One or more security group IDs.

One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

The user data to make available to the instance.

Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataDetails.

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
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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

Returns the argument unchanged.

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

Calls U::from(self).

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

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more