class Aws::GameLift::Types::AttributeValue
Values for use in Player
attribute key-value pairs. This object lets you specify an attribute value using any of the valid data types: string, number, string array, or data map. Each `AttributeValue` object can use only one of the available properties.
@note When making an API call, you may pass AttributeValue
data as a hash: { s: "NonZeroAndMaxString", n: 1.0, sl: ["NonZeroAndMaxString"], sdm: { "NonZeroAndMaxString" => 1.0, }, }
@!attribute [rw] s
For single string values. Maximum string length is 100 characters. @return [String]
@!attribute [rw] n
For number values, expressed as double. @return [Float]
@!attribute [rw] sl
For a list of up to 10 strings. Maximum length for each string is 100 characters. Duplicate values are not recognized; all occurrences of the repeated value after the first of a repeated value are ignored. @return [Array<String>]
@!attribute [rw] sdm
For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters. @return [Hash<String,Float>]
@see docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/AttributeValue AWS API Documentation
Constants
- SENSITIVE