@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.690Z") @Stability(value=Stable) public class UserPoolIdentityProviderFacebook extends Resource implements IUserPoolIdentityProvider
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;
UserPoolIdentityProviderFacebook userPoolIdentityProviderFacebook = UserPoolIdentityProviderFacebook.Builder.create(this, "MyUserPoolIdentityProviderFacebook")
.clientId("clientId")
.clientSecret("clientSecret")
.userPool(userPool)
// the properties below are optional
.apiVersion("apiVersion")
.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())
.scopes(List.of("scopes"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
UserPoolIdentityProviderFacebook.Builder
A fluent builder for
UserPoolIdentityProviderFacebook. |
software.amazon.jsii.JsiiObject.InitializationModeIUserPoolIdentityProvider.Jsii$Default, IUserPoolIdentityProvider.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
UserPoolIdentityProviderFacebook(software.constructs.Construct scope,
String id,
UserPoolIdentityProviderFacebookProps props) |
protected |
UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
configureAttributeMapping() |
String |
getProviderName()
The primary identifier of this identity provider.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObjectRef objRef)
protected UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public UserPoolIdentityProviderFacebook(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
UserPoolIdentityProviderFacebookProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull protected Object configureAttributeMapping()
@Stability(value=Stable) @NotNull public String getProviderName()
getProviderName in interface IUserPoolIdentityProviderCopyright © 2022. All rights reserved.