AWSCognitoIdentityMappingRule Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSCognitoIdentityModel.h
AWSCognitoIdentityModel.m

Overview

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

Required parameters: [Claim, MatchType, Value, RoleARN]

  claim

The claim name that must be present in the token, for example, "isAdmin" or "paid".

@property (nonatomic, strong) NSString *claim

Declared In

AWSCognitoIdentityModel.h

  matchType

The match condition that specifies how closely the claim value in the IdP token must match Value.

@property (nonatomic, assign) AWSCognitoIdentityMappingRuleMatchType matchType

Declared In

AWSCognitoIdentityModel.h

  roleARN

The role ARN.

@property (nonatomic, strong) NSString *roleARN

Declared In

AWSCognitoIdentityModel.h

  value

A brief string that the claim must match, for example, "paid" or "yes".

@property (nonatomic, strong) NSString *value

Declared In

AWSCognitoIdentityModel.h