Describe the feature
Since end of May, AppSync supports Merged APIs. Multiple APIs can be combined into a single API.
At the moment, this feature is missing in AWS CDK.
Use Case
Multiple teams develop components for an application. Each team develops their AppSync APIs independently. A Merged API is necessary to provide a central AppSync API with APIs from each component.
Proposed Solution
Tasks that I already identified:
ApiType has to be set to MERGED.
- An IAM role has to be created and passed to attribute
MergedApiExecutionRoleArn.
Workaround: use escape hatches (not yet tested)
Other Information
AWS Blog Post:
https://aws.amazon.com/blogs/mobile/introducing-merged-apis-on-aws-appsync/
AWS Documentation:
https://docs.aws.amazon.com/appsync/latest/devguide/merged-api.html
CoudFormation already supports this feature:
https://docs.aws.amazon.com/de_de/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-apitype
I am not currently working on this feature request. Someone else is welcome to take it over. If I start working on the design/implementation myself, I'll leave a comment here again.
Acknowledgements
CDK version used
v2.83.1
Environment details (OS name and version, etc.)
macOS 13.4
Describe the feature
Since end of May, AppSync supports Merged APIs. Multiple APIs can be combined into a single API.
At the moment, this feature is missing in AWS CDK.
Use Case
Multiple teams develop components for an application. Each team develops their AppSync APIs independently. A Merged API is necessary to provide a central AppSync API with APIs from each component.
Proposed Solution
Tasks that I already identified:
ApiTypehas to be set toMERGED.MergedApiExecutionRoleArn.Workaround: use escape hatches (not yet tested)
Other Information
AWS Blog Post:
https://aws.amazon.com/blogs/mobile/introducing-merged-apis-on-aws-appsync/
AWS Documentation:
https://docs.aws.amazon.com/appsync/latest/devguide/merged-api.html
CoudFormation already supports this feature:
https://docs.aws.amazon.com/de_de/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-apitype
I am not currently working on this feature request. Someone else is welcome to take it over. If I start working on the design/implementation myself, I'll leave a comment here again.
Acknowledgements
CDK version used
v2.83.1
Environment details (OS name and version, etc.)
macOS 13.4