aws-cdk-lib.aws_iot.CfnSecurityProfile.MetricValueProperty

interface MetricValueProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnSecurityProfile.MetricValueProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnSecurityProfile_MetricValueProperty
Javasoftware.amazon.awscdk.services.iot.CfnSecurityProfile.MetricValueProperty
Pythonaws_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

NameTypeDescription
cidrs?string[]If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric .
count?stringIf the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric .
number?numberThe numeric values of a metric.
numbers?number[] | IResolvableThe numeric value of a metric.
ports?number[] | IResolvableIf 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.