class Aws::Lightsail::Types::Instance
Describes an instance (a virtual private server).
@!attribute [rw] name
The name the user gave the instance (e.g., `Amazon_Linux-1GB-Ohio-1`). @return [String]
@!attribute [rw] arn
The Amazon Resource Name (ARN) of the instance (e.g., `arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE`). @return [String]
@!attribute [rw] support_code
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. @return [String]
@!attribute [rw] created_at
The timestamp when the instance was created (e.g., `1479734909.17`) in Unix time format. @return [Time]
@!attribute [rw] location
The region name and Availability Zone where the instance is located. @return [Types::ResourceLocation]
@!attribute [rw] resource_type
The type of resource (usually `Instance`). @return [String]
@!attribute [rw] tags
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the [Amazon Lightsail Developer Guide][1]. [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags @return [Array<Types::Tag>]
@!attribute [rw] blueprint_id
The blueprint ID (e.g., `os_amlinux_2016_03`). @return [String]
@!attribute [rw] blueprint_name
The friendly name of the blueprint (e.g., `Amazon Linux`). @return [String]
@!attribute [rw] bundle_id
The bundle for the instance (e.g., `micro_1_0`). @return [String]
@!attribute [rw] add_ons
An array of objects representing the add-ons enabled on the instance. @return [Array<Types::AddOn>]
@!attribute [rw] is_static_ip
A Boolean value indicating whether this instance has a static IP assigned to it. @return [Boolean]
@!attribute [rw] private_ip_address
The private IP address of the instance. @return [String]
@!attribute [rw] public_ip_address
The public IP address of the instance. @return [String]
@!attribute [rw] ipv6_addresses
The IPv6 addresses of the instance. @return [Array<String>]
@!attribute [rw] ip_address_type
The IP address type of the instance. The possible values are `ipv4` for IPv4 only, and `dualstack` for IPv4 and IPv6. @return [String]
@!attribute [rw] hardware
The size of the vCPU and the amount of RAM for the instance. @return [Types::InstanceHardware]
@!attribute [rw] networking
Information about the public ports and monthly data transfer rates for the instance. @return [Types::InstanceNetworking]
@!attribute [rw] state
The status code and the state (e.g., `running`) for the instance. @return [Types::InstanceState]
@!attribute [rw] username
The user name for connecting to the instance (e.g., `ec2-user`). @return [String]
@!attribute [rw] ssh_key_name
The name of the SSH key being used to connect to the instance (e.g., `LightsailDefaultKeyPair`). @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance AWS API Documentation
Constants
- SENSITIVE