interface MetricValueProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnSecurityProfile.MetricValueProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnSecurityProfile_MetricValueProperty |
Java | software.amazon.awscdk.services.iot.CfnSecurityProfile.MetricValueProperty |
Python | aws_cdk.aws_iot.CfnSecurityProfile.MetricValueProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnSecurityProfile » MetricValueProperty |
The value to be compared with the metric
.
Example
// 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
Name | Type | Description |
---|---|---|
cidrs? | string[] | If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric . |
count? | string | If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric . |
number? | number | The numeric values of a metric. |
numbers? | IResolvable | number[] | The numeric value of a metric. |
ports? | IResolvable | number[] | If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric . |
strings? | string[] | The string values of a metric. |
cidrs?
Type:
string[]
(optional)
If the comparisonOperator
calls for a set of CIDRs, use this to specify that set to be compared with the metric
.
count?
Type:
string
(optional)
If the comparisonOperator
calls for a numeric value, use this to specify that numeric value to be compared with the metric
.
number?
Type:
number
(optional)
The numeric values of a metric.
numbers?
Type:
IResolvable
| number[]
(optional)
The numeric value of a metric.
ports?
Type:
IResolvable
| number[]
(optional)
If the comparisonOperator
calls for a set of ports, use this to specify that set to be compared with the metric
.
strings?
Type:
string[]
(optional)
The string values of a metric.