greengrass:ListComponentVersions is a List access-level action in the greengrass service. Grants permission to retrieve a paginated list of all versions for a component
ARNs that greengrass:ListComponentVersions can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants greengrass:ListComponentVersions.
Filters access by checking tag key/value pairs associated with a specific resource
A minimal policy that allows greengrass:ListComponentVersions. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowGreengrassListComponentVersions",
"Effect": "Allow",
"Action": "greengrass:ListComponentVersions",
"Resource": "*"
}
]
}