Skip to content
v2.275.0

MetricDimensionProperty Struct ​

The dimension of 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 metricDimensionProperty: iot.CfnSecurityProfile.MetricDimensionProperty = {
  dimensionName: 'dimensionName',

  // the properties below are optional
  operator: 'operator',
};

Properties ​

dimensionNamestringdimension_namestrdimensionNameStringDimensionNamestringDimensionName*stringrequired#
The name of the dimension.
operatoroptionalstringoperatoroptionalstroperatoroptionalStringOperatoroptionalstringOperatoroptional*string#
Operators are constructs that perform logical operations.

Valid values are IN and NOT_IN .