ContextDefinition
Contains additional details about the context of the request. Verified Permissions evaluates this
information in an authorization request as part of the when
and
unless
clauses in a policy.
This data type is used as a request parameter for the IsAuthorized, BatchIsAuthorized, and IsAuthorizedWithToken operations.
Example:
"context":{"contextMap":{"<KeyName1>":{"boolean":true},"<KeyName2>":{"long":1234}}}
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.
- contextMap
-
An list of attributes that are needed to successfully evaluate an authorization request. Each attribute in this array must include a map of a data type and its value.
Example:
"contextMap":{"<KeyName1>":{"boolean":true},"<KeyName2>":{"long":1234}}
Type: String to AttributeValue object map
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: