# CfnViewVersionProps

Properties for defining a `CfnViewVersion`.

Used as props by: [CfnViewVersion](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnViewVersion.html)

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```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';
const cfnViewVersionProps: connect.CfnViewVersionProps = {
  viewArn: 'viewArn',

  // the properties below are optional
  versionDescription: 'versionDescription',
  viewContentSha256: 'viewContentSha256',
};
```

Python:

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

cfn_view_version_props = connect.CfnViewVersionProps(
    view_arn="viewArn",

    # the properties below are optional
    version_description="versionDescription",
    view_content_sha256="viewContentSha256"
)
```

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.services.connect.*;

CfnViewVersionProps cfnViewVersionProps = CfnViewVersionProps.builder()
        .viewArn("viewArn")

        // the properties below are optional
        .versionDescription("versionDescription")
        .viewContentSha256("viewContentSha256")
        .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.AWS.Connect;

var cfnViewVersionProps = new CfnViewVersionProps {
    ViewArn = "viewArn",

    // the properties below are optional
    VersionDescription = "versionDescription",
    ViewContentSha256 = "viewContentSha256"
};
```

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"

cfnViewVersionProps := &CfnViewVersionProps{
	ViewArn: jsii.String("viewArn"),

	// the properties below are optional
	VersionDescription: jsii.String("versionDescription"),
	ViewContentSha256: jsii.String("viewContentSha256"),
}
```

## Properties

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

- `viewArn`: string | [IViewRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_connect.IViewRef.html) (required) — The unqualified Amazon Resource Name (ARN) of the view.

  For example:

  `arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000`

- `viewContentSha256`: string — Indicates the checksum value of the latest published view content.
