AWS::ApiGateway::DocumentationPartThe `AWS::ApiGateway::DocumentationPart` resource creates a documentation part 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 { CfnDocumentationPart } from 'aws-cdk-lib/aws-apigateway';Or use the module namespace:
import * as apigateway from 'aws-cdk-lib/aws-apigateway';
// apigateway.CfnDocumentationPartConfiguration passed to the constructor as CfnDocumentationPartProps.
locationRequiredIResolvable | LocationPropertyThe location of the targeted API entity of the to-be-created documentation part.
propertiesRequiredstringThe new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
restApiIdRequiredstring | IRestApiRefThe string identifier of the associated RestApi.
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::DocumentationPart