Class: Aws::Lightsail::Types::WafRule

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

Overview

Describes a Web Application Firewall (WAF) rule group for a Lightsail distribution. A WAF rule group is a set of rules managed by AWS. The rules inspect viewer requests and block requests that match them.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#acfp_config ⇒ Types::WafAcfpConfig

An object that describes the configuration of the account creation fraud prevention rule group.

Constraints:

  • Define this parameter only when the name is AWSManagedRulesACFPRuleSet.

  • This parameter is required when the name is AWSManagedRulesACFPRuleSet.



16124
16125
16126
16127
16128
16129
16130
16131
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16124

class WafRule < Struct.new(
  :name,
  :atp_config,
  :acfp_config,
  :bot_control_config)
  SENSITIVE = []
  include Aws::Structure
end

#atp_config ⇒ Types::WafAtpConfig

An object that describes the configuration of the account takeover prevention rule group.

Constraints:

  • Define this parameter only when the name is AWSManagedRulesATPRuleSet.

  • This parameter is required when the name is AWSManagedRulesATPRuleSet.

Returns:



16124
16125
16126
16127
16128
16129
16130
16131
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16124

class WafRule < Struct.new(
  :name,
  :atp_config,
  :acfp_config,
  :bot_control_config)
  SENSITIVE = []
  include Aws::Structure
end

#bot_control_config ⇒ Types::WafBotControlConfig

An object that describes the configuration of the bot control rule group.

Constraints:

  • Define this parameter only when the name is AWSManagedRulesBotControlRuleSet.

  • This parameter is required when the name is AWSManagedRulesBotControlRuleSet.



16124
16125
16126
16127
16128
16129
16130
16131
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16124

class WafRule < Struct.new(
  :name,
  :atp_config,
  :acfp_config,
  :bot_control_config)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the WAF rule group (for example, AWSManagedRulesCommonRuleSet).

For the WAF rule groups that you can specify for each bundle, see the wafRules parameter of the CreateDistribution action.

Returns:

  • (String)


16124
16125
16126
16127
16128
16129
16130
16131
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16124

class WafRule < Struct.new(
  :name,
  :atp_config,
  :acfp_config,
  :bot_control_config)
  SENSITIVE = []
  include Aws::Structure
end