@smither/aws-user-pool-client-settings
Version:
aws-cdk custom resource to allow setting details for user pool client and integrations.
22 lines (21 loc) • 737 B
TypeScript
import cdk = require("@aws-cdk/core");
import { UserPool, UserPoolClient } from "@aws-cdk/aws-cognito";
export declare class UserPoolClientSettings extends cdk.Resource {
readonly response: string;
readonly domain: string;
constructor(scope: cdk.Construct, id: string, props: UserPoolClientSettingsProps);
}
export interface UserPoolClientSettingsProps {
domain: string;
userPool: UserPool;
userPoolClient: UserPoolClient;
supportedIdentityProviders: IdentityProviders[];
callbackURLs: string[];
logoutURLs: string[];
allowedOAuthFlowsUserPoolClient: boolean;
allowedOAuthFlows: string[];
allowedOAuthScopes: string[];
}
export declare enum IdentityProviders {
"COGNITO" = "COGNITO"
}