Interface UserPoolIdentityProviderAmazonProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,UserPoolIdentityProviderProps
- All Known Implementing Classes:
UserPoolIdentityProviderAmazonProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:06.423Z")
@Stability(Stable)
public interface UserPoolIdentityProviderAmazonProps
extends software.amazon.jsii.JsiiSerializable, UserPoolIdentityProviderProps
Properties to initialize UserPoolAmazonIdentityProvider.
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);
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forUserPoolIdentityProviderAmazonProps
static final class
An implementation forUserPoolIdentityProviderAmazonProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The client id recognized by Login with Amazon APIs.The client secret to be accompanied with clientId for Login with Amazon APIs to authenticate the client.The types of user profile data to obtain for the Amazon profile.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.cognito.UserPoolIdentityProviderProps
getAttributeMapping, getUserPool
-
Method Details
-
getClientId
The client id recognized by Login with Amazon APIs.- See Also:
-
getClientSecret
The client secret to be accompanied with clientId for Login with Amazon APIs to authenticate the client.- See Also:
-
getScopes
The types of user profile data to obtain for the Amazon profile.Default: [ profile ]
- See Also:
-
builder
-