Describe the issue
AWS announced support for environment variables in GraphQL resolvers and functions including cdk: https://aws.amazon.com/about-aws/whats-new/2024/02/aws-appsync-environment-variables-graph-ql-resolvers-functions/
The documentation is missing implementation details for cdk though: https://docs.aws.amazon.com/appsync/latest/devguide/environmental-variables.html
Could it be that it is not yet implemented in cdk as I could not find any property in the latest release for env variables?
The Context in @aws-appsync/utils already has env as a property though.
Links
https://docs.aws.amazon.com/appsync/latest/devguide/environmental-variables.html
Describe the issue
AWS announced support for environment variables in GraphQL resolvers and functions including cdk: https://aws.amazon.com/about-aws/whats-new/2024/02/aws-appsync-environment-variables-graph-ql-resolvers-functions/
The documentation is missing implementation details for cdk though: https://docs.aws.amazon.com/appsync/latest/devguide/environmental-variables.html
Could it be that it is not yet implemented in cdk as I could not find any property in the latest release for env variables?
The Context in @aws-appsync/utils already has
envas a property though.Links
https://docs.aws.amazon.com/appsync/latest/devguide/environmental-variables.html