Class: Aws::Lightsail::Types::Instance
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::Instance
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Describes an instance (a virtual private server).
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the instance (e.g., ‘arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE`).
-
#blueprint_id ⇒ String
The blueprint ID (e.g., ‘os_amlinux_2016_03`).
-
#blueprint_name ⇒ String
The friendly name of the blueprint (e.g., ‘Amazon Linux`).
-
#bundle_id ⇒ String
The bundle for the instance (e.g., ‘micro_1_0`).
-
#created_at ⇒ Time
The timestamp when the instance was created (e.g., ‘1479734909.17`).
-
#hardware ⇒ Types::InstanceHardware
The size of the vCPU and the amount of RAM for the instance.
-
#ipv6_address ⇒ String
The IPv6 address of the instance.
-
#is_static_ip ⇒ Boolean
A Boolean value indicating whether this instance has a static IP assigned to it.
-
#location ⇒ Types::ResourceLocation
The region name and Availability Zone where the instance is located.
-
#name ⇒ String
The name the user gave the instance (e.g., ‘Amazon_Linux-1GB-Ohio-1`).
-
#networking ⇒ Types::InstanceNetworking
Information about the public ports and monthly data transfer rates for the instance.
-
#private_ip_address ⇒ String
The private IP address of the instance.
-
#public_ip_address ⇒ String
The public IP address of the instance.
-
#resource_type ⇒ String
The type of resource (usually ‘Instance`).
-
#ssh_key_name ⇒ String
The name of the SSH key being used to connect to the instance (e.g., ‘LightsailDefaultKeyPair`).
-
#state ⇒ Types::InstanceState
The status code and the state (e.g., ‘running`) for the instance.
-
#support_code ⇒ String
The support code.
-
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource.
-
#username ⇒ String
The user name for connecting to the instance (e.g., ‘ec2-user`).
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the instance (e.g., ‘arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#blueprint_id ⇒ String
The blueprint ID (e.g., ‘os_amlinux_2016_03`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#blueprint_name ⇒ String
The friendly name of the blueprint (e.g., ‘Amazon Linux`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#bundle_id ⇒ String
The bundle for the instance (e.g., ‘micro_1_0`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#created_at ⇒ Time
The timestamp when the instance was created (e.g., ‘1479734909.17`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#hardware ⇒ Types::InstanceHardware
The size of the vCPU and the amount of RAM for the instance.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#ipv6_address ⇒ String
The IPv6 address of the instance.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#is_static_ip ⇒ Boolean
A Boolean value indicating whether this instance has a static IP assigned to it.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#location ⇒ Types::ResourceLocation
The region name and Availability Zone where the instance is located.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#name ⇒ String
The name the user gave the instance (e.g., ‘Amazon_Linux-1GB-Ohio-1`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#networking ⇒ Types::InstanceNetworking
Information about the public ports and monthly data transfer rates for the instance.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#private_ip_address ⇒ String
The private IP address of the instance.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#public_ip_address ⇒ String
The public IP address of the instance.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#resource_type ⇒ String
The type of resource (usually ‘Instance`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#ssh_key_name ⇒ String
The name of the SSH key being used to connect to the instance (e.g., ‘LightsailDefaultKeyPair`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#state ⇒ Types::InstanceState
The status code and the state (e.g., ‘running`) for the instance.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#support_code ⇒ String
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the [Lightsail Dev Guide].
[1]: lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |
#username ⇒ String
The user name for connecting to the instance (e.g., ‘ec2-user`).
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4868 class Instance < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :blueprint_id, :blueprint_name, :bundle_id, :is_static_ip, :private_ip_address, :public_ip_address, :ipv6_address, :hardware, :networking, :state, :username, :ssh_key_name) include Aws::Structure end |