Class IdentityPool.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.identitypool.alpha.IdentityPool.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IdentityPool>
- Enclosing class:
IdentityPool
@Stability(Deprecated)
@Deprecated
public static final class IdentityPool.Builder
extends Object
implements software.amazon.jsii.Builder<IdentityPool>
Deprecated.
(deprecated) A fluent builder for
IdentityPool
.-
Method Summary
Modifier and TypeMethodDescriptionallowClassicFlow
(Boolean allowClassicFlow) Deprecated.allowUnauthenticatedIdentities
(Boolean allowUnauthenticatedIdentities) Deprecated.authenticatedRole
(IRole authenticatedRole) Deprecated.authenticationProviders
(IdentityPoolAuthenticationProviders authenticationProviders) Deprecated.build()
Deprecated.static IdentityPool.Builder
Deprecated.identityPoolName
(String identityPoolName) Deprecated.roleMappings
(List<? extends IdentityPoolRoleMapping> roleMappings) Deprecated.unauthenticatedRole
(IRole unauthenticatedRole) Deprecated.
-
Method Details
-
create
@Stability(Deprecated) @Deprecated public static IdentityPool.Builder create(software.constructs.Construct scope, String id) Deprecated.- Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
IdentityPool.Builder
.
-
allowClassicFlow
@Stability(Deprecated) @Deprecated public IdentityPool.Builder allowClassicFlow(Boolean allowClassicFlow) Deprecated.(deprecated) Enables the Basic (Classic) authentication flow.Default: - Classic Flow not allowed
- Parameters:
allowClassicFlow
- Enables the Basic (Classic) authentication flow. This parameter is required.- Returns:
this
-
allowUnauthenticatedIdentities
@Stability(Deprecated) @Deprecated public IdentityPool.Builder allowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities) Deprecated.(deprecated) Whether the Identity Pool supports unauthenticated logins.Default: - false
- Parameters:
allowUnauthenticatedIdentities
- Whether the Identity Pool supports unauthenticated logins. This parameter is required.- Returns:
this
-
authenticatedRole
@Stability(Deprecated) @Deprecated public IdentityPool.Builder authenticatedRole(IRole authenticatedRole) Deprecated.(deprecated) The default Role to be assumed by authenticated users.Default: - A default authenticated Role will be added
- Parameters:
authenticatedRole
- The default Role to be assumed by authenticated users. This parameter is required.- Returns:
this
-
authenticationProviders
@Stability(Deprecated) @Deprecated public IdentityPool.Builder authenticationProviders(IdentityPoolAuthenticationProviders authenticationProviders) Deprecated.(deprecated) Authentication Providers for using in Identity Pool.Default: - No Authentication Providers passed directly to Identity Pool
- Parameters:
authenticationProviders
- Authentication Providers for using in Identity Pool. This parameter is required.- Returns:
this
-
identityPoolName
@Stability(Deprecated) @Deprecated public IdentityPool.Builder identityPoolName(String identityPoolName) Deprecated.(deprecated) The name of the Identity Pool.Default: - Automatically generated name by CloudFormation at deploy time
- Parameters:
identityPoolName
- The name of the Identity Pool. This parameter is required.- Returns:
this
-
roleMappings
@Stability(Deprecated) @Deprecated public IdentityPool.Builder roleMappings(List<? extends IdentityPoolRoleMapping> roleMappings) Deprecated.(deprecated) Rules for mapping roles to users.Default: - no role mappings
- Parameters:
roleMappings
- Rules for mapping roles to users. This parameter is required.- Returns:
this
-
unauthenticatedRole
@Stability(Deprecated) @Deprecated public IdentityPool.Builder unauthenticatedRole(IRole unauthenticatedRole) Deprecated.(deprecated) The default Role to be assumed by unauthenticated users.Default: - A default unauthenticated Role will be added
- Parameters:
unauthenticatedRole
- The default Role to be assumed by unauthenticated users. This parameter is required.- Returns:
this
-
build
Deprecated.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IdentityPool>
- Returns:
- a newly built instance of
IdentityPool
.
-