AWSElasticBeanstalkRoleSNS
Summary
(Elastic Beanstalk operations role) Allows an environment to enable Amazon SNS topic integration.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkRoleSNS- Default version
- v1
- Created
- Last edited
- Services
- sns
Control-plane actions (6)
By access level: 1 Permissions management, 1 Read, 4 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| SNS | 6 of 40 | 1 Permissions management, 1 Read, 4 Write; 3 restricted, 0 conditional | sns:CreateTopic, sns:DeleteTopic, sns:GetTopicAttributes, sns:SetTopicAttributes, sns:Subscribe, sns:Unsubscribe |
SNS: 6 actions
- sns:CreateTopic (Write)
- sns:DeleteTopic (Write)
- sns:GetTopicAttributes (Read)
- sns:SetTopicAttributes (Permissions management)
- sns:Subscribe (Write)
- sns:Unsubscribe (Write)
Data-plane actions (1)
By access level: 1 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| SNS | All 1 actions (see the SNS page) | 1 Write; 0 restricted, 0 conditional | sns:Publish |
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 6 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AmazonCloudWatchEvidentlyFullAccess
- AmazonDevOpsGuruConsoleFullAccess
- AmazonDevOpsGuruFullAccess
- AmazonEC2RoleforDataPipelineRole
- AmazonElasticMapReduceforEC2Role
- AmazonRedshiftReadOnlyAccess
- AmazonRekognitionServiceRole
- AmazonSageMakerGroundTruthExecution
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowBeanstalkManageSNS",
"Effect": "Allow",
"Action": [
"sns:CreateTopic",
"sns:SetTopicAttributes",
"sns:DeleteTopic"
],
"Resource": [
"arn:aws:sns:*:*:ElasticBeanstalkNotifications-*"
]
},
{
"Sid": "AllowSNSPublish",
"Effect": "Allow",
"Action": [
"sns:GetTopicAttributes",
"sns:Subscribe",
"sns:Unsubscribe",
"sns:Publish"
],
"Resource": "*"
}
]
}
Version history
Current version v1, edited by AWS on 2020-06-05. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkRoleSNS
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkRoleSNS
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkRoleSNSCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkRoleSNSTerraform
resource "aws_iam_role_policy_attachment" "service_role_awselasticbeanstalkrolesns" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkRoleSNS"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSElasticBeanstalkRoleSNS"),
);Sources
Pending editorial review. No editorial sources are listed yet.