Using Console
Using CLI
Using Python
aws configure
command.
YOUR_WEB_ACL_ARN
with the ARN of the WebACL Rule Group for which you want to enable logging.REGION
, ACCOUNT_ID
, and LOG_GROUP_NAME
in the LogDestinationConfigs
with your AWS region, account ID, and the name of the CloudWatch Logs log group where you want to store the logs.