pub struct Builder { /* private fields */ }
Expand description

Implementations§

Appends an item to block_device_mapping_set.

To override the contents of this collection use set_block_device_mapping_set.

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

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

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.

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.

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.

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

Appends an item to elastic_gpu_specification_set.

To override the contents of this collection use set_elastic_gpu_specification_set.

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

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

Appends an item to elastic_inference_accelerator_set.

To override the contents of this collection use set_elastic_inference_accelerator_set.

The Amazon Elastic Inference accelerator for the instance.

The Amazon Elastic Inference accelerator for the instance.

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

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

Specifies whether your Amazon EC2 instance is configured for hibernation.

Specifies whether your Amazon EC2 instance is configured for hibernation.

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

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

The ID of the Amazon Machine Image (AMI).

The ID of the Amazon Machine Image (AMI).

Provides the options for specifying the instance initiated shutdown behavior.

Provides the options for specifying the instance initiated shutdown behavior.

Specifies the market (purchasing) option for an instance.

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 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 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 ID of the kernel.

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

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

Appends an item to license_set.

To override the contents of this collection use set_license_set.

Specifies a license configuration for an instance.

Specifies a license configuration for an instance.

The maintenance options of your 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 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.

The monitoring for the instance.

Appends an item to network_interface_set.

To override the contents of this collection use set_network_interface_set.

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

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

Specifies the placement of an instance.

Specifies the placement of an instance.

The options for the instance hostname.

The options for the instance hostname.

The ID of the RAM disk.

The ID of the RAM disk.

Appends an item to security_group_id_set.

To override the contents of this collection use set_security_group_id_set.

One or more security group IDs.

One or more security group IDs.

Appends an item to security_group_set.

To override the contents of this collection use set_security_group_set.

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.

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.

The user data to make available to the instance.

Consumes the builder and constructs a 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
Returns the “default value” for a type. 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