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

Class: Aws::CognitoIdentity::Types::IdentityPool

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

Overview

Note:

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

{
  identity_pool_id: "IdentityPoolId", # required
  identity_pool_name: "IdentityPoolName", # required
  allow_unauthenticated_identities: false, # required
  allow_classic_flow: false,
  supported_login_providers: {
    "IdentityProviderName" => "IdentityProviderId",
  },
  developer_provider_name: "DeveloperProviderName",
  open_id_connect_provider_arns: ["ARNString"],
  cognito_identity_providers: [
    {
      provider_name: "CognitoIdentityProviderName",
      client_id: "CognitoIdentityProviderClientId",
      server_side_token_check: false,
    },
  ],
  saml_provider_arns: ["ARNString"],
  identity_pool_tags: {
    "TagKeysType" => "TagValueType",
  },
}

An object representing an Amazon Cognito identity pool.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#allow_classic_flowBoolean

Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.

Returns:

  • (Boolean)

    Enables or disables the Basic (Classic) authentication flow.

#allow_unauthenticated_identitiesBoolean

TRUE if the identity pool supports unauthenticated logins.

Returns:

  • (Boolean)

    TRUE if the identity pool supports unauthenticated logins.

#cognito_identity_providersArray<Types::CognitoIdentityProvider>

A list representing an Amazon Cognito user pool and its client ID.

Returns:

#developer_provider_nameString

The \"domain\" by which Cognito will refer to your users.

Returns:

  • (String)

    The \"domain\" by which Cognito will refer to your users.

#identity_pool_idString

An identity pool ID in the format REGION:GUID.

Returns:

  • (String)

    An identity pool ID in the format REGION:GUID.

#identity_pool_nameString

A string that you provide.

Returns:

  • (String)

    A string that you provide.

#identity_pool_tagsHash<String,String>

The tags that are assigned to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

Returns:

  • (Hash<String,String>)

    The tags that are assigned to the identity pool.

#open_id_connect_provider_arnsArray<String>

A list of OpendID Connect provider ARNs.

Returns:

  • (Array<String>)

    A list of OpendID Connect provider ARNs.

#saml_provider_arnsArray<String>

An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

Returns:

  • (Array<String>)

    An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

#supported_login_providersHash<String,String>

Optional key:value pairs mapping provider names to provider app IDs.

Returns:

  • (Hash<String,String>)

    Optional key:value pairs mapping provider names to provider app IDs.