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
- Struct
- Aws::IoT::Types::MetricValue
- Defined in:
- (unknown)
Overview
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
-
#cidrs ⇒ Array<String>
If the
comparisonOperator
calls for a set of CIDRs, use this to specify that set to be compared with themetric
. -
#count ⇒ Integer
If the
comparisonOperator
calls for a numeric value, use this to specify that numeric value to be compared with themetric
. -
#ports ⇒ Array<Integer>
If the
comparisonOperator
calls for a set of ports, use this to specify that set to be compared with themetric
.
Instance Attribute Details
#cidrs ⇒ Array<String>
If the comparisonOperator
calls for a set of CIDRs, use this to
specify that set to be compared with the metric
.
#count ⇒ Integer
If the comparisonOperator
calls for a numeric value, use this to
specify that numeric value to be compared with the metric
.
#ports ⇒ Array<Integer>
If the comparisonOperator
calls for a set of ports, use this to
specify that set to be compared with the metric
.