AWSCodeDeployReadOnlyAccess
Summary
Provides read only access to CodeDeploy resources.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AWSCodeDeployReadOnlyAccess- Default version
- v6
- Created
- Last edited
- Services
- codedeploy, codestar-notifications
Control-plane actions (29)
By access level: 20 List, 9 Read.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CodeDeploy | 25 of 48 | 17 List, 8 Read; 0 restricted, 0 conditional | codedeploy:Batch*, codedeploy:Get*, codedeploy:List* |
| CodeStar Notifications | 4 of 13 | 3 List, 1 Read; 1 restricted, 1 conditional | codestar-notifications:DescribeNotificationRule, codestar-notifications:ListEventTypes, codestar-notifications:ListNotificationRules, codestar-notifications:ListTargets |
CodeDeploy: 25 actions
- codedeploy:BatchGetApplicationRevisions (Read)
- codedeploy:BatchGetApplications (Read)
- codedeploy:BatchGetDeploymentGroups (Read)
- codedeploy:BatchGetDeploymentInstances (Read)
- codedeploy:BatchGetDeploymentTargets (Read)
- codedeploy:BatchGetDeployments (Read)
- codedeploy:BatchGetOnPremisesInstances (Read)
- codedeploy:GetApplication (List)
- codedeploy:GetApplicationRevision (List)
- codedeploy:GetDeployment (List)
- codedeploy:GetDeploymentConfig (List)
- codedeploy:GetDeploymentGroup (List)
- codedeploy:GetDeploymentInstance (List)
- codedeploy:GetDeploymentTarget (Read)
- codedeploy:GetOnPremisesInstance (List)
- codedeploy:ListApplicationRevisions (List)
- codedeploy:ListApplications (List)
- codedeploy:ListDeploymentConfigs (List)
- codedeploy:ListDeploymentGroups (List)
- codedeploy:ListDeploymentInstances (List)
- codedeploy:ListDeploymentTargets (List)
- codedeploy:ListDeployments (List)
- codedeploy:ListGitHubAccountTokenNames (List)
- codedeploy:ListOnPremisesInstances (List)
- codedeploy:ListTagsForResource (List)
CodeStar Notifications: 4 actions
- codestar-notifications:DescribeNotificationRule (Read)
- codestar-notifications:ListEventTypes (List)
- codestar-notifications:ListNotificationRules (List)
- codestar-notifications:ListTargets (List)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: all-resources.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants only List and Read actions.
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
- AWSCodeBuildAdminAccess
- AWSCodeBuildDeveloperAccess
- AWSCodeCommitFullAccess
- AWSCodeCommitPowerUser
- AWSCodeDeployDeployerAccess
- AWSCodeDeployFullAccess
- AWSCodePipeline_FullAccess
- AWSCodePipeline_ReadOnlyAccess
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": [
{
"Action": [
"codedeploy:Batch*",
"codedeploy:Get*",
"codedeploy:List*"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "CodeStarNotificationsPowerUserAccess",
"Effect": "Allow",
"Action": [
"codestar-notifications:DescribeNotificationRule"
],
"Resource": "*",
"Condition": {
"ArnLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codedeploy:*:*:application:*"
}
}
},
{
"Sid": "CodeStarNotificationsListAccess",
"Effect": "Allow",
"Action": [
"codestar-notifications:ListNotificationRules",
"codestar-notifications:ListEventTypes",
"codestar-notifications:ListTargets"
],
"Resource": "*"
}
]
}
Version history
Current version v6, edited by AWS on 2026-02-12. 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/AWSCodeDeployReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeDeployReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeDeployReadOnlyAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSCodeDeployReadOnlyAccessTerraform
resource "aws_iam_role_policy_attachment" "awscodedeployreadonlyaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AWSCodeDeployReadOnlyAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AWSCodeDeployReadOnlyAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.