Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentity_create_identity_pool: Creates a new identity pool

Description

Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The limit on identity pools is 60 per account. The keys for SupportedLoginProviders are as follows:

Usage

cognitoidentity_create_identity_pool(IdentityPoolName,
  AllowUnauthenticatedIdentities, SupportedLoginProviders,
  DeveloperProviderName, OpenIdConnectProviderARNs,
  CognitoIdentityProviders, SamlProviderARNs, IdentityPoolTags)

Arguments

IdentityPoolName

[required] A string that you provide.

AllowUnauthenticatedIdentities

[required] TRUE if the identity pool supports unauthenticated logins.

SupportedLoginProviders

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

DeveloperProviderName

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.

OpenIdConnectProviderARNs

A list of OpendID Connect provider ARNs.

CognitoIdentityProviders

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

SamlProviderARNs

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

IdentityPoolTags

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.

Request syntax

svc$create_identity_pool(
  IdentityPoolName = "string",
  AllowUnauthenticatedIdentities = TRUE|FALSE,
  SupportedLoginProviders = list(
    "string"
  ),
  DeveloperProviderName = "string",
  OpenIdConnectProviderARNs = list(
    "string"
  ),
  CognitoIdentityProviders = list(
    list(
      ProviderName = "string",
      ClientId = "string",
      ServerSideTokenCheck = TRUE|FALSE
    )
  ),
  SamlProviderARNs = list(
    "string"
  ),
  IdentityPoolTags = list(
    "string"
  )
)

Details

  • Facebook: graph.facebook.com

  • Google: accounts.google.com

  • Amazon: www.amazon.com

  • Twitter: api.twitter.com

  • Digits: www.digits.com

You must use AWS Developer credentials to call this API.