cdk-constructs
cdk-constructs copied to clipboard
Feature request: CloudFormation Outputs
First, this is an amazing resource and thanks for the work that has gone into it.
It would be extremely helpful to include CloudFormation Outputs for each stack in order to facilitate cross-stack integration with other CDK apps. Things like ARNs for the Lambda@Edge functions in the cdk-cloudfront-authorization stack, for example.
You can create the outputs at stack level:
new CfnOutput(this, 'HttpHeadersArn', {
value: authorization.authFlow.httpHeaders.functionVersion.functionArn,
});