Package com.pulumi.aws.cognito.inputs
Class IdentityPoolRoleAttachmentRoleMappingArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cognito.inputs.IdentityPoolRoleAttachmentRoleMappingArgs.Builder
-
- Enclosing class:
- IdentityPoolRoleAttachmentRoleMappingArgs
public static final class IdentityPoolRoleAttachmentRoleMappingArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(IdentityPoolRoleAttachmentRoleMappingArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(IdentityPoolRoleAttachmentRoleMappingArgs defaults)
-
-
Method Detail
-
ambiguousRoleResolution
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder ambiguousRoleResolution(@Nullable com.pulumi.core.Output<java.lang.String> ambiguousRoleResolution)
- Parameters:
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.- Returns:
- builder
-
ambiguousRoleResolution
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder ambiguousRoleResolution(java.lang.String ambiguousRoleResolution)
- Parameters:
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.- Returns:
- builder
-
identityProvider
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder identityProvider(com.pulumi.core.Output<java.lang.String> identityProvider)
- Parameters:
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.- Returns:
- builder
-
identityProvider
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder identityProvider(java.lang.String identityProvider)
- Parameters:
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.- Returns:
- builder
-
mappingRules
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder mappingRules(@Nullable com.pulumi.core.Output<java.util.List<IdentityPoolRoleAttachmentRoleMappingMappingRuleArgs>> mappingRules)
- Parameters:
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.- Returns:
- builder
-
mappingRules
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder mappingRules(java.util.List<IdentityPoolRoleAttachmentRoleMappingMappingRuleArgs> mappingRules)
- Parameters:
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.- Returns:
- builder
-
mappingRules
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder mappingRules(IdentityPoolRoleAttachmentRoleMappingMappingRuleArgs... mappingRules)
- Parameters:
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.- Returns:
- builder
-
type
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- The role mapping type.- Returns:
- builder
-
type
public IdentityPoolRoleAttachmentRoleMappingArgs.Builder type(java.lang.String type)
- Parameters:
type- The role mapping type.- Returns:
- builder
-
build
public IdentityPoolRoleAttachmentRoleMappingArgs build()
-
-