IdentityPoolRoleAttachmentRoleMappingArgs

data class IdentityPoolRoleAttachmentRoleMappingArgs(val ambiguousRoleResolution: Output<String>? = null, val identityProvider: Output<String>, val mappingRules: Output<List<IdentityPoolRoleAttachmentRoleMappingMappingRuleArgs>>? = null, val type: Output<String>) : ConvertibleToJava<IdentityPoolRoleAttachmentRoleMappingArgs>

Constructors

constructor(ambiguousRoleResolution: Output<String>? = null, identityProvider: Output<String>, mappingRules: Output<List<IdentityPoolRoleAttachmentRoleMappingMappingRuleArgs>>? = null, type: Output<String>)

Properties

Link copied to clipboard
val ambiguousRoleResolution: Output<String>? = null

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.

Link copied to clipboard

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 cognito_identity_providers set on aws.cognito.IdentityPool resource or a aws.cognito.IdentityProvider resource.

Link copied to clipboard

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.

Link copied to clipboard
val type: Output<String>

The role mapping type.

Functions

Link copied to clipboard
open override fun toJava(): IdentityPoolRoleAttachmentRoleMappingArgs