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

Class: Aws::CognitoIdentity::Types::CreateIdentityPoolInput

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

Overview

Note:

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

{
  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",
  },
}

Input to the CreateIdentityPool action.

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>

An array of Amazon Cognito user pools and their client IDs.

Returns:

#developer_provider_nameString

The \"domain\" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName, you can use letters as well as period (.), underscore (_), and dash (-).

Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.

Returns:

  • (String)

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

#identity_pool_nameString

A string that you provide.

Returns:

  • (String)

    A string that you provide.

#identity_pool_tagsHash<String,String>

Tags to assign 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>)

    Tags to assign 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.