interface MetricValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnSecurityProfilePropsMixin.MetricValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnSecurityProfilePropsMixin_MetricValueProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnSecurityProfilePropsMixin.MetricValueProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnSecurityProfilePropsMixin.MetricValueProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnSecurityProfilePropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const metricValueProperty: iot_mixins.CfnSecurityProfilePropsMixin.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? | number[] | IResolvable | The numeric value of a metric. |
| ports? | number[] | IResolvable | 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:
number[] | IResolvable
(optional)
The numeric value of a metric.
ports?
Type:
number[] | IResolvable
(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.

.NET
Go
Java
Python
TypeScript