@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.648Z") @Stability(value=Stable) public interface UserPoolIdentityProviderProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
ProviderAttribute providerAttribute;
UserPool userPool;
UserPoolIdentityProviderProps userPoolIdentityProviderProps = UserPoolIdentityProviderProps.builder()
.userPool(userPool)
// the properties below are optional
.attributeMapping(AttributeMapping.builder()
.address(providerAttribute)
.birthdate(providerAttribute)
.custom(Map.of(
"customKey", providerAttribute))
.email(providerAttribute)
.familyName(providerAttribute)
.fullname(providerAttribute)
.gender(providerAttribute)
.givenName(providerAttribute)
.lastUpdateTime(providerAttribute)
.locale(providerAttribute)
.middleName(providerAttribute)
.nickname(providerAttribute)
.phoneNumber(providerAttribute)
.preferredUsername(providerAttribute)
.profilePage(providerAttribute)
.profilePicture(providerAttribute)
.timezone(providerAttribute)
.website(providerAttribute)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
UserPoolIdentityProviderProps.Builder
A builder for
UserPoolIdentityProviderProps |
static class |
UserPoolIdentityProviderProps.Jsii$Proxy
An implementation for
UserPoolIdentityProviderProps |
| Modifier and Type | Method and Description |
|---|---|
static UserPoolIdentityProviderProps.Builder |
builder() |
default AttributeMapping |
getAttributeMapping()
Mapping attributes from the identity provider to standard and custom attributes of the user pool.
|
IUserPool |
getUserPool()
The user pool to which this construct provides identities.
|
@Stability(value=Stable) @NotNull IUserPool getUserPool()
@Stability(value=Stable) @Nullable default AttributeMapping getAttributeMapping()
Default: - no attribute mapping
@Stability(value=Stable) static UserPoolIdentityProviderProps.Builder builder()
Copyright © 2022. All rights reserved.