IdentityPoolRoleAttachmentRoleMapping class
Constructors
-
IdentityPoolRoleAttachmentRoleMapping({Input<String?>? ambiguousRoleResolution, required Input<String> identityProvider, Input<List<IdentityPoolRoleAttachmentRoleMappingMappingRule>?>? mappingRules, required Input<String> type})
-
Creates a new IdentityPoolRoleAttachmentRoleMapping.
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. Required if you specify Token or Rules as the Type.
identityProvider A string identifying the identity provider, for example, "graph.facebook.com" or "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". Depends on cognitoIdentityProviders set on aws.cognito.IdentityPool resource or a aws.cognito.IdentityProvider resource.
mappingRules The Rules Configuration to be used for mapping users to roles. You can specify up to 25 rules per identity provider. Rules are evaluated in order. The first one to match specifies the role.
type The role mapping type.
const
-
IdentityPoolRoleAttachmentRoleMapping.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
ambiguousRoleResolution
→ Input<String?>?
-
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.
Required if you specify Token or Rules as the Type.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
identityProvider
→ Input<String>
-
A string identifying the identity provider, for example, "graph.facebook.com" or "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". Depends on
cognitoIdentityProviders set on aws.cognito.IdentityPool resource or a aws.cognito.IdentityProvider resource.
final
-
mappingRules
→ Input<List<IdentityPoolRoleAttachmentRoleMappingMappingRule>?>?
-
The Rules Configuration to be used for mapping users to roles. You can specify up to 25 rules per identity provider. Rules are evaluated in order. The first one to match specifies the role.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<String>
-
The role mapping type.
final