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

Input to the CreateIdentityPool action.

Instance Attribute Summary collapse

Instance Attribute Details

#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 Identity 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.

#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.