pi:GetResourceMetadata is a Read access-level action in the pi service. Grants permission to call GetResourceMetadata API to retrieve the metadata for different features
ARNs that pi:GetResourceMetadata can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants pi:GetResourceMetadata.
Filters access by the tags associated with the resource
A minimal policy that allows pi:GetResourceMetadata. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowPiGetResourceMetadata",
"Effect": "Allow",
"Action": "pi:GetResourceMetadata",
"Resource": "*"
}
]
}