"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.MskconnectConnector = exports.WorkerConfiguration = exports.Plugin = exports.CustomPlugin = exports.LogDelivery = exports.WorkerLogDelivery = exports.S3 = exports.Firehose = exports.CloudwatchLogs = exports.Capacity = exports.Autoscaling = exports.ScaleOutPolicy = exports.ScaleInPolicy = exports.ProvisionedCapacity = exports.KafkaClusterEncryptionInTransit = exports.KafkaClusterClientAuthentication = exports.KafkaCluster = exports.ApacheKafkaCluster = exports.Vpc = void 0;
const core = __importStar(require("@terrascript/core"));
class Vpc extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Vpc.prototype, "securityGroups", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Vpc.prototype, "subnets", void 0);
exports.Vpc = Vpc;
class ApacheKafkaCluster extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ApacheKafkaCluster.prototype, "bootstrapServers", void 0);
__decorate([
    core.attr(Vpc),
    __metadata("design:type", Vpc)
], ApacheKafkaCluster.prototype, "vpc", void 0);
exports.ApacheKafkaCluster = ApacheKafkaCluster;
class KafkaCluster extends core.Schema {
}
__decorate([
    core.attr(ApacheKafkaCluster),
    __metadata("design:type", ApacheKafkaCluster)
], KafkaCluster.prototype, "apacheKafkaCluster", void 0);
exports.KafkaCluster = KafkaCluster;
class KafkaClusterClientAuthentication extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KafkaClusterClientAuthentication.prototype, "authenticationType", void 0);
exports.KafkaClusterClientAuthentication = KafkaClusterClientAuthentication;
class KafkaClusterEncryptionInTransit extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KafkaClusterEncryptionInTransit.prototype, "encryptionType", void 0);
exports.KafkaClusterEncryptionInTransit = KafkaClusterEncryptionInTransit;
class ProvisionedCapacity extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], ProvisionedCapacity.prototype, "mcuCount", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], ProvisionedCapacity.prototype, "workerCount", void 0);
exports.ProvisionedCapacity = ProvisionedCapacity;
class ScaleInPolicy extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], ScaleInPolicy.prototype, "cpuUtilizationPercentage", void 0);
exports.ScaleInPolicy = ScaleInPolicy;
class ScaleOutPolicy extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], ScaleOutPolicy.prototype, "cpuUtilizationPercentage", void 0);
exports.ScaleOutPolicy = ScaleOutPolicy;
class Autoscaling extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Autoscaling.prototype, "maxWorkerCount", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Autoscaling.prototype, "mcuCount", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Autoscaling.prototype, "minWorkerCount", void 0);
__decorate([
    core.attr(ScaleInPolicy, { computed: true }),
    __metadata("design:type", ScaleInPolicy)
], Autoscaling.prototype, "scaleInPolicy", void 0);
__decorate([
    core.attr(ScaleOutPolicy, { computed: true }),
    __metadata("design:type", ScaleOutPolicy)
], Autoscaling.prototype, "scaleOutPolicy", void 0);
exports.Autoscaling = Autoscaling;
class Capacity extends core.Schema {
}
__decorate([
    core.attr(Autoscaling),
    __metadata("design:type", Autoscaling)
], Capacity.prototype, "autoscaling", void 0);
__decorate([
    core.attr(ProvisionedCapacity),
    __metadata("design:type", ProvisionedCapacity)
], Capacity.prototype, "provisionedCapacity", void 0);
exports.Capacity = Capacity;
class CloudwatchLogs extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], CloudwatchLogs.prototype, "enabled", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchLogs.prototype, "logGroup", void 0);
exports.CloudwatchLogs = CloudwatchLogs;
class Firehose extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Firehose.prototype, "deliveryStream", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Firehose.prototype, "enabled", void 0);
exports.Firehose = Firehose;
class S3 extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3.prototype, "bucket", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], S3.prototype, "enabled", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3.prototype, "prefix", void 0);
exports.S3 = S3;
class WorkerLogDelivery extends core.Schema {
}
__decorate([
    core.attr(CloudwatchLogs),
    __metadata("design:type", CloudwatchLogs)
], WorkerLogDelivery.prototype, "cloudwatchLogs", void 0);
__decorate([
    core.attr(Firehose),
    __metadata("design:type", Firehose)
], WorkerLogDelivery.prototype, "firehose", void 0);
__decorate([
    core.attr(S3),
    __metadata("design:type", S3)
], WorkerLogDelivery.prototype, "s3", void 0);
exports.WorkerLogDelivery = WorkerLogDelivery;
class LogDelivery extends core.Schema {
}
__decorate([
    core.attr(WorkerLogDelivery),
    __metadata("design:type", WorkerLogDelivery)
], LogDelivery.prototype, "workerLogDelivery", void 0);
exports.LogDelivery = LogDelivery;
class CustomPlugin extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CustomPlugin.prototype, "arn", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], CustomPlugin.prototype, "revision", void 0);
exports.CustomPlugin = CustomPlugin;
class Plugin extends core.Schema {
}
__decorate([
    core.attr(CustomPlugin),
    __metadata("design:type", CustomPlugin)
], Plugin.prototype, "customPlugin", void 0);
exports.Plugin = Plugin;
class WorkerConfiguration extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], WorkerConfiguration.prototype, "arn", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], WorkerConfiguration.prototype, "revision", void 0);
exports.WorkerConfiguration = WorkerConfiguration;
class MskconnectConnector extends core.Resource {
    constructor(name, args) {
        super(name, "aws_mskconnect_connector", args);
    }
    getNamespace() {
        return "aws_managed_streaming_for_kafka_connect";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "arn", void 0);
__decorate([
    core.attr(Capacity),
    __metadata("design:type", Capacity)
], MskconnectConnector.prototype, "capacity", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "connectorConfiguration", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "description", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "id", void 0);
__decorate([
    core.attr(KafkaCluster),
    __metadata("design:type", KafkaCluster)
], MskconnectConnector.prototype, "kafkaCluster", void 0);
__decorate([
    core.attr(KafkaClusterClientAuthentication),
    __metadata("design:type", KafkaClusterClientAuthentication)
], MskconnectConnector.prototype, "kafkaClusterClientAuthentication", void 0);
__decorate([
    core.attr(KafkaClusterEncryptionInTransit),
    __metadata("design:type", KafkaClusterEncryptionInTransit)
], MskconnectConnector.prototype, "kafkaClusterEncryptionInTransit", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "kafkaconnectVersion", void 0);
__decorate([
    core.attr(LogDelivery),
    __metadata("design:type", LogDelivery)
], MskconnectConnector.prototype, "logDelivery", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "name", void 0);
__decorate([
    core.attr(Plugin, { kind: "array" }),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "plugin", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "serviceExecutionRoleArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MskconnectConnector.prototype, "version", void 0);
__decorate([
    core.attr(WorkerConfiguration),
    __metadata("design:type", WorkerConfiguration)
], MskconnectConnector.prototype, "workerConfiguration", void 0);
exports.MskconnectConnector = MskconnectConnector;
//# sourceMappingURL=mskconnect_connector.js.map