Instance

public struct Instance : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • An array of objects representing the add-ons enabled on the instance.

    Declaration

    Swift

    public let addOns: [AddOn]?
  • arn

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

    Declaration

    Swift

    public let arn: String?
  • The blueprint ID (e.g., os_amlinux_2016_03).

    Declaration

    Swift

    public let blueprintId: String?
  • The friendly name of the blueprint (e.g., Amazon Linux).

    Declaration

    Swift

    public let blueprintName: String?
  • The bundle for the instance (e.g., micro_1_0).

    Declaration

    Swift

    public let bundleId: String?
  • The timestamp when the instance was created (e.g., 1479734909.17) in Unix time format.

    Declaration

    Swift

    public let createdAt: TimeStamp?
  • The size of the vCPU and the amount of RAM for the instance.

    Declaration

    Swift

    public let hardware: InstanceHardware?
  • The IPv6 address of the instance.

    Declaration

    Swift

    public let ipv6Address: String?
  • A Boolean value indicating whether this instance has a static IP assigned to it.

    Declaration

    Swift

    public let isStaticIp: Bool?
  • The region name and Availability Zone where the instance is located.

    Declaration

    Swift

    public let location: ResourceLocation?
  • The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

    Declaration

    Swift

    public let name: String?
  • Information about the public ports and monthly data transfer rates for the instance.

    Declaration

    Swift

    public let networking: InstanceNetworking?
  • The private IP address of the instance.

    Declaration

    Swift

    public let privateIpAddress: String?
  • The public IP address of the instance.

    Declaration

    Swift

    public let publicIpAddress: String?
  • The type of resource (usually Instance).

    Declaration

    Swift

    public let resourceType: ResourceType?
  • The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

    Declaration

    Swift

    public let sshKeyName: String?
  • The status code and the state (e.g., running) for the instance.

    Declaration

    Swift

    public let state: InstanceState?
  • 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.

    Declaration

    Swift

    public let supportCode: String?
  • The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

    Declaration

    Swift

    public let tags: [Tag]?
  • The user name for connecting to the instance (e.g., ec2-user).

    Declaration

    Swift

    public let username: String?
  • Undocumented

    Declaration

    Swift

    public init(addOns: [AddOn]? = nil, arn: String? = nil, blueprintId: String? = nil, blueprintName: String? = nil, bundleId: String? = nil, createdAt: TimeStamp? = nil, hardware: InstanceHardware? = nil, ipv6Address: String? = nil, isStaticIp: Bool? = nil, location: ResourceLocation? = nil, name: String? = nil, networking: InstanceNetworking? = nil, privateIpAddress: String? = nil, publicIpAddress: String? = nil, resourceType: ResourceType? = nil, sshKeyName: String? = nil, state: InstanceState? = nil, supportCode: String? = nil, tags: [Tag]? = nil, username: String? = nil)