Struct aws_sdk_ec2::model::Placement
source · [−]#[non_exhaustive]pub struct Placement { /* private fields */ }
Expand description
Describes the placement of an instance.
Implementations
sourceimpl Placement
impl Placement
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported by CreateFleet.
sourcepub fn affinity(&self) -> Option<&str>
pub fn affinity(&self) -> Option<&str>
The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the ImportInstance command.
This parameter is not supported by CreateFleet.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the placement group the instance is in.
sourcepub fn partition_number(&self) -> Option<i32>
pub fn partition_number(&self) -> Option<i32>
The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition
.
This parameter is not supported by CreateFleet.
sourcepub fn host_id(&self) -> Option<&str>
pub fn host_id(&self) -> Option<&str>
The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command.
This parameter is not supported by CreateFleet.
sourcepub fn tenancy(&self) -> Option<&Tenancy>
pub fn tenancy(&self) -> Option<&Tenancy>
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 the ImportInstance command.
This parameter is not supported by CreateFleet.
T3 instances that use the unlimited
CPU credit option do not support host
tenancy.
sourcepub fn spread_domain(&self) -> Option<&str>
pub fn spread_domain(&self) -> Option<&str>
Reserved for future use.
This parameter is not supported by CreateFleet.
sourcepub fn host_resource_group_arn(&self) -> Option<&str>
pub fn host_resource_group_arn(&self) -> Option<&str>
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host
.
This parameter is not supported by CreateFleet.