@nolanrigo/cloudformation
Version:
TypeScript-based imperative way to define AWS CloudFormation templates
249 lines (248 loc) • 8.9 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var resource_1 = require("../../resource");
var RegexPatternSetReferenceStatement = /** @class */ (function () {
function RegexPatternSetReferenceStatement(properties) {
Object.assign(this, properties);
}
return RegexPatternSetReferenceStatement;
}());
exports.RegexPatternSetReferenceStatement = RegexPatternSetReferenceStatement;
var SqliMatchStatement = /** @class */ (function () {
function SqliMatchStatement(properties) {
Object.assign(this, properties);
}
return SqliMatchStatement;
}());
exports.SqliMatchStatement = SqliMatchStatement;
var IPSetReferenceStatement = /** @class */ (function () {
function IPSetReferenceStatement(properties) {
Object.assign(this, properties);
}
return IPSetReferenceStatement;
}());
exports.IPSetReferenceStatement = IPSetReferenceStatement;
var ExcludedRule = /** @class */ (function () {
function ExcludedRule(properties) {
Object.assign(this, properties);
}
return ExcludedRule;
}());
exports.ExcludedRule = ExcludedRule;
var XssMatchStatement = /** @class */ (function () {
function XssMatchStatement(properties) {
Object.assign(this, properties);
}
return XssMatchStatement;
}());
exports.XssMatchStatement = XssMatchStatement;
var RuleGroupReferenceStatement = /** @class */ (function () {
function RuleGroupReferenceStatement(properties) {
Object.assign(this, properties);
}
return RuleGroupReferenceStatement;
}());
exports.RuleGroupReferenceStatement = RuleGroupReferenceStatement;
var StatementThree = /** @class */ (function () {
function StatementThree(properties) {
Object.assign(this, properties);
}
return StatementThree;
}());
exports.StatementThree = StatementThree;
var RateBasedStatementOne = /** @class */ (function () {
function RateBasedStatementOne(properties) {
Object.assign(this, properties);
}
return RateBasedStatementOne;
}());
exports.RateBasedStatementOne = RateBasedStatementOne;
var FieldToMatch = /** @class */ (function () {
function FieldToMatch(properties) {
Object.assign(this, properties);
}
return FieldToMatch;
}());
exports.FieldToMatch = FieldToMatch;
var NotStatementOne = /** @class */ (function () {
function NotStatementOne(properties) {
Object.assign(this, properties);
}
return NotStatementOne;
}());
exports.NotStatementOne = NotStatementOne;
var ManagedRuleGroupStatement = /** @class */ (function () {
function ManagedRuleGroupStatement(properties) {
Object.assign(this, properties);
}
return ManagedRuleGroupStatement;
}());
exports.ManagedRuleGroupStatement = ManagedRuleGroupStatement;
var RuleAction = /** @class */ (function () {
function RuleAction(properties) {
Object.assign(this, properties);
}
return RuleAction;
}());
exports.RuleAction = RuleAction;
var ByteMatchStatement = /** @class */ (function () {
function ByteMatchStatement(properties) {
Object.assign(this, properties);
}
return ByteMatchStatement;
}());
exports.ByteMatchStatement = ByteMatchStatement;
var AndStatementOne = /** @class */ (function () {
function AndStatementOne(properties) {
Object.assign(this, properties);
}
return AndStatementOne;
}());
exports.AndStatementOne = AndStatementOne;
var VisibilityConfig = /** @class */ (function () {
function VisibilityConfig(properties) {
Object.assign(this, properties);
}
return VisibilityConfig;
}());
exports.VisibilityConfig = VisibilityConfig;
var TextTransformation = /** @class */ (function () {
function TextTransformation(properties) {
Object.assign(this, properties);
}
return TextTransformation;
}());
exports.TextTransformation = TextTransformation;
var RateBasedStatementTwo = /** @class */ (function () {
function RateBasedStatementTwo(properties) {
Object.assign(this, properties);
}
return RateBasedStatementTwo;
}());
exports.RateBasedStatementTwo = RateBasedStatementTwo;
var NotStatementTwo = /** @class */ (function () {
function NotStatementTwo(properties) {
Object.assign(this, properties);
}
return NotStatementTwo;
}());
exports.NotStatementTwo = NotStatementTwo;
var SizeConstraintStatement = /** @class */ (function () {
function SizeConstraintStatement(properties) {
Object.assign(this, properties);
}
return SizeConstraintStatement;
}());
exports.SizeConstraintStatement = SizeConstraintStatement;
var StatementOne = /** @class */ (function () {
function StatementOne(properties) {
Object.assign(this, properties);
}
return StatementOne;
}());
exports.StatementOne = StatementOne;
var AndStatementTwo = /** @class */ (function () {
function AndStatementTwo(properties) {
Object.assign(this, properties);
}
return AndStatementTwo;
}());
exports.AndStatementTwo = AndStatementTwo;
var OrStatementOne = /** @class */ (function () {
function OrStatementOne(properties) {
Object.assign(this, properties);
}
return OrStatementOne;
}());
exports.OrStatementOne = OrStatementOne;
var Rule = /** @class */ (function () {
function Rule(properties) {
Object.assign(this, properties);
}
return Rule;
}());
exports.Rule = Rule;
var StatementTwo = /** @class */ (function () {
function StatementTwo(properties) {
Object.assign(this, properties);
}
return StatementTwo;
}());
exports.StatementTwo = StatementTwo;
var DefaultAction = /** @class */ (function () {
function DefaultAction(properties) {
Object.assign(this, properties);
}
return DefaultAction;
}());
exports.DefaultAction = DefaultAction;
var OrStatementTwo = /** @class */ (function () {
function OrStatementTwo(properties) {
Object.assign(this, properties);
}
return OrStatementTwo;
}());
exports.OrStatementTwo = OrStatementTwo;
var GeoMatchStatement = /** @class */ (function () {
function GeoMatchStatement(properties) {
Object.assign(this, properties);
}
return GeoMatchStatement;
}());
exports.GeoMatchStatement = GeoMatchStatement;
var OverrideAction = /** @class */ (function () {
function OverrideAction(properties) {
Object.assign(this, properties);
}
return OverrideAction;
}());
exports.OverrideAction = OverrideAction;
var Inner_WebACL = /** @class */ (function (_super) {
__extends(Inner_WebACL, _super);
function Inner_WebACL(properties) {
return _super.call(this, "AWS::WAFv2::WebACL", properties) || this;
}
Inner_WebACL.RegexPatternSetReferenceStatement = RegexPatternSetReferenceStatement;
Inner_WebACL.SqliMatchStatement = SqliMatchStatement;
Inner_WebACL.IPSetReferenceStatement = IPSetReferenceStatement;
Inner_WebACL.ExcludedRule = ExcludedRule;
Inner_WebACL.XssMatchStatement = XssMatchStatement;
Inner_WebACL.RuleGroupReferenceStatement = RuleGroupReferenceStatement;
Inner_WebACL.StatementThree = StatementThree;
Inner_WebACL.RateBasedStatementOne = RateBasedStatementOne;
Inner_WebACL.FieldToMatch = FieldToMatch;
Inner_WebACL.NotStatementOne = NotStatementOne;
Inner_WebACL.ManagedRuleGroupStatement = ManagedRuleGroupStatement;
Inner_WebACL.RuleAction = RuleAction;
Inner_WebACL.ByteMatchStatement = ByteMatchStatement;
Inner_WebACL.AndStatementOne = AndStatementOne;
Inner_WebACL.VisibilityConfig = VisibilityConfig;
Inner_WebACL.TextTransformation = TextTransformation;
Inner_WebACL.RateBasedStatementTwo = RateBasedStatementTwo;
Inner_WebACL.NotStatementTwo = NotStatementTwo;
Inner_WebACL.SizeConstraintStatement = SizeConstraintStatement;
Inner_WebACL.StatementOne = StatementOne;
Inner_WebACL.AndStatementTwo = AndStatementTwo;
Inner_WebACL.OrStatementOne = OrStatementOne;
Inner_WebACL.Rule = Rule;
Inner_WebACL.StatementTwo = StatementTwo;
Inner_WebACL.DefaultAction = DefaultAction;
Inner_WebACL.OrStatementTwo = OrStatementTwo;
Inner_WebACL.GeoMatchStatement = GeoMatchStatement;
Inner_WebACL.OverrideAction = OverrideAction;
return Inner_WebACL;
}(resource_1.ResourceBase));
exports.default = Inner_WebACL;