ContextDataType - Amazon Cognito User Pools
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).

ContextDataType

Contextual user data used for evaluating the risk of an authentication event by user pool threat protection.

This data type is a request parameter of server-side authentication operations like AdminInitiateAuth and AdminRespondToAuthChallenge.

Contents

HttpHeaders

The HTTP headers from your user's authentication request.

Type: Array of HttpHeader objects

Required: Yes

IpAddress

The source IP address of your user's device.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: Yes

ServerName

The name of your application's service endpoint.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: Yes

ServerPath

The path of your application's service endpoint.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: Yes

EncodedData

Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see Adding user device and session data to API requests.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: No

See Also

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