dsql:PutClusterPolicy

Write

dsql:PutClusterPolicy is a Write access-level action in the dsql service. Grants permission to attach or update the inline resource-based policy attached to a cluster

Resource types

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in dsql

View all dsql actions →