interface MetricValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnSecurityProfilePropsMixin.MetricValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnSecurityProfilePropsMixin_MetricValueProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnSecurityProfilePropsMixin.MetricValueProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnSecurityProfilePropsMixin.MetricValueProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » 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 { aws_iot as iot } from '@aws-cdk/cfn-property-mixins';
const metricValueProperty: iot.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