#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for RequestSpotLaunchSpecification
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.
pub fn set_iam_instance_profile(
self,
input: Option<IamInstanceProfileSpecification>
) -> Self
pub fn set_iam_instance_profile(
self,
input: Option<IamInstanceProfileSpecification>
) -> Self
The IAM instance profile.
The ID of the AMI.
The instance type.
The instance type.
The ID of the kernel.
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.
pub fn set_network_interfaces(
self,
input: Option<Vec<InstanceNetworkInterfaceSpecification>>
) -> Self
pub fn set_network_interfaces(
self,
input: Option<Vec<InstanceNetworkInterfaceSpecification>>
) -> Self
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
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
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