Show / Hide Table of Contents

Class CfnGameServerGroupPropsMixin.InstanceDefinitionProperty

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

Inheritance
object
CfnGameServerGroupPropsMixin.InstanceDefinitionProperty
Implements
CfnGameServerGroupPropsMixin.IInstanceDefinitionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnGameServerGroupPropsMixin.InstanceDefinitionProperty : CfnGameServerGroupPropsMixin.IInstanceDefinitionProperty
Syntax (vb)
Public Class CfnGameServerGroupPropsMixin.InstanceDefinitionProperty Implements CfnGameServerGroupPropsMixin.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.Mixins.Preview.AWS.GameLift.Mixins;

             var instanceDefinitionProperty = new InstanceDefinitionProperty {
                 InstanceType = "instanceType",
                 WeightedCapacity = "weightedCapacity"
             };

Synopsis

Constructors

InstanceDefinitionProperty()

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

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()

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

public InstanceDefinitionProperty()
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.Mixins.Preview.AWS.GameLift.Mixins;

             var instanceDefinitionProperty = new InstanceDefinitionProperty {
                 InstanceType = "instanceType",
                 WeightedCapacity = "weightedCapacity"
             };

Properties

InstanceType

An Amazon EC2 instance type designation.

public string? InstanceType { get; set; }
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.

public string? WeightedCapacity { get; set; }
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

Implements

CfnGameServerGroupPropsMixin.IInstanceDefinitionProperty
Back to top Generated by DocFX