Instance

public struct Instance : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example “1469498468.057”).

    Declaration

    Swift

    public let creationTime: TimeStamp?
  • DNS identifier assigned to the instance that is running the game session. Values have the following format: TLS-enabled fleets: <unique identifier>.<region identifier>.amazongamelift.com. Non-TLS-enabled fleets: ec2-<unique identifier>.compute.amazonaws.com. (See Amazon EC2 Instance IP Addressing.) When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

    Declaration

    Swift

    public let dnsName: String?
  • A unique identifier for a fleet that the instance is in.

    Declaration

    Swift

    public let fleetId: String?
  • A unique identifier for an instance.

    Declaration

    Swift

    public let instanceId: String?
  • IP address that is assigned to the instance.

    Declaration

    Swift

    public let ipAddress: String?
  • Operating system that is running on this instance.

    Declaration

    Swift

    public let operatingSystem: OperatingSystem?
  • Current status of the instance. Possible statuses include the following: PENDING – The instance is in the process of being created and launching server processes as defined in the fleet’s run-time configuration. ACTIVE – The instance has been successfully created and at least one server process has successfully launched and reported back to Amazon GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions. TERMINATING – The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.

    Declaration

    Swift

    public let status: InstanceStatus?
  • EC2 instance type that defines the computing resources of this instance.

    Declaration

    Swift

    public let type: EC2InstanceType?
  • Undocumented

    Declaration

    Swift

    public init(creationTime: TimeStamp? = nil, dnsName: String? = nil, fleetId: String? = nil, instanceId: String? = nil, ipAddress: String? = nil, operatingSystem: OperatingSystem? = nil, status: InstanceStatus? = nil, type: EC2InstanceType? = nil)