redshift:RejectDataShare

Permissions management

redshift:RejectDataShare is a Permissions management access-level action in the redshift service. Grants permission to decline a datashare shared from another account

Resource types

ARNs that redshift:RejectDataShare 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:RejectDataShare.

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:RejectDataShare. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in redshift

View all redshift actions →