Class: Aws::Lightsail::Types::WafConfig

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

Overview

Describes the Web Application Firewall (WAF) configuration of a Lightsail distribution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#is_waf_enabled ⇒ Boolean

Specifies whether WAF is enabled for the distribution.

Returns:

  • (Boolean)


16024
16025
16026
16027
16028
16029
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16024

class WafConfig < Struct.new(
  :is_waf_enabled,
  :waf_rules)
  SENSITIVE = []
  include Aws::Structure
end

#waf_rules ⇒ Array<Types::WafRule>

An array of objects that describe the WAF rule groups enabled for the distribution.

Returns:



16024
16025
16026
16027
16028
16029
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16024

class WafConfig < Struct.new(
  :is_waf_enabled,
  :waf_rules)
  SENSITIVE = []
  include Aws::Structure
end