feat(apigatewayv2): add stage variables support for HTTP and WebSocket API
Issue
Closes https://github.com/aws/aws-cdk/issues/11818 .
Reason for this change
To support stage variables to HttpApi & WebSocketApi.
Description of changes
Add stageVariables property to WebSocketStage & HttpStage.
Describe any new or updated permissions being added
N/A
Description of how you validated changes
- Add a unit test
- Tested it manually by creating stack to use the new props and check the CF template & UI
Checklist
- [x] My code adheres to the CONTRIBUTING GUIDE and DESIGN GUIDELINES
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
AWS CodeBuild CI Report
- CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
- Commit ID: 1d737ad9d9ddb419547f999c12308a67e22d5294
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.