"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.Application = exports.CloudwatchLoggingOptions = exports.Outputs = exports.OutputsSchema = exports.ReferenceDataSources = exports.S3 = exports.Inputs = exports.InputsSchema = exports.RecordFormat = exports.MappingParameters = exports.Json = exports.Csv = exports.RecordColumns = exports.ProcessingConfiguration = exports.Lambda = exports.StartingPositionConfiguration = exports.KinesisStream = exports.KinesisFirehose = exports.Parallelism = void 0;
const core = __importStar(require("@terrascript/core"));
class Parallelism extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Parallelism.prototype, "count", void 0);
exports.Parallelism = Parallelism;
class KinesisFirehose extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisFirehose.prototype, "resourceArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisFirehose.prototype, "roleArn", void 0);
exports.KinesisFirehose = KinesisFirehose;
class KinesisStream extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisStream.prototype, "resourceArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisStream.prototype, "roleArn", void 0);
exports.KinesisStream = KinesisStream;
class StartingPositionConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], StartingPositionConfiguration.prototype, "startingPosition", void 0);
exports.StartingPositionConfiguration = StartingPositionConfiguration;
class Lambda extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Lambda.prototype, "resourceArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Lambda.prototype, "roleArn", void 0);
exports.Lambda = Lambda;
class ProcessingConfiguration extends core.Schema {
}
__decorate([
    core.attr(Lambda),
    __metadata("design:type", Lambda)
], ProcessingConfiguration.prototype, "lambda", void 0);
exports.ProcessingConfiguration = ProcessingConfiguration;
class RecordColumns extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RecordColumns.prototype, "mapping", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RecordColumns.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RecordColumns.prototype, "sqlType", void 0);
exports.RecordColumns = RecordColumns;
class Csv extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Csv.prototype, "recordColumnDelimiter", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Csv.prototype, "recordRowDelimiter", void 0);
exports.Csv = Csv;
class Json extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Json.prototype, "recordRowPath", void 0);
exports.Json = Json;
class MappingParameters extends core.Schema {
}
__decorate([
    core.attr(Csv),
    __metadata("design:type", Csv)
], MappingParameters.prototype, "csv", void 0);
__decorate([
    core.attr(Json),
    __metadata("design:type", Json)
], MappingParameters.prototype, "json", void 0);
exports.MappingParameters = MappingParameters;
class RecordFormat extends core.Schema {
}
__decorate([
    core.attr(MappingParameters),
    __metadata("design:type", MappingParameters)
], RecordFormat.prototype, "mappingParameters", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], RecordFormat.prototype, "recordFormatType", void 0);
exports.RecordFormat = RecordFormat;
class InputsSchema extends core.Schema {
}
__decorate([
    core.attr(RecordColumns, { kind: "array" }),
    __metadata("design:type", Object)
], InputsSchema.prototype, "recordColumns", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InputsSchema.prototype, "recordEncoding", void 0);
__decorate([
    core.attr(RecordFormat),
    __metadata("design:type", RecordFormat)
], InputsSchema.prototype, "recordFormat", void 0);
exports.InputsSchema = InputsSchema;
class Inputs extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Inputs.prototype, "id", void 0);
__decorate([
    core.attr(KinesisFirehose),
    __metadata("design:type", KinesisFirehose)
], Inputs.prototype, "kinesisFirehose", void 0);
__decorate([
    core.attr(KinesisStream),
    __metadata("design:type", KinesisStream)
], Inputs.prototype, "kinesisStream", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Inputs.prototype, "namePrefix", void 0);
__decorate([
    core.attr(Parallelism, { computed: true }),
    __metadata("design:type", Parallelism)
], Inputs.prototype, "parallelism", void 0);
__decorate([
    core.attr(ProcessingConfiguration),
    __metadata("design:type", ProcessingConfiguration)
], Inputs.prototype, "processingConfiguration", void 0);
__decorate([
    core.attr(InputsSchema),
    __metadata("design:type", InputsSchema)
], Inputs.prototype, "schema", void 0);
__decorate([
    core.attr(StartingPositionConfiguration, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Inputs.prototype, "startingPositionConfiguration", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Inputs.prototype, "streamNames", void 0);
exports.Inputs = Inputs;
class S3 extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3.prototype, "bucketArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3.prototype, "fileKey", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3.prototype, "roleArn", void 0);
exports.S3 = S3;
class ReferenceDataSources extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], ReferenceDataSources.prototype, "id", void 0);
__decorate([
    core.attr(S3),
    __metadata("design:type", S3)
], ReferenceDataSources.prototype, "s3", void 0);
__decorate([
    core.attr(InputsSchema),
    __metadata("design:type", InputsSchema)
], ReferenceDataSources.prototype, "schema", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ReferenceDataSources.prototype, "tableName", void 0);
exports.ReferenceDataSources = ReferenceDataSources;
class OutputsSchema extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], OutputsSchema.prototype, "recordFormatType", void 0);
exports.OutputsSchema = OutputsSchema;
class Outputs extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Outputs.prototype, "id", void 0);
__decorate([
    core.attr(KinesisFirehose),
    __metadata("design:type", KinesisFirehose)
], Outputs.prototype, "kinesisFirehose", void 0);
__decorate([
    core.attr(KinesisStream),
    __metadata("design:type", KinesisStream)
], Outputs.prototype, "kinesisStream", void 0);
__decorate([
    core.attr(Lambda),
    __metadata("design:type", Lambda)
], Outputs.prototype, "lambda", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Outputs.prototype, "name", void 0);
__decorate([
    core.attr(OutputsSchema),
    __metadata("design:type", OutputsSchema)
], Outputs.prototype, "schema", void 0);
exports.Outputs = Outputs;
class CloudwatchLoggingOptions extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CloudwatchLoggingOptions.prototype, "id", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchLoggingOptions.prototype, "logStreamArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchLoggingOptions.prototype, "roleArn", void 0);
exports.CloudwatchLoggingOptions = CloudwatchLoggingOptions;
class Application extends core.Resource {
    constructor(name, args) {
        super(name, "aws_kinesis_analytics_application", args);
    }
    getNamespace() {
        return "aws_kinesis_analytics";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Application.prototype, "arn", void 0);
__decorate([
    core.attr(CloudwatchLoggingOptions),
    __metadata("design:type", CloudwatchLoggingOptions)
], Application.prototype, "cloudwatchLoggingOptions", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Application.prototype, "code", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Application.prototype, "createTimestamp", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Application.prototype, "description", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Application.prototype, "id", void 0);
__decorate([
    core.attr(Inputs),
    __metadata("design:type", Inputs)
], Application.prototype, "inputs", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Application.prototype, "lastUpdateTimestamp", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Application.prototype, "name", void 0);
__decorate([
    core.attr(Outputs, { kind: "array" }),
    __metadata("design:type", Object)
], Application.prototype, "outputs", void 0);
__decorate([
    core.attr(ReferenceDataSources),
    __metadata("design:type", ReferenceDataSources)
], Application.prototype, "referenceDataSources", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Application.prototype, "startApplication", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Application.prototype, "status", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], Application.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], Application.prototype, "tagsAll", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Application.prototype, "version", void 0);
exports.Application = Application;
//# sourceMappingURL=application.js.map