"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.ApplicationConfiguration = exports.SqlApplicationConfiguration = exports.ReferenceDataSource = exports.S3ReferenceDataSource = exports.ReferenceSchema = exports.Output = exports.KinesisStreamsOutput = exports.KinesisFirehoseOutput = exports.DestinationSchema = exports.LambdaOutput = exports.Input = exports.InputProcessingConfiguration = exports.InputLambdaProcessor = exports.InputStartingPositionConfiguration = exports.InputSchema = exports.RecordFormat = exports.MappingParameters = exports.JsonMappingParameters = exports.CsvMappingParameters = exports.RecordColumn = exports.KinesisFirehoseInput = exports.InputParallelism = exports.KinesisStreamsInput = exports.RunConfiguration = exports.FlinkRunConfiguration = exports.ApplicationRestoreConfiguration = exports.FlinkApplicationConfiguration = exports.CheckpointConfiguration = exports.ParallelismConfiguration = exports.MonitoringConfiguration = exports.EnvironmentProperties = exports.PropertyGroup = exports.ApplicationSnapshotConfiguration = exports.ApplicationCodeConfiguration = exports.CodeContent = exports.S3ContentLocation = exports.VpcConfiguration = void 0;
const core = __importStar(require("@terrascript/core"));
class VpcConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], VpcConfiguration.prototype, "securityGroupIds", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], VpcConfiguration.prototype, "subnetIds", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], VpcConfiguration.prototype, "vpcConfigurationId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], VpcConfiguration.prototype, "vpcId", void 0);
exports.VpcConfiguration = VpcConfiguration;
class S3ContentLocation extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3ContentLocation.prototype, "bucketArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3ContentLocation.prototype, "fileKey", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3ContentLocation.prototype, "objectVersion", void 0);
exports.S3ContentLocation = S3ContentLocation;
class CodeContent extends core.Schema {
}
__decorate([
    core.attr(S3ContentLocation),
    __metadata("design:type", S3ContentLocation)
], CodeContent.prototype, "s3ContentLocation", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CodeContent.prototype, "textContent", void 0);
exports.CodeContent = CodeContent;
class ApplicationCodeConfiguration extends core.Schema {
}
__decorate([
    core.attr(CodeContent),
    __metadata("design:type", CodeContent)
], ApplicationCodeConfiguration.prototype, "codeContent", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ApplicationCodeConfiguration.prototype, "codeContentType", void 0);
exports.ApplicationCodeConfiguration = ApplicationCodeConfiguration;
class ApplicationSnapshotConfiguration extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], ApplicationSnapshotConfiguration.prototype, "snapshotsEnabled", void 0);
exports.ApplicationSnapshotConfiguration = ApplicationSnapshotConfiguration;
class PropertyGroup extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], PropertyGroup.prototype, "propertyGroupId", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], PropertyGroup.prototype, "propertyMap", void 0);
exports.PropertyGroup = PropertyGroup;
class EnvironmentProperties extends core.Schema {
}
__decorate([
    core.attr(PropertyGroup, { kind: "array" }),
    __metadata("design:type", Object)
], EnvironmentProperties.prototype, "propertyGroup", void 0);
exports.EnvironmentProperties = EnvironmentProperties;
class MonitoringConfiguration extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MonitoringConfiguration.prototype, "configurationType", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MonitoringConfiguration.prototype, "logLevel", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MonitoringConfiguration.prototype, "metricsLevel", void 0);
exports.MonitoringConfiguration = MonitoringConfiguration;
class ParallelismConfiguration extends core.Schema {
}
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], ParallelismConfiguration.prototype, "autoScalingEnabled", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ParallelismConfiguration.prototype, "configurationType", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], ParallelismConfiguration.prototype, "parallelism", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], ParallelismConfiguration.prototype, "parallelismPerKpu", void 0);
exports.ParallelismConfiguration = ParallelismConfiguration;
class CheckpointConfiguration extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], CheckpointConfiguration.prototype, "checkpointInterval", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], CheckpointConfiguration.prototype, "checkpointingEnabled", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CheckpointConfiguration.prototype, "configurationType", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], CheckpointConfiguration.prototype, "minPauseBetweenCheckpoints", void 0);
exports.CheckpointConfiguration = CheckpointConfiguration;
class FlinkApplicationConfiguration extends core.Schema {
}
__decorate([
    core.attr(CheckpointConfiguration, { computed: true }),
    __metadata("design:type", CheckpointConfiguration)
], FlinkApplicationConfiguration.prototype, "checkpointConfiguration", void 0);
__decorate([
    core.attr(MonitoringConfiguration, { computed: true }),
    __metadata("design:type", MonitoringConfiguration)
], FlinkApplicationConfiguration.prototype, "monitoringConfiguration", void 0);
__decorate([
    core.attr(ParallelismConfiguration, { computed: true }),
    __metadata("design:type", ParallelismConfiguration)
], FlinkApplicationConfiguration.prototype, "parallelismConfiguration", void 0);
exports.FlinkApplicationConfiguration = FlinkApplicationConfiguration;
class ApplicationRestoreConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], ApplicationRestoreConfiguration.prototype, "applicationRestoreType", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ApplicationRestoreConfiguration.prototype, "snapshotName", void 0);
exports.ApplicationRestoreConfiguration = ApplicationRestoreConfiguration;
class FlinkRunConfiguration extends core.Schema {
}
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], FlinkRunConfiguration.prototype, "allowNonRestoredState", void 0);
exports.FlinkRunConfiguration = FlinkRunConfiguration;
class RunConfiguration extends core.Schema {
}
__decorate([
    core.attr(ApplicationRestoreConfiguration, { computed: true }),
    __metadata("design:type", ApplicationRestoreConfiguration)
], RunConfiguration.prototype, "applicationRestoreConfiguration", void 0);
__decorate([
    core.attr(FlinkRunConfiguration, { computed: true }),
    __metadata("design:type", FlinkRunConfiguration)
], RunConfiguration.prototype, "flinkRunConfiguration", void 0);
exports.RunConfiguration = RunConfiguration;
class KinesisStreamsInput extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisStreamsInput.prototype, "resourceArn", void 0);
exports.KinesisStreamsInput = KinesisStreamsInput;
class InputParallelism extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], InputParallelism.prototype, "count", void 0);
exports.InputParallelism = InputParallelism;
class KinesisFirehoseInput extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisFirehoseInput.prototype, "resourceArn", void 0);
exports.KinesisFirehoseInput = KinesisFirehoseInput;
class RecordColumn extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RecordColumn.prototype, "mapping", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RecordColumn.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RecordColumn.prototype, "sqlType", void 0);
exports.RecordColumn = RecordColumn;
class CsvMappingParameters extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CsvMappingParameters.prototype, "recordColumnDelimiter", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CsvMappingParameters.prototype, "recordRowDelimiter", void 0);
exports.CsvMappingParameters = CsvMappingParameters;
class JsonMappingParameters extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], JsonMappingParameters.prototype, "recordRowPath", void 0);
exports.JsonMappingParameters = JsonMappingParameters;
class MappingParameters extends core.Schema {
}
__decorate([
    core.attr(CsvMappingParameters),
    __metadata("design:type", CsvMappingParameters)
], MappingParameters.prototype, "csvMappingParameters", void 0);
__decorate([
    core.attr(JsonMappingParameters),
    __metadata("design:type", JsonMappingParameters)
], MappingParameters.prototype, "jsonMappingParameters", 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),
    __metadata("design:type", Object)
], RecordFormat.prototype, "recordFormatType", void 0);
exports.RecordFormat = RecordFormat;
class InputSchema extends core.Schema {
}
__decorate([
    core.attr(RecordColumn, { kind: "array" }),
    __metadata("design:type", Object)
], InputSchema.prototype, "recordColumn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InputSchema.prototype, "recordEncoding", void 0);
__decorate([
    core.attr(RecordFormat),
    __metadata("design:type", RecordFormat)
], InputSchema.prototype, "recordFormat", void 0);
exports.InputSchema = InputSchema;
class InputStartingPositionConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], InputStartingPositionConfiguration.prototype, "inputStartingPosition", void 0);
exports.InputStartingPositionConfiguration = InputStartingPositionConfiguration;
class InputLambdaProcessor extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InputLambdaProcessor.prototype, "resourceArn", void 0);
exports.InputLambdaProcessor = InputLambdaProcessor;
class InputProcessingConfiguration extends core.Schema {
}
__decorate([
    core.attr(InputLambdaProcessor),
    __metadata("design:type", InputLambdaProcessor)
], InputProcessingConfiguration.prototype, "inputLambdaProcessor", void 0);
exports.InputProcessingConfiguration = InputProcessingConfiguration;
class Input extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Input.prototype, "inAppStreamNames", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Input.prototype, "inputId", void 0);
__decorate([
    core.attr(InputParallelism, { computed: true }),
    __metadata("design:type", InputParallelism)
], Input.prototype, "inputParallelism", void 0);
__decorate([
    core.attr(InputProcessingConfiguration),
    __metadata("design:type", InputProcessingConfiguration)
], Input.prototype, "inputProcessingConfiguration", void 0);
__decorate([
    core.attr(InputSchema),
    __metadata("design:type", InputSchema)
], Input.prototype, "inputSchema", void 0);
__decorate([
    core.attr(InputStartingPositionConfiguration, {
        computed: true,
        kind: "array",
    }),
    __metadata("design:type", Object)
], Input.prototype, "inputStartingPositionConfiguration", void 0);
__decorate([
    core.attr(KinesisFirehoseInput),
    __metadata("design:type", KinesisFirehoseInput)
], Input.prototype, "kinesisFirehoseInput", void 0);
__decorate([
    core.attr(KinesisStreamsInput),
    __metadata("design:type", KinesisStreamsInput)
], Input.prototype, "kinesisStreamsInput", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Input.prototype, "namePrefix", void 0);
exports.Input = Input;
class LambdaOutput extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LambdaOutput.prototype, "resourceArn", void 0);
exports.LambdaOutput = LambdaOutput;
class DestinationSchema extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DestinationSchema.prototype, "recordFormatType", void 0);
exports.DestinationSchema = DestinationSchema;
class KinesisFirehoseOutput extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisFirehoseOutput.prototype, "resourceArn", void 0);
exports.KinesisFirehoseOutput = KinesisFirehoseOutput;
class KinesisStreamsOutput extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisStreamsOutput.prototype, "resourceArn", void 0);
exports.KinesisStreamsOutput = KinesisStreamsOutput;
class Output extends core.Schema {
}
__decorate([
    core.attr(DestinationSchema),
    __metadata("design:type", DestinationSchema)
], Output.prototype, "destinationSchema", void 0);
__decorate([
    core.attr(KinesisFirehoseOutput),
    __metadata("design:type", KinesisFirehoseOutput)
], Output.prototype, "kinesisFirehoseOutput", void 0);
__decorate([
    core.attr(KinesisStreamsOutput),
    __metadata("design:type", KinesisStreamsOutput)
], Output.prototype, "kinesisStreamsOutput", void 0);
__decorate([
    core.attr(LambdaOutput),
    __metadata("design:type", LambdaOutput)
], Output.prototype, "lambdaOutput", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Output.prototype, "name", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Output.prototype, "outputId", void 0);
exports.Output = Output;
class ReferenceSchema extends core.Schema {
}
__decorate([
    core.attr(RecordColumn, { kind: "array" }),
    __metadata("design:type", Object)
], ReferenceSchema.prototype, "recordColumn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ReferenceSchema.prototype, "recordEncoding", void 0);
__decorate([
    core.attr(RecordFormat),
    __metadata("design:type", RecordFormat)
], ReferenceSchema.prototype, "recordFormat", void 0);
exports.ReferenceSchema = ReferenceSchema;
class S3ReferenceDataSource extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3ReferenceDataSource.prototype, "bucketArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3ReferenceDataSource.prototype, "fileKey", void 0);
exports.S3ReferenceDataSource = S3ReferenceDataSource;
class ReferenceDataSource extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], ReferenceDataSource.prototype, "referenceId", void 0);
__decorate([
    core.attr(ReferenceSchema),
    __metadata("design:type", ReferenceSchema)
], ReferenceDataSource.prototype, "referenceSchema", void 0);
__decorate([
    core.attr(S3ReferenceDataSource),
    __metadata("design:type", S3ReferenceDataSource)
], ReferenceDataSource.prototype, "s3ReferenceDataSource", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ReferenceDataSource.prototype, "tableName", void 0);
exports.ReferenceDataSource = ReferenceDataSource;
class SqlApplicationConfiguration extends core.Schema {
}
__decorate([
    core.attr(Input),
    __metadata("design:type", Input)
], SqlApplicationConfiguration.prototype, "input", void 0);
__decorate([
    core.attr(Output, { kind: "array" }),
    __metadata("design:type", Object)
], SqlApplicationConfiguration.prototype, "output", void 0);
__decorate([
    core.attr(ReferenceDataSource),
    __metadata("design:type", ReferenceDataSource)
], SqlApplicationConfiguration.prototype, "referenceDataSource", void 0);
exports.SqlApplicationConfiguration = SqlApplicationConfiguration;
class ApplicationConfiguration extends core.Schema {
}
__decorate([
    core.attr(ApplicationCodeConfiguration),
    __metadata("design:type", ApplicationCodeConfiguration)
], ApplicationConfiguration.prototype, "applicationCodeConfiguration", void 0);
__decorate([
    core.attr(ApplicationSnapshotConfiguration, { computed: true }),
    __metadata("design:type", ApplicationSnapshotConfiguration)
], ApplicationConfiguration.prototype, "applicationSnapshotConfiguration", void 0);
__decorate([
    core.attr(EnvironmentProperties),
    __metadata("design:type", EnvironmentProperties)
], ApplicationConfiguration.prototype, "environmentProperties", void 0);
__decorate([
    core.attr(FlinkApplicationConfiguration, { computed: true }),
    __metadata("design:type", FlinkApplicationConfiguration)
], ApplicationConfiguration.prototype, "flinkApplicationConfiguration", void 0);
__decorate([
    core.attr(RunConfiguration, { computed: true }),
    __metadata("design:type", RunConfiguration)
], ApplicationConfiguration.prototype, "runConfiguration", void 0);
__decorate([
    core.attr(SqlApplicationConfiguration),
    __metadata("design:type", SqlApplicationConfiguration)
], ApplicationConfiguration.prototype, "sqlApplicationConfiguration", void 0);
__decorate([
    core.attr(VpcConfiguration),
    __metadata("design:type", VpcConfiguration)
], ApplicationConfiguration.prototype, "vpcConfiguration", void 0);
exports.ApplicationConfiguration = ApplicationConfiguration;
class CloudwatchLoggingOptions extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CloudwatchLoggingOptions.prototype, "cloudwatchLoggingOptionId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchLoggingOptions.prototype, "logStreamArn", void 0);
exports.CloudwatchLoggingOptions = CloudwatchLoggingOptions;
class Application extends core.Resource {
    constructor(name, args) {
        super(name, "aws_kinesisanalyticsv2_application", args);
    }
    getNamespace() {
        return "aws_kinesisanalyticsv2";
    }
}
__decorate([
    core.attr(ApplicationConfiguration, { computed: true }),
    __metadata("design:type", ApplicationConfiguration)
], Application.prototype, "applicationConfiguration", void 0);
__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, { 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(Boolean),
    __metadata("design:type", Object)
], Application.prototype, "forceStop", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Application.prototype, "id", 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(String),
    __metadata("design:type", Object)
], Application.prototype, "runtimeEnvironment", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Application.prototype, "serviceExecutionRole", 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, "versionId", void 0);
exports.Application = Application;
//# sourceMappingURL=application.js.map