Represents an identity provider that integrates with Login with Amazon.
import { UserPoolIdentityProviderAmazon } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.UserPoolIdentityProviderAmazonConfiguration passed to the constructor as UserPoolIdentityProviderAmazonProps.
clientIdRequiredstringThe client id recognized by Login with Amazon APIs.
clientSecretRequiredstringThe client secret to be accompanied with clientId for Login with Amazon APIs to authenticate the client.
scopesOptionalstring[]The types of user profile data to obtain for the Amazon profile.
Default: [ profile ]
UserPoolIdentityProviderPropsuserPoolRequiredinherited from UserPoolIdentityProviderPropsIUserPoolThe user pool to which this construct provides identities.
attributeMappingOptionalinherited from UserPoolIdentityProviderPropsAttributeMappingMapping attributes from the identity provider to standard and custom attributes of the user pool.
Default: - no attribute mapping
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognito