NAME
Paws::Lightsail::Instance
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Lightsail::Instance object:
$service_obj->Method(Att1 => { AddOns => $value, ..., Username => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Instance object:
$result = $service_obj->Method(...);
$result->Att1->AddOns
DESCRIPTION
Describes an instance (a virtual private server).
ATTRIBUTES
AddOns => ArrayRef[Paws::Lightsail::AddOn]
An array of objects representing the add-ons enabled on the instance.
Arn => Str
The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
).
BlueprintId => Str
The blueprint ID (e.g., os_amlinux_2016_03
).
BlueprintName => Str
The friendly name of the blueprint (e.g., Amazon Linux
).
BundleId => Str
The bundle for the instance (e.g., micro_1_0
).
CreatedAt => Str
The timestamp when the instance was created (e.g., 1479734909.17
) in Unix time format.
Hardware => Paws::Lightsail::InstanceHardware
The size of the vCPU and the amount of RAM for the instance.
IpAddressType => Str
The IP address type of the instance.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4 and IPv6.
Ipv6Addresses => ArrayRef[Str|Undef]
The IPv6 addresses of the instance.
IsStaticIp => Bool
A Boolean value indicating whether this instance has a static IP assigned to it.
Location => Paws::Lightsail::ResourceLocation
The region name and Availability Zone where the instance is located.
Name => Str
The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1
).
Networking => Paws::Lightsail::InstanceNetworking
Information about the public ports and monthly data transfer rates for the instance.
PrivateIpAddress => Str
The private IP address of the instance.
PublicIpAddress => Str
The public IP address of the instance.
ResourceType => Str
The type of resource (usually Instance
).
SshKeyName => Str
The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair
).
State => Paws::Lightsail::InstanceState
The status code and the state (e.g., running
) for the instance.
SupportCode => Str
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.
Tags => ArrayRef[Paws::Lightsail::Tag]
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
Username => Str
The user name for connecting to the instance (e.g., ec2-user
).
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Lightsail
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues