AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WAFRegional::Types::AssociateWebACLRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateWebACLRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  web_acl_id: "ResourceId", # required
  resource_arn: "ResourceArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id

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

Returns:

  • (String)

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

#web_acl_idString

A unique identifier (ID) for the web ACL.

Returns:

  • (String)

    A unique identifier (ID) for the web ACL.