class Aws::CognitoIdentity::Types::MappingRule

A rule that maps a claim name, a claim value, and a match type to a role ARN.

@note When making an API call, you may pass MappingRule

data as a hash:

    {
      claim: "ClaimName", # required
      match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
      value: "ClaimValue", # required
      role_arn: "ARNString", # required
    }

@!attribute [rw] claim

The claim name that must be present in the token, for example,
"isAdmin" or "paid".
@return [String]

@!attribute [rw] match_type

The match condition that specifies how closely the claim value in
the IdP token must match `Value`.
@return [String]

@!attribute [rw] value

A brief string that the claim must match, for example, "paid" or
"yes".
@return [String]

@!attribute [rw] role_arn

The role ARN.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MappingRule AWS API Documentation

Constants

SENSITIVE