Show / Hide Table of Contents

Class CfnMatchmakingConfiguration.GamePropertyProperty

This key-value pair can store custom data about a game session.

Inheritance
object
CfnMatchmakingConfiguration.GamePropertyProperty
Implements
CfnMatchmakingConfiguration.IGamePropertyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMatchmakingConfiguration.GamePropertyProperty : CfnMatchmakingConfiguration.IGamePropertyProperty
Syntax (vb)
Public Class CfnMatchmakingConfiguration.GamePropertyProperty Implements CfnMatchmakingConfiguration.IGamePropertyProperty
Remarks

For example, you might use a GameProperty to track a game session's map, level of difficulty, or remaining time. The difficulty level could be specified like this: {"Key": "difficulty", "Value":"Novice"} .

You can set game properties when creating a game session. You can also modify game properties of an active game session. When searching for game sessions, you can filter on game property keys and values. You can't delete game properties from a game session.

For examples of working with game properties, see Create a game session with properties .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-matchmakingconfiguration-gameproperty.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 gamePropertyProperty = new GamePropertyProperty {
                 Key = "key",
                 Value = "value"
             };

Synopsis

Constructors

GamePropertyProperty()

This key-value pair can store custom data about a game session.

Properties

Key

The game property identifier.

Value

The game property value.

Constructors

GamePropertyProperty()

This key-value pair can store custom data about a game session.

public GamePropertyProperty()
Remarks

For example, you might use a GameProperty to track a game session's map, level of difficulty, or remaining time. The difficulty level could be specified like this: {"Key": "difficulty", "Value":"Novice"} .

You can set game properties when creating a game session. You can also modify game properties of an active game session. When searching for game sessions, you can filter on game property keys and values. You can't delete game properties from a game session.

For examples of working with game properties, see Create a game session with properties .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-matchmakingconfiguration-gameproperty.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 gamePropertyProperty = new GamePropertyProperty {
                 Key = "key",
                 Value = "value"
             };

Properties

Key

The game property identifier.

public string Key { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-matchmakingconfiguration-gameproperty.html#cfn-gamelift-matchmakingconfiguration-gameproperty-key

Value

The game property value.

public string Value { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-matchmakingconfiguration-gameproperty.html#cfn-gamelift-matchmakingconfiguration-gameproperty-value

Implements

CfnMatchmakingConfiguration.IGamePropertyProperty
Back to top Generated by DocFX