Class: Aws::SecurityHub::Types::AwsWafWebAclDetails

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

Overview

Note:

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

{
  name: "NonEmptyString",
  default_action: "NonEmptyString",
  rules: [
    {
      action: {
        type: "NonEmptyString",
      },
      excluded_rules: [
        {
          rule_id: "NonEmptyString",
        },
      ],
      override_action: {
        type: "NonEmptyString",
      },
      priority: 1,
      rule_id: "NonEmptyString",
      type: "NonEmptyString",
    },
  ],
  web_acl_id: "NonEmptyString",
}

Details about a WAF WebACL.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_actionString

The action to perform if none of the rules contained in the WebACL match.

Returns:

  • (String)


4841
4842
4843
4844
4845
4846
4847
4848
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4841

class AwsWafWebAclDetails < Struct.new(
  :name,
  :default_action,
  :rules,
  :web_acl_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.

Returns:

  • (String)


4841
4842
4843
4844
4845
4846
4847
4848
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4841

class AwsWafWebAclDetails < Struct.new(
  :name,
  :default_action,
  :rules,
  :web_acl_id)
  SENSITIVE = []
  include Aws::Structure
end

#rulesArray<Types::AwsWafWebAclRule>

An array that contains the action for each rule in a WebACL, the priority of the rule, and the ID of the rule.

Returns:



4841
4842
4843
4844
4845
4846
4847
4848
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4841

class AwsWafWebAclDetails < Struct.new(
  :name,
  :default_action,
  :rules,
  :web_acl_id)
  SENSITIVE = []
  include Aws::Structure
end

#web_acl_idString

A unique identifier for a WebACL.

Returns:

  • (String)


4841
4842
4843
4844
4845
4846
4847
4848
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4841

class AwsWafWebAclDetails < Struct.new(
  :name,
  :default_action,
  :rules,
  :web_acl_id)
  SENSITIVE = []
  include Aws::Structure
end