Monday, August 15, 2022

Example of using the AthenaQueryPolicy policy with SAM AWS::Serverless::Function

 When defining a Lambda in a SAM template this is how you would add the AthenaQueryPolicy 

primary is the name of the Athena Workspace

Foo:
Type: AWS::Serverless::Function
Properties:
Policies:
- AthenaQueryPolicy:
WorkGroupName:
primary

No comments: