UserPoolIdentityProviderAmazon

class aws_cdk.aws_cognito.UserPoolIdentityProviderAmazon(scope, id, *, client_id, client_secret, scopes=None, user_pool, attribute_mapping=None)

Bases: aws_cdk.aws_cognito.UserPoolIdentityProviderBase

Represents a identity provider that integrates with ‘Login with Amazon’.

stability :stability: experimental resource: :resource:: AWS::Cognito::UserPoolIdentityProvider

__init__(scope, id, *, client_id, client_secret, scopes=None, user_pool, attribute_mapping=None)
Parameters
  • scope (Construct) –

  • id (str) –

  • client_id (str) – The client id recognized by ‘Login with Amazon’ APIs.

  • client_secret (str) – The client secret to be accompanied with clientId for ‘Login with Amazon’ APIs to authenticate the client.

  • scopes (Optional[List[str]]) – The types of user profile data to obtain for the Amazon profile. Default: [ profile ]

  • user_pool (IUserPool) – The user pool to which this construct provides identities.

  • attribute_mapping (Optional[AttributeMapping]) – Mapping attributes from the identity provider to standard and custom attributes of the user pool. Default: - no attribute mapping

stability :stability: experimental

Return type

None

Methods

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

node

The construct tree node associated with this construct.

Return type

ConstructNode

provider_name

The primary identifier of this identity provider.

stability :stability: experimental

Return type

str

stack

The stack in which this resource is defined.

Return type

Stack

Static Methods

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool