kendra:CreateDataSource

Write

kendra:CreateDataSource is a Write access-level action in the kendra service. Grants permission to create a data source

Resource types

ARNs that kendra:CreateDataSource can be scoped to in an IAM policy.

arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}
index

Condition keys

Keys you can use in the Condition block of a policy that grants kendra:CreateDataSource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowKendraCreateDataSource",
      "Effect": "Allow",
      "Action": "kendra:CreateDataSource",
      "Resource": "*"
    }
  ]
}

Related actions in kendra

View all kendra actions →