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*.
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DocumentationVersion | string | RequiredCreate-only |
RestApiId | string | RequiredCreate-only |
Description | string |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGateway::DocumentationVersion
Resources:
MyResource:
Type: AWS::ApiGateway::DocumentationVersion
Properties:
DocumentationVersion: "value"
RestApiId: "my-restapiid"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:GETapigateway:POSTapigateway:GETapigateway:GETapigateway:PATCHapigateway:DELETEapigateway:GETEverything you need to know about ApiGateway on one page. HD quality, print-friendly.
Download Free InfographicDocumentationVersionThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DocumentationVersionRestApiId