@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:26.112Z") 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 . |
IUserPoolIdentityProvider.Jsii$Default, IUserPoolIdentityProvider.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObjectRef objRef) |
|
UserPoolIdentityProviderFacebook(software.constructs.Construct scope,
java.lang.String id,
UserPoolIdentityProviderFacebookProps props) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
configureAttributeMapping() |
java.lang.String |
getProviderName()
The primary identifier of this identity provider.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObjectRef objRef)
protected UserPoolIdentityProviderFacebook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public UserPoolIdentityProviderFacebook(software.constructs.Construct scope, java.lang.String id, UserPoolIdentityProviderFacebookProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.protected java.lang.Object configureAttributeMapping()
public java.lang.String getProviderName()
getProviderName
in interface IUserPoolIdentityProvider