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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

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)


181
182
183
184
185
186
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 181

class AssociateWebACLRequest < Struct.new(
  :web_acl_id,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#web_acl_idString

A unique identifier (ID) for the web ACL.

Returns:

  • (String)


181
182
183
184
185
186
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 181

class AssociateWebACLRequest < Struct.new(
  :web_acl_id,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end