StageReference

class aws_cdk.aws_apigateway.StageReference(*, rest_api_id, stage_name)

Bases: object

A reference to a Stage resource.

Parameters:
  • rest_api_id (str) – The RestApiId of the Stage resource.

  • stage_name (str) – The StageName of the Stage 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

stage_reference = apigateway.StageReference(
    rest_api_id="restApiId",
    stage_name="stageName"
)

Attributes

rest_api_id

The RestApiId of the Stage resource.

stage_name

The StageName of the Stage resource.