When defining a Lambda in a SAM template this is how you would add the AthenaQueryPolicy
primary is the name of the Athena Workspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Foo: | |
Type: AWS::Serverless::Function | |
Properties: | |
Policies: | |
- AthenaQueryPolicy: | |
WorkGroupName: | |
primary |