IdentityPoolProviders

class aws_cdk.aws_cognito_identitypool.IdentityPoolProviders(*, amazon=None, apple=None, digits=None, facebook=None, google=None, twitter=None)

Bases: object

(experimental) External Identity Providers To Connect to User Pools and Identity Pools.

Parameters:
  • amazon (Union[IdentityPoolAmazonLoginProvider, Dict[str, Any], None]) – (experimental) App Id for Amazon Identity Federation. Default: - No Amazon Authentication Provider used without OpenIdConnect or a User Pool

  • apple (Union[IdentityPoolAppleLoginProvider, Dict[str, Any], None]) – (experimental) Services Id for Apple Identity Federation. Default: - No Apple Authentication Provider used without OpenIdConnect or a User Pool

  • digits (Union[IdentityPoolDigitsLoginProvider, Dict[str, Any], None]) – (experimental) Consumer Key and Secret for Digits Identity Federation. Default: - No Digits Authentication Provider used without OpenIdConnect or a User Pool

  • facebook (Union[IdentityPoolFacebookLoginProvider, Dict[str, Any], None]) – (experimental) App Id for Facebook Identity Federation. Default: - No Facebook Authentication Provider used without OpenIdConnect or a User Pool

  • google (Union[IdentityPoolGoogleLoginProvider, Dict[str, Any], None]) – (experimental) Client Id for Google Identity Federation. Default: - No Google Authentication Provider used without OpenIdConnect or a User Pool

  • twitter (Union[IdentityPoolTwitterLoginProvider, Dict[str, Any], None]) – (experimental) Consumer Key and Secret for Twitter Identity Federation. Default: - No Twitter Authentication Provider used without OpenIdConnect or a User Pool

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cognito_identitypool as cognito_identitypool

identity_pool_providers = cognito_identitypool.IdentityPoolProviders(
    amazon=cognito_identitypool.IdentityPoolAmazonLoginProvider(
        app_id="appId"
    ),
    apple=cognito_identitypool.IdentityPoolAppleLoginProvider(
        services_id="servicesId"
    ),
    digits=cognito_identitypool.IdentityPoolDigitsLoginProvider(
        consumer_key="consumerKey",
        consumer_secret="consumerSecret"
    ),
    facebook=cognito_identitypool.IdentityPoolFacebookLoginProvider(
        app_id="appId"
    ),
    google=cognito_identitypool.IdentityPoolGoogleLoginProvider(
        client_id="clientId"
    ),
    twitter=cognito_identitypool.IdentityPoolTwitterLoginProvider(
        consumer_key="consumerKey",
        consumer_secret="consumerSecret"
    )
)

Attributes

amazon

(experimental) App Id for Amazon Identity Federation.

Default:
  • No Amazon Authentication Provider used without OpenIdConnect or a User Pool

Stability:

experimental

apple

(experimental) Services Id for Apple Identity Federation.

Default:
  • No Apple Authentication Provider used without OpenIdConnect or a User Pool

Stability:

experimental

digits

(experimental) Consumer Key and Secret for Digits Identity Federation.

Default:
  • No Digits Authentication Provider used without OpenIdConnect or a User Pool

Stability:

experimental

facebook

(experimental) App Id for Facebook Identity Federation.

Default:
  • No Facebook Authentication Provider used without OpenIdConnect or a User Pool

Stability:

experimental

google

(experimental) Client Id for Google Identity Federation.

Default:
  • No Google Authentication Provider used without OpenIdConnect or a User Pool

Stability:

experimental

twitter

(experimental) Consumer Key and Secret for Twitter Identity Federation.

Default:
  • No Twitter Authentication Provider used without OpenIdConnect or a User Pool

Stability:

experimental