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

Implementations§

The ID of the kernel, if applicable.

The ID of the kernel, if applicable.

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

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

The IAM instance profile.

The IAM instance profile.

Appends an item to block_device_mappings.

To override the contents of this collection use set_block_device_mappings.

The block device mappings.

The block device mappings.

Appends an item to network_interfaces.

To override the contents of this collection use set_network_interfaces.

The network interfaces.

The network interfaces.

The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter will resolve to the ID of the AMI at instance launch.

The value depends on what you specified in the request. The possible values are:

  • If an AMI ID was specified in the request, then this is the AMI ID.

  • If a Systems Manager parameter was specified in the request, and ResolveAlias was configured as true, then this is the AMI ID that the parameter is mapped to in the Parameter Store.

  • If a Systems Manager parameter was specified in the request, and ResolveAlias was configured as false, then this is the parameter value.

For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter will resolve to the ID of the AMI at instance launch.

The value depends on what you specified in the request. The possible values are:

  • If an AMI ID was specified in the request, then this is the AMI ID.

  • If a Systems Manager parameter was specified in the request, and ResolveAlias was configured as true, then this is the AMI ID that the parameter is mapped to in the Parameter Store.

  • If a Systems Manager parameter was specified in the request, and ResolveAlias was configured as false, then this is the parameter value.

For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

The instance type.

The instance type.

The name of the key pair.

The name of the key pair.

The monitoring for the instance.

The monitoring for the instance.

The placement of the instance.

The placement of the instance.

The ID of the RAM disk, if applicable.

The ID of the RAM disk, if applicable.

If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.

If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

The user data for the instance.

The user data for the instance.

Appends an item to tag_specifications.

To override the contents of this collection use set_tag_specifications.

The tags that are applied to the resources that are created during instance launch.

The tags that are applied to the resources that are created during instance launch.

Appends an item to elastic_gpu_specifications.

To override the contents of this collection use set_elastic_gpu_specifications.

The elastic GPU specification.

The elastic GPU specification.

Appends an item to elastic_inference_accelerators.

To override the contents of this collection use set_elastic_inference_accelerators.

The elastic inference accelerator for the instance.

The elastic inference accelerator for the instance.

Appends an item to security_group_ids.

To override the contents of this collection use set_security_group_ids.

The security group IDs.

The security group IDs.

Appends an item to security_groups.

To override the contents of this collection use set_security_groups.

The security group names.

The security group names.

The market (purchasing) option for the instances.

The market (purchasing) option for the instances.

The credit option for CPU usage of the instance.

The credit option for CPU usage of the instance.

The CPU options for the instance. For more information, see Optimizing CPU options in the Amazon Elastic Compute Cloud User Guide.

The CPU options for the instance. For more information, see Optimizing CPU options in the Amazon Elastic Compute Cloud User Guide.

Information about the Capacity Reservation targeting option.

Information about the Capacity Reservation targeting option.

Appends an item to license_specifications.

To override the contents of this collection use set_license_specifications.

The license configurations.

The license configurations.

Indicates whether an instance is configured for hibernation. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Indicates whether an instance is configured for hibernation. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

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

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

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

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

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

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

The options for the instance hostname.

The options for the instance hostname.

The maintenance options for your instance.

The maintenance options for your instance.

Indicates whether the instance is enabled for stop protection. For more information, see Stop protection in the Amazon Elastic Compute Cloud User Guide.

Indicates whether the instance is enabled for stop protection. For more information, see Stop protection in the Amazon Elastic Compute Cloud User Guide.

Consumes the builder and constructs a ResponseLaunchTemplateData.

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