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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsWafWebAclDetails as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

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

#nameString

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

Returns:

  • (String)

    A friendly name or description of the WebACL.

#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:

  • (Array<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.

#web_acl_idString

A unique identifier for a WebACL.

Returns:

  • (String)

    A unique identifier for a WebACL.