@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:26.108Z") public interface UserPoolIdentityProviderAmazonProps extends 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() |
java.lang.String |
getClientId()
The client id recognized by 'Login with Amazon' APIs.
|
java.lang.String |
getClientSecret()
The client secret to be accompanied with clientId for 'Login with Amazon' APIs to authenticate the client.
|
default java.util.List<java.lang.String> |
getScopes()
The types of user profile data to obtain for the Amazon profile.
|
getAttributeMapping, getUserPool
java.lang.String getClientId()
java.lang.String getClientSecret()
default java.util.List<java.lang.String> getScopes()
Default: [ profile ]
static UserPoolIdentityProviderAmazonProps.Builder builder()
builder
in interface UserPoolIdentityProviderProps
UserPoolIdentityProviderAmazonProps.Builder
of UserPoolIdentityProviderAmazonProps