UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

41 lines (40 loc) 1.61 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var resource_1 = require("../../resource"); var OnFailure = /** @class */ (function () { function OnFailure(properties) { Object.assign(this, properties); } return OnFailure; }()); exports.OnFailure = OnFailure; var DestinationConfig = /** @class */ (function () { function DestinationConfig(properties) { Object.assign(this, properties); } return DestinationConfig; }()); exports.DestinationConfig = DestinationConfig; var Inner_EventSourceMapping = /** @class */ (function (_super) { __extends(Inner_EventSourceMapping, _super); function Inner_EventSourceMapping(properties) { return _super.call(this, "AWS::Lambda::EventSourceMapping", properties) || this; } Inner_EventSourceMapping.OnFailure = OnFailure; Inner_EventSourceMapping.DestinationConfig = DestinationConfig; return Inner_EventSourceMapping; }(resource_1.ResourceBase)); exports.default = Inner_EventSourceMapping;