"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.MaintenanceWindowTask = exports.Targets = exports.TaskInvocationParameters = exports.RunCommandParameters = exports.NotificationConfig = exports.CloudwatchConfig = exports.LambdaParameters = exports.AutomationParameters = exports.Parameter = exports.StepFunctionsParameters = void 0;
const core = __importStar(require("@terrascript/core"));
class StepFunctionsParameters extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], StepFunctionsParameters.prototype, "input", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], StepFunctionsParameters.prototype, "name", void 0);
exports.StepFunctionsParameters = StepFunctionsParameters;
class Parameter extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Parameter.prototype, "name", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Parameter.prototype, "values", void 0);
exports.Parameter = Parameter;
class AutomationParameters extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], AutomationParameters.prototype, "documentVersion", void 0);
__decorate([
    core.attr(Parameter, { kind: "array" }),
    __metadata("design:type", Object)
], AutomationParameters.prototype, "parameter", void 0);
exports.AutomationParameters = AutomationParameters;
class LambdaParameters extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LambdaParameters.prototype, "clientContext", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LambdaParameters.prototype, "payload", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LambdaParameters.prototype, "qualifier", void 0);
exports.LambdaParameters = LambdaParameters;
class CloudwatchConfig extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CloudwatchConfig.prototype, "cloudwatchLogGroupName", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], CloudwatchConfig.prototype, "cloudwatchOutputEnabled", void 0);
exports.CloudwatchConfig = CloudwatchConfig;
class NotificationConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NotificationConfig.prototype, "notificationArn", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], NotificationConfig.prototype, "notificationEvents", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NotificationConfig.prototype, "notificationType", void 0);
exports.NotificationConfig = NotificationConfig;
class RunCommandParameters extends core.Schema {
}
__decorate([
    core.attr(CloudwatchConfig),
    __metadata("design:type", CloudwatchConfig)
], RunCommandParameters.prototype, "cloudwatchConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "comment", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "documentHash", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "documentHashType", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "documentVersion", void 0);
__decorate([
    core.attr(NotificationConfig),
    __metadata("design:type", NotificationConfig)
], RunCommandParameters.prototype, "notificationConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "outputS3Bucket", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "outputS3KeyPrefix", void 0);
__decorate([
    core.attr(Parameter, { kind: "array" }),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "parameter", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "serviceRoleArn", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], RunCommandParameters.prototype, "timeoutSeconds", void 0);
exports.RunCommandParameters = RunCommandParameters;
class TaskInvocationParameters extends core.Schema {
}
__decorate([
    core.attr(AutomationParameters),
    __metadata("design:type", AutomationParameters)
], TaskInvocationParameters.prototype, "automationParameters", void 0);
__decorate([
    core.attr(LambdaParameters),
    __metadata("design:type", LambdaParameters)
], TaskInvocationParameters.prototype, "lambdaParameters", void 0);
__decorate([
    core.attr(RunCommandParameters),
    __metadata("design:type", RunCommandParameters)
], TaskInvocationParameters.prototype, "runCommandParameters", void 0);
__decorate([
    core.attr(StepFunctionsParameters),
    __metadata("design:type", StepFunctionsParameters)
], TaskInvocationParameters.prototype, "stepFunctionsParameters", void 0);
exports.TaskInvocationParameters = TaskInvocationParameters;
class Targets extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Targets.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Targets.prototype, "values", void 0);
exports.Targets = Targets;
class MaintenanceWindowTask extends core.Resource {
    constructor(name, args) {
        super(name, "aws_ssm_maintenance_window_task", args);
    }
    getNamespace() {
        return "aws_ssm";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "arn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "cutoffBehavior", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "description", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "maxConcurrency", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "maxErrors", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "name", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "priority", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "serviceRoleArn", void 0);
__decorate([
    core.attr(Targets, { kind: "array" }),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "targets", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "taskArn", void 0);
__decorate([
    core.attr(TaskInvocationParameters),
    __metadata("design:type", TaskInvocationParameters)
], MaintenanceWindowTask.prototype, "taskInvocationParameters", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "taskType", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "windowId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MaintenanceWindowTask.prototype, "windowTaskId", void 0);
exports.MaintenanceWindowTask = MaintenanceWindowTask;
//# sourceMappingURL=maintenance_window_task.js.map