AWS::ApiGateway::DocumentationVersionThe `AWS::ApiGateway::DocumentationVersion` resource creates a snapshot of the documentation for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide* .
import { CfnDocumentationVersion } from 'aws-cdk-lib/aws-apigateway';Or use the module namespace:
import * as apigateway from 'aws-cdk-lib/aws-apigateway';
// apigateway.CfnDocumentationVersionConfiguration passed to the constructor as CfnDocumentationVersionProps.
documentationVersionRequiredstringThe version identifier of the to-be-updated documentation version.
restApiIdRequiredstring | IRestApiRefThe string identifier of the associated RestApi.
descriptionOptionalstringA description about the new documentation snapshot.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon API Gateway on one page. HD quality, print-friendly.
Download Free Infographicaws-apigatewayAWS::ApiGateway::DocumentationVersion