From 8aa0dfb5ae0f4f0c5eb2013ea6051bdc72350f86 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 2 Aug 2021 16:41:56 +0100 Subject: [PATCH] added aws_budget_sns_access_policy.json --- aws_budget_sns_access_policy.json | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 aws_budget_sns_access_policy.json diff --git a/aws_budget_sns_access_policy.json b/aws_budget_sns_access_policy.json new file mode 100644 index 00000000..fa089d41 --- /dev/null +++ b/aws_budget_sns_access_policy.json @@ -0,0 +1,39 @@ +{ + "Version": "2008-10-17", + "Id": "__default_policy_ID", + "Statement": [ + { + "Sid": "AWSBudgets-notification", + "Effect": "Allow", + "Principal": { + "Service": "budgets.amazonaws.com" + }, + "Action": "SNS:Publish", + "Resource": "" + }, + { + "Sid": "__default_statement_ID", + "Effect": "Allow", + "Principal": { + "AWS": "*" + }, + "Action": [ + "SNS:GetTopicAttributes", + "SNS:SetTopicAttributes", + "SNS:AddPermission", + "SNS:RemovePermission", + "SNS:DeleteTopic", + "SNS:Subscribe", + "SNS:ListSubscriptionsByTopic", + "SNS:Publish", + "SNS:Receive" + ], + "Resource": "", + "Condition": { + "StringEquals": { + "AWS:SourceOwner": "" + } + } + } + ] +}