@aws-cdk/aws-wafregional
Advanced tools
Comparing version 0.20.0 to 0.21.0
import cdk = require('@aws-cdk/cdk'); | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html | ||
*/ | ||
export interface CfnByteMatchSetProps { | ||
/** | ||
* ``AWS::WAFRegional::ByteMatchSet.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html#cfn-wafregional-bytematchset-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::ByteMatchSet.ByteMatchTuples`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html#cfn-wafregional-bytematchset-bytematchtuples | ||
*/ | ||
byteMatchTuples?: Array<CfnByteMatchSet.ByteMatchTupleProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html | ||
*/ | ||
export declare class CfnByteMatchSet extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::ByteMatchSet"; | ||
readonly byteMatchSetId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::ByteMatchSet``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnByteMatchSet`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnByteMatchSet`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnByteMatchSetProps); | ||
readonly propertyOverrides: CfnByteMatchSetProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnByteMatchSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html | ||
*/ | ||
interface ByteMatchTupleProperty { | ||
/** | ||
* ``CfnByteMatchSet.ByteMatchTupleProperty.FieldToMatch`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-fieldtomatch | ||
*/ | ||
fieldToMatch: CfnByteMatchSet.FieldToMatchProperty | cdk.Token; | ||
/** | ||
* ``CfnByteMatchSet.ByteMatchTupleProperty.PositionalConstraint`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-positionalconstraint | ||
*/ | ||
positionalConstraint: string | cdk.Token; | ||
/** | ||
* ``CfnByteMatchSet.ByteMatchTupleProperty.TargetString`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstring | ||
*/ | ||
targetString?: string | cdk.Token; | ||
/** | ||
* ``CfnByteMatchSet.ByteMatchTupleProperty.TargetStringBase64`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64 | ||
*/ | ||
targetStringBase64?: string | cdk.Token; | ||
/** | ||
* ``CfnByteMatchSet.ByteMatchTupleProperty.TextTransformation`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-texttransformation | ||
*/ | ||
textTransformation: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnByteMatchSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html | ||
*/ | ||
interface FieldToMatchProperty { | ||
/** | ||
* ``CfnByteMatchSet.FieldToMatchProperty.Data`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html#cfn-wafregional-bytematchset-fieldtomatch-data | ||
*/ | ||
data?: string | cdk.Token; | ||
/** | ||
* ``CfnByteMatchSet.FieldToMatchProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html#cfn-wafregional-bytematchset-fieldtomatch-type | ||
*/ | ||
type: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -19,2 +105,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.ByteMatchSetResource" will be deprecated in a future release in favor of "CfnByteMatchSet" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html | ||
@@ -50,3 +137,3 @@ */ | ||
*/ | ||
fieldToMatch: FieldToMatchProperty | cdk.Token; | ||
fieldToMatch: ByteMatchSetResource.FieldToMatchProperty | cdk.Token; | ||
/** | ||
@@ -92,2 +179,56 @@ * ``ByteMatchSetResource.ByteMatchTupleProperty.PositionalConstraint`` | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html | ||
*/ | ||
export interface CfnIPSetProps { | ||
/** | ||
* ``AWS::WAFRegional::IPSet.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html#cfn-wafregional-ipset-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::IPSet.IPSetDescriptors`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html#cfn-wafregional-ipset-ipsetdescriptors | ||
*/ | ||
ipSetDescriptors?: Array<CfnIPSet.IPSetDescriptorProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html | ||
*/ | ||
export declare class CfnIPSet extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::IPSet"; | ||
readonly ipSetId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::IPSet``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnIPSet`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnIPSet`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnIPSetProps); | ||
readonly propertyOverrides: CfnIPSetProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnIPSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html | ||
*/ | ||
interface IPSetDescriptorProperty { | ||
/** | ||
* ``CfnIPSet.IPSetDescriptorProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html#cfn-wafregional-ipset-ipsetdescriptor-type | ||
*/ | ||
type: string | cdk.Token; | ||
/** | ||
* ``CfnIPSet.IPSetDescriptorProperty.Value`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html#cfn-wafregional-ipset-ipsetdescriptor-value | ||
*/ | ||
value: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -110,2 +251,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.IPSetResource" will be deprecated in a future release in favor of "CfnIPSet" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html | ||
@@ -150,2 +292,66 @@ */ | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html | ||
*/ | ||
export interface CfnRuleProps { | ||
/** | ||
* ``AWS::WAFRegional::Rule.MetricName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-metricname | ||
*/ | ||
metricName: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::Rule.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::Rule.Predicates`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-predicates | ||
*/ | ||
predicates?: Array<CfnRule.PredicateProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html | ||
*/ | ||
export declare class CfnRule extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::Rule"; | ||
readonly ruleId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::Rule``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnRule`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnRule`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnRuleProps); | ||
readonly propertyOverrides: CfnRuleProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnRule { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html | ||
*/ | ||
interface PredicateProperty { | ||
/** | ||
* ``CfnRule.PredicateProperty.DataId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-dataid | ||
*/ | ||
dataId: string | cdk.Token; | ||
/** | ||
* ``CfnRule.PredicateProperty.Negated`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-negated | ||
*/ | ||
negated: boolean | cdk.Token; | ||
/** | ||
* ``CfnRule.PredicateProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-type | ||
*/ | ||
type: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -173,2 +379,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.RuleResource" will be deprecated in a future release in favor of "CfnRule" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html | ||
@@ -218,2 +425,83 @@ */ | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html | ||
*/ | ||
export interface CfnSizeConstraintSetProps { | ||
/** | ||
* ``AWS::WAFRegional::SizeConstraintSet.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html#cfn-wafregional-sizeconstraintset-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::SizeConstraintSet.SizeConstraints`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html#cfn-wafregional-sizeconstraintset-sizeconstraints | ||
*/ | ||
sizeConstraints?: Array<CfnSizeConstraintSet.SizeConstraintProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html | ||
*/ | ||
export declare class CfnSizeConstraintSet extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::SizeConstraintSet"; | ||
readonly sizeConstraintSetId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::SizeConstraintSet``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnSizeConstraintSet`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnSizeConstraintSet`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnSizeConstraintSetProps); | ||
readonly propertyOverrides: CfnSizeConstraintSetProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnSizeConstraintSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html | ||
*/ | ||
interface FieldToMatchProperty { | ||
/** | ||
* ``CfnSizeConstraintSet.FieldToMatchProperty.Data`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html#cfn-wafregional-sizeconstraintset-fieldtomatch-data | ||
*/ | ||
data?: string | cdk.Token; | ||
/** | ||
* ``CfnSizeConstraintSet.FieldToMatchProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html#cfn-wafregional-sizeconstraintset-fieldtomatch-type | ||
*/ | ||
type: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnSizeConstraintSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html | ||
*/ | ||
interface SizeConstraintProperty { | ||
/** | ||
* ``CfnSizeConstraintSet.SizeConstraintProperty.ComparisonOperator`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-comparisonoperator | ||
*/ | ||
comparisonOperator: string | cdk.Token; | ||
/** | ||
* ``CfnSizeConstraintSet.SizeConstraintProperty.FieldToMatch`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-fieldtomatch | ||
*/ | ||
fieldToMatch: CfnSizeConstraintSet.FieldToMatchProperty | cdk.Token; | ||
/** | ||
* ``CfnSizeConstraintSet.SizeConstraintProperty.Size`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-size | ||
*/ | ||
size: number | cdk.Token; | ||
/** | ||
* ``CfnSizeConstraintSet.SizeConstraintProperty.TextTransformation`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-texttransformation | ||
*/ | ||
textTransformation: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -236,2 +524,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.SizeConstraintSetResource" will be deprecated in a future release in favor of "CfnSizeConstraintSet" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html | ||
@@ -289,3 +578,3 @@ */ | ||
*/ | ||
fieldToMatch: FieldToMatchProperty | cdk.Token; | ||
fieldToMatch: SizeConstraintSetResource.FieldToMatchProperty | cdk.Token; | ||
/** | ||
@@ -304,2 +593,73 @@ * ``SizeConstraintSetResource.SizeConstraintProperty.Size`` | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html | ||
*/ | ||
export interface CfnSqlInjectionMatchSetProps { | ||
/** | ||
* ``AWS::WAFRegional::SqlInjectionMatchSet.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html#cfn-wafregional-sqlinjectionmatchset-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuples`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html#cfn-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuples | ||
*/ | ||
sqlInjectionMatchTuples?: Array<CfnSqlInjectionMatchSet.SqlInjectionMatchTupleProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html | ||
*/ | ||
export declare class CfnSqlInjectionMatchSet extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::SqlInjectionMatchSet"; | ||
readonly sqlInjectionMatchSetId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::SqlInjectionMatchSet``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnSqlInjectionMatchSet`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnSqlInjectionMatchSet`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnSqlInjectionMatchSetProps); | ||
readonly propertyOverrides: CfnSqlInjectionMatchSetProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnSqlInjectionMatchSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html | ||
*/ | ||
interface FieldToMatchProperty { | ||
/** | ||
* ``CfnSqlInjectionMatchSet.FieldToMatchProperty.Data`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html#cfn-wafregional-sqlinjectionmatchset-fieldtomatch-data | ||
*/ | ||
data?: string | cdk.Token; | ||
/** | ||
* ``CfnSqlInjectionMatchSet.FieldToMatchProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html#cfn-wafregional-sqlinjectionmatchset-fieldtomatch-type | ||
*/ | ||
type: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnSqlInjectionMatchSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple.html | ||
*/ | ||
interface SqlInjectionMatchTupleProperty { | ||
/** | ||
* ``CfnSqlInjectionMatchSet.SqlInjectionMatchTupleProperty.FieldToMatch`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple.html#cfn-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple-fieldtomatch | ||
*/ | ||
fieldToMatch: CfnSqlInjectionMatchSet.FieldToMatchProperty | cdk.Token; | ||
/** | ||
* ``CfnSqlInjectionMatchSet.SqlInjectionMatchTupleProperty.TextTransformation`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple.html#cfn-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple-texttransformation | ||
*/ | ||
textTransformation: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -322,2 +682,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.SqlInjectionMatchSetResource" will be deprecated in a future release in favor of "CfnSqlInjectionMatchSet" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html | ||
@@ -370,3 +731,3 @@ */ | ||
*/ | ||
fieldToMatch: FieldToMatchProperty | cdk.Token; | ||
fieldToMatch: SqlInjectionMatchSetResource.FieldToMatchProperty | cdk.Token; | ||
/** | ||
@@ -380,2 +741,83 @@ * ``SqlInjectionMatchSetResource.SqlInjectionMatchTupleProperty.TextTransformation`` | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html | ||
*/ | ||
export interface CfnWebACLProps { | ||
/** | ||
* ``AWS::WAFRegional::WebACL.DefaultAction`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-defaultaction | ||
*/ | ||
defaultAction: CfnWebACL.ActionProperty | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::WebACL.MetricName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-metricname | ||
*/ | ||
metricName: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::WebACL.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::WebACL.Rules`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-rules | ||
*/ | ||
rules?: Array<CfnWebACL.RuleProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html | ||
*/ | ||
export declare class CfnWebACL extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::WebACL"; | ||
readonly webAclId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::WebACL``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnWebACL`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnWebACL`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnWebACLProps); | ||
readonly propertyOverrides: CfnWebACLProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnWebACL { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-action.html | ||
*/ | ||
interface ActionProperty { | ||
/** | ||
* ``CfnWebACL.ActionProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-action.html#cfn-wafregional-webacl-action-type | ||
*/ | ||
type: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnWebACL { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html | ||
*/ | ||
interface RuleProperty { | ||
/** | ||
* ``CfnWebACL.RuleProperty.Action`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html#cfn-wafregional-webacl-rule-action | ||
*/ | ||
action: CfnWebACL.ActionProperty | cdk.Token; | ||
/** | ||
* ``CfnWebACL.RuleProperty.Priority`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html#cfn-wafregional-webacl-rule-priority | ||
*/ | ||
priority: number | cdk.Token; | ||
/** | ||
* ``CfnWebACL.RuleProperty.RuleId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html#cfn-wafregional-webacl-rule-ruleid | ||
*/ | ||
ruleId: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -408,2 +850,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.WebACLResource" will be deprecated in a future release in favor of "CfnWebACL" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html | ||
@@ -451,3 +894,3 @@ */ | ||
*/ | ||
action: ActionProperty | cdk.Token; | ||
action: WebACLResource.ActionProperty | cdk.Token; | ||
/** | ||
@@ -466,2 +909,39 @@ * ``WebACLResource.RuleProperty.Priority`` | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html | ||
*/ | ||
export interface CfnWebACLAssociationProps { | ||
/** | ||
* ``AWS::WAFRegional::WebACLAssociation.ResourceArn`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html#cfn-wafregional-webaclassociation-resourcearn | ||
*/ | ||
resourceArn: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::WebACLAssociation.WebACLId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html#cfn-wafregional-webaclassociation-webaclid | ||
*/ | ||
webAclId: string | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html | ||
*/ | ||
export declare class CfnWebACLAssociation extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::WebACLAssociation"; | ||
readonly webAclAssociationId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::WebACLAssociation``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnWebACLAssociation`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnWebACLAssociation`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnWebACLAssociationProps); | ||
readonly propertyOverrides: CfnWebACLAssociationProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace cloudformation { | ||
@@ -484,2 +964,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.WebACLAssociationResource" will be deprecated in a future release in favor of "CfnWebACLAssociation" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html | ||
@@ -507,2 +988,73 @@ */ | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html | ||
*/ | ||
export interface CfnXssMatchSetProps { | ||
/** | ||
* ``AWS::WAFRegional::XssMatchSet.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html#cfn-wafregional-xssmatchset-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``AWS::WAFRegional::XssMatchSet.XssMatchTuples`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html#cfn-wafregional-xssmatchset-xssmatchtuples | ||
*/ | ||
xssMatchTuples?: Array<CfnXssMatchSet.XssMatchTupleProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html | ||
*/ | ||
export declare class CfnXssMatchSet extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::WAFRegional::XssMatchSet"; | ||
readonly xssMatchSetId: string; | ||
/** | ||
* Creates a new ``AWS::WAFRegional::XssMatchSet``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnXssMatchSet`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnXssMatchSet`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnXssMatchSetProps); | ||
readonly propertyOverrides: CfnXssMatchSetProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnXssMatchSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-fieldtomatch.html | ||
*/ | ||
interface FieldToMatchProperty { | ||
/** | ||
* ``CfnXssMatchSet.FieldToMatchProperty.Data`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-fieldtomatch.html#cfn-wafregional-xssmatchset-fieldtomatch-data | ||
*/ | ||
data?: string | cdk.Token; | ||
/** | ||
* ``CfnXssMatchSet.FieldToMatchProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-fieldtomatch.html#cfn-wafregional-xssmatchset-fieldtomatch-type | ||
*/ | ||
type: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnXssMatchSet { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html | ||
*/ | ||
interface XssMatchTupleProperty { | ||
/** | ||
* ``CfnXssMatchSet.XssMatchTupleProperty.FieldToMatch`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html#cfn-wafregional-xssmatchset-xssmatchtuple-fieldtomatch | ||
*/ | ||
fieldToMatch: CfnXssMatchSet.FieldToMatchProperty | cdk.Token; | ||
/** | ||
* ``CfnXssMatchSet.XssMatchTupleProperty.TextTransformation`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html#cfn-wafregional-xssmatchset-xssmatchtuple-texttransformation | ||
*/ | ||
textTransformation: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -525,2 +1077,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.XssMatchSetResource" will be deprecated in a future release in favor of "CfnXssMatchSet" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html | ||
@@ -573,3 +1126,3 @@ */ | ||
*/ | ||
fieldToMatch: FieldToMatchProperty | cdk.Token; | ||
fieldToMatch: XssMatchSetResource.FieldToMatchProperty | cdk.Token; | ||
/** | ||
@@ -576,0 +1129,0 @@ * ``XssMatchSetResource.XssMatchTupleProperty.TextTransformation`` |
{ | ||
"name": "@aws-cdk/aws-wafregional", | ||
"version": "0.20.0", | ||
"version": "0.21.0", | ||
"description": "The CDK Construct Library for AWS::WAFRegional", | ||
@@ -55,14 +55,17 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.20.0", | ||
"cdk-build-tools": "^0.20.0", | ||
"cfn2ts": "^0.20.0", | ||
"pkglint": "^0.20.0" | ||
"@aws-cdk/assert": "^0.21.0", | ||
"cdk-build-tools": "^0.21.0", | ||
"cfn2ts": "^0.21.0", | ||
"pkglint": "^0.21.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.20.0" | ||
"@aws-cdk/cdk": "^0.21.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^0.20.0" | ||
"@aws-cdk/cdk": "^0.21.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8.10.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
563217
3094
+ Added@aws-cdk/cdk@0.21.0(transitive)
+ Added@aws-cdk/cx-api@0.21.0(transitive)
- Removed@aws-cdk/cdk@0.20.0(transitive)
- Removed@aws-cdk/cx-api@0.20.0(transitive)
Updated@aws-cdk/cdk@^0.21.0