RoleMapping
A role mapping.
Contents
- Type
-
The role mapping type. Token will use
cognito:rolesandcognito:preferred_roleclaims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role.Type: String
Valid Values:
Token | RulesRequired: Yes
- AmbiguousRoleResolution
-
If you specify Token or Rules as the
Type,AmbiguousRoleResolutionis required.Specifies the action to be taken if either no rules match the claim value for the
Rulestype, or there is nocognito:preferred_roleclaim and there are multiplecognito:rolesmatches for theTokentype.Type: String
Valid Values:
AuthenticatedRole | DenyRequired: No
- RulesConfiguration
-
The rules to be used for mapping users to roles.
If you specify Rules as the role mapping type,
RulesConfigurationis required.Type: RulesConfigurationType object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: