opensearch:StartDirectQuery is a Write access-level action in the opensearch service. Grants permission to start a direct query on the provided OpenSearch DataSource arns
ARNs that opensearch:StartDirectQuery can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows opensearch:StartDirectQuery. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowOpensearchStartDirectQuery",
"Effect": "Allow",
"Action": "opensearch:StartDirectQuery",
"Resource": "*"
}
]
}