Show / Hide Table of Contents

Class CfnGameServerGroup.InstanceDefinitionProperty

This data type is used with the Amazon GameLift FleetIQ and game server groups..

Inheritance
System.Object
CfnGameServerGroup.InstanceDefinitionProperty
Implements
CfnGameServerGroup.IInstanceDefinitionProperty
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.AWS.GameLift.dll
Syntax (csharp)
public class InstanceDefinitionProperty : Object, CfnGameServerGroup.IInstanceDefinitionProperty
Syntax (vb)
Public Class InstanceDefinitionProperty
    Inherits Object
    Implements CfnGameServerGroup.IInstanceDefinitionProperty
Remarks

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinition.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;

var instanceDefinitionProperty = new InstanceDefinitionProperty {
    InstanceType = "instanceType",

    // the properties below are optional
    WeightedCapacity = "weightedCapacity"
};

Synopsis

Constructors

InstanceDefinitionProperty()

Properties

InstanceType

An Amazon EC2 instance type designation.

WeightedCapacity

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group.

Constructors

InstanceDefinitionProperty()

public InstanceDefinitionProperty()

Properties

InstanceType

An Amazon EC2 instance type designation.

public string InstanceType { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinition.html#cfn-gamelift-gameservergroup-instancedefinition-instancetype

WeightedCapacity

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group.

public string WeightedCapacity { get; set; }
Property Value

System.String

Remarks

Instance weights are used by Amazon 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 Elastic Compute Cloud Auto Scaling User Guide . Default value is "1".

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinition.html#cfn-gamelift-gameservergroup-instancedefinition-weightedcapacity

Implements

CfnGameServerGroup.IInstanceDefinitionProperty
Back to top Generated by DocFX