UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

89 lines (88 loc) 3.35 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 DeploymentConfiguration = /** @class */ (function () { function DeploymentConfiguration(properties) { Object.assign(this, properties); } return DeploymentConfiguration; }()); exports.DeploymentConfiguration = DeploymentConfiguration; var ServiceRegistry = /** @class */ (function () { function ServiceRegistry(properties) { Object.assign(this, properties); } return ServiceRegistry; }()); exports.ServiceRegistry = ServiceRegistry; var PlacementStrategy = /** @class */ (function () { function PlacementStrategy(properties) { Object.assign(this, properties); } return PlacementStrategy; }()); exports.PlacementStrategy = PlacementStrategy; var LoadBalancer = /** @class */ (function () { function LoadBalancer(properties) { Object.assign(this, properties); } return LoadBalancer; }()); exports.LoadBalancer = LoadBalancer; var PlacementConstraint = /** @class */ (function () { function PlacementConstraint(properties) { Object.assign(this, properties); } return PlacementConstraint; }()); exports.PlacementConstraint = PlacementConstraint; var DeploymentController = /** @class */ (function () { function DeploymentController(properties) { Object.assign(this, properties); } return DeploymentController; }()); exports.DeploymentController = DeploymentController; var AwsVpcConfiguration = /** @class */ (function () { function AwsVpcConfiguration(properties) { Object.assign(this, properties); } return AwsVpcConfiguration; }()); exports.AwsVpcConfiguration = AwsVpcConfiguration; var NetworkConfiguration = /** @class */ (function () { function NetworkConfiguration(properties) { Object.assign(this, properties); } return NetworkConfiguration; }()); exports.NetworkConfiguration = NetworkConfiguration; var Inner_Service = /** @class */ (function (_super) { __extends(Inner_Service, _super); function Inner_Service(properties) { return _super.call(this, "AWS::ECS::Service", properties) || this; } Inner_Service.DeploymentConfiguration = DeploymentConfiguration; Inner_Service.ServiceRegistry = ServiceRegistry; Inner_Service.PlacementStrategy = PlacementStrategy; Inner_Service.LoadBalancer = LoadBalancer; Inner_Service.PlacementConstraint = PlacementConstraint; Inner_Service.DeploymentController = DeploymentController; Inner_Service.AwsVpcConfiguration = AwsVpcConfiguration; Inner_Service.NetworkConfiguration = NetworkConfiguration; return Inner_Service; }(resource_1.ResourceBase)); exports.default = Inner_Service;