StageReference

class aws_cdk.interfaces.aws_apigatewayv2.StageReference(*, api_id, stage_name)

Bases: object

A reference to a Stage resource.

Parameters:
  • api_id (str) – The ApiId 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.interfaces import aws_apigatewayv2 as interfaces_apigatewayv2

stage_reference = interfaces_apigatewayv2.StageReference(
    api_id="apiId",
    stage_name="stageName"
)

Attributes

api_id

The ApiId of the Stage resource.

stage_name

The StageName of the Stage resource.