You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::ContextDataType

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ContextDataType as input to an Aws::Client method, you can use a vanilla Hash:

{
  ip_address: "StringType", # required
  server_name: "StringType", # required
  server_path: "StringType", # required
  http_headers: [ # required
    {
      header_name: "StringType",
      header_value: "StringType",
    },
  ],
  encoded_data: "StringType",
}

Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#encoded_dataString

Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.

Returns:

  • (String)

    Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.

#http_headersArray<Types::HttpHeader>

HttpHeaders received on your server in same order.

Returns:

#ip_addressString

Source IP address of your user.

Returns:

  • (String)

    Source IP address of your user.

#server_nameString

Your server endpoint where this API is invoked.

Returns:

  • (String)

    Your server endpoint where this API is invoked.

#server_pathString

Your server path where this API is invoked.

Returns:

  • (String)

    Your server path where this API is invoked.