You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::GameLift::Types::AttributeValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::AttributeValue
- Defined in:
- (unknown)
Overview
When passing AttributeValue as input to an Aws::Client method, you can use a vanilla Hash:
"value"
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.
Instance Attribute Summary collapse
-
#n ⇒ Float
For number values, expressed as double.
-
#s ⇒ String
For single string values.
-
#sdm ⇒ Hash<String,Float>
For a map of up to 10 data type:value pairs.
-
#sl ⇒ Array<String>
For a list of up to 10 strings.
Instance Attribute Details
#n ⇒ Float
For number values, expressed as double.
#s ⇒ String
For single string values. Maximum string length is 100 characters.
#sdm ⇒ Hash<String,Float>
For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.
#sl ⇒ Array<String>
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.