AWS::Cognito::IdentityPoolPrincipalTagA list of the identity pool principal tag assignments for attributes for access control.
import { CfnIdentityPoolPrincipalTag } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.CfnIdentityPoolPrincipalTagConfiguration passed to the constructor as CfnIdentityPoolPrincipalTagProps.
identityPoolIdRequiredstringThe identity pool that you want to associate with this principal tag map.
identityProviderNameRequiredstringThe identity pool identity provider (IdP) that you want to associate with this principal tag map.
principalTagsOptionalanyA JSON-formatted list of user claims and the principal tags that you want to associate with them. When Amazon Cognito requests credentials, it sets the value of the principal tag to the value of the user's claim.
useDefaultsOptionalboolean | IResolvableUse a default set of mappings between claims and tags for this provider, instead of a custom map.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognitoAWS::Cognito::IdentityPoolPrincipalTag