# CfnDocumentationVersionProps

Properties for defining a `CfnDocumentationVersion`.

Extends: CfnDocumentationVersionProps
Used as props by: CfnDocumentationVersion

- 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_apigateway as apigateway } from 'aws-cdk-lib';
const cfnDocumentationVersionProps: apigateway.CfnDocumentationVersionProps = {
  documentationVersion: 'documentationVersion',
  restApiId: 'restApiId',

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

## Properties

- `description`: string — A description about the new documentation snapshot.

- `documentationVersion`: string (required) — The version identifier of the to-be-updated documentation version.

- `restApiId`: string | [IRestApiRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_apigateway.IRestApiRef.html) (required) — The string identifier of the associated RestApi.
