@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:45.317Z") @Stability(value=Experimental) public interface IdentityPoolProps extends software.amazon.jsii.JsiiSerializable
Example:
OpenIdConnectProvider openIdConnectProvider;
IdentityPool.Builder.create(this, "myidentitypool")
.identityPoolName("myidentitypool")
.authenticationProviders(IdentityPoolAuthenticationProviders.builder()
.google(IdentityPoolGoogleLoginProvider.builder()
.clientId("12345678012.apps.googleusercontent.com")
.build())
.openIdConnectProviders(List.of(openIdConnectProvider))
.customProvider("my-custom-provider.example.com")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
IdentityPoolProps.Builder
A builder for
IdentityPoolProps |
static class |
IdentityPoolProps.Jsii$Proxy
An implementation for
IdentityPoolProps |
| Modifier and Type | Method and Description |
|---|---|
static IdentityPoolProps.Builder |
builder() |
default Boolean |
getAllowClassicFlow()
(experimental) Enables the Basic (Classic) authentication flow.
|
default Boolean |
getAllowUnauthenticatedIdentities()
(experimental) Wwhether the identity pool supports unauthenticated logins.
|
default IRole |
getAuthenticatedRole()
(experimental) The Default Role to be assumed by Authenticated Users.
|
default IdentityPoolAuthenticationProviders |
getAuthenticationProviders()
(experimental) Authentication providers for using in identity pool.
|
default String |
getIdentityPoolName()
(experimental) The name of the Identity Pool.
|
default List<IdentityPoolRoleMapping> |
getRoleMappings()
(experimental) Rules for mapping roles to users.
|
default IRole |
getUnauthenticatedRole()
(experimental) The Default Role to be assumed by Unauthenticated Users.
|
@Stability(value=Experimental) @Nullable default Boolean getAllowClassicFlow()
Default: - Classic Flow not allowed
@Stability(value=Experimental) @Nullable default Boolean getAllowUnauthenticatedIdentities()
Default: - false
@Stability(value=Experimental) @Nullable default IRole getAuthenticatedRole()
Default: - A Default Authenticated Role will be added
@Stability(value=Experimental) @Nullable default IdentityPoolAuthenticationProviders getAuthenticationProviders()
Default: - No Authentication Providers passed directly to Identity Pool
@Stability(value=Experimental) @Nullable default String getIdentityPoolName()
Default: - automatically generated name by CloudFormation at deploy time
@Stability(value=Experimental) @Nullable default List<IdentityPoolRoleMapping> getRoleMappings()
Default: - no Role Mappings
@Stability(value=Experimental) @Nullable default IRole getUnauthenticatedRole()
Default: - A Default Unauthenticated Role will be added
@Stability(value=Experimental) static IdentityPoolProps.Builder builder()
IdentityPoolProps.Builder of IdentityPoolPropsCopyright © 2022. All rights reserved.