@Stability(value=Experimental) public static final class UserPoolIdentityProviderAmazon.Builder extends Object implements software.amazon.jsii.Builder<UserPoolIdentityProviderAmazon>
UserPoolIdentityProviderAmazon.| Modifier and Type | Method and Description |
|---|---|
UserPoolIdentityProviderAmazon.Builder |
attributeMapping(AttributeMapping attributeMapping)
(experimental) Mapping attributes from the identity provider to standard and custom attributes of the user pool.
|
UserPoolIdentityProviderAmazon |
build() |
UserPoolIdentityProviderAmazon.Builder |
clientId(String clientId)
(experimental) The client id recognized by 'Login with Amazon' APIs.
|
UserPoolIdentityProviderAmazon.Builder |
clientSecret(String clientSecret)
(experimental) The client secret to be accompanied with clientId for 'Login with Amazon' APIs to authenticate the client.
|
static UserPoolIdentityProviderAmazon.Builder |
create(software.constructs.Construct scope,
String id) |
UserPoolIdentityProviderAmazon.Builder |
scopes(List<String> scopes)
(experimental) The types of user profile data to obtain for the Amazon profile.
|
UserPoolIdentityProviderAmazon.Builder |
userPool(IUserPool userPool)
(experimental) The user pool to which this construct provides identities.
|
@Stability(value=Experimental) public static UserPoolIdentityProviderAmazon.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.UserPoolIdentityProviderAmazon.Builder.@Stability(value=Experimental) public UserPoolIdentityProviderAmazon.Builder userPool(IUserPool userPool)
userPool - The user pool to which this construct provides identities. This parameter is required.this@Stability(value=Experimental) public UserPoolIdentityProviderAmazon.Builder attributeMapping(AttributeMapping attributeMapping)
Default: - no attribute mapping
attributeMapping - Mapping attributes from the identity provider to standard and custom attributes of the user pool. This parameter is required.this@Stability(value=Experimental) public UserPoolIdentityProviderAmazon.Builder clientId(String clientId)
clientId - The client id recognized by 'Login with Amazon' APIs. This parameter is required.thishttps://developer.amazon.com/docs/login-with-amazon/security-profile.html#client-identifier@Stability(value=Experimental) public UserPoolIdentityProviderAmazon.Builder clientSecret(String clientSecret)
clientSecret - The client secret to be accompanied with clientId for 'Login with Amazon' APIs to authenticate the client. This parameter is required.thishttps://developer.amazon.com/docs/login-with-amazon/security-profile.html#client-identifier@Stability(value=Experimental) public UserPoolIdentityProviderAmazon.Builder scopes(List<String> scopes)
Default: [ profile ]
scopes - The types of user profile data to obtain for the Amazon profile. This parameter is required.thishttps://developer.amazon.com/docs/login-with-amazon/customer-profile.html@Stability(value=Experimental) public UserPoolIdentityProviderAmazon build()
build in interface software.amazon.jsii.Builder<UserPoolIdentityProviderAmazon>Copyright © 2021. All rights reserved.