@nolanrigo/cloudformation
Version:
TypeScript-based imperative way to define AWS CloudFormation templates
57 lines (56 loc) • 1.98 kB
JavaScript
;
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 NotificationProperty = /** @class */ (function () {
function NotificationProperty(properties) {
Object.assign(this, properties);
}
return NotificationProperty;
}());
exports.NotificationProperty = NotificationProperty;
var Predicate = /** @class */ (function () {
function Predicate(properties) {
Object.assign(this, properties);
}
return Predicate;
}());
exports.Predicate = Predicate;
var Condition = /** @class */ (function () {
function Condition(properties) {
Object.assign(this, properties);
}
return Condition;
}());
exports.Condition = Condition;
var Action = /** @class */ (function () {
function Action(properties) {
Object.assign(this, properties);
}
return Action;
}());
exports.Action = Action;
var Inner_Trigger = /** @class */ (function (_super) {
__extends(Inner_Trigger, _super);
function Inner_Trigger(properties) {
return _super.call(this, "AWS::Glue::Trigger", properties) || this;
}
Inner_Trigger.NotificationProperty = NotificationProperty;
Inner_Trigger.Predicate = Predicate;
Inner_Trigger.Condition = Condition;
Inner_Trigger.Action = Action;
return Inner_Trigger;
}(resource_1.ResourceBase));
exports.default = Inner_Trigger;