Class: Aws::IoT::Types::MetricValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::MetricValue
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
When making an API call, you may pass MetricValue data as a hash:
{
count: 1,
cidrs: ["Cidr"],
ports: [1],
}
The value to be compared with the ‘metric`.
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 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`.
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`.
7905 7906 7907 7908 7909 7910 |
# File 'lib/aws-sdk-iot/types.rb', line 7905 class MetricValue < Struct.new( :count, :cidrs, :ports) include Aws::Structure end |
#count ⇒ Integer
If the ‘comparisonOperator` calls for a numeric value, use this to specify that numeric value to be compared with the `metric`.
7905 7906 7907 7908 7909 7910 |
# File 'lib/aws-sdk-iot/types.rb', line 7905 class MetricValue < Struct.new( :count, :cidrs, :ports) include Aws::Structure end |
#ports ⇒ Array<Integer>
If the ‘comparisonOperator` calls for a set of ports, use this to specify that set to be compared with the `metric`.
7905 7906 7907 7908 7909 7910 |
# File 'lib/aws-sdk-iot/types.rb', line 7905 class MetricValue < Struct.new( :count, :cidrs, :ports) include Aws::Structure end |