Struct aws_sdk_opsworks::model::Instance[][src]

#[non_exhaustive]
pub struct Instance {
Show 41 fields pub agent_version: Option<String>, pub ami_id: Option<String>, pub architecture: Option<Architecture>, pub arn: Option<String>, pub auto_scaling_type: Option<AutoScalingType>, pub availability_zone: Option<String>, pub block_device_mappings: Option<Vec<BlockDeviceMapping>>, pub created_at: Option<String>, pub ebs_optimized: Option<bool>, pub ec2_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<RootDeviceType>, 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<VirtualizationType>,
}
Expand description

Describes an instance.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
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<Architecture>

The instance architecture: "i386" or "x86_64".

arn: Option<String>

The instance's Amazon Resource Number (ARN).

auto_scaling_type: Option<AutoScalingType>

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.

ec2_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<RootDeviceType>

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

  • connection_lost

  • online

  • pending

  • rebooting

  • requested

  • running_setup

  • setup_failed

  • shutting_down

  • start_failed

  • stop_failed

  • 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<VirtualizationType>

The instance's virtualization type: paravirtual or hvm.

Implementations

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.

A custom AMI ID to be used to create the instance. For more information, see Instances

The instance architecture: "i386" or "x86_64".

The instance's Amazon Resource Number (ARN).

For load-based or time-based instances, the type.

The instance Availability Zone. For more information, see Regions and Endpoints.

An array of BlockDeviceMapping objects that specify the instance's block device mappings.

The time that the instance was created.

Whether this is an Amazon EBS-optimized instance.

The ID of the associated Amazon EC2 instance.

For container instances, the Amazon ECS cluster's ARN.

For container instances, the instance's ARN.

The instance Elastic IP address .

The instance host name.

For registered instances, the infrastructure class: ec2 or on-premises.

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.

The instance ID.

The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

The instance type, such as t2.micro.

The ID of the last service error. For more information, call DescribeServiceErrors.

An array containing the instance layer IDs.

The instance's operating system.

The instance's platform.

The instance's private DNS name.

The instance's private IP address.

The instance public DNS name.

The instance public IP address.

For registered instances, who performed the registration.

The instance's reported AWS OpsWorks Stacks agent version.

For registered instances, the reported operating system.

The instance's root device type. For more information, see Storage for the Root Device.

The root device volume ID.

An array containing the instance security group IDs.

The SSH key's Deep Security Agent (DSA) fingerprint.

The SSH key's RSA fingerprint.

The instance's Amazon EC2 key-pair name.

The stack ID.

The instance status:

  • booting

  • connection_lost

  • online

  • pending

  • rebooting

  • requested

  • running_setup

  • setup_failed

  • shutting_down

  • start_failed

  • stop_failed

  • stopped

  • stopping

  • terminated

  • terminating

The instance's subnet ID; applicable only if the stack is running in a VPC.

The instance's tenancy option, such as dedicated or host.

The instance's virtualization type: paravirtual or hvm.

Creates a new builder-style object to manufacture Instance

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more