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

Implementations§

Appends an item to security_group_ids.

To override the contents of this collection use set_security_group_ids.

One or more security group IDs.

One or more security group IDs.

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. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

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. Only one instance type can be specified.

The instance type. Only one instance type can be specified.

The ID of the kernel.

The ID of the kernel.

The name of the key pair.

The name of the key pair.

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

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.

The Base64-encoded user data for the instance. User data is limited to 16 KB.

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Consumes the builder and constructs a RequestSpotLaunchSpecification.

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