MetricValueProperty Struct
The value to be compared with the metric .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const metricValueProperty: iot.CfnSecurityProfile.MetricValueProperty = {
cidrs: ['cidrs'],
count: 'count',
number: 123,
numbers: [123],
ports: [123],
strings: ['strings'],
};
Properties
If the `comparisonOperator` calls for a set of CIDRs, use this to specify that set to be compared with the `metric` .
If the `comparisonOperator` calls for a numeric value, use this to specify that numeric value to be compared with the `metric` .
The numeric values of a metric.
numbersnumber[] | IResolvablenumberstyping.Union[typing.List[int | float], IResolvable]numbersList<Number>Numbersdouble[]Numbersinterface{}#The numeric value of a metric.
portsnumber[] | IResolvableportstyping.Union[typing.List[int | float], IResolvable]portsList<Number>Portsdouble[]Portsinterface{}#If the `comparisonOperator` calls for a set of ports, use this to specify that set to be compared with the `metric` .
The string values of a metric.