@nolanrigo/cloudformation
Version:
TypeScript-based imperative way to define AWS CloudFormation templates
201 lines (200 loc) • 7.59 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 CpuOptions = /** @class */ (function () {
function CpuOptions(properties) {
Object.assign(this, properties);
}
return CpuOptions;
}());
exports.CpuOptions = CpuOptions;
var CreditSpecification = /** @class */ (function () {
function CreditSpecification(properties) {
Object.assign(this, properties);
}
return CreditSpecification;
}());
exports.CreditSpecification = CreditSpecification;
var PrivateIpAdd = /** @class */ (function () {
function PrivateIpAdd(properties) {
Object.assign(this, properties);
}
return PrivateIpAdd;
}());
exports.PrivateIpAdd = PrivateIpAdd;
var LaunchTemplateData = /** @class */ (function () {
function LaunchTemplateData(properties) {
Object.assign(this, properties);
}
return LaunchTemplateData;
}());
exports.LaunchTemplateData = LaunchTemplateData;
var ElasticGpuSpecification = /** @class */ (function () {
function ElasticGpuSpecification(properties) {
Object.assign(this, properties);
}
return ElasticGpuSpecification;
}());
exports.ElasticGpuSpecification = ElasticGpuSpecification;
var CapacityReservationPreference = /** @class */ (function () {
function CapacityReservationPreference(properties) {
Object.assign(this, properties);
}
return CapacityReservationPreference;
}());
exports.CapacityReservationPreference = CapacityReservationPreference;
var InstanceMarketOptions = /** @class */ (function () {
function InstanceMarketOptions(properties) {
Object.assign(this, properties);
}
return InstanceMarketOptions;
}());
exports.InstanceMarketOptions = InstanceMarketOptions;
var MetadataOptions = /** @class */ (function () {
function MetadataOptions(properties) {
Object.assign(this, properties);
}
return MetadataOptions;
}());
exports.MetadataOptions = MetadataOptions;
var IamInstanceProfile = /** @class */ (function () {
function IamInstanceProfile(properties) {
Object.assign(this, properties);
}
return IamInstanceProfile;
}());
exports.IamInstanceProfile = IamInstanceProfile;
var LicenseSpecification = /** @class */ (function () {
function LicenseSpecification(properties) {
Object.assign(this, properties);
}
return LicenseSpecification;
}());
exports.LicenseSpecification = LicenseSpecification;
var Ebs = /** @class */ (function () {
function Ebs(properties) {
Object.assign(this, properties);
}
return Ebs;
}());
exports.Ebs = Ebs;
var LaunchTemplateElasticInferenceAccelerator = /** @class */ (function () {
function LaunchTemplateElasticInferenceAccelerator(properties) {
Object.assign(this, properties);
}
return LaunchTemplateElasticInferenceAccelerator;
}());
exports.LaunchTemplateElasticInferenceAccelerator = LaunchTemplateElasticInferenceAccelerator;
var Ipv6Add = /** @class */ (function () {
function Ipv6Add(properties) {
Object.assign(this, properties);
}
return Ipv6Add;
}());
exports.Ipv6Add = Ipv6Add;
var SpotOptions = /** @class */ (function () {
function SpotOptions(properties) {
Object.assign(this, properties);
}
return SpotOptions;
}());
exports.SpotOptions = SpotOptions;
var Monitoring = /** @class */ (function () {
function Monitoring(properties) {
Object.assign(this, properties);
}
return Monitoring;
}());
exports.Monitoring = Monitoring;
var HibernationOptions = /** @class */ (function () {
function HibernationOptions(properties) {
Object.assign(this, properties);
}
return HibernationOptions;
}());
exports.HibernationOptions = HibernationOptions;
var TagSpecification = /** @class */ (function () {
function TagSpecification(properties) {
Object.assign(this, properties);
}
return TagSpecification;
}());
exports.TagSpecification = TagSpecification;
var NetworkInterface = /** @class */ (function () {
function NetworkInterface(properties) {
Object.assign(this, properties);
}
return NetworkInterface;
}());
exports.NetworkInterface = NetworkInterface;
var BlockDeviceMapping = /** @class */ (function () {
function BlockDeviceMapping(properties) {
Object.assign(this, properties);
}
return BlockDeviceMapping;
}());
exports.BlockDeviceMapping = BlockDeviceMapping;
var CapacityReservationTarget = /** @class */ (function () {
function CapacityReservationTarget(properties) {
Object.assign(this, properties);
}
return CapacityReservationTarget;
}());
exports.CapacityReservationTarget = CapacityReservationTarget;
var CapacityReservationSpecification = /** @class */ (function () {
function CapacityReservationSpecification(properties) {
Object.assign(this, properties);
}
return CapacityReservationSpecification;
}());
exports.CapacityReservationSpecification = CapacityReservationSpecification;
var Placement = /** @class */ (function () {
function Placement(properties) {
Object.assign(this, properties);
}
return Placement;
}());
exports.Placement = Placement;
var Inner_LaunchTemplate = /** @class */ (function (_super) {
__extends(Inner_LaunchTemplate, _super);
function Inner_LaunchTemplate(properties) {
return _super.call(this, "AWS::EC2::LaunchTemplate", properties) || this;
}
Inner_LaunchTemplate.CpuOptions = CpuOptions;
Inner_LaunchTemplate.CreditSpecification = CreditSpecification;
Inner_LaunchTemplate.PrivateIpAdd = PrivateIpAdd;
Inner_LaunchTemplate.LaunchTemplateData = LaunchTemplateData;
Inner_LaunchTemplate.ElasticGpuSpecification = ElasticGpuSpecification;
Inner_LaunchTemplate.CapacityReservationPreference = CapacityReservationPreference;
Inner_LaunchTemplate.InstanceMarketOptions = InstanceMarketOptions;
Inner_LaunchTemplate.MetadataOptions = MetadataOptions;
Inner_LaunchTemplate.IamInstanceProfile = IamInstanceProfile;
Inner_LaunchTemplate.LicenseSpecification = LicenseSpecification;
Inner_LaunchTemplate.Ebs = Ebs;
Inner_LaunchTemplate.LaunchTemplateElasticInferenceAccelerator = LaunchTemplateElasticInferenceAccelerator;
Inner_LaunchTemplate.Ipv6Add = Ipv6Add;
Inner_LaunchTemplate.SpotOptions = SpotOptions;
Inner_LaunchTemplate.Monitoring = Monitoring;
Inner_LaunchTemplate.HibernationOptions = HibernationOptions;
Inner_LaunchTemplate.TagSpecification = TagSpecification;
Inner_LaunchTemplate.NetworkInterface = NetworkInterface;
Inner_LaunchTemplate.BlockDeviceMapping = BlockDeviceMapping;
Inner_LaunchTemplate.CapacityReservationTarget = CapacityReservationTarget;
Inner_LaunchTemplate.CapacityReservationSpecification = CapacityReservationSpecification;
Inner_LaunchTemplate.Placement = Placement;
return Inner_LaunchTemplate;
}(resource_1.ResourceBase));
exports.default = Inner_LaunchTemplate;