feat(apigateway): publish api endpoint through an export name #3662 #4849
Conversation
|
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
…ning-api-endpoint
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
…oint' of github.com:wimzyLive/aws-cdk into allow-customising-name-of-cfnoutput-containing-api-endpoint
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
…ning-api-endpoint
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
| new CfnOutput(this, 'Endpoint', { value: this.urlForPath() }); | ||
| new CfnOutput(this, 'Endpoint', { exportName: props.endpointExportName, value: this.urlForPath() }); |
There was a problem hiding this comment.
Changed this to be a bit simpler. LMK if it looks ok
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request is now being automatically merged. |
…ning-api-endpoint
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
RestApiProps accepts optional
exportNameproperty, if given, CDK will use thatexportNamewhen creating CfnOutput for API.fixes #3662
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license