UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

41 lines (40 loc) 1.48 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 Ingress = /** @class */ (function () { function Ingress(properties) { Object.assign(this, properties); } return Ingress; }()); exports.Ingress = Ingress; var Egress = /** @class */ (function () { function Egress(properties) { Object.assign(this, properties); } return Egress; }()); exports.Egress = Egress; var Inner_SecurityGroup = /** @class */ (function (_super) { __extends(Inner_SecurityGroup, _super); function Inner_SecurityGroup(properties) { return _super.call(this, "AWS::EC2::SecurityGroup", properties) || this; } Inner_SecurityGroup.Ingress = Ingress; Inner_SecurityGroup.Egress = Egress; return Inner_SecurityGroup; }(resource_1.ResourceBase)); exports.default = Inner_SecurityGroup;