Selecione suas preferências de cookies

Usamos cookies essenciais e ferramentas semelhantes que são necessárias para fornecer nosso site e serviços. Usamos cookies de desempenho para coletar estatísticas anônimas, para que possamos entender como os clientes usam nosso site e fazer as devidas melhorias. Cookies essenciais não podem ser desativados, mas você pode clicar em “Personalizar” ou “Recusar” para recusar cookies de desempenho.

Se você concordar, a AWS e terceiros aprovados também usarão cookies para fornecer recursos úteis do site, lembrar suas preferências e exibir conteúdo relevante, incluindo publicidade relevante. Para aceitar ou recusar todos os cookies não essenciais, clique em “Aceitar” ou “Recusar”. Para fazer escolhas mais detalhadas, clique em “Personalizar”.

AttributeValue

Modo de foco
AttributeValue - Amazon Verified Permissions
Esta página não foi traduzida para seu idioma. Solicitar tradução

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

decimal

An attribute value of decimal type.

Example: {"decimal": "1.1"}

Type: String

Length Constraints: Minimum length of 3. Maximum length of 23.

Pattern: -?\d{1,15}\.\d{1,4}

Required: No

entityIdentifier

An attribute value of type EntityIdentifier.

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

Type: EntityIdentifier object

Required: No

ipaddr

An attribute value of ipaddr type.

Example: {"ip": "192.168.1.100"}

Type: String

Length Constraints: Minimum length of 1. Maximum length of 44.

Pattern: [0-9a-fA-F\.:\/]*

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:

Nesta página

PrivacidadeTermos do sitePreferências de cookies
© 2025, Amazon Web Services, Inc. ou suas afiliadas. Todos os direitos reservados.