"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.Broker = exports.MaintenanceWindowStartTime = exports.EncryptionOptions = exports.Configuration = exports.LdapServerMetadata = exports.Instances = exports.User = exports.Logs = void 0;
const core = __importStar(require("@terrascript/core"));
class Logs extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Logs.prototype, "audit", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Logs.prototype, "general", void 0);
exports.Logs = Logs;
class User extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], User.prototype, "consoleAccess", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], User.prototype, "groups", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], User.prototype, "password", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], User.prototype, "username", void 0);
exports.User = User;
class Instances extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Instances.prototype, "consoleUrl", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Instances.prototype, "endpoints", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Instances.prototype, "ipAddress", void 0);
exports.Instances = Instances;
class LdapServerMetadata extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "hosts", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "roleBase", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "roleName", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "roleSearchMatching", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "roleSearchSubtree", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "serviceAccountPassword", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "serviceAccountUsername", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "userBase", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "userRoleName", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "userSearchMatching", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], LdapServerMetadata.prototype, "userSearchSubtree", void 0);
exports.LdapServerMetadata = LdapServerMetadata;
class Configuration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Configuration.prototype, "id", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Configuration.prototype, "revision", void 0);
exports.Configuration = Configuration;
class EncryptionOptions extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], EncryptionOptions.prototype, "kmsKeyId", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], EncryptionOptions.prototype, "useAwsOwnedKey", void 0);
exports.EncryptionOptions = EncryptionOptions;
class MaintenanceWindowStartTime extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowStartTime.prototype, "dayOfWeek", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowStartTime.prototype, "timeOfDay", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MaintenanceWindowStartTime.prototype, "timeZone", void 0);
exports.MaintenanceWindowStartTime = MaintenanceWindowStartTime;
class Broker extends core.Resource {
    constructor(name, args) {
        super(name, "aws_mq_broker", args);
    }
    getNamespace() {
        return "aws_mq";
    }
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Broker.prototype, "applyImmediately", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Broker.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Broker.prototype, "authenticationStrategy", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Broker.prototype, "autoMinorVersionUpgrade", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Broker.prototype, "brokerName", void 0);
__decorate([
    core.attr(Configuration, { computed: true }),
    __metadata("design:type", Configuration)
], Broker.prototype, "configuration", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Broker.prototype, "deploymentMode", void 0);
__decorate([
    core.attr(EncryptionOptions),
    __metadata("design:type", EncryptionOptions)
], Broker.prototype, "encryptionOptions", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Broker.prototype, "engineType", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Broker.prototype, "engineVersion", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Broker.prototype, "hostInstanceType", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Broker.prototype, "id", void 0);
__decorate([
    core.attr(Instances, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Broker.prototype, "instances", void 0);
__decorate([
    core.attr(LdapServerMetadata),
    __metadata("design:type", LdapServerMetadata)
], Broker.prototype, "ldapServerMetadata", void 0);
__decorate([
    core.attr(Logs),
    __metadata("design:type", Logs)
], Broker.prototype, "logs", void 0);
__decorate([
    core.attr(MaintenanceWindowStartTime, { computed: true }),
    __metadata("design:type", MaintenanceWindowStartTime)
], Broker.prototype, "maintenanceWindowStartTime", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Broker.prototype, "publiclyAccessible", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Broker.prototype, "securityGroups", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Broker.prototype, "storageType", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Broker.prototype, "subnetIds", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], Broker.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], Broker.prototype, "tagsAll", void 0);
__decorate([
    core.attr(User, { kind: "array" }),
    __metadata("design:type", Object)
], Broker.prototype, "user", void 0);
exports.Broker = Broker;
//# sourceMappingURL=broker.js.map