"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.V2WebAclLoggingConfiguration = exports.RedactedFields = exports.UriPath = exports.SingleQueryArgument = exports.SingleHeader = exports.QueryString = exports.Method = exports.Body = exports.AllQueryArguments = exports.LoggingFilter = exports.Filter = exports.Condition = exports.LabelNameCondition = exports.ActionCondition = void 0;
const core = __importStar(require("@terrascript/core"));
class ActionCondition extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ActionCondition.prototype, "action", void 0);
exports.ActionCondition = ActionCondition;
class LabelNameCondition extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LabelNameCondition.prototype, "labelName", void 0);
exports.LabelNameCondition = LabelNameCondition;
class Condition extends core.Schema {
}
__decorate([
    core.attr(ActionCondition),
    __metadata("design:type", ActionCondition)
], Condition.prototype, "actionCondition", void 0);
__decorate([
    core.attr(LabelNameCondition),
    __metadata("design:type", LabelNameCondition)
], Condition.prototype, "labelNameCondition", void 0);
exports.Condition = Condition;
class Filter extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Filter.prototype, "behavior", void 0);
__decorate([
    core.attr(Condition, { kind: "array" }),
    __metadata("design:type", Object)
], Filter.prototype, "condition", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Filter.prototype, "requirement", void 0);
exports.Filter = Filter;
class LoggingFilter extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LoggingFilter.prototype, "defaultBehavior", void 0);
__decorate([
    core.attr(Filter, { kind: "array" }),
    __metadata("design:type", Object)
], LoggingFilter.prototype, "filter", void 0);
exports.LoggingFilter = LoggingFilter;
class AllQueryArguments extends core.Schema {
}
exports.AllQueryArguments = AllQueryArguments;
class Body extends core.Schema {
}
exports.Body = Body;
class Method extends core.Schema {
}
exports.Method = Method;
class QueryString extends core.Schema {
}
exports.QueryString = QueryString;
class SingleHeader extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SingleHeader.prototype, "name", void 0);
exports.SingleHeader = SingleHeader;
class SingleQueryArgument extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SingleQueryArgument.prototype, "name", void 0);
exports.SingleQueryArgument = SingleQueryArgument;
class UriPath extends core.Schema {
}
exports.UriPath = UriPath;
class RedactedFields extends core.Schema {
}
__decorate([
    core.attr(AllQueryArguments),
    __metadata("design:type", AllQueryArguments)
], RedactedFields.prototype, "allQueryArguments", void 0);
__decorate([
    core.attr(Body),
    __metadata("design:type", Body)
], RedactedFields.prototype, "body", void 0);
__decorate([
    core.attr(Method),
    __metadata("design:type", Method)
], RedactedFields.prototype, "method", void 0);
__decorate([
    core.attr(QueryString),
    __metadata("design:type", QueryString)
], RedactedFields.prototype, "queryString", void 0);
__decorate([
    core.attr(SingleHeader),
    __metadata("design:type", SingleHeader)
], RedactedFields.prototype, "singleHeader", void 0);
__decorate([
    core.attr(SingleQueryArgument),
    __metadata("design:type", SingleQueryArgument)
], RedactedFields.prototype, "singleQueryArgument", void 0);
__decorate([
    core.attr(UriPath),
    __metadata("design:type", UriPath)
], RedactedFields.prototype, "uriPath", void 0);
exports.RedactedFields = RedactedFields;
class V2WebAclLoggingConfiguration extends core.Resource {
    constructor(name, args) {
        super(name, "aws_wafv2_web_acl_logging_configuration", args);
    }
    getNamespace() {
        return "aws_waf";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], V2WebAclLoggingConfiguration.prototype, "id", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], V2WebAclLoggingConfiguration.prototype, "logDestinationConfigs", void 0);
__decorate([
    core.attr(LoggingFilter),
    __metadata("design:type", LoggingFilter)
], V2WebAclLoggingConfiguration.prototype, "loggingFilter", void 0);
__decorate([
    core.attr(RedactedFields, { kind: "array" }),
    __metadata("design:type", Object)
], V2WebAclLoggingConfiguration.prototype, "redactedFields", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], V2WebAclLoggingConfiguration.prototype, "resourceArn", void 0);
exports.V2WebAclLoggingConfiguration = V2WebAclLoggingConfiguration;
//# sourceMappingURL=v2_web_acl_logging_configuration.js.map