@Stability(value=Experimental) public static final class IdentityPool.Builder extends Object implements software.amazon.jsii.Builder<IdentityPool>
IdentityPool.| Modifier and Type | Method and Description |
|---|---|
IdentityPool.Builder |
allowClassicFlow(Boolean allowClassicFlow)
(experimental) Enables the Basic (Classic) authentication flow.
|
IdentityPool.Builder |
allowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
(experimental) Wwhether the identity pool supports unauthenticated logins.
|
IdentityPool.Builder |
authenticatedRole(IRole authenticatedRole)
(experimental) The Default Role to be assumed by Authenticated Users.
|
IdentityPool.Builder |
authenticationProviders(IdentityPoolAuthenticationProviders authenticationProviders)
(experimental) Authentication providers for using in identity pool.
|
IdentityPool |
build() |
static IdentityPool.Builder |
create(software.constructs.Construct scope,
String id) |
IdentityPool.Builder |
identityPoolName(String identityPoolName)
(experimental) The name of the Identity Pool.
|
IdentityPool.Builder |
roleMappings(List<? extends IdentityPoolRoleMapping> roleMappings)
(experimental) Rules for mapping roles to users.
|
IdentityPool.Builder |
unauthenticatedRole(IRole unauthenticatedRole)
(experimental) The Default Role to be assumed by Unauthenticated Users.
|
@Stability(value=Experimental) public static IdentityPool.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.IdentityPool.Builder.@Stability(value=Experimental) public IdentityPool.Builder allowClassicFlow(Boolean allowClassicFlow)
Default: - Classic Flow not allowed
allowClassicFlow - Enables the Basic (Classic) authentication flow. This parameter is required.this@Stability(value=Experimental) public IdentityPool.Builder allowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
Default: - false
allowUnauthenticatedIdentities - Wwhether the identity pool supports unauthenticated logins. This parameter is required.this@Stability(value=Experimental) public IdentityPool.Builder authenticatedRole(IRole authenticatedRole)
Default: - A Default Authenticated Role will be added
authenticatedRole - The Default Role to be assumed by Authenticated Users. This parameter is required.this@Stability(value=Experimental) public IdentityPool.Builder authenticationProviders(IdentityPoolAuthenticationProviders authenticationProviders)
Default: - No Authentication Providers passed directly to Identity Pool
authenticationProviders - Authentication providers for using in identity pool. This parameter is required.this@Stability(value=Experimental) public IdentityPool.Builder identityPoolName(String identityPoolName)
Default: - automatically generated name by CloudFormation at deploy time
identityPoolName - The name of the Identity Pool. This parameter is required.this@Stability(value=Experimental) public IdentityPool.Builder roleMappings(List<? extends IdentityPoolRoleMapping> roleMappings)
Default: - no Role Mappings
roleMappings - Rules for mapping roles to users. This parameter is required.this@Stability(value=Experimental) public IdentityPool.Builder unauthenticatedRole(IRole unauthenticatedRole)
Default: - A Default Unauthenticated Role will be added
unauthenticatedRole - The Default Role to be assumed by Unauthenticated Users. This parameter is required.this@Stability(value=Experimental) public IdentityPool build()
build in interface software.amazon.jsii.Builder<IdentityPool>Copyright © 2022. All rights reserved.