Class: Aws::Shield::Types::ResponseAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::Shield::Types::ResponseAction
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-shield/types.rb
Overview
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#block ⇒ Types::BlockAction
Specifies that Shield Advanced should configure its WAF rules with the WAF ‘Block` action.
-
#count ⇒ Types::CountAction
Specifies that Shield Advanced should configure its WAF rules with the WAF ‘Count` action.
Instance Attribute Details
#block ⇒ Types::BlockAction
Specifies that Shield Advanced should configure its WAF rules with the WAF ‘Block` action.
You must specify exactly one action, either ‘Block` or `Count`.
1842 1843 1844 1845 1846 1847 |
# File 'lib/aws-sdk-shield/types.rb', line 1842 class ResponseAction < Struct.new( :block, :count) SENSITIVE = [] include Aws::Structure end |
#count ⇒ Types::CountAction
Specifies that Shield Advanced should configure its WAF rules with the WAF ‘Count` action.
You must specify exactly one action, either ‘Block` or `Count`.
1842 1843 1844 1845 1846 1847 |
# File 'lib/aws-sdk-shield/types.rb', line 1842 class ResponseAction < Struct.new( :block, :count) SENSITIVE = [] include Aws::Structure end |