Show / Hide Table of Contents

Interface CfnGameServerGroup.IInstanceDefinitionProperty

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

Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnGameServerGroup.IInstanceDefinitionProperty
Syntax (vb)
Public Interface 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.

See: 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

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.

Properties

InstanceType

An Amazon EC2 instance type designation.

string InstanceType { get; }
Property Value

string

Remarks

See: 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.

string? WeightedCapacity { get; }
Property Value

string

Remarks

Instance weights are used by Amazon GameLift Servers 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".

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

Back to top Generated by DocFX