"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.CloudwatchEventTarget = exports.EcsTarget = exports.NetworkConfiguration = exports.PlacementConstraint = exports.RunCommandTargets = exports.SqsTarget = exports.HttpTarget = exports.DeadLetterConfig = exports.RetryPolicy = exports.KinesisTarget = exports.BatchTarget = exports.InputTransformer = exports.RedshiftTarget = void 0;
const core = __importStar(require("@terrascript/core"));
class RedshiftTarget extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RedshiftTarget.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RedshiftTarget.prototype, "dbUser", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RedshiftTarget.prototype, "secretsManagerArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RedshiftTarget.prototype, "sql", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RedshiftTarget.prototype, "statementName", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], RedshiftTarget.prototype, "withEvent", void 0);
exports.RedshiftTarget = RedshiftTarget;
class InputTransformer extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], InputTransformer.prototype, "inputPaths", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InputTransformer.prototype, "inputTemplate", void 0);
exports.InputTransformer = InputTransformer;
class BatchTarget extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], BatchTarget.prototype, "arraySize", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], BatchTarget.prototype, "jobAttempts", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BatchTarget.prototype, "jobDefinition", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BatchTarget.prototype, "jobName", void 0);
exports.BatchTarget = BatchTarget;
class KinesisTarget extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], KinesisTarget.prototype, "partitionKeyPath", void 0);
exports.KinesisTarget = KinesisTarget;
class RetryPolicy extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], RetryPolicy.prototype, "maximumEventAgeInSeconds", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], RetryPolicy.prototype, "maximumRetryAttempts", void 0);
exports.RetryPolicy = RetryPolicy;
class DeadLetterConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DeadLetterConfig.prototype, "arn", void 0);
exports.DeadLetterConfig = DeadLetterConfig;
class HttpTarget extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], HttpTarget.prototype, "headerParameters", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], HttpTarget.prototype, "pathParameterValues", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], HttpTarget.prototype, "queryStringParameters", void 0);
exports.HttpTarget = HttpTarget;
class SqsTarget extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SqsTarget.prototype, "messageGroupId", void 0);
exports.SqsTarget = SqsTarget;
class RunCommandTargets extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RunCommandTargets.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], RunCommandTargets.prototype, "values", void 0);
exports.RunCommandTargets = RunCommandTargets;
class PlacementConstraint extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], PlacementConstraint.prototype, "expression", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], PlacementConstraint.prototype, "type", void 0);
exports.PlacementConstraint = PlacementConstraint;
class NetworkConfiguration extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], NetworkConfiguration.prototype, "assignPublicIp", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], NetworkConfiguration.prototype, "securityGroups", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], NetworkConfiguration.prototype, "subnets", void 0);
exports.NetworkConfiguration = NetworkConfiguration;
class EcsTarget extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], EcsTarget.prototype, "enableEcsManagedTags", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], EcsTarget.prototype, "enableExecuteCommand", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EcsTarget.prototype, "group", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EcsTarget.prototype, "launchType", void 0);
__decorate([
    core.attr(NetworkConfiguration),
    __metadata("design:type", NetworkConfiguration)
], EcsTarget.prototype, "networkConfiguration", void 0);
__decorate([
    core.attr(PlacementConstraint, { kind: "array" }),
    __metadata("design:type", Object)
], EcsTarget.prototype, "placementConstraint", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EcsTarget.prototype, "platformVersion", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EcsTarget.prototype, "propagateTags", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], EcsTarget.prototype, "tags", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], EcsTarget.prototype, "taskCount", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EcsTarget.prototype, "taskDefinitionArn", void 0);
exports.EcsTarget = EcsTarget;
class CloudwatchEventTarget extends core.Resource {
    constructor(name, args) {
        super(name, "aws_cloudwatch_event_target", args);
    }
    getNamespace() {
        return "aws_eventbridge";
    }
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "arn", void 0);
__decorate([
    core.attr(BatchTarget),
    __metadata("design:type", BatchTarget)
], CloudwatchEventTarget.prototype, "batchTarget", void 0);
__decorate([
    core.attr(DeadLetterConfig),
    __metadata("design:type", DeadLetterConfig)
], CloudwatchEventTarget.prototype, "deadLetterConfig", void 0);
__decorate([
    core.attr(EcsTarget),
    __metadata("design:type", EcsTarget)
], CloudwatchEventTarget.prototype, "ecsTarget", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "eventBusName", void 0);
__decorate([
    core.attr(HttpTarget),
    __metadata("design:type", HttpTarget)
], CloudwatchEventTarget.prototype, "httpTarget", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "id", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "input", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "inputPath", void 0);
__decorate([
    core.attr(InputTransformer),
    __metadata("design:type", InputTransformer)
], CloudwatchEventTarget.prototype, "inputTransformer", void 0);
__decorate([
    core.attr(KinesisTarget),
    __metadata("design:type", KinesisTarget)
], CloudwatchEventTarget.prototype, "kinesisTarget", void 0);
__decorate([
    core.attr(RedshiftTarget),
    __metadata("design:type", RedshiftTarget)
], CloudwatchEventTarget.prototype, "redshiftTarget", void 0);
__decorate([
    core.attr(RetryPolicy),
    __metadata("design:type", RetryPolicy)
], CloudwatchEventTarget.prototype, "retryPolicy", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "roleArn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "rule", void 0);
__decorate([
    core.attr(RunCommandTargets, { kind: "array" }),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "runCommandTargets", void 0);
__decorate([
    core.attr(SqsTarget),
    __metadata("design:type", SqsTarget)
], CloudwatchEventTarget.prototype, "sqsTarget", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CloudwatchEventTarget.prototype, "targetId", void 0);
exports.CloudwatchEventTarget = CloudwatchEventTarget;
//# sourceMappingURL=cloudwatch_event_target.js.map