Interface IUserPoolClientProps
Properties for the UserPoolClient construct.
Inherited Members
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
User |
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