Class: Aws::Shield::Types::Contributor

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

Overview

A contributor to the attack and their contribution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the contributor. The type of name that you'll find here depends on the AttackPropertyIdentifier setting in the AttackProperty where this contributor is defined. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Returns:

  • (String)


466
467
468
469
470
471
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 466

class Contributor < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueInteger

The contribution of this contributor expressed in Protection units. For example 10,000.

Returns:

  • (Integer)


466
467
468
469
470
471
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 466

class Contributor < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end