Class: Aws::WAFV2::Types::AssociateWebACLRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

Note:

When making an API call, you may pass AssociateWebACLRequest data as a 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)


301
302
303
304
305
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 301

class AssociateWebACLRequest < Struct.new(
  :web_acl_arn,
  :resource_arn)
  include Aws::Structure
end

#web_acl_arnString

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

Returns:

  • (String)


301
302
303
304
305
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 301

class AssociateWebACLRequest < Struct.new(
  :web_acl_arn,
  :resource_arn)
  include Aws::Structure
end