rds-db:connect

Permissions management

rds-db:connect is a Permissions management access-level action in the rds-db service. Allows IAM role or user to connect to RDS database

Resource types

ARNs that rds-db:connect can be scoped to in an IAM policy.

arn:${Partition}:rds-db:${Region}:${Account}:dbuser:${DbiResourceId}/${DbUserName}
db-user

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows rds-db:connect. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRdsdbconnect",
      "Effect": "Allow",
      "Action": "rds-db:connect",
      "Resource": "*"
    }
  ]
}