aws-cdk-lib.aws_iot.CfnSecurityProfile.MetricToRetainProperty

interface MetricToRetainProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnSecurityProfile.MetricToRetainProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnSecurityProfile_MetricToRetainProperty
Javasoftware.amazon.awscdk.services.iot.CfnSecurityProfile.MetricToRetainProperty
Pythonaws_cdk.aws_iot.CfnSecurityProfile.MetricToRetainProperty
TypeScript aws-cdk-lib » aws_iot » CfnSecurityProfile » MetricToRetainProperty

The metric you want to retain.

Dimensions are optional.

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 metricToRetainProperty: iot.CfnSecurityProfile.MetricToRetainProperty = {
  metric: 'metric',

  // the properties below are optional
  metricDimension: {
    dimensionName: 'dimensionName',

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

Properties

NameTypeDescription
metricstringA standard of measurement.
metricDimension?IResolvable | MetricDimensionPropertyThe dimension of the metric.

metric

Type: string

A standard of measurement.


metricDimension?

Type: IResolvable | MetricDimensionProperty (optional)

The dimension of the metric.