AWS announced automatic integration of the AWS WAF JavaScript SDK for Amazon CloudFront distributions on October 30, 2026. When enabled on a qualifying web access control list (web ACL), the feature makes CloudFront insert the SDK’s script tag into the HTML it serves. AWS says this requires no changes to application code, build processes or deployments, according to its release announcement.
Client-side signals without per-application tags
The SDK supplies client-side signals used by three AWS WAF managed rule groups:
- Bot Control at the targeted inspection level.
- Fraud Control account takeover prevention (ATP).
- Fraud Control account creation fraud prevention (ACFP).
According to AWS, supplying those signals previously required teams to add a script tag to every page they wanted to protect and maintain it across releases. AWS describes missing client-side integration as a common misconfiguration: protection was enabled in WAF, but the corresponding SDK integration was absent.
For engineers managing multiple applications, the practical benefit is fewer application-level integration points to maintain. The feature moves control over script insertion to the web ACL; it does not eliminate the need to manage WAF configuration.
Availability and provisioning defaults
AWS says automatic integration is available for web ACLs used with CloudFront that contain at least one of those three managed rule groups. Configuration is supported through the AWS Management Console, CLI, SDK, CDK and CloudFormation.
The defaults depend on how the web ACL is created:
- New web ACLs created through the console with a qualifying rule group: automatic integration is on by default.
- New web ACLs created programmatically: automatic integration is off by default.
- Web ACLs created before this release: unchanged.
AWS says there is no additional charge for automatic SDK integration. These availability, configuration and pricing details are set out in the AWS announcement.
Make the integration choice explicit
Infrastructure-as-code teams should make the integration setting an explicit deployment decision rather than assume console and programmatic provisioning behave identically. Teams assessing existing deployments should also account for the fact that the release leaves previously created web ACLs unchanged.
Before enabling the feature, consult the requirements, limitations and Content Security Policy guidance in the AWS WAF Developer Guide referenced by the announcement.
See the original announcement for availability and release details.