Struct aws_sdk_ec2::model::launch_specification::Builder[][src]

#[non_exhaustive]
pub struct Builder { /* fields omitted */ }
Expand description

A builder for LaunchSpecification

Implementations

The Base64-encoded user data for the instance.

The Base64-encoded user data for the instance.

Appends an item to security_groups.

To override the contents of this collection use set_security_groups.

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Deprecated.

Deprecated.

Appends an item to block_device_mappings.

To override the contents of this collection use set_block_device_mappings.

One or more block device mapping entries.

One or more block device mapping entries.

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

The IAM instance profile.

The IAM instance profile.

The ID of the AMI.

The ID of the AMI.

The instance type.

The instance type.

The ID of the kernel.

The ID of the kernel.

The name of the key pair.

The name of the key pair.

Appends an item to network_interfaces.

To override the contents of this collection use set_network_interfaces.

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

The placement information for the instance.

The placement information for the instance.

The ID of the RAM disk.

The ID of the RAM disk.

The ID of the subnet in which to launch the instance.

The ID of the subnet in which to launch the instance.

Describes the monitoring of an instance.

Describes the monitoring of an instance.

Consumes the builder and constructs a LaunchSpecification

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.

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.

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