8000 appsync: support Merged APIs · Issue #25960 · aws/aws-cdk · GitHub
[go: up one dir, main page]

Skip to content
appsync: support Merged APIs #25960
@jumic

Description

@jumic

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

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

v2.83.1

Environment details (OS name and version, etc.)

macOS 13.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-appsyncRelated to AWS AppSynceffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0