"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DsInstanceType = exports.Gpus = exports.Fpgas = exports.InferenceAccelerators = exports.InstanceDisks = void 0;
const core = __importStar(require("@terrascript/core"));
class InstanceDisks extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], InstanceDisks.prototype, "count", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], InstanceDisks.prototype, "size", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], InstanceDisks.prototype, "type", void 0);
exports.InstanceDisks = InstanceDisks;
class InferenceAccelerators extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], InferenceAccelerators.prototype, "count", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], InferenceAccelerators.prototype, "manufacturer", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], InferenceAccelerators.prototype, "name", void 0);
exports.InferenceAccelerators = InferenceAccelerators;
class Fpgas extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Fpgas.prototype, "count", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Fpgas.prototype, "manufacturer", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Fpgas.prototype, "memorySize", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Fpgas.prototype, "name", void 0);
exports.Fpgas = Fpgas;
class Gpus extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Gpus.prototype, "count", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Gpus.prototype, "manufacturer", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Gpus.prototype, "memorySize", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Gpus.prototype, "name", void 0);
exports.Gpus = Gpus;
class DsInstanceType extends core.Data {
    constructor(name, args) {
        super(name, "aws_ec2_instance_type", args);
    }
    getNamespace() {
        return "aws_ec2";
    }
}
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "autoRecoverySupported", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "bareMetal", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "burstablePerformanceSupported", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "currentGeneration", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "dedicatedHostsSupported", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "defaultCores", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "defaultThreadsPerCore", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "defaultVcpus", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsEncryptionSupport", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsNvmeSupport", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsOptimizedSupport", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsPerformanceBaselineBandwidth", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsPerformanceBaselineIops", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsPerformanceBaselineThroughput", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsPerformanceMaximumBandwidth", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsPerformanceMaximumIops", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ebsPerformanceMaximumThroughput", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "efaSupported", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "enaSupport", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "encryptionInTransitSupported", void 0);
__decorate([
    core.attr(Fpgas, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "fpgas", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "freeTierEligible", void 0);
__decorate([
    core.attr(Gpus, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "gpus", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "hibernationSupported", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "hypervisor", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "id", void 0);
__decorate([
    core.attr(InferenceAccelerators, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "inferenceAccelerators", void 0);
__decorate([
    core.attr(InstanceDisks, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "instanceDisks", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "instanceStorageSupported", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "instanceType", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "ipv6Supported", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "maximumIpv4AddressesPerInterface", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "maximumIpv6AddressesPerInterface", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "maximumNetworkInterfaces", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "memorySize", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "networkPerformance", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "supportedArchitectures", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "supportedPlacementStrategies", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "supportedRootDeviceTypes", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "supportedUsagesClasses", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "supportedVirtualizationTypes", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "sustainedClockSpeed", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "totalFpgaMemory", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "totalGpuMemory", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "totalInstanceStorage", void 0);
__decorate([
    core.attr(Number, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "validCores", void 0);
__decorate([
    core.attr(Number, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsInstanceType.prototype, "validThreadsPerCore", void 0);
exports.DsInstanceType = DsInstanceType;
//# sourceMappingURL=ds_instance_type.js.map