UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

41 lines (40 loc) 1.45 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 Cors = /** @class */ (function () { function Cors(properties) { Object.assign(this, properties); } return Cors; }()); exports.Cors = Cors; var BodyS3Location = /** @class */ (function () { function BodyS3Location(properties) { Object.assign(this, properties); } return BodyS3Location; }()); exports.BodyS3Location = BodyS3Location; var Inner_Api = /** @class */ (function (_super) { __extends(Inner_Api, _super); function Inner_Api(properties) { return _super.call(this, "AWS::ApiGatewayV2::Api", properties) || this; } Inner_Api.Cors = Cors; Inner_Api.BodyS3Location = BodyS3Location; return Inner_Api; }(resource_1.ResourceBase)); exports.default = Inner_Api;