Skip to content

Commit

Permalink
add athena:getQueryExecution policy for startQueryExecution.sync
Browse files Browse the repository at this point in the history
  • Loading branch information
akiym committed Oct 29, 2020
1 parent 4b11754 commit cdc34d5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class AthenaStartQueryExecution extends sfn.TaskStateBase {
}),

],
actions: ['athena:getDataCatalog', 'athena:startQueryExecution'],
actions: ['athena:getDataCatalog', 'athena:startQueryExecution', 'athena:getQueryExecution'],
}),
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
{
"Action": [
"athena:getDataCatalog",
"athena:startQueryExecution"
"athena:startQueryExecution",
"athena:getQueryExecution"
],
"Effect": "Allow",
"Resource": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
{
"Action": [
"athena:getDataCatalog",
"athena:startQueryExecution"
"athena:startQueryExecution",
"athena:getQueryExecution"
],
"Effect": "Allow",
"Resource": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
{
"Action": [
"athena:getDataCatalog",
"athena:startQueryExecution"
"athena:startQueryExecution",
"athena:getQueryExecution"
],
"Effect": "Allow",
"Resource": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
{
"Action": [
"athena:getDataCatalog",
"athena:startQueryExecution"
"athena:startQueryExecution",
"athena:getQueryExecution"
],
"Effect": "Allow",
"Resource": [
Expand Down

0 comments on commit cdc34d5

Please sign in to comment.