resource-explorer-2:CreateIndex is a Write access-level action in the resource-explorer-2 service. Grants permission to turn on Resource Explorer in the AWS Region in which you called this operation by creating an index
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 resource-explorer-2:CreateIndex. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowResourceexplorer2CreateIndex",
"Effect": "Allow",
"Action": "resource-explorer-2:CreateIndex",
"Resource": "*"
}
]
}