aws waf create-web-acl-migration-stack
Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--ignore-unsupported-typeIndicates whether to exclude entities that can't be migrated or to stop the migration.--s3-bucket-nameThe name of the Amazon S3 bucket to store the CloudFormation template in.--web-acl-idThe UUID of the WAF Classic web ACL that you want to migrate to WAF v2.