You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Returns:

  • (String)


263
264
265
266
267
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 263

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

#valueInteger

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

Returns:

  • (Integer)


263
264
265
266
267
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 263

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