ResourceReference

class aws_cdk.aws_apigateway.ResourceReference(*, resource_id, rest_api_id)

Bases: object

A reference to a Resource resource.

Parameters:
  • resource_id (str) – The ResourceId of the Resource resource.

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

resource_reference = apigateway.ResourceReference(
    resource_id="resourceId",
    rest_api_id="restApiId"
)

Attributes

resource_id

The ResourceId of the Resource resource.

rest_api_id

The RestApiId of the Resource resource.