Struct aws_sdk_emr::model::Instance  
source · #[non_exhaustive]pub struct Instance { /* private fields */ }Expand description
Represents an EC2 instance provisioned as part of cluster.
Implementations§
source§impl Instance
 
impl Instance
sourcepub fn ec2_instance_id(&self) -> Option<&str>
 
pub fn ec2_instance_id(&self) -> Option<&str>
The unique identifier of the instance in Amazon EC2.
sourcepub fn public_dns_name(&self) -> Option<&str>
 
pub fn public_dns_name(&self) -> Option<&str>
The public DNS name of the instance.
sourcepub fn public_ip_address(&self) -> Option<&str>
 
pub fn public_ip_address(&self) -> Option<&str>
The public IP address of the instance.
sourcepub fn private_dns_name(&self) -> Option<&str>
 
pub fn private_dns_name(&self) -> Option<&str>
The private DNS name of the instance.
sourcepub fn private_ip_address(&self) -> Option<&str>
 
pub fn private_ip_address(&self) -> Option<&str>
The private IP address of the instance.
sourcepub fn status(&self) -> Option<&InstanceStatus>
 
pub fn status(&self) -> Option<&InstanceStatus>
The current status of the instance.
sourcepub fn instance_group_id(&self) -> Option<&str>
 
pub fn instance_group_id(&self) -> Option<&str>
The identifier of the instance group to which this instance belongs.
sourcepub fn instance_fleet_id(&self) -> Option<&str>
 
pub fn instance_fleet_id(&self) -> Option<&str>
The unique identifier of the instance fleet to which an EC2 instance belongs.
sourcepub fn market(&self) -> Option<&MarketType>
 
pub fn market(&self) -> Option<&MarketType>
The instance purchasing option. Valid values are ON_DEMAND or SPOT. 
sourcepub fn instance_type(&self) -> Option<&str>
 
pub fn instance_type(&self) -> Option<&str>
The EC2 instance type, for example m3.xlarge.
sourcepub fn ebs_volumes(&self) -> Option<&[EbsVolume]>
 
pub fn ebs_volumes(&self) -> Option<&[EbsVolume]>
The list of Amazon EBS volumes that are attached to this instance.