greengrass:ListDeployments

List

greengrass:ListDeployments is a List access-level action in the greengrass service. Grants permission to retrieve a list of all deployments for a group

Resource types

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

arn:${Partition}:greengrass:${Region}:${Account}:/greengrass/groups/${GroupId}
group

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tag value associated with the resource

Example IAM policy

A minimal policy that allows greengrass:ListDeployments. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGreengrassListDeployments",
      "Effect": "Allow",
      "Action": "greengrass:ListDeployments",
      "Resource": "*"
    }
  ]
}

Related actions in greengrass

View all greengrass actions →