Permissions for users
A user must have the following permissions to use Amazon Data Lifecycle Manager.
-
The
ec2:DescribeAvailabilityZones
,ec2:DescribeRegions
,kms:ListAliases
, andkms:DescribeKey
permissions are required for console users only. If console access is not required, you can remove the permissions. -
The ARN format of the AWSDataLifecycleManagerDefaultRole role differs depending on whether it was created using the console or the AWS CLI. If the role was created using the console, the ARN format is
arn:aws:iam::
. If the role was created using the AWS CLI, the ARN format isaccount_id
:role/service-role/AWSDataLifecycleManagerDefaultRolearn:aws:iam::
The following policy assumes the role was created using the AWS CLI.account_id
:role/AWSDataLifecycleManagerDefaultRole
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "dlm:*", "Resource": "*" }, { "Effect": "Allow", "Action": "iam:PassRole", "Resource": [ "arn:aws:iam::
accound_id
:role/service-role/AWSDataLifecycleManagerDefaultRole", "arn:aws:iam::accound_id
:role/service-role/AWSDataLifecycleManagerDefaultRoleForAMIManagement" ] }, { "Effect": "Allow", "Action": "iam:ListRoles", "Resource": "*" }, { "Effect": "Allow", "Action": [ "ec2:DescribeAvailabilityZones", "ec2:DescribeRegions", "kms:ListAliases", "kms:DescribeKey" ], "Resource": "*" } ] }
For more information, see Changing permissions for a user in the IAM User Guide.