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

Class: Aws::IoT::Types::MetricValue

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing MetricValue as input to an Aws::Client method, you can use a vanilla Hash:

{
  count: 1,
  cidrs: ["Cidr"],
  ports: [1],
}

The value to be compared with the metric.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#cidrsArray<String>

If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

Returns:

  • (Array<String>)

    If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

#countInteger

If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

Returns:

  • (Integer)

    If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

#portsArray<Integer>

If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

Returns:

  • (Array<Integer>)

    If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.