DocumentationVersionReference

class aws_cdk.aws_apigateway.DocumentationVersionReference(*, documentation_version, rest_api_id)

Bases: object

A reference to a DocumentationVersion resource.

Parameters:
  • documentation_version (str) – The DocumentationVersion of the DocumentationVersion resource.

  • rest_api_id (str) – The RestApiId of the DocumentationVersion resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigateway as apigateway

documentation_version_reference = apigateway.DocumentationVersionReference(
    documentation_version="documentationVersion",
    rest_api_id="restApiId"
)

Attributes

documentation_version

The DocumentationVersion of the DocumentationVersion resource.

rest_api_id

The RestApiId of the DocumentationVersion resource.