UserPoolClientIdentityProvider

class aws_cdk.aws_cognito.UserPoolClientIdentityProvider(*args: Any, **kwargs)

Bases: object

Identity providers supported by the UserPoolClient.

ExampleMetadata:

infused

Example:

pool = cognito.UserPool(self, "Pool")
pool.add_client("app-client",
    # ...
    supported_identity_providers=[cognito.UserPoolClientIdentityProvider.AMAZON, cognito.UserPoolClientIdentityProvider.COGNITO
    ]
)

Attributes

AMAZON = <aws_cdk.aws_cognito.UserPoolClientIdentityProvider object>
APPLE = <aws_cdk.aws_cognito.UserPoolClientIdentityProvider object>
COGNITO = <aws_cdk.aws_cognito.UserPoolClientIdentityProvider object>
FACEBOOK = <aws_cdk.aws_cognito.UserPoolClientIdentityProvider object>
GOOGLE = <aws_cdk.aws_cognito.UserPoolClientIdentityProvider object>
name

The name of the identity provider as recognized by CloudFormation property SupportedIdentityProviders.

Static Methods

classmethod custom(name)

Specify a provider not yet supported by the CDK.

Parameters:

name (str) – name of the identity provider as recognized by CloudFormation property SupportedIdentityProviders.

Return type:

UserPoolClientIdentityProvider