waf_create_web_acl_migration_stack: Creates an AWS CloudFormation WAFV2 template for the...

View source: R/waf_operations.R

waf_create_web_acl_migration_stackR Documentation

Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket

Description

Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket. Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.

See https://www.paws-r-sdk.com/docs/waf_create_web_acl_migration_stack/ for full documentation.

Usage

waf_create_web_acl_migration_stack(
  WebACLId,
  S3BucketName,
  IgnoreUnsupportedType
)

Arguments

WebACLId

[required] The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.

S3BucketName

[required] The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as follows for the migration:

  • The bucket name must start with ⁠aws-waf-migration-⁠. For example, aws-waf-migration-my-web-acl.

  • The bucket must be in the Region where you are deploying the template. For example, for a web ACL in us-west-2, you must use an Amazon S3 bucket in us-west-2 and you must deploy the template stack to us-west-2.

  • The bucket policies must permit the migration process to write data. For listings of the bucket policies, see the Examples section.

IgnoreUnsupportedType

[required] Indicates whether to exclude entities that can't be migrated or to stop the migration. Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, it stops the process and throws an exception.


paws.security.identity documentation built on Sept. 12, 2023, 1:10 a.m.