qbusiness:GetDataSource

Read

qbusiness:GetDataSource is a Read access-level action in the qbusiness service. Grants permission to get a data source

Resource types

ARNs that qbusiness:GetDataSource can be scoped to in an IAM policy.

arn:${Partition}:qbusiness:${Region}:${Account}:application/${ApplicationId}
application
arn:${Partition}:qbusiness:${Region}:${Account}:application/${ApplicationId}/index/${IndexId}/data-source/${DataSourceId}
data-source
arn:${Partition}:qbusiness:${Region}:${Account}:application/${ApplicationId}/index/${IndexId}
index

Condition keys

Keys you can use in the Condition block of a policy that grants qbusiness:GetDataSource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowQbusinessGetDataSource",
      "Effect": "Allow",
      "Action": "qbusiness:GetDataSource",
      "Resource": "*"
    }
  ]
}

Related actions in qbusiness

View all qbusiness actions →