IdentityPoolAmazonLoginProvider

class aws_cdk.aws_cognito_identitypool.IdentityPoolAmazonLoginProvider(*, app_id)

Bases: object

(experimental) Login Provider for Identity Federation using Amazon Credentials.

Parameters:

app_id (str) – (experimental) App Id for Amazon Identity Federation.

Stability:

experimental

ExampleMetadata:

infused

Example:

IdentityPool(self, "myidentitypool",
    identity_pool_name="myidentitypool",
    authentication_providers=IdentityPoolAuthenticationProviders(
        amazon=IdentityPoolAmazonLoginProvider(
            app_id="amzn1.application.12312k3j234j13rjiwuenf"
        ),
        facebook=IdentityPoolFacebookLoginProvider(
            app_id="1234567890123"
        ),
        google=IdentityPoolGoogleLoginProvider(
            client_id="12345678012.apps.googleusercontent.com"
        ),
        apple=IdentityPoolAppleLoginProvider(
            services_id="com.myappleapp.auth"
        ),
        twitter=IdentityPoolTwitterLoginProvider(
            consumer_key="my-twitter-id",
            consumer_secret="my-twitter-secret"
        )
    )
)

Attributes

app_id

(experimental) App Id for Amazon Identity Federation.

Stability:

experimental