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

Class: Aws::Shield::Types::SummarizedCounter

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

Overview

The counter that describes a DDoS attack.

Instance Attribute Summary collapse

Instance Attribute Details

#averageFloat

The average value of the counter for a specified time period.

Returns:

  • (Float)


507
508
509
510
511
512
513
514
515
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 507

class SummarizedCounter < Struct.new(
  :name,
  :max,
  :average,
  :sum,
  :n,
  :unit)
  include Aws::Structure
end

#maxFloat

The maximum value of the counter for a specified time period.

Returns:

  • (Float)


507
508
509
510
511
512
513
514
515
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 507

class SummarizedCounter < Struct.new(
  :name,
  :max,
  :average,
  :sum,
  :n,
  :unit)
  include Aws::Structure
end

#nInteger

The number of counters for a specified time period.

Returns:

  • (Integer)


507
508
509
510
511
512
513
514
515
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 507

class SummarizedCounter < Struct.new(
  :name,
  :max,
  :average,
  :sum,
  :n,
  :unit)
  include Aws::Structure
end

#nameString

The counter name.

Returns:

  • (String)


507
508
509
510
511
512
513
514
515
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 507

class SummarizedCounter < Struct.new(
  :name,
  :max,
  :average,
  :sum,
  :n,
  :unit)
  include Aws::Structure
end

#sumFloat

The total of counter values for a specified time period.

Returns:

  • (Float)


507
508
509
510
511
512
513
514
515
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 507

class SummarizedCounter < Struct.new(
  :name,
  :max,
  :average,
  :sum,
  :n,
  :unit)
  include Aws::Structure
end

#unitString

The unit of the counters.

Returns:

  • (String)


507
508
509
510
511
512
513
514
515
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 507

class SummarizedCounter < Struct.new(
  :name,
  :max,
  :average,
  :sum,
  :n,
  :unit)
  include Aws::Structure
end