redshift:AssociateDataShareConsumer

Write

redshift:AssociateDataShareConsumer is a Write access-level action in the redshift service. Grants permission to associate a consumer to a datashare

Resource types

ARNs that redshift:AssociateDataShareConsumer can be scoped to in an IAM policy.

arn:${Partition}:redshift:${Region}:${Account}:datashare:${ProducerClusterNamespace}/${DataShareName}
datashare

Condition keys

Keys you can use in the Condition block of a policy that grants redshift:AssociateDataShareConsumer.

aws:ResourceTag/${TagKey} String

Filters access by actions based on tag-value associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRedshiftAssociateDataShareConsumer",
      "Effect": "Allow",
      "Action": "redshift:AssociateDataShareConsumer",
      "Resource": "*"
    }
  ]
}

Related actions in redshift

View all redshift actions →