# MetricDataQueryDefinitionReference

A reference to a MetricDataQueryDefinition resource.

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as interfaces_cloudwatch } from 'aws-cdk-lib/interfaces';
const metricDataQueryDefinitionReference: interfaces_cloudwatch.MetricDataQueryDefinitionReference = {
  metricDataQueryDefinitionArn: 'metricDataQueryDefinitionArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_cloudwatch as interfaces_cloudwatch

metric_data_query_definition_reference = interfaces_cloudwatch.MetricDataQueryDefinitionReference(
    metric_data_query_definition_arn="metricDataQueryDefinitionArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.cloudwatch.*;

MetricDataQueryDefinitionReference metricDataQueryDefinitionReference = MetricDataQueryDefinitionReference.builder()
        .metricDataQueryDefinitionArn("metricDataQueryDefinitionArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.CloudWatch;

var metricDataQueryDefinitionReference = new MetricDataQueryDefinitionReference {
    MetricDataQueryDefinitionArn = "metricDataQueryDefinitionArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

metricDataQueryDefinitionReference := &MetricDataQueryDefinitionReference{
	MetricDataQueryDefinitionArn: jsii.String("metricDataQueryDefinitionArn"),
}
```

## Properties

- `metricDataQueryDefinitionArn`: string (required) — The Arn of the MetricDataQueryDefinition resource.
