Class: Aws::Lightsail::Types::WafRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::WafRule
- 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
-
#acfp_config ⇒ Types::WafAcfpConfig
An object that describes the configuration of the account creation fraud prevention rule group.
-
#atp_config ⇒ Types::WafAtpConfig
An object that describes the configuration of the account takeover prevention rule group.
-
#bot_control_config ⇒ Types::WafBotControlConfig
An object that describes the configuration of the bot control rule group.
-
#name ⇒ String
The name of the WAF rule group (for example,
AWSManagedRulesCommonRuleSet).
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
nameisAWSManagedRulesACFPRuleSet.This parameter is required when the
nameisAWSManagedRulesACFPRuleSet.
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
nameisAWSManagedRulesATPRuleSet.This parameter is required when the
nameisAWSManagedRulesATPRuleSet.
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
nameisAWSManagedRulesBotControlRuleSet.This parameter is required when the
nameisAWSManagedRulesBotControlRuleSet.
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.
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 |