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
show all
Defined in:
(unknown)

Overview

Note:

When passing AttributeValue as input to an Aws::Client method, you can use a vanilla Hash:

"value"

Values for use in Player attribute type: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

Instance Attribute Details

#nFloat

For number values, expressed as double.

Returns:

  • (Float)

    For number values, expressed as double.

#sString

For single string values. Maximum string length is 100 characters.

Returns:

  • (String)

    For single string values.

#sdmHash<String,Float>

For a map of up to 10 type:value pairs. Maximum length for each string value is 100 characters.

Returns:

  • (Hash<String,Float>)

    For a map of up to 10 type:value pairs.

#slArray<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.

Returns:

  • (Array<String>)

    For a list of up to 10 strings.