@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.692Z") @Stability(value=Stable) public class UserPoolIdentityProviderOidc 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;
UserPoolIdentityProviderOidc userPoolIdentityProviderOidc = UserPoolIdentityProviderOidc.Builder.create(this, "MyUserPoolIdentityProviderOidc")
.clientId("clientId")
.clientSecret("clientSecret")
.issuerUrl("issuerUrl")
.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())
.attributeRequestMethod(OidcAttributeRequestMethod.GET)
.endpoints(OidcEndpoints.builder()
.authorization("authorization")
.jwksUri("jwksUri")
.token("token")
.userInfo("userInfo")
.build())
.identifiers(List.of("identifiers"))
.name("name")
.scopes(List.of("scopes"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
UserPoolIdentityProviderOidc.Builder
A fluent builder for
UserPoolIdentityProviderOidc. |
software.amazon.jsii.JsiiObject.InitializationModeIUserPoolIdentityProvider.Jsii$Default, IUserPoolIdentityProvider.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
UserPoolIdentityProviderOidc(software.constructs.Construct scope,
String id,
UserPoolIdentityProviderOidcProps props) |
protected |
UserPoolIdentityProviderOidc(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
UserPoolIdentityProviderOidc(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 UserPoolIdentityProviderOidc(software.amazon.jsii.JsiiObjectRef objRef)
protected UserPoolIdentityProviderOidc(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public UserPoolIdentityProviderOidc(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
UserPoolIdentityProviderOidcProps 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.