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