NAME
Paws::CognitoIdentity::RoleMapping
USAGE
This class represents one of two things:
Arguments in a call to a service
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 });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CognitoIdentity::RoleMapping object:
$result = $service_obj->Method(...);
$result->Att1->AmbiguousRoleResolution
DESCRIPTION
A role mapping.
ATTRIBUTES
AmbiguousRoleResolution => Str
If you specify Token or Rules as the Type
, AmbiguousRoleResolution
is required.
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.
RulesConfiguration => Paws::CognitoIdentity::RulesConfigurationType
The rules to be used for mapping users to roles.
If you specify Rules as the role mapping type, RulesConfiguration
is required.
REQUIRED Type => Str
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.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CognitoIdentity
BUGS and CONTRIBUTIONS
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