storagegateway:ListGateways is a List access-level action in the storagegateway service. Grants permission to list gateways owned by an AWS account in a region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN)
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 storagegateway:ListGateways. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowStoragegatewayListGateways",
"Effect": "Allow",
"Action": "storagegateway:ListGateways",
"Resource": "*"
}
]
}