pub struct SpotPlacement {
pub availability_zone: Option<String>,
pub group_name: Option<String>,
pub tenancy: Option<String>,
}Expand description
Describes Spot Instance placement.
Fields§
§availability_zone: Option<String>The Availability Zone.
[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
group_name: Option<String>The name of the placement group.
tenancy: Option<String>The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.
Trait Implementations§
Source§impl Clone for SpotPlacement
impl Clone for SpotPlacement
Source§fn clone(&self) -> SpotPlacement
fn clone(&self) -> SpotPlacement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpotPlacement
impl Debug for SpotPlacement
Source§impl Default for SpotPlacement
impl Default for SpotPlacement
Source§fn default() -> SpotPlacement
fn default() -> SpotPlacement
Returns the “default value” for a type. Read more
Source§impl PartialEq for SpotPlacement
impl PartialEq for SpotPlacement
impl StructuralPartialEq for SpotPlacement
Auto Trait Implementations§
impl Freeze for SpotPlacement
impl RefUnwindSafe for SpotPlacement
impl Send for SpotPlacement
impl Sync for SpotPlacement
impl Unpin for SpotPlacement
impl UnwindSafe for SpotPlacement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more