es:CreatePackage is a Write access-level action in the es service. Grants permission to add a package for use with OpenSearch Service domains
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows es:CreatePackage. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEsCreatePackage",
"Effect": "Allow",
"Action": "es:CreatePackage",
"Resource": "*"
}
]
}