AwsApiGatewayWafAttachmentArgs
interface AwsApiGatewayWafAttachmentArgs {
webAclName: Input<string>;
webAclScope?: Input<'REGIONAL'>;
}API stage WAF attachment settings.
Remarks
This attaches the resolved WAFv2 web ACL to the effective API stage managed (or referenced via customDomain.mappingTarget) by this component.
Example
CODE
const wafAttachment: AwsApiGatewayWafAttachmentArgs = {
webAclName: 'public-api-web-acl',
};Properties
webAclName: Input<string>
Existing WAFv2 web ACL name to resolve and attach to the effective API stage.
webAclScope: Input<'REGIONAL'>
Optional WAFv2 web ACL scope used for name lookup. Defaults to REGIONAL.