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

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
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN (Amazon Resource Name) of the resource to be protected.

Returns:

  • (String)


100
101
102
103
104
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 100

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

#web_acl_idString

A unique identifier (ID) for the web ACL.

Returns:

  • (String)


100
101
102
103
104
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 100

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