Class UserPoolIdentityProviderGoogle

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.cognito.UserPoolIdentityProviderGoogle
All Implemented Interfaces:
IResource, IUserPoolIdentityProvider, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:27.526Z") @Stability(Stable) public class UserPoolIdentityProviderGoogle extends Resource implements IUserPoolIdentityProvider
Represents an identity provider that integrates with Google.

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();
 
  • Constructor Details

    • UserPoolIdentityProviderGoogle

      protected UserPoolIdentityProviderGoogle(software.amazon.jsii.JsiiObjectRef objRef)
    • UserPoolIdentityProviderGoogle

      protected UserPoolIdentityProviderGoogle(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • UserPoolIdentityProviderGoogle

      @Stability(Stable) public UserPoolIdentityProviderGoogle(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull UserPoolIdentityProviderGoogleProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • configureAttributeMapping

      @Stability(Stable) @NotNull protected Object configureAttributeMapping()
    • getProviderName

      @Stability(Stable) @NotNull public String getProviderName()
      The primary identifier of this identity provider.
      Specified by:
      getProviderName in interface IUserPoolIdentityProvider