interface MetricToRetainProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnSecurityProfilePropsMixin.MetricToRetainProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnSecurityProfilePropsMixin_MetricToRetainProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnSecurityProfilePropsMixin.MetricToRetainProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnSecurityProfilePropsMixin.MetricToRetainProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » 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 { aws_iot as iot } from '@aws-cdk/cfn-property-mixins';
const metricToRetainProperty: iot.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