Struct rusoto_opsworks::Instance
source · [−]pub struct Instance {Show 41 fields
pub agent_version: Option<String>,
pub ami_id: Option<String>,
pub architecture: Option<String>,
pub arn: Option<String>,
pub auto_scaling_type: Option<String>,
pub availability_zone: Option<String>,
pub block_device_mappings: Option<Vec<BlockDeviceMapping>>,
pub created_at: Option<String>,
pub ebs_optimized: Option<bool>,
pub ec_2_instance_id: Option<String>,
pub ecs_cluster_arn: Option<String>,
pub ecs_container_instance_arn: Option<String>,
pub elastic_ip: Option<String>,
pub hostname: Option<String>,
pub infrastructure_class: Option<String>,
pub install_updates_on_boot: Option<bool>,
pub instance_id: Option<String>,
pub instance_profile_arn: Option<String>,
pub instance_type: Option<String>,
pub last_service_error_id: Option<String>,
pub layer_ids: Option<Vec<String>>,
pub os: Option<String>,
pub platform: Option<String>,
pub private_dns: Option<String>,
pub private_ip: Option<String>,
pub public_dns: Option<String>,
pub public_ip: Option<String>,
pub registered_by: Option<String>,
pub reported_agent_version: Option<String>,
pub reported_os: Option<ReportedOs>,
pub root_device_type: Option<String>,
pub root_device_volume_id: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub ssh_host_dsa_key_fingerprint: Option<String>,
pub ssh_host_rsa_key_fingerprint: Option<String>,
pub ssh_key_name: Option<String>,
pub stack_id: Option<String>,
pub status: Option<String>,
pub subnet_id: Option<String>,
pub tenancy: Option<String>,
pub virtualization_type: Option<String>,
}
Expand description
Describes an instance.
Fields
agent_version: Option<String>
The agent version. This parameter is set to INHERIT
if the instance inherits the default stack setting or to a a version number for a fixed agent version.
ami_id: Option<String>
A custom AMI ID to be used to create the instance. For more information, see Instances
architecture: Option<String>
The instance architecture: "i386" or "x86_64".
arn: Option<String>
The instance's Amazon Resource Number (ARN).
auto_scaling_type: Option<String>
For load-based or time-based instances, the type.
availability_zone: Option<String>
The instance Availability Zone. For more information, see Regions and Endpoints.
block_device_mappings: Option<Vec<BlockDeviceMapping>>
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
created_at: Option<String>
The time that the instance was created.
ebs_optimized: Option<bool>
Whether this is an Amazon EBS-optimized instance.
ec_2_instance_id: Option<String>
The ID of the associated Amazon EC2 instance.
ecs_cluster_arn: Option<String>
For container instances, the Amazon ECS cluster's ARN.
ecs_container_instance_arn: Option<String>
For container instances, the instance's ARN.
elastic_ip: Option<String>
The instance Elastic IP address .
hostname: Option<String>
The instance host name.
infrastructure_class: Option<String>
For registered instances, the infrastructure class: ec2
or on-premises
.
install_updates_on_boot: Option<bool>
Whether to install operating system and package updates when the instance boots. The default value is true
. If this value is set to false
, you must then update your instances manually by using CreateDeployment to run the update_dependencies
stack command or by manually running yum
(Amazon Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
, to ensure that your instances have the latest security updates.
instance_id: Option<String>
The instance ID.
instance_profile_arn: Option<String>
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
instance_type: Option<String>
The instance type, such as t2.micro
.
last_service_error_id: Option<String>
The ID of the last service error. For more information, call DescribeServiceErrors.
layer_ids: Option<Vec<String>>
An array containing the instance layer IDs.
os: Option<String>
The instance's operating system.
platform: Option<String>
The instance's platform.
private_dns: Option<String>
The instance's private DNS name.
private_ip: Option<String>
The instance's private IP address.
public_dns: Option<String>
The instance public DNS name.
public_ip: Option<String>
The instance public IP address.
registered_by: Option<String>
For registered instances, who performed the registration.
reported_agent_version: Option<String>
The instance's reported AWS OpsWorks Stacks agent version.
reported_os: Option<ReportedOs>
For registered instances, the reported operating system.
root_device_type: Option<String>
The instance's root device type. For more information, see Storage for the Root Device.
root_device_volume_id: Option<String>
The root device volume ID.
security_group_ids: Option<Vec<String>>
An array containing the instance security group IDs.
ssh_host_dsa_key_fingerprint: Option<String>
The SSH key's Deep Security Agent (DSA) fingerprint.
ssh_host_rsa_key_fingerprint: Option<String>
The SSH key's RSA fingerprint.
ssh_key_name: Option<String>
The instance's Amazon EC2 key-pair name.
stack_id: Option<String>
The stack ID.
status: Option<String>
The instance status:
-
booting
-
connectionlost
-
online
-
pending
-
rebooting
-
requested
-
runningsetup
-
setupfailed
-
shuttingdown
-
startfailed
-
stopfailed
-
stopped
-
stopping
-
terminated
-
terminating
subnet_id: Option<String>
The instance's subnet ID; applicable only if the stack is running in a VPC.
tenancy: Option<String>
The instance's tenancy option, such as dedicated
or host
.
virtualization_type: Option<String>
The instance's virtualization type: paravirtual
or hvm
.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Instance
impl<'de> Deserialize<'de> for Instance
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Instance
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more