es:ListElasticsearchVersions

List

es:ListElasticsearchVersions is a List access-level action in the es service. Grants permission to list all supported OpenSearch versions on Amazon OpenSearch Service. This permission is deprecated. Use ListVersions instead

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEsListElasticsearchVersions",
      "Effect": "Allow",
      "Action": "es:ListElasticsearchVersions",
      "Resource": "*"
    }
  ]
}

Related actions in es

View all es actions →