IdentityPoolAuthenticationProviders

class aws_cdk.aws_cognito_identitypool_alpha.IdentityPoolAuthenticationProviders(*, amazon=None, apple=None, custom_provider=None, facebook=None, google=None, open_id_connect_providers=None, saml_providers=None, twitter=None, user_pools=None)

Bases: object

(experimental) External Authentication Providers for usage in Identity Pool.

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

  • apple (Union[IdentityPoolAppleLoginProvider, Dict[str, Any], None]) – (experimental) The Apple Authentication Provider associated with this Identity Pool. Default: - No Apple Authentication Provider used without OpenIdConnect or a User Pool

  • custom_provider (Optional[str]) – (experimental) The developer provider name to associate with this Identity Pool. Default: - no custom provider

  • facebook (Union[IdentityPoolFacebookLoginProvider, Dict[str, Any], None]) – (experimental) The Facebook Authentication Provider associated with this Identity Pool. Default: - No Facebook Authentication Provider used without OpenIdConnect or a User Pool

  • google (Union[IdentityPoolGoogleLoginProvider, Dict[str, Any], None]) – (experimental) The Google Authentication Provider associated with this Identity Pool. Default: - No Google Authentication Provider used without OpenIdConnect or a User Pool

  • open_id_connect_providers (Optional[Sequence[IOpenIdConnectProvider]]) – (experimental) The OpenIdConnect Provider associated with this Identity Pool. Default: - no OpenIdConnectProvider

  • saml_providers (Optional[Sequence[ISamlProvider]]) – (experimental) The Security Assertion Markup Language provider associated with this Identity Pool. Default: - no SamlProvider

  • twitter (Union[IdentityPoolTwitterLoginProvider, Dict[str, Any], None]) – (experimental) The Twitter Authentication Provider associated with this Identity Pool. Default: - No Twitter Authentication Provider used without OpenIdConnect or a User Pool

  • user_pools (Optional[Sequence[IUserPoolAuthenticationProvider]]) – (experimental) The User Pool Authentication Providers associated with this Identity Pool. Default: - no User Pools associated

See:

https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html

Stability:

experimental

ExampleMetadata:

infused

Example:

# open_id_connect_provider: iam.OpenIdConnectProvider

IdentityPool(self, "myidentitypool",
    identity_pool_name="myidentitypool",
    authentication_providers=IdentityPoolAuthenticationProviders(
        google=IdentityPoolGoogleLoginProvider(
            client_id="12345678012.apps.googleusercontent.com"
        ),
        open_id_connect_providers=[open_id_connect_provider],
        custom_provider="my-custom-provider.example.com"
    )
)

Attributes

amazon

(experimental) The Amazon Authentication Provider associated with this Identity Pool.

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

Stability:

experimental

apple

(experimental) The Apple Authentication Provider associated with this Identity Pool.

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

Stability:

experimental

custom_provider

(experimental) The developer provider name to associate with this Identity Pool.

Default:
  • no custom provider

Stability:

experimental

facebook

(experimental) The Facebook Authentication Provider associated with this Identity Pool.

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

Stability:

experimental

google

(experimental) The Google Authentication Provider associated with this Identity Pool.

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

Stability:

experimental

open_id_connect_providers

(experimental) The OpenIdConnect Provider associated with this Identity Pool.

Default:
  • no OpenIdConnectProvider

Stability:

experimental

saml_providers

(experimental) The Security Assertion Markup Language provider associated with this Identity Pool.

Default:
  • no SamlProvider

Stability:

experimental

twitter

(experimental) The Twitter Authentication Provider associated with this Identity Pool.

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

Stability:

experimental

user_pools

(experimental) The User Pool Authentication Providers associated with this Identity Pool.

Default:
  • no User Pools associated

Stability:

experimental