interface CustomMetricReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CustomMetricReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CustomMetricReference |
Java | software.amazon.awscdk.services.iot.CustomMetricReference |
Python | aws_cdk.aws_iot.CustomMetricReference |
TypeScript | aws-cdk-lib » aws_iot » CustomMetricReference |
A reference to a CustomMetric resource.
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 customMetricReference: iot.CustomMetricReference = {
metricName: 'metricName',
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | string | The MetricName of the CustomMetric resource. |
metricName
Type:
string
The MetricName of the CustomMetric resource.

.NET
Go
Java
Python
TypeScript