Amazon Cognito IdentityPoolRoleAttachment MappingRule
MappingRule is a subproperty of the Amazon Cognito IdentityPoolRoleAttachment RoleMapping
property that defines how to map a claim to a role arn.
Syntax
Properties
Claim-
The claim name that must be present in the token, for example, "isAdmin" or "paid."
Required: Yes
Type: String
Update requires: No interruption
MatchType-
The match condition that specifies how closely the claim value in the IdP token must match
Value.Valid values are:
Equals,Contains,StartsWith, andNotEqual.Required: Yes
Type: String
Update requires: No interruption
RoleARN-
The Amazon Resource Name (ARN) of the role.
Required: Yes
Type: String
Update requires: No interruption
Value-
A brief string that the claim must match, for example, "paid" or "yes."
Required: Yes
Type: String
Update requires: No interruption
