UserPoolIdentityProviderAmazon¶
-
class
aws_cdk.aws_cognito.
UserPoolIdentityProviderAmazon
(scope, id, *, client_id, client_secret, scopes=None, user_pool, attribute_mapping=None)¶ Bases:
aws_cdk.core.Resource
Represents a identity provider that integrates with ‘Login with Amazon’.
- Resource
AWS::Cognito::UserPoolIdentityProvider
- 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
Methods
-
to_string
()¶ Returns a string representation of this construct.
- Return type
str
Attributes
-
env
¶ The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Return type
-
node
¶ The construct tree node associated with this construct.
- Return type
-
provider_name
¶ The primary identifier of this identity provider.
- Return type
str
Static Methods
-
classmethod
is_construct
(x)¶ Return whether the given object is a Construct.
- Parameters
x (
Any
) –- Return type
bool