Skip to main content
IAM Policy Map

AmazonSSMAutomationRole

AdminService roleActivePermissions reviewedShow on mapCompare

Summary

Provides permissions for EC2 Automation service to execute activities defined within Automation documents

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/AmazonSSMAutomationRole
Default version
v9
Created
Last edited
Services
cloudformation, ec2, lambda, sns, ssm, ssmmessages

Control-plane actions (185)

By access level: 39 List, 3 Permissions management, 52 Read, 6 Tagging, 85 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudFormation7 of 1041 List, 1 Read, 2 Tagging, 3 Write; 0 restricted, 0 conditionalcloudformation:CreateStack, cloudformation:DeleteStack, cloudformation:DescribeStackEvents, cloudformation:DescribeStacks, cloudformation:TagResource, cloudformation:UntagResource, cloudformation:UpdateStack
EC213 of 8343 List, 2 Tagging, 8 Write; 0 restricted, 0 conditionalec2:CopyImage, ec2:CreateImage, ec2:CreateTags, ec2:DeleteSnapshot, ec2:DeleteTags, ec2:DeregisterImage, ec2:DescribeImages, ec2:DescribeInstanceStatus, ec2:DescribeTags, ec2:RunInstances, ec2:StartInstances, ec2:StopInstances and 1 more
Systems ManagerAll 164 actions (see the Systems Manager page)35 List, 3 Permissions management, 51 Read, 2 Tagging, 73 Write; 0 restricted, 0 conditionalssm:*
SSM Messages1 of 41 Write; 1 restricted, 0 conditionalssmmessages:OpenDataChannel
CloudFormation: 7 actions
  • cloudformation:CreateStack (Write)
  • cloudformation:DeleteStack (Write)
  • cloudformation:DescribeStackEvents (Read)
  • cloudformation:DescribeStacks (List)
  • cloudformation:TagResource (Tagging)
  • cloudformation:UntagResource (Tagging)
  • cloudformation:UpdateStack (Write)
EC2: 13 actions
  • ec2:CopyImage (Write)
  • ec2:CreateImage (Write)
  • ec2:CreateTags (Tagging)
  • ec2:DeleteSnapshot (Write)
  • ec2:DeleteTags (Tagging)
  • ec2:DeregisterImage (Write)
  • ec2:DescribeImages (List)
  • ec2:DescribeInstanceStatus (List)
  • ec2:DescribeTags (List)
  • ec2:RunInstances (Write)
  • ec2:StartInstances (Write)
  • ec2:StopInstances (Write)
  • ec2:TerminateInstances (Write)
SSM Messages: 1 actions
  • ssmmessages:OpenDataChannel (Write)

Data-plane actions (4)

By access level: 2 Read, 2 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Lambda1 of 141 Write; 1 restricted, 0 conditionallambda:InvokeFunction
SNSAll 1 actions (see the SNS page)1 Write; 1 restricted, 0 conditionalsns:Publish
Systems ManagerAll 2 actions (see the Systems Manager page)2 Read; 0 restricted, 0 conditionalssm:*
Lambda: 1 actions
  • lambda:InvokeFunction (Write)

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 at least 80% of the write and permissions-management actions of: ssm (76 of 76).
  • Can read secret values or decrypt data. Reads are not a High privilege rule.

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.

Same service

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

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "lambda:InvokeFunction"
      ],
      "Resource": [
        "arn:aws:lambda:*:*:function:Automation*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:CreateImage",
        "ec2:CopyImage",
        "ec2:DeregisterImage",
        "ec2:DescribeImages",
        "ec2:DeleteSnapshot",
        "ec2:StartInstances",
        "ec2:RunInstances",
        "ec2:StopInstances",
        "ec2:TerminateInstances",
        "ec2:DescribeInstanceStatus",
        "ec2:CreateTags",
        "ec2:DeleteTags",
        "ec2:DescribeTags",
        "cloudformation:CreateStack",
        "cloudformation:DescribeStackEvents",
        "cloudformation:DescribeStacks",
        "cloudformation:UpdateStack",
        "cloudformation:DeleteStack",
        "cloudformation:TagResource",
        "cloudformation:UntagResource"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:*"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "sns:Publish"
      ],
      "Resource": [
        "arn:aws:sns:*:*:Automation*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssmmessages:OpenDataChannel"
      ],
      "Resource": [
        "arn:*:ssm:*:*:session/*"
      ]
    }
  ]
}

Version history

Current version v9, edited by AWS on 2026-03-20. 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/AmazonSSMAutomationRole
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonSSMAutomationRole
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonSSMAutomationRole

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AmazonSSMAutomationRole

Terraform

resource "aws_iam_role_policy_attachment" "service_role_amazonssmautomationrole" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonSSMAutomationRole"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonSSMAutomationRole"),
);

Sources

Pending editorial review. No editorial sources are listed yet.