# ViewReference

A reference to a View resource.

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## Example

```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 viewReference: interfaces_cloudwatch.ViewReference = {
  viewArn: 'viewArn',
  viewName: 'viewName',
};
```

## Properties

- `viewArn`: string (required) — The ARN of the View resource.

- `viewName`: string (required) — The Name of the View resource.
