UNPKG

@pepperize/cdk-ses-smtp-credentials

Version:

Generate SES smtp credentials for a given user and store the credentials in a SecretsManager Secret.

8 lines (7 loc) 448 B
import { CdkCustomResourceEvent as OnEventRequest, CdkCustomResourceResponse as OnEventResponse } from "aws-lambda"; /** * The onEvent handler is invoked whenever a resource lifecycle event for a credentials custom-resource occurs * * @see https://docs.aws.amazon.com/cdk/api/v1/docs/custom-resources-readme.html#handling-lifecycle-events-onevent */ export declare function handler(event: OnEventRequest): Promise<OnEventResponse | undefined>;