Learn R Programming

paws.security.identity (version 0.1.0)

wafregional_associate_web_acl: Associates a web ACL with a resource, either an application load balancer or Amazon API Gateway stage

Description

Associates a web ACL with a resource, either an application load balancer or Amazon API Gateway stage.

Usage

wafregional_associate_web_acl(WebACLId, ResourceArn)

Arguments

WebACLId

[required] A unique identifier (ID) for the web ACL.

ResourceArn

[required] The ARN (Amazon Resource Name) of the resource to be protected, either an application load balancer or Amazon API Gateway stage.

The ARN should be in one of the following formats:

  • For an Application Load Balancer: arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>

  • For an Amazon API Gateway stage: arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>

Request syntax

svc$associate_web_acl(
  WebACLId = "string",
  ResourceArn = "string"
)