[−][src]Struct rusoto_ec2::SpotFleetLaunchSpecification
Describes the launch specification for one or more Spot Instances.
Fields
addressing_type: Option<String>
Deprecated.
block_device_mappings: Option<Vec<BlockDeviceMapping>>
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.
ebs_optimized: Option<bool>
Indicates whether the instances are 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
iam_instance_profile: Option<IamInstanceProfileSpecification>
The IAM instance profile.
image_id: Option<String>
The ID of the AMI.
instance_type: Option<String>
The instance type.
kernel_id: Option<String>
The ID of the kernel.
key_name: Option<String>
The name of the key pair.
monitoring: Option<SpotFleetMonitoring>
Enable or disable monitoring for the instances.
network_interfaces: Option<Vec<InstanceNetworkInterfaceSpecification>>
One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
placement: Option<SpotPlacement>
The placement information.
ramdisk_id: Option<String>
The ID of the RAM disk.
security_groups: Option<Vec<GroupIdentifier>>
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.
spot_price: Option<String>
The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity
.
subnet_id: Option<String>
The ID of the subnet in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-a61dafcf, subnet-65ea5f08".
tag_specifications: Option<Vec<SpotFleetTagSpecification>>
The tags to apply during creation.
user_data: Option<String>
The Base64-encoded user data to make available to the instances.
weighted_capacity: Option<f64>
The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms (instances or a performance characteristic such as vCPUs, memory, or I/O).
If the target capacity divided by this value is not a whole number, we round the number of instances to the next whole number. If this value is not specified, the default is 1.
Trait Implementations
impl Default for SpotFleetLaunchSpecification
[src]
impl Default for SpotFleetLaunchSpecification
fn default() -> SpotFleetLaunchSpecification
[src]
fn default() -> SpotFleetLaunchSpecification
Returns the "default value" for a type. Read more
impl PartialEq<SpotFleetLaunchSpecification> for SpotFleetLaunchSpecification
[src]
impl PartialEq<SpotFleetLaunchSpecification> for SpotFleetLaunchSpecification
fn eq(&self, other: &SpotFleetLaunchSpecification) -> bool
[src]
fn eq(&self, other: &SpotFleetLaunchSpecification) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SpotFleetLaunchSpecification) -> bool
[src]
fn ne(&self, other: &SpotFleetLaunchSpecification) -> bool
This method tests for !=
.
impl Clone for SpotFleetLaunchSpecification
[src]
impl Clone for SpotFleetLaunchSpecification
fn clone(&self) -> SpotFleetLaunchSpecification
[src]
fn clone(&self) -> SpotFleetLaunchSpecification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for SpotFleetLaunchSpecification
[src]
impl Debug for SpotFleetLaunchSpecification
Auto Trait Implementations
impl Send for SpotFleetLaunchSpecification
impl Send for SpotFleetLaunchSpecification
impl Sync for SpotFleetLaunchSpecification
impl Sync for SpotFleetLaunchSpecification
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T