"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.Environment = exports.NetworkConfiguration = exports.LoggingConfiguration = exports.DagProcessingLogs = exports.WorkerLogs = exports.WebserverLogs = exports.TaskLogs = exports.SchedulerLogs = exports.LastUpdated = exports.Error = void 0;
const core = __importStar(require("@terrascript/core"));
class Error extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Error.prototype, "errorCode", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Error.prototype, "errorMessage", void 0);
exports.Error = Error;
class LastUpdated extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LastUpdated.prototype, "createdAt", void 0);
__decorate([
    core.attr(Error, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], LastUpdated.prototype, "error", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LastUpdated.prototype, "status", void 0);
exports.LastUpdated = LastUpdated;
class SchedulerLogs extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SchedulerLogs.prototype, "cloudWatchLogGroupArn", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], SchedulerLogs.prototype, "enabled", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SchedulerLogs.prototype, "logLevel", void 0);
exports.SchedulerLogs = SchedulerLogs;
class TaskLogs extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TaskLogs.prototype, "cloudWatchLogGroupArn", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], TaskLogs.prototype, "enabled", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TaskLogs.prototype, "logLevel", void 0);
exports.TaskLogs = TaskLogs;
class WebserverLogs extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], WebserverLogs.prototype, "cloudWatchLogGroupArn", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], WebserverLogs.prototype, "enabled", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], WebserverLogs.prototype, "logLevel", void 0);
exports.WebserverLogs = WebserverLogs;
class WorkerLogs extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], WorkerLogs.prototype, "cloudWatchLogGroupArn", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], WorkerLogs.prototype, "enabled", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], WorkerLogs.prototype, "logLevel", void 0);
exports.WorkerLogs = WorkerLogs;
class DagProcessingLogs extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DagProcessingLogs.prototype, "cloudWatchLogGroupArn", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], DagProcessingLogs.prototype, "enabled", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DagProcessingLogs.prototype, "logLevel", void 0);
exports.DagProcessingLogs = DagProcessingLogs;
class LoggingConfiguration extends core.Schema {
}
__decorate([
    core.attr(DagProcessingLogs, { computed: true }),
    __metadata("design:type", DagProcessingLogs)
], LoggingConfiguration.prototype, "dagProcessingLogs", void 0);
__decorate([
    core.attr(SchedulerLogs, { computed: true }),
    __metadata("design:type", SchedulerLogs)
], LoggingConfiguration.prototype, "schedulerLogs", void 0);
__decorate([
    core.attr(TaskLogs, { computed: true }),
    __metadata("design:type", TaskLogs)
], LoggingConfiguration.prototype, "taskLogs", void 0);
__decorate([
    core.attr(WebserverLogs, { computed: true }),
    __metadata("design:type", WebserverLogs)
], LoggingConfiguration.prototype, "webserverLogs", void 0);
__decorate([
    core.attr(WorkerLogs, { computed: true }),
    __metadata("design:type", WorkerLogs)
], LoggingConfiguration.prototype, "workerLogs", void 0);
exports.LoggingConfiguration = LoggingConfiguration;
class NetworkConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], NetworkConfiguration.prototype, "securityGroupIds", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], NetworkConfiguration.prototype, "subnetIds", void 0);
exports.NetworkConfiguration = NetworkConfiguration;
class Environment extends core.Resource {
    constructor(name, args) {
        super(name, "aws_mwaa_environment", args);
    }
    getNamespace() {
        return "aws_mwaa";
    }
}
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], Environment.prototype, "airflowConfigurationOptions", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "airflowVersion", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "createdAt", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "dagS3Path", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "environmentClass", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "executionRoleArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "id", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "kmsKey", void 0);
__decorate([
    core.attr(LastUpdated, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Environment.prototype, "lastUpdated", void 0);
__decorate([
    core.attr(LoggingConfiguration, { computed: true }),
    __metadata("design:type", LoggingConfiguration)
], Environment.prototype, "loggingConfiguration", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "maxWorkers", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "minWorkers", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "name", void 0);
__decorate([
    core.attr(NetworkConfiguration),
    __metadata("design:type", NetworkConfiguration)
], Environment.prototype, "networkConfiguration", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "pluginsS3ObjectVersion", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "pluginsS3Path", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "requirementsS3ObjectVersion", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "requirementsS3Path", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "schedulers", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "serviceRoleArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "sourceBucketArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "status", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], Environment.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], Environment.prototype, "tagsAll", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "webserverAccessMode", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "webserverUrl", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Environment.prototype, "weeklyMaintenanceWindowStart", void 0);
exports.Environment = Environment;
//# sourceMappingURL=environment.js.map