Skip to main content
IAM Policy Map

AmazonRDSServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Allows Amazon RDS to manage AWS resources on your behalf.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AmazonRDSServiceRolePolicy
Default version
v14
Created
Last edited
Services
cloudwatch, ec2, kinesis, logs, rds, secretsmanager

Control-plane actions (53)

By access level: 14 List, 4 Permissions management, 4 Read, 1 Tagging, 30 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC233 of 83413 List, 4 Permissions management, 16 Write; 0 restricted, 0 conditionalec2:AllocateAddress, ec2:AssignPrivateIpAddresses, ec2:AssociateAddress, ec2:AuthorizeSecurityGroupIngress, ec2:CreateCoipPoolPermission, ec2:CreateLocalGatewayRouteTablePermission, ec2:CreateNetworkInterface, ec2:CreateSecurityGroup, ec2:CreateVpcEndpoint, ec2:DeleteCoipPoolPermission, ec2:DeleteLocalGatewayRouteTablePermission, ec2:DeleteNetworkInterface and 21 more
Kinesis6 of 421 Read, 5 Write; 6 restricted, 0 conditionalkinesis:CreateStream, kinesis:DeleteStream, kinesis:DescribeStream, kinesis:MergeShards, kinesis:SplitShard, kinesis:UpdateShardCount
CloudWatch Logs4 of 1331 List, 3 Write; 4 restricted, 0 conditionallogs:CreateLogGroup, logs:CreateLogStream, logs:DescribeLogStreams, logs:PutLogEvents
RDS1 of 1731 Write; 0 restricted, 0 conditionalrds:CrossRegionCommunication
Secrets Manager9 of 273 Read, 1 Tagging, 5 Write; 8 restricted, 8 conditionalsecretsmanager:DeleteSecret, secretsmanager:DescribeSecret, secretsmanager:GetRandomPassword, secretsmanager:ListSecretVersionIds, secretsmanager:PutSecretValue, secretsmanager:RotateSecret, secretsmanager:TagResource, secretsmanager:UpdateSecret, secretsmanager:UpdateSecretVersionStage
EC2: 33 actions
  • ec2:AllocateAddress (Write)
  • ec2:AssignPrivateIpAddresses (Write)
  • ec2:AssociateAddress (Write)
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CreateCoipPoolPermission (Permissions management)
  • ec2:CreateLocalGatewayRouteTablePermission (Permissions management)
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateSecurityGroup (Write)
  • ec2:CreateVpcEndpoint (Write)
  • ec2:DeleteCoipPoolPermission (Permissions management)
  • ec2:DeleteLocalGatewayRouteTablePermission (Permissions management)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteSecurityGroup (Write)
  • ec2:DeleteVpcEndpoints (Write)
  • ec2:DescribeAddresses (List)
  • ec2:DescribeAvailabilityZones (List)
  • ec2:DescribeCoipPools (List)
  • ec2:DescribeInternetGateways (List)
  • ec2:DescribeLocalGatewayRouteTablePermissions (List)
  • ec2:DescribeLocalGatewayRouteTableVpcAssociations (List)
  • ec2:DescribeLocalGatewayRouteTables (List)
  • ec2:DescribeLocalGateways (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcAttribute (List)
  • ec2:DescribeVpcEndpoints (List)
  • ec2:DescribeVpcs (List)
  • ec2:DisassociateAddress (Write)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
  • ec2:ModifyVpcEndpoint (Write)
  • ec2:ReleaseAddress (Write)
  • ec2:RevokeSecurityGroupIngress (Write)
  • ec2:UnassignPrivateIpAddresses (Write)
Kinesis: 6 actions
  • kinesis:CreateStream (Write)
  • kinesis:DeleteStream (Write)
  • kinesis:DescribeStream (Read)
  • kinesis:MergeShards (Write)
  • kinesis:SplitShard (Write)
  • kinesis:UpdateShardCount (Write)
CloudWatch Logs: 4 actions
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:DescribeLogStreams (List)
  • logs:PutLogEvents (Write)
RDS: 1 actions
  • rds:CrossRegionCommunication (Write)
Secrets Manager: 9 actions
  • secretsmanager:DeleteSecret (Write)
  • secretsmanager:DescribeSecret (Read)
  • secretsmanager:GetRandomPassword (Read)
  • secretsmanager:ListSecretVersionIds (Read)
  • secretsmanager:PutSecretValue (Write)
  • secretsmanager:RotateSecret (Write)
  • secretsmanager:TagResource (Tagging)
  • secretsmanager:UpdateSecret (Write)
  • secretsmanager:UpdateSecretVersionStage (Write)

Data-plane actions (3)

By access level: 3 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Write; 1 restricted, 1 conditionalcloudwatch:PutMetricData
Kinesis2 of 52 Write; 2 restricted, 0 conditionalkinesis:PutRecord, kinesis:PutRecords
CloudWatch: 1 actions
  • cloudwatch:PutMetricData (Write)
Kinesis: 2 actions
  • kinesis:PutRecord (Write)
  • kinesis:PutRecords (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: No (service-linked role policy).

Why this tier

  • Grants 38 write, tagging or permissions-management actions, short of full control of any service.
  • 1 granted write or permissions-management action has no data-plane classification from AWS, so the data-plane rule cannot assess it.

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": [
    {
      "Sid": "CrossRegionCommunication",
      "Effect": "Allow",
      "Action": [
        "rds:CrossRegionCommunication"
      ],
      "Resource": "*"
    },
    {
      "Sid": "Ec2",
      "Effect": "Allow",
      "Action": [
        "ec2:AllocateAddress",
        "ec2:AssociateAddress",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:CreateCoipPoolPermission",
        "ec2:CreateLocalGatewayRouteTablePermission",
        "ec2:CreateNetworkInterface",
        "ec2:CreateSecurityGroup",
        "ec2:DeleteCoipPoolPermission",
        "ec2:DeleteLocalGatewayRouteTablePermission",
        "ec2:DeleteNetworkInterface",
        "ec2:DeleteSecurityGroup",
        "ec2:DescribeAddresses",
        "ec2:DescribeAvailabilityZones",
        "ec2:DescribeCoipPools",
        "ec2:DescribeInternetGateways",
        "ec2:DescribeLocalGatewayRouteTablePermissions",
        "ec2:DescribeLocalGatewayRouteTables",
        "ec2:DescribeLocalGatewayRouteTableVpcAssociations",
        "ec2:DescribeLocalGateways",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcAttribute",
        "ec2:DescribeVpcs",
        "ec2:DisassociateAddress",
        "ec2:ModifyNetworkInterfaceAttribute",
        "ec2:ModifyVpcEndpoint",
        "ec2:ReleaseAddress",
        "ec2:RevokeSecurityGroupIngress",
        "ec2:CreateVpcEndpoint",
        "ec2:DescribeVpcEndpoints",
        "ec2:DeleteVpcEndpoints",
        "ec2:AssignPrivateIpAddresses",
        "ec2:UnassignPrivateIpAddresses"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CloudWatchLogs",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogGroup"
      ],
      "Resource": [
        "arn:aws:logs:*:*:log-group:/aws/rds/*",
        "arn:aws:logs:*:*:log-group:/aws/docdb/*",
        "arn:aws:logs:*:*:log-group:/aws/neptune/*"
      ]
    },
    {
      "Sid": "CloudWatchStreams",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogStream",
        "logs:PutLogEvents",
        "logs:DescribeLogStreams"
      ],
      "Resource": [
        "arn:aws:logs:*:*:log-group:/aws/rds/*:log-stream:*",
        "arn:aws:logs:*:*:log-group:/aws/docdb/*:log-stream:*",
        "arn:aws:logs:*:*:log-group:/aws/neptune/*:log-stream:*"
      ]
    },
    {
      "Sid": "Kinesis",
      "Effect": "Allow",
      "Action": [
        "kinesis:CreateStream",
        "kinesis:PutRecord",
        "kinesis:PutRecords",
        "kinesis:DescribeStream",
        "kinesis:SplitShard",
        "kinesis:MergeShards",
        "kinesis:DeleteStream",
        "kinesis:UpdateShardCount"
      ],
      "Resource": [
        "arn:aws:kinesis:*:*:stream/aws-rds-das-*"
      ]
    },
    {
      "Sid": "CloudWatch",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:PutMetricData"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "cloudwatch:namespace": [
            "AWS/DocDB",
            "AWS/Neptune",
            "AWS/RDS",
            "AWS/Usage"
          ]
        }
      }
    },
    {
      "Sid": "SecretsManagerPassword",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetRandomPassword"
      ],
      "Resource": "*"
    },
    {
      "Sid": "SecretsManagerSecret",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:DeleteSecret",
        "secretsmanager:DescribeSecret",
        "secretsmanager:PutSecretValue",
        "secretsmanager:RotateSecret",
        "secretsmanager:UpdateSecret",
        "secretsmanager:UpdateSecretVersionStage",
        "secretsmanager:ListSecretVersionIds"
      ],
      "Resource": [
        "arn:aws:secretsmanager:*:*:secret:rds!*"
      ],
      "Condition": {
        "StringLike": {
          "secretsmanager:ResourceTag/aws:secretsmanager:owningService": "rds"
        }
      }
    },
    {
      "Sid": "SecretsManagerTags",
      "Effect": "Allow",
      "Action": "secretsmanager:TagResource",
      "Resource": "arn:aws:secretsmanager:*:*:secret:rds!*",
      "Condition": {
        "ForAllValues:StringEquals": {
          "aws:TagKeys": [
            "aws:rds:primaryDBInstanceArn",
            "aws:rds:primaryDBClusterArn"
          ]
        },
        "StringLike": {
          "secretsmanager:ResourceTag/aws:secretsmanager:owningService": "rds"
        }
      }
    }
  ]
}

Version history

Current version v14, edited by AWS on 2024-07-01. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.