-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(aws-apigatewayv2-authorizers): Expose Authorizer ID to make it reusable from other projects #31605
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-apigatewayv2-authorizersRelated to aws-apigatewayv2-authorizers packageRelated to aws-apigatewayv2-authorizers packageeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
I need to be able to retrieve the Authorizer ID (the generated ID, not the one passed to the Construct) from the L2 construct.
Looking through the code I guess the issue is that the authorizer is not created until it's attached to a route. So I cannot personally create a PR for this since I don't know how references are resolved when the templates are generated.
Use Case
I want to be able to reuse the authorizer in other projects in the same account.
Proposed Solution
Expose the id the same way other constructs are.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.159.0
Environment details (OS name and version, etc.)
Windows 11 23H2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-apigatewayv2-authorizersRelated to aws-apigatewayv2-authorizers packageRelated to aws-apigatewayv2-authorizers packageeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2