greengrass:ListComponentVersions

List

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

Resource types

ARNs that greengrass:ListComponentVersions can be scoped to in an IAM policy.

arn:${Partition}:greengrass:${Region}:${Account}:components:${ComponentName}
component

Condition keys

Keys you can use in the Condition block of a policy that grants greengrass:ListComponentVersions.

aws:ResourceTag/${TagKey} String

Filters access by checking tag key/value pairs associated with a specific resource

Example IAM policy

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": "*"
    }
  ]
}

Related actions in greengrass

View all greengrass actions →