RestApiReference

class aws_cdk.interfaces.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.interfaces import aws_apigateway as interfaces_apigateway

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

Attributes

rest_api_id

The RestApiId of the RestApi resource.