RestApiReference

class aws_cdk.aws_apigateway.RestApiReference(*, rest_api_id)

Bases: object

A reference to a RestApi resource.

Parameters:

rest_api_id (str) – The RestApiId of the RestApi 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

rest_api_reference = apigateway.RestApiReference(
    rest_api_id="restApiId"
)

Attributes

rest_api_id

The RestApiId of the RestApi resource.