GetInstanceResult

data class GetInstanceResult(val addOns: List<InstanceAddOn>? = null, val hardware: InstanceHardware? = null, val instanceArn: String? = null, val ipv6Addresses: List<String>? = null, val isStaticIp: Boolean? = null, val keyPairName: String? = null, val location: InstanceLocation? = null, val networking: InstanceNetworking? = null, val privateIpAddress: String? = null, val publicIpAddress: String? = null, val resourceType: String? = null, val sshKeyName: String? = null, val state: InstanceState? = null, val supportCode: String? = null, val tags: List<Tag>? = null, val userName: String? = null)

Constructors

Link copied to clipboard
constructor(addOns: List<InstanceAddOn>? = null, hardware: InstanceHardware? = null, instanceArn: String? = null, ipv6Addresses: List<String>? = null, isStaticIp: Boolean? = null, keyPairName: String? = null, location: InstanceLocation? = null, networking: InstanceNetworking? = null, privateIpAddress: String? = null, publicIpAddress: String? = null, resourceType: String? = null, sshKeyName: String? = null, state: InstanceState? = null, supportCode: String? = null, tags: List<Tag>? = null, userName: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val addOns: List<InstanceAddOn>? = null

An array of objects representing the add-ons to enable for the new instance.

Link copied to clipboard

The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.

Link copied to clipboard
val instanceArn: String? = null

The Amazon Resource Name (ARN) of the instance (for example, arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE ).

Link copied to clipboard
val ipv6Addresses: List<String>? = null

IPv6 addresses of the instance

Link copied to clipboard
val isStaticIp: Boolean? = null

Is the IP Address of the Instance is the static IP

Link copied to clipboard
val keyPairName: String? = null

The name of your key pair.

Link copied to clipboard

The location for the instance, such as the AWS Region and Availability Zone.

Link copied to clipboard

The public ports and the monthly amount of data transfer allocated for the instance.

Link copied to clipboard

Private IP Address of the Instance

Link copied to clipboard
val publicIpAddress: String? = null

Public IP Address of the Instance

Link copied to clipboard
val resourceType: String? = null

Resource type of Lightsail instance.

Link copied to clipboard
val sshKeyName: String? = null

SSH Key Name of the Lightsail instance.

Link copied to clipboard
val state: InstanceState? = null

The status code and the state (for example, running ) of the instance.

Link copied to clipboard
val supportCode: String? = null

Support code to help identify any issues

Link copied to clipboard
val tags: List<Tag>? = null

An array of key-value pairs to apply to this resource.

Link copied to clipboard
val userName: String? = null

Username of the Lightsail instance.