Skip to content
v2.278.0

WebAclCustomizationProperty Struct ​

The AWS WAF web ACL customization specified for the distribution tenant.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const webAclCustomizationProperty: cloudfront.CfnDistributionTenant.WebAclCustomizationProperty = {
  action: 'action',
  arn: 'arn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

web_acl_customization_property = cloudfront.CfnDistributionTenant.WebAclCustomizationProperty(
    action="action",
    arn="arn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;

WebAclCustomizationProperty webAclCustomizationProperty = WebAclCustomizationProperty.builder()
        .action("action")
        .arn("arn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;

var webAclCustomizationProperty = new WebAclCustomizationProperty {
    Action = "action",
    Arn = "arn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

webAclCustomizationProperty := &WebAclCustomizationProperty{
	Action: jsii.String("action"),
	Arn: jsii.String("arn"),
}

Properties ​

actionoptionalstringactionoptionalstractionoptionalStringActionoptionalstringActionoptional*string #
The action for the AWS WAF web ACL customization.

You can specify override to specify a separate AWS WAF web ACL for the distribution tenant. If you specify disable , the distribution tenant won't have AWS WAF web ACL protections and won't inherit from the multi-tenant distribution.

arnoptionalstringarnoptionalstrarnoptionalStringArnoptionalstringArnoptional*string #
The Amazon Resource Name (ARN) of the AWS WAF web ACL.