Package com.pulumi.aws.cognito.outputs
Class IdentityPoolRoleAttachmentRoleMapping
- java.lang.Object
-
- com.pulumi.aws.cognito.outputs.IdentityPoolRoleAttachmentRoleMapping
-
public final class IdentityPoolRoleAttachmentRoleMapping extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityPoolRoleAttachmentRoleMapping.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>ambiguousRoleResolution()static IdentityPoolRoleAttachmentRoleMapping.Builderbuilder()static IdentityPoolRoleAttachmentRoleMapping.Builderbuilder(IdentityPoolRoleAttachmentRoleMapping defaults)java.lang.StringidentityProvider()java.util.List<IdentityPoolRoleAttachmentRoleMappingMappingRule>mappingRules()java.lang.Stringtype()
-
-
-
Method Detail
-
ambiguousRoleResolution
public java.util.Optional<java.lang.String> ambiguousRoleResolution()
- Returns:
- 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
public java.lang.String identityProvider()
- Returns:
- 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
public java.util.List<IdentityPoolRoleAttachmentRoleMappingMappingRule> mappingRules()
- Returns:
- 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
public java.lang.String type()
- Returns:
- The role mapping type.
-
builder
public static IdentityPoolRoleAttachmentRoleMapping.Builder builder()
-
builder
public static IdentityPoolRoleAttachmentRoleMapping.Builder builder(IdentityPoolRoleAttachmentRoleMapping defaults)
-
-