[Feature Request] Option to add OpenSearch Serverless collection as a Data source type
Opened this issue · 1 comments
Hello team,
Initially I would like to be able to create an OpenSearch Collection, which is an OpenSearch Serverless resource via CDK. However according to this documentation, the API datasource properties are API, domain, description, name and serviceRole. The domain property is the OpenSearch domain endpoint URL and not the OpenSearch Collection endpoint.
When I saw that this option was not available in CDK, I navigated to the AppSync Console and tried to create a test API (MyAppSyncApi), however I see the option to add an OpenSearch Serverless collection is not available under Data source types. Hoping to have the OpenSearch Serverless collection supported.
In the meantime, please let me know if there are any workarounds (if possible) to achieve the above use case
Thank you for the feature request.
In the mean time, you can use an HTTP data source to interact with your OS collection.
See some example of the HTTP interface here: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-clients.html#serverless-signing