"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.TaskDefinition = exports.RuntimePlatform = exports.EphemeralStorage = exports.InferenceAccelerator = exports.PlacementConstraints = exports.ProxyConfiguration = exports.Volume = exports.FsxWindowsFileServerVolumeConfiguration = exports.FsxWindowsFileServerVolumeConfigurationAuthorizationConfig = exports.EfsVolumeConfiguration = exports.EfsVolumeConfigurationAuthorizationConfig = exports.DockerVolumeConfiguration = void 0;
const core = __importStar(require("@terrascript/core"));
class DockerVolumeConfiguration extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], DockerVolumeConfiguration.prototype, "autoprovision", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DockerVolumeConfiguration.prototype, "driver", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], DockerVolumeConfiguration.prototype, "driverOpts", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], DockerVolumeConfiguration.prototype, "labels", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DockerVolumeConfiguration.prototype, "scope", void 0);
exports.DockerVolumeConfiguration = DockerVolumeConfiguration;
class EfsVolumeConfigurationAuthorizationConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EfsVolumeConfigurationAuthorizationConfig.prototype, "accessPointId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EfsVolumeConfigurationAuthorizationConfig.prototype, "iam", void 0);
exports.EfsVolumeConfigurationAuthorizationConfig = EfsVolumeConfigurationAuthorizationConfig;
class EfsVolumeConfiguration extends core.Schema {
}
__decorate([
    core.attr(EfsVolumeConfigurationAuthorizationConfig),
    __metadata("design:type", EfsVolumeConfigurationAuthorizationConfig)
], EfsVolumeConfiguration.prototype, "authorizationConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EfsVolumeConfiguration.prototype, "fileSystemId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EfsVolumeConfiguration.prototype, "rootDirectory", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EfsVolumeConfiguration.prototype, "transitEncryption", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], EfsVolumeConfiguration.prototype, "transitEncryptionPort", void 0);
exports.EfsVolumeConfiguration = EfsVolumeConfiguration;
class FsxWindowsFileServerVolumeConfigurationAuthorizationConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FsxWindowsFileServerVolumeConfigurationAuthorizationConfig.prototype, "credentialsParameter", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FsxWindowsFileServerVolumeConfigurationAuthorizationConfig.prototype, "domain", void 0);
exports.FsxWindowsFileServerVolumeConfigurationAuthorizationConfig = FsxWindowsFileServerVolumeConfigurationAuthorizationConfig;
class FsxWindowsFileServerVolumeConfiguration extends core.Schema {
}
__decorate([
    core.attr(FsxWindowsFileServerVolumeConfigurationAuthorizationConfig),
    __metadata("design:type", FsxWindowsFileServerVolumeConfigurationAuthorizationConfig)
], FsxWindowsFileServerVolumeConfiguration.prototype, "authorizationConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FsxWindowsFileServerVolumeConfiguration.prototype, "fileSystemId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FsxWindowsFileServerVolumeConfiguration.prototype, "rootDirectory", void 0);
exports.FsxWindowsFileServerVolumeConfiguration = FsxWindowsFileServerVolumeConfiguration;
class Volume extends core.Schema {
}
__decorate([
    core.attr(DockerVolumeConfiguration),
    __metadata("design:type", DockerVolumeConfiguration)
], Volume.prototype, "dockerVolumeConfiguration", void 0);
__decorate([
    core.attr(EfsVolumeConfiguration),
    __metadata("design:type", EfsVolumeConfiguration)
], Volume.prototype, "efsVolumeConfiguration", void 0);
__decorate([
    core.attr(FsxWindowsFileServerVolumeConfiguration),
    __metadata("design:type", FsxWindowsFileServerVolumeConfiguration)
], Volume.prototype, "fsxWindowsFileServerVolumeConfiguration", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Volume.prototype, "hostPath", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Volume.prototype, "name", void 0);
exports.Volume = Volume;
class ProxyConfiguration extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ProxyConfiguration.prototype, "containerName", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], ProxyConfiguration.prototype, "properties", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ProxyConfiguration.prototype, "type", void 0);
exports.ProxyConfiguration = ProxyConfiguration;
class PlacementConstraints extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], PlacementConstraints.prototype, "expression", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], PlacementConstraints.prototype, "type", void 0);
exports.PlacementConstraints = PlacementConstraints;
class InferenceAccelerator extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InferenceAccelerator.prototype, "deviceName", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InferenceAccelerator.prototype, "deviceType", void 0);
exports.InferenceAccelerator = InferenceAccelerator;
class EphemeralStorage extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], EphemeralStorage.prototype, "sizeInGib", void 0);
exports.EphemeralStorage = EphemeralStorage;
class RuntimePlatform extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RuntimePlatform.prototype, "cpuArchitecture", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RuntimePlatform.prototype, "operatingSystemFamily", void 0);
exports.RuntimePlatform = RuntimePlatform;
class TaskDefinition extends core.Resource {
    constructor(name, args) {
        super(name, "aws_ecs_task_definition", args);
    }
    getNamespace() {
        return "aws_ecs";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "arn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "containerDefinitions", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "cpu", void 0);
__decorate([
    core.attr(EphemeralStorage),
    __metadata("design:type", EphemeralStorage)
], TaskDefinition.prototype, "ephemeralStorage", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "executionRoleArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "family", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "id", void 0);
__decorate([
    core.attr(InferenceAccelerator, { kind: "array" }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "inferenceAccelerator", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "ipcMode", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "memory", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "networkMode", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "pidMode", void 0);
__decorate([
    core.attr(PlacementConstraints, { kind: "array" }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "placementConstraints", void 0);
__decorate([
    core.attr(ProxyConfiguration),
    __metadata("design:type", ProxyConfiguration)
], TaskDefinition.prototype, "proxyConfiguration", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "requiresCompatibilities", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "revision", void 0);
__decorate([
    core.attr(RuntimePlatform),
    __metadata("design:type", RuntimePlatform)
], TaskDefinition.prototype, "runtimePlatform", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "skipDestroy", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "tagsAll", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "taskRoleArn", void 0);
__decorate([
    core.attr(Volume, { kind: "array" }),
    __metadata("design:type", Object)
], TaskDefinition.prototype, "volume", void 0);
exports.TaskDefinition = TaskDefinition;
//# sourceMappingURL=task_definition.js.map