Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data InstanceDefinition Source #
__This data type is used with the GameLift FleetIQ and game server groups.__
An allowed instance type for a GameServerGroup. All game server groups must have at least two instance types defined for it. GameLift FleetIQ periodically evaluates each defined instance type for viability. It then updates the Auto Scaling group with the list of viable instance types.
See: newInstanceDefinition
smart constructor.
InstanceDefinition' | |
|
Instances
newInstanceDefinition Source #
Create a value of InstanceDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:weightedCapacity:InstanceDefinition'
, instanceDefinition_weightedCapacity
- 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".
$sel:instanceType:InstanceDefinition'
, instanceDefinition_instanceType
- An EC2 instance type designation.
instanceDefinition_weightedCapacity :: Lens' InstanceDefinition (Maybe Text) Source #
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".
instanceDefinition_instanceType :: Lens' InstanceDefinition GameServerGroupInstanceType Source #
An EC2 instance type designation.