Interface UserPoolIdentityProviderGoogleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,UserPoolIdentityProviderProps
- All Known Implementing Classes:
UserPoolIdentityProviderGoogleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:17.441Z")
@Stability(Stable)
public interface UserPoolIdentityProviderGoogleProps
extends software.amazon.jsii.JsiiSerializable, UserPoolIdentityProviderProps
Properties to initialize UserPoolGoogleIdentityProvider.
Example:
UserPool userpool = new UserPool(this, "Pool");
SecretValue secret = Secret.fromSecretAttributes(this, "CognitoClientSecret", SecretAttributes.builder()
.secretCompleteArn("arn:aws:secretsmanager:xxx:xxx:secret:xxx-xxx")
.build()).getSecretValue();
UserPoolIdentityProviderGoogle provider = UserPoolIdentityProviderGoogle.Builder.create(this, "Google")
.clientId("amzn-client-id")
.clientSecretValue(secret)
.userPool(userpool)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forUserPoolIdentityProviderGooglePropsstatic final classAn implementation forUserPoolIdentityProviderGoogleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The client id recognized by Google APIs.default StringDeprecated.use clientSecretValue insteaddefault SecretValueThe client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue.The list of Google permissions to obtain for getting access to the Google profile.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cognito.UserPoolIdentityProviderProps
getAttributeMapping, getUserPool
-
Method Details
-
getClientId
The client id recognized by Google APIs.- See Also:
-
getClientSecret
Deprecated.use clientSecretValue instead(deprecated) The client secret to be accompanied with clientId for Google APIs to authenticate the client.Default: none
- See Also:
-
getClientSecretValue
The client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue.Default: none
- See Also:
-
getScopes
The list of Google permissions to obtain for getting access to the Google profile.Default: [ profile ]
- See Also:
-
builder
-