interface MetricToRetainProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnSecurityProfilePropsMixin.MetricToRetainProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnSecurityProfilePropsMixin_MetricToRetainProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnSecurityProfilePropsMixin.MetricToRetainProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnSecurityProfilePropsMixin.MetricToRetainProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnSecurityProfilePropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const metricToRetainProperty: iot_mixins.CfnSecurityProfilePropsMixin.MetricToRetainProperty = {
exportMetric: false,
metric: 'metric',
metricDimension: {
dimensionName: 'dimensionName',
operator: 'operator',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| export | boolean | IResolvable | The value indicates exporting metrics related to the MetricToRetain when it's true. |
| metric? | string | A standard of measurement. |
| metric | IResolvable | Metric | The dimension of the metric. |
exportMetric?
Type:
boolean | IResolvable
(optional)
The value indicates exporting metrics related to the MetricToRetain when it's true.
metric?
Type:
string
(optional)
A standard of measurement.
metricDimension?
Type:
IResolvable | Metric
(optional)
The dimension of the metric.

.NET
Go
Java
Python
TypeScript