interface MetricToRetainProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnSecurityProfile.MetricToRetainProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnSecurityProfile_MetricToRetainProperty |
![]() | software.amazon.awscdk.services.iot.CfnSecurityProfile.MetricToRetainProperty |
![]() | aws_cdk.aws_iot.CfnSecurityProfile.MetricToRetainProperty |
![]() | 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
exportMetric: false,
metricDimension: {
dimensionName: 'dimensionName',
// the properties below are optional
operator: 'operator',
},
};
Properties
Name | Type | Description |
---|---|---|
metric | string | A standard of measurement. |
export | boolean | IResolvable | The value indicates exporting metrics related to the MetricToRetain when it's true. |
metric | IResolvable | Metric | The dimension of the metric. |
metric
Type:
string
A standard of measurement.
exportMetric?
Type:
boolean |
IResolvable
(optional)
The value indicates exporting metrics related to the MetricToRetain
when it's true.
metricDimension?
Type:
IResolvable
|
Metric
(optional)
The dimension of the metric.