interface CfnDocumentationPartMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins.CfnDocumentationPartMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapigateway/mixins#CfnDocumentationPartMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.apigateway.mixins.CfnDocumentationPartMixinProps |
Python | aws_cdk.mixins_preview.aws_apigateway.mixins.CfnDocumentationPartMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_apigateway » mixins » CfnDocumentationPartMixinProps |
Properties for CfnDocumentationPartPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as apigateway_mixins } from '@aws-cdk/mixins-preview/aws-apigateway';
const cfnDocumentationPartMixinProps: apigateway_mixins.CfnDocumentationPartMixinProps = {
location: {
method: 'method',
name: 'name',
path: 'path',
statusCode: 'statusCode',
type: 'type',
},
properties: 'properties',
restApiId: 'restApiId',
};
Properties
| Name | Type | Description |
|---|---|---|
| location? | IResolvable | Location | The location of the targeted API entity of the to-be-created documentation part. |
| properties? | string | The new documentation content map of the targeted API entity. |
| rest | string | The string identifier of the associated RestApi. |
location?
Type:
IResolvable | Location
(optional)
The location of the targeted API entity of the to-be-created documentation part.
properties?
Type:
string
(optional)
The 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.
restApiId?
Type:
string
(optional)
The string identifier of the associated RestApi.

.NET
Go
Java
Python
TypeScript