Paws::CognitoIdentity::RoleMapping
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CognitoIdentity::RoleMapping object:
$service_obj->Method(Att1 => { AmbiguousRoleResolution => $value, ..., Type => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CognitoIdentity::RoleMapping object:
$result = $service_obj->Method(...); $result->Att1->AmbiguousRoleResolution
A role mapping.
If you specify Token or Rules as the Type, AmbiguousRoleResolution is required.
Type
AmbiguousRoleResolution
Specifies the action to be taken if either no rules match the claim value for the Rules type, or there is no cognito:preferred_role claim and there are multiple cognito:roles matches for the Token type.
Rules
cognito:preferred_role
cognito:roles
Token
The rules to be used for mapping users to roles.
If you specify Rules as the role mapping type, RulesConfiguration is required.
RulesConfiguration
The role mapping type. Token will use cognito:roles and cognito:preferred_role claims 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.
This class forms part of Paws, describing an object used in Paws::CognitoIdentity
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.