es:GetCompatibleElasticsearchVersions is a List access-level action in the es service. Grants permission to fetch a list of compatible OpenSearch and Elasticsearch versions to which an OpenSearch Service domain can be upgraded. This permission is deprecated. Use GetCompatibleVersions instead
ARNs that es:GetCompatibleElasticsearchVersions can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants es:GetCompatibleElasticsearchVersions.
Filters access based on the tags associated with the resource
A minimal policy that allows es:GetCompatibleElasticsearchVersions. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEsGetCompatibleElasticsearchVersions",
"Effect": "Allow",
"Action": "es:GetCompatibleElasticsearchVersions",
"Resource": "*"
}
]
}