Class: Aws::Shield::Types::ResponseAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-shield/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

Instance Attribute Details

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

Returns:

  • (Types::BlockAction)


1842
1843
1844
1845
1846
1847
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1842

class ResponseAction < Struct.new(
  :block,
  :count)
  SENSITIVE = []
  include Aws::Structure
end

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

Returns:

  • (Types::CountAction)


1842
1843
1844
1845
1846
1847
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1842

class ResponseAction < Struct.new(
  :block,
  :count)
  SENSITIVE = []
  include Aws::Structure
end