dsql:AddPeerCluster

Write

dsql:AddPeerCluster is a Write access-level action in the dsql service. Grants permission to add a peer cluster to a multi-Region cluster

Resource types

ARNs that dsql:AddPeerCluster 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:AddPeerCluster.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Dependent actions

To use dsql:AddPeerCluster you may also need to grant:

Example IAM policy

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

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

Related actions in dsql

View all dsql actions →