View a markdown version of this page

ContextProviderKeyDefinition - Amazon Identity and Access Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ContextProviderKeyDefinition

Defines a single mapping from a source key in the external identity provider's assertion or token to a target trusted context key.

This data type is used as a member of the ContextProvider data type.

Contents

SourceKey

The key in the external identity provider's assertion or token to read the value from.

The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the following characters: _ . : / = + - @ #. It can't start or end with a space or contain two spaces in a row.

Type: String

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

Required: Yes

TargetKey

The trusted context key to map the source value into.

The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the following characters: _ . : / = + - @ #. It can't start or end with a space or contain two spaces in a row.

Type: String

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

Required: No

See Also

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