Show / Hide Table of Contents

Interface IUserPoolClientProps

Properties for the UserPoolClient construct.

Inherited Members
IUserPoolClientOptions.AccessTokenValidity
IUserPoolClientOptions.Analytics
IUserPoolClientOptions.AuthFlows
IUserPoolClientOptions.AuthSessionValidity
IUserPoolClientOptions.DisableOAuth
IUserPoolClientOptions.EnablePropagateAdditionalUserContextData
IUserPoolClientOptions.EnableTokenRevocation
IUserPoolClientOptions.GenerateSecret
IUserPoolClientOptions.IdTokenValidity
IUserPoolClientOptions.OAuth
IUserPoolClientOptions.PreventUserExistenceErrors
IUserPoolClientOptions.ReadAttributes
IUserPoolClientOptions.RefreshTokenValidity
IUserPoolClientOptions.SupportedIdentityProviders
IUserPoolClientOptions.UserPoolClientName
IUserPoolClientOptions.WriteAttributes
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IUserPoolClientProps : IUserPoolClientOptions
Syntax (vb)
Public Interface IUserPoolClientProps Inherits IUserPoolClientOptions
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.Pinpoint;

            UserPool userPool;
            CfnApp pinpointApp;
            Role pinpointRole;


            new UserPoolClient(this, "Client", new UserPoolClientProps {
                UserPool = userPool,
                Analytics = new AnalyticsConfiguration {
                    // Your Pinpoint project ID
                    ApplicationId = pinpointApp.Ref,

                    // External ID for the IAM role
                    ExternalId = "sample-external-id",

                    // IAM role that Cognito can assume to publish to Pinpoint
                    Role = pinpointRole,

                    // Whether to include user data in analytics events
                    ShareUserData = true
                }
            });

Synopsis

Properties

UserPool

The UserPool resource this client will have access to.

Properties

UserPool

The UserPool resource this client will have access to.

IUserPool UserPool { get; }
Property Value

IUserPool

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX