Class: Aws::OpsWorks::Types::Instance

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-opsworks/types.rb

Overview

Describes an instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_versionString

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.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ami_idString

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

[1]: docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#architectureString

The instance architecture: “i386” or “x86_64”.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The instance’s Amazon Resource Number (ARN).

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#auto_scaling_typeString

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

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zoneString

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

[1]: docs.aws.amazon.com/general/latest/gr/rande.html

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#block_device_mappingsArray<Types::BlockDeviceMapping>

An array of ‘BlockDeviceMapping` objects that specify the instance’s block device mappings.

Returns:



3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#created_atString

The time that the instance was created.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ebs_optimizedBoolean

Whether this is an Amazon EBS-optimized instance.

Returns:

  • (Boolean)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ec2_instance_idString

The ID of the associated Amazon EC2 instance.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ecs_cluster_arnString

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

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ecs_container_instance_arnString

For container instances, the instance’s ARN.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#elastic_ipString

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#hostnameString

The instance host name. The following are character limits for instance host names.

  • Linux-based instances: 63 characters

  • Windows-based instances: 15 characters

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#infrastructure_classString

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

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#install_updates_on_bootBoolean

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 update 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.

<note markdown=“1”> We strongly recommend using the default value of ‘true` to ensure that your instances have the latest security updates.

</note>

Returns:

  • (Boolean)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The instance ID.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#instance_profile_arnString

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

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type, such as ‘t2.micro`.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#last_service_error_idString

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

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#layer_idsArray<String>

An array containing the instance layer IDs.

Returns:

  • (Array<String>)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#osString

The instance’s operating system.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#platformString

The instance’s platform.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#private_dnsString

The instance’s private DNS name.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#private_ipString

The instance’s private IP address.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#public_dnsString

The instance public DNS name.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#public_ipString

The instance public IP address.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#registered_byString

For registered instances, who performed the registration.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#reported_agent_versionString

The instance’s reported OpsWorks Stacks agent version.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#reported_osTypes::ReportedOs

For registered instances, the reported operating system.

Returns:



3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#root_device_typeString

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

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#root_device_volume_idString

The root device volume ID.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_idsArray<String>

An array containing the instance security group IDs.

Returns:

  • (Array<String>)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ssh_host_dsa_key_fingerprintString

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

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ssh_host_rsa_key_fingerprintString

The SSH key’s RSA fingerprint.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#ssh_key_nameString

The instance’s Amazon EC2 key-pair name.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#stack_idString

The stack ID.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The instance status:

  • ‘booting`

  • ‘connection_lost`

  • ‘online`

  • ‘pending`

  • ‘rebooting`

  • ‘requested`

  • ‘running_setup`

  • ‘setup_failed`

  • ‘shutting_down`

  • ‘start_failed`

  • ‘stop_failed`

  • ‘stopped`

  • ‘stopping`

  • ‘terminated`

  • ‘terminating`

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#tenancyString

The instance’s tenancy option, such as ‘dedicated` or `host`.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end

#virtualization_typeString

The instance’s virtualization type: ‘paravirtual` or `hvm`.

Returns:

  • (String)


3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/aws-sdk-opsworks/types.rb', line 3576

class Instance < Struct.new(
  :agent_version,
  :ami_id,
  :architecture,
  :arn,
  :auto_scaling_type,
  :availability_zone,
  :block_device_mappings,
  :created_at,
  :ebs_optimized,
  :ec2_instance_id,
  :ecs_cluster_arn,
  :ecs_container_instance_arn,
  :elastic_ip,
  :hostname,
  :infrastructure_class,
  :install_updates_on_boot,
  :instance_id,
  :instance_profile_arn,
  :instance_type,
  :last_service_error_id,
  :layer_ids,
  :os,
  :platform,
  :private_dns,
  :private_ip,
  :public_dns,
  :public_ip,
  :registered_by,
  :reported_agent_version,
  :reported_os,
  :root_device_type,
  :root_device_volume_id,
  :security_group_ids,
  :ssh_host_dsa_key_fingerprint,
  :ssh_host_rsa_key_fingerprint,
  :ssh_key_name,
  :stack_id,
  :status,
  :subnet_id,
  :tenancy,
  :virtualization_type)
  SENSITIVE = []
  include Aws::Structure
end