Exports a user pool's client secret to a secrets manager secret.
import { UserPoolClientSecret } from '@rayova/cdk-cognito-secret'
new UserPoolClientSecret(scope: Construct, id: string, props: UserPoolClientSecretProps)
- Type:
constructs.Construct
- Type:
string
import { UserPoolClientSecretProps } from '@rayova/cdk-cognito-secret'
const userPoolClientSecretProps: UserPoolClientSecretProps = { ... }
public readonly secret: Secret;
Stores client credentials in this secret.
public readonly userPool: UserPool;
Provide the user pool of the user pool client.
public readonly userPoolClient: UserPoolClient;
Provide the user pool client from which to get the secret.