IdentityPoolRoleAttachmentRoleMappingMappingRule constructor

const IdentityPoolRoleAttachmentRoleMappingMappingRule({
  1. required Input<String> claim,
  2. required Input<String> matchType,
  3. required Input<String> roleArn,
  4. required Input<String> value,
})

Creates a new IdentityPoolRoleAttachmentRoleMappingMappingRule. claim The claim name that must be present in the token, for example, "isAdmin" or "paid". matchType The match condition that specifies how closely the claim value in the IdP token must match Value. roleArn The role ARN. value A brief string that the claim must match, for example, "paid" or "yes".

Implementation

const IdentityPoolRoleAttachmentRoleMappingMappingRule({
  required this.claim,
  required this.matchType,
  required this.roleArn,
  required this.value,
});