UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

57 lines (56 loc) 1.94 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 Metric = /** @class */ (function () { function Metric(properties) { Object.assign(this, properties); } return Metric; }()); exports.Metric = Metric; var Dimension = /** @class */ (function () { function Dimension(properties) { Object.assign(this, properties); } return Dimension; }()); exports.Dimension = Dimension; var MetricStat = /** @class */ (function () { function MetricStat(properties) { Object.assign(this, properties); } return MetricStat; }()); exports.MetricStat = MetricStat; var MetricDataQuery = /** @class */ (function () { function MetricDataQuery(properties) { Object.assign(this, properties); } return MetricDataQuery; }()); exports.MetricDataQuery = MetricDataQuery; var Inner_Alarm = /** @class */ (function (_super) { __extends(Inner_Alarm, _super); function Inner_Alarm(properties) { return _super.call(this, "AWS::CloudWatch::Alarm", properties) || this; } Inner_Alarm.Metric = Metric; Inner_Alarm.Dimension = Dimension; Inner_Alarm.MetricStat = MetricStat; Inner_Alarm.MetricDataQuery = MetricDataQuery; return Inner_Alarm; }(resource_1.ResourceBase)); exports.default = Inner_Alarm;