"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.Workflow = exports.Steps = exports.OnExceptionSteps = exports.CustomStepDetails = exports.CopyStepDetails = exports.DestinationFileLocation = exports.S3FileLocation = exports.EfsFileLocation = exports.TagStepDetails = exports.Tags = exports.DeleteStepDetails = void 0;
const core = __importStar(require("@terrascript/core"));
class DeleteStepDetails extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DeleteStepDetails.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DeleteStepDetails.prototype, "sourceFileLocation", void 0);
exports.DeleteStepDetails = DeleteStepDetails;
class Tags extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Tags.prototype, "key", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Tags.prototype, "value", void 0);
exports.Tags = Tags;
class TagStepDetails extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TagStepDetails.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TagStepDetails.prototype, "sourceFileLocation", void 0);
__decorate([
    core.attr(Tags, { kind: "array" }),
    __metadata("design:type", Object)
], TagStepDetails.prototype, "tags", void 0);
exports.TagStepDetails = TagStepDetails;
class EfsFileLocation extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EfsFileLocation.prototype, "fileSystemId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EfsFileLocation.prototype, "path", void 0);
exports.EfsFileLocation = EfsFileLocation;
class S3FileLocation extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3FileLocation.prototype, "bucket", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3FileLocation.prototype, "key", void 0);
exports.S3FileLocation = S3FileLocation;
class DestinationFileLocation extends core.Schema {
}
__decorate([
    core.attr(EfsFileLocation),
    __metadata("design:type", EfsFileLocation)
], DestinationFileLocation.prototype, "efsFileLocation", void 0);
__decorate([
    core.attr(S3FileLocation),
    __metadata("design:type", S3FileLocation)
], DestinationFileLocation.prototype, "s3FileLocation", void 0);
exports.DestinationFileLocation = DestinationFileLocation;
class CopyStepDetails extends core.Schema {
}
__decorate([
    core.attr(DestinationFileLocation),
    __metadata("design:type", DestinationFileLocation)
], CopyStepDetails.prototype, "destinationFileLocation", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CopyStepDetails.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CopyStepDetails.prototype, "overwriteExisting", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CopyStepDetails.prototype, "sourceFileLocation", void 0);
exports.CopyStepDetails = CopyStepDetails;
class CustomStepDetails extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CustomStepDetails.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CustomStepDetails.prototype, "sourceFileLocation", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CustomStepDetails.prototype, "target", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], CustomStepDetails.prototype, "timeoutSeconds", void 0);
exports.CustomStepDetails = CustomStepDetails;
class OnExceptionSteps extends core.Schema {
}
__decorate([
    core.attr(CopyStepDetails),
    __metadata("design:type", CopyStepDetails)
], OnExceptionSteps.prototype, "copyStepDetails", void 0);
__decorate([
    core.attr(CustomStepDetails),
    __metadata("design:type", CustomStepDetails)
], OnExceptionSteps.prototype, "customStepDetails", void 0);
__decorate([
    core.attr(DeleteStepDetails),
    __metadata("design:type", DeleteStepDetails)
], OnExceptionSteps.prototype, "deleteStepDetails", void 0);
__decorate([
    core.attr(TagStepDetails),
    __metadata("design:type", TagStepDetails)
], OnExceptionSteps.prototype, "tagStepDetails", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], OnExceptionSteps.prototype, "type", void 0);
exports.OnExceptionSteps = OnExceptionSteps;
class Steps extends core.Schema {
}
__decorate([
    core.attr(CopyStepDetails),
    __metadata("design:type", CopyStepDetails)
], Steps.prototype, "copyStepDetails", void 0);
__decorate([
    core.attr(CustomStepDetails),
    __metadata("design:type", CustomStepDetails)
], Steps.prototype, "customStepDetails", void 0);
__decorate([
    core.attr(DeleteStepDetails),
    __metadata("design:type", DeleteStepDetails)
], Steps.prototype, "deleteStepDetails", void 0);
__decorate([
    core.attr(TagStepDetails),
    __metadata("design:type", TagStepDetails)
], Steps.prototype, "tagStepDetails", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Steps.prototype, "type", void 0);
exports.Steps = Steps;
class Workflow extends core.Resource {
    constructor(name, args) {
        super(name, "aws_transfer_workflow", args);
    }
    getNamespace() {
        return "aws_transfer";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Workflow.prototype, "arn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Workflow.prototype, "description", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Workflow.prototype, "id", void 0);
__decorate([
    core.attr(OnExceptionSteps, { kind: "array" }),
    __metadata("design:type", Object)
], Workflow.prototype, "onExceptionSteps", void 0);
__decorate([
    core.attr(Steps, { kind: "array" }),
    __metadata("design:type", Object)
], Workflow.prototype, "steps", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], Workflow.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], Workflow.prototype, "tagsAll", void 0);
exports.Workflow = Workflow;
//# sourceMappingURL=workflow.js.map