dsql:DbConnect

Write

dsql:DbConnect is a Write access-level action in the dsql service. Grants permission to connect to the database

Resource types

ARNs that dsql:DbConnect can be scoped to in an IAM policy.

arn:${Partition}:dsql:${Region}:${Account}:cluster/${Identifier}
Cluster

Condition keys

Keys you can use in the Condition block of a policy that grants dsql:DbConnect.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows dsql:DbConnect. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDsqlDbConnect",
      "Effect": "Allow",
      "Action": "dsql:DbConnect",
      "Resource": "*"
    }
  ]
}

Related actions in dsql

View all dsql actions →