UNPKG

@common-creation/aws-cdk-ses-domain-identity

Version:

Constructs for provisioning and referencing domain identities which can be used in SES RuleSets and Actions Construct.

19 lines 728 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.identityRequestHandler = void 0; const handlers_1 = require("./handlers"); async function identityRequestHandler(event) { const handler = (() => { switch (event.RequestType) { case "Create": return new handlers_1.CreateCustomResourceHandler(event); case "Update": return new handlers_1.UpdateCustomResourceHandler(event); case "Delete": return new handlers_1.DeleteCustomResourceHandler(event); } })(); return await handler.handleEvent(); } exports.identityRequestHandler = identityRequestHandler; //# sourceMappingURL=index.js.map