@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.635Z") @Stability(value=Stable) public interface UserPoolIdentityProviderAmazonProps extends software.amazon.jsii.JsiiSerializable, UserPoolIdentityProviderProps
Example:
UserPool pool = new UserPool(this, "Pool");
UserPoolIdentityProviderAmazon provider = UserPoolIdentityProviderAmazon.Builder.create(this, "Amazon")
.userPool(pool)
.clientId("amzn-client-id")
.clientSecret("amzn-client-secret")
.build();
UserPoolClient client = pool.addClient("app-client", UserPoolClientOptions.builder()
// ...
.supportedIdentityProviders(List.of(UserPoolClientIdentityProvider.AMAZON))
.build());
client.node.addDependency(provider);
| Modifier and Type | Interface and Description |
|---|---|
static class |
UserPoolIdentityProviderAmazonProps.Builder
A builder for
UserPoolIdentityProviderAmazonProps |
static class |
UserPoolIdentityProviderAmazonProps.Jsii$Proxy
An implementation for
UserPoolIdentityProviderAmazonProps |
| Modifier and Type | Method and Description |
|---|---|
static UserPoolIdentityProviderAmazonProps.Builder |
builder() |
String |
getClientId()
The client id recognized by 'Login with Amazon' APIs.
|
String |
getClientSecret()
The client secret to be accompanied with clientId for 'Login with Amazon' APIs to authenticate the client.
|
default List<String> |
getScopes()
The types of user profile data to obtain for the Amazon profile.
|
getAttributeMapping, getUserPool@Stability(value=Stable) @NotNull String getClientId()
@Stability(value=Stable) @NotNull String getClientSecret()
@Stability(value=Stable) @Nullable default List<String> getScopes()
Default: [ profile ]
@Stability(value=Stable) static UserPoolIdentityProviderAmazonProps.Builder builder()
builder in interface UserPoolIdentityProviderPropsUserPoolIdentityProviderAmazonProps.Builder of UserPoolIdentityProviderAmazonPropsCopyright © 2022. All rights reserved.