InstanceDefinition

public struct InstanceDefinition : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • An EC2 instance type designation.

    Declaration

    Swift

    public let instanceType: GameServerGroupInstanceType
  • Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type’s cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is “1”.

    Declaration

    Swift

    public let weightedCapacity: String?
  • Undocumented

    Declaration

    Swift

    public init(instanceType: GameServerGroupInstanceType, weightedCapacity: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws