HttpStageAttributes

class aws_cdk.aws_apigatewayv2.HttpStageAttributes(*, stage_name, api)

Bases: StageAttributes

(experimental) The attributes used to import existing HttpStage.

Parameters:
  • stage_name (str) – (experimental) The name of the stage.

  • api (IHttpApi) – (experimental) The API to which this stage is associated.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigatewayv2 as apigatewayv2

# http_api: apigatewayv2.HttpApi

http_stage_attributes = apigatewayv2.HttpStageAttributes(
    api=http_api,
    stage_name="stageName"
)

Attributes

api

(experimental) The API to which this stage is associated.

Stability:

experimental

stage_name

(experimental) The name of the stage.

Stability:

experimental