# CfnViewProps

Properties for defining a `CfnView`.

Extends: CfnViewProps
Used as props by: CfnView

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';

declare const template: any;
const cfnViewProps: connect.CfnViewProps = {
  actions: ['actions'],
  instanceArn: 'instanceArn',
  name: 'name',
  template: template,

  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `actions`: string[] (required) — A list of actions possible from the view.

- `description`: string — The description of the view.

- `instanceArn`: string | [IInstanceRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_connect.IInstanceRef.html) (required) — The Amazon Resource Name (ARN) of the instance.

- `name`: string (required) — The name of the view.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags associated with the view resource (not specific to view version).

- `template`: any (required) — The view template representing the structure of the view.
