Skip to content

Associate Distribution Web Acl

cloudfront_associate_distribution_web_acl R Documentation

Associates the WAF web ACL with a distribution

Description

Associates the WAF web ACL with a distribution.

Usage

cloudfront_associate_distribution_web_acl(Id, WebACLArn, IfMatch)

Arguments

Id

[required] The ID of the distribution.

WebACLArn

[required] The Amazon Resource Name (ARN) of the WAF web ACL to associate.

IfMatch

The value of the ETag header that you received when retrieving the distribution that you're associating with the WAF web ACL.

Value

A list with the following syntax:

list(
  Id = "string",
  WebACLArn = "string",
  ETag = "string"
)

Request syntax

svc$associate_distribution_web_acl(
  Id = "string",
  WebACLArn = "string",
  IfMatch = "string"
)