AttributeValue - Amazon Verified Permissions

AttributeValue

The value of an attribute.

Contains information about the runtime context for a request for which an authorization decision is made.

This data type is used as a member of the ContextDefinition structure which is uses as a request parameter for the IsAuthorized, BatchIsAuthorized, and IsAuthorizedWithToken operations.

Contents

Note

In the following list, the required parameters are described first.

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

boolean

An attribute value of Boolean type.

Example: {"boolean": true}

Type: Boolean

Required: No

entityIdentifier

An attribute value of type EntityIdentifier.

Example: "entityIdentifier": { "entityId": "<id>", "entityType": "<entity type>"}

Type: EntityIdentifier object

Required: No

long

An attribute value of Long type.

Example: {"long": 0}

Type: Long

Required: No

record

An attribute value of Record type.

Example: {"record": { "keyName": {} } }

Type: String to AttributeValue object map

Required: No

set

An attribute value of Set type.

Example: {"set": [ {} ] }

Type: Array of AttributeValue objects

Required: No

string

An attribute value of String type.

Example: {"string": "abc"}

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: