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

Class: Aws::WAFV2::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_arn: "ResourceArn", # required
  resource_arn: "ResourceArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource to associate with the web ACL.

The ARN must 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 Amazon Resource Name (ARN) of the resource to associate with the web ACL.

#web_acl_arnString

The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.