UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

65 lines (64 loc) 2.23 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 Environment = /** @class */ (function () { function Environment(properties) { Object.assign(this, properties); } return Environment; }()); exports.Environment = Environment; var TracingConfig = /** @class */ (function () { function TracingConfig(properties) { Object.assign(this, properties); } return TracingConfig; }()); exports.TracingConfig = TracingConfig; var VpcConfig = /** @class */ (function () { function VpcConfig(properties) { Object.assign(this, properties); } return VpcConfig; }()); exports.VpcConfig = VpcConfig; var DeadLetterConfig = /** @class */ (function () { function DeadLetterConfig(properties) { Object.assign(this, properties); } return DeadLetterConfig; }()); exports.DeadLetterConfig = DeadLetterConfig; var Code = /** @class */ (function () { function Code(properties) { Object.assign(this, properties); } return Code; }()); exports.Code = Code; var Inner_Function = /** @class */ (function (_super) { __extends(Inner_Function, _super); function Inner_Function(properties) { return _super.call(this, "AWS::Lambda::Function", properties) || this; } Inner_Function.Environment = Environment; Inner_Function.TracingConfig = TracingConfig; Inner_Function.VpcConfig = VpcConfig; Inner_Function.DeadLetterConfig = DeadLetterConfig; Inner_Function.Code = Code; return Inner_Function; }(resource_1.ResourceBase)); exports.default = Inner_Function;