admin管理员组

文章数量:1403369

In CloudFormation, you can add a property called EnvironmentVariables to have access to these variables in the JS resolvers.

In SAM, this property doesn't exist and I can't find a way to inject a variable into a JS resolver via the CF/SAM templates.

Is there a way to do this in the AWS::Serverless::GraphQLAPI (SAM) version?

本文标签: javascriptHow to get an Environmental Variable in AWS AppSyncin the SAM versionStack Overflow