UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

65 lines (64 loc) 2.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 StageDescription = /** @class */ (function () { function StageDescription(properties) { Object.assign(this, properties); } return StageDescription; }()); exports.StageDescription = StageDescription; var DeploymentCanarySettings = /** @class */ (function () { function DeploymentCanarySettings(properties) { Object.assign(this, properties); } return DeploymentCanarySettings; }()); exports.DeploymentCanarySettings = DeploymentCanarySettings; var MethodSetting = /** @class */ (function () { function MethodSetting(properties) { Object.assign(this, properties); } return MethodSetting; }()); exports.MethodSetting = MethodSetting; var AccessLogSetting = /** @class */ (function () { function AccessLogSetting(properties) { Object.assign(this, properties); } return AccessLogSetting; }()); exports.AccessLogSetting = AccessLogSetting; var CanarySetting = /** @class */ (function () { function CanarySetting(properties) { Object.assign(this, properties); } return CanarySetting; }()); exports.CanarySetting = CanarySetting; var Inner_Deployment = /** @class */ (function (_super) { __extends(Inner_Deployment, _super); function Inner_Deployment(properties) { return _super.call(this, "AWS::ApiGateway::Deployment", properties) || this; } Inner_Deployment.StageDescription = StageDescription; Inner_Deployment.DeploymentCanarySettings = DeploymentCanarySettings; Inner_Deployment.MethodSetting = MethodSetting; Inner_Deployment.AccessLogSetting = AccessLogSetting; Inner_Deployment.CanarySetting = CanarySetting; return Inner_Deployment; }(resource_1.ResourceBase)); exports.default = Inner_Deployment;