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

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

Overview

Note:

When making an API call, you may pass AssociateWebACLRequest data as a hash:

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

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)


209
210
211
212
213
214
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 209

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)


209
210
211
212
213
214
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 209

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