aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
164 lines (163 loc) • 3.79 kB
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a ByteMatchSet.
*
* @stability experimental
*/
export interface IByteMatchSetRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a ByteMatchSet resource.
*/
readonly byteMatchSetRef: ByteMatchSetReference;
}
/**
* A reference to a ByteMatchSet resource.
*
* @struct
* @stability external
*/
export interface ByteMatchSetReference {
/**
* The Id of the ByteMatchSet resource.
*/
readonly byteMatchSetId: string;
}
/**
* Indicates that this resource can be referenced as a IPSet.
*
* @stability experimental
*/
export interface IIPSetRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a IPSet resource.
*/
readonly ipSetRef: IPSetReference;
}
/**
* A reference to a IPSet resource.
*
* @struct
* @stability external
*/
export interface IPSetReference {
/**
* The Id of the IPSet resource.
*/
readonly ipSetId: string;
}
/**
* Indicates that this resource can be referenced as a Rule.
*
* @stability experimental
*/
export interface IRuleRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Rule resource.
*/
readonly ruleRef: RuleReference;
}
/**
* A reference to a Rule resource.
*
* @struct
* @stability external
*/
export interface RuleReference {
/**
* The Id of the Rule resource.
*/
readonly ruleId: string;
}
/**
* Indicates that this resource can be referenced as a SizeConstraintSet.
*
* @stability experimental
*/
export interface ISizeConstraintSetRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a SizeConstraintSet resource.
*/
readonly sizeConstraintSetRef: SizeConstraintSetReference;
}
/**
* A reference to a SizeConstraintSet resource.
*
* @struct
* @stability external
*/
export interface SizeConstraintSetReference {
/**
* The Id of the SizeConstraintSet resource.
*/
readonly sizeConstraintSetId: string;
}
/**
* Indicates that this resource can be referenced as a SqlInjectionMatchSet.
*
* @stability experimental
*/
export interface ISqlInjectionMatchSetRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a SqlInjectionMatchSet resource.
*/
readonly sqlInjectionMatchSetRef: SqlInjectionMatchSetReference;
}
/**
* A reference to a SqlInjectionMatchSet resource.
*
* @struct
* @stability external
*/
export interface SqlInjectionMatchSetReference {
/**
* The Id of the SqlInjectionMatchSet resource.
*/
readonly sqlInjectionMatchSetId: string;
}
/**
* Indicates that this resource can be referenced as a WebACL.
*
* @stability experimental
*/
export interface IWebACLRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a WebACL resource.
*/
readonly webAclRef: WebACLReference;
}
/**
* A reference to a WebACL resource.
*
* @struct
* @stability external
*/
export interface WebACLReference {
/**
* The Id of the WebACL resource.
*/
readonly webAclId: string;
}
/**
* Indicates that this resource can be referenced as a XssMatchSet.
*
* @stability experimental
*/
export interface IXssMatchSetRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a XssMatchSet resource.
*/
readonly xssMatchSetRef: XssMatchSetReference;
}
/**
* A reference to a XssMatchSet resource.
*
* @struct
* @stability external
*/
export interface XssMatchSetReference {
/**
* The Id of the XssMatchSet resource.
*/
readonly xssMatchSetId: string;
}