api-gateway-deployment: stage_name parameter for the L2 deployment construct is unavailable #30805
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
package/tools
Related to AWS CDK Tools or CLI
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
aws-cdk-lib release v2.140 includes the addition of the stage_name parameter to the L2 deployment construct: https://github.com/aws/aws-cdk/releases/tag/v2.140.0
This parameter is also listed as available in the docs: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_apigateway/Deployment.html
However, the param is unavailable upon import:
I am on:
aws-cdk-lib==2.141.0
constructs>=10.0.0,<11.0.0
Expected Behavior
Use the stage_name parameter when utilizing the Deployment construct
Current Behavior
The stage_name param shows as unavailable
Reproduction Steps
The definition of the Deployment class is:
As you can see, there is no stage_name parameter.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.127
Framework Version
No response
Node.js Version
18.17.0
OS
Windows
Language
Python
Language Version
3.11.4
Other information
No response
The text was updated successfully, but these errors were encountered: