@nolanrigo/cloudformation
Version:
TypeScript-based imperative way to define AWS CloudFormation templates
209 lines (208 loc) • 7.53 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 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 NotStatementOne = /** @class */ (function () {
function NotStatementOne(properties) {
Object.assign(this, properties);
}
return NotStatementOne;
}());
exports.NotStatementOne = NotStatementOne;
var RateBasedStatementOne = /** @class */ (function () {
function RateBasedStatementOne(properties) {
Object.assign(this, properties);
}
return RateBasedStatementOne;
}());
exports.RateBasedStatementOne = RateBasedStatementOne;
var OrStatementTwo = /** @class */ (function () {
function OrStatementTwo(properties) {
Object.assign(this, properties);
}
return OrStatementTwo;
}());
exports.OrStatementTwo = OrStatementTwo;
var AndStatementOne = /** @class */ (function () {
function AndStatementOne(properties) {
Object.assign(this, properties);
}
return AndStatementOne;
}());
exports.AndStatementOne = AndStatementOne;
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 SqliMatchStatement = /** @class */ (function () {
function SqliMatchStatement(properties) {
Object.assign(this, properties);
}
return SqliMatchStatement;
}());
exports.SqliMatchStatement = SqliMatchStatement;
var SizeConstraintStatement = /** @class */ (function () {
function SizeConstraintStatement(properties) {
Object.assign(this, properties);
}
return SizeConstraintStatement;
}());
exports.SizeConstraintStatement = SizeConstraintStatement;
var AndStatementTwo = /** @class */ (function () {
function AndStatementTwo(properties) {
Object.assign(this, properties);
}
return AndStatementTwo;
}());
exports.AndStatementTwo = AndStatementTwo;
var StatementThree = /** @class */ (function () {
function StatementThree(properties) {
Object.assign(this, properties);
}
return StatementThree;
}());
exports.StatementThree = StatementThree;
var GeoMatchStatement = /** @class */ (function () {
function GeoMatchStatement(properties) {
Object.assign(this, properties);
}
return GeoMatchStatement;
}());
exports.GeoMatchStatement = GeoMatchStatement;
var FieldToMatch = /** @class */ (function () {
function FieldToMatch(properties) {
Object.assign(this, properties);
}
return FieldToMatch;
}());
exports.FieldToMatch = FieldToMatch;
var RegexPatternSetReferenceStatement = /** @class */ (function () {
function RegexPatternSetReferenceStatement(properties) {
Object.assign(this, properties);
}
return RegexPatternSetReferenceStatement;
}());
exports.RegexPatternSetReferenceStatement = RegexPatternSetReferenceStatement;
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 IPSetReferenceStatement = /** @class */ (function () {
function IPSetReferenceStatement(properties) {
Object.assign(this, properties);
}
return IPSetReferenceStatement;
}());
exports.IPSetReferenceStatement = IPSetReferenceStatement;
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 XssMatchStatement = /** @class */ (function () {
function XssMatchStatement(properties) {
Object.assign(this, properties);
}
return XssMatchStatement;
}());
exports.XssMatchStatement = XssMatchStatement;
var StatementOne = /** @class */ (function () {
function StatementOne(properties) {
Object.assign(this, properties);
}
return StatementOne;
}());
exports.StatementOne = StatementOne;
var Inner_RuleGroup = /** @class */ (function (_super) {
__extends(Inner_RuleGroup, _super);
function Inner_RuleGroup(properties) {
return _super.call(this, "AWS::WAFv2::RuleGroup", properties) || this;
}
Inner_RuleGroup.OrStatementOne = OrStatementOne;
Inner_RuleGroup.Rule = Rule;
Inner_RuleGroup.StatementTwo = StatementTwo;
Inner_RuleGroup.NotStatementOne = NotStatementOne;
Inner_RuleGroup.RateBasedStatementOne = RateBasedStatementOne;
Inner_RuleGroup.OrStatementTwo = OrStatementTwo;
Inner_RuleGroup.AndStatementOne = AndStatementOne;
Inner_RuleGroup.RateBasedStatementTwo = RateBasedStatementTwo;
Inner_RuleGroup.NotStatementTwo = NotStatementTwo;
Inner_RuleGroup.SqliMatchStatement = SqliMatchStatement;
Inner_RuleGroup.SizeConstraintStatement = SizeConstraintStatement;
Inner_RuleGroup.AndStatementTwo = AndStatementTwo;
Inner_RuleGroup.StatementThree = StatementThree;
Inner_RuleGroup.GeoMatchStatement = GeoMatchStatement;
Inner_RuleGroup.FieldToMatch = FieldToMatch;
Inner_RuleGroup.RegexPatternSetReferenceStatement = RegexPatternSetReferenceStatement;
Inner_RuleGroup.RuleAction = RuleAction;
Inner_RuleGroup.ByteMatchStatement = ByteMatchStatement;
Inner_RuleGroup.IPSetReferenceStatement = IPSetReferenceStatement;
Inner_RuleGroup.VisibilityConfig = VisibilityConfig;
Inner_RuleGroup.TextTransformation = TextTransformation;
Inner_RuleGroup.XssMatchStatement = XssMatchStatement;
Inner_RuleGroup.StatementOne = StatementOne;
return Inner_RuleGroup;
}(resource_1.ResourceBase));
exports.default = Inner_RuleGroup;