greengrass:GetDeployment

Read

greengrass:GetDeployment is a Read access-level action in the greengrass service. Grants permission to get a deployment

Resource types

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

arn:${Partition}:greengrass:${Region}:${Account}:deployments:${DeploymentId}
deployment

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Dependent actions

To use greengrass:GetDeployment you may also need to grant:

Example IAM policy

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

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

Related actions in greengrass

View all greengrass actions →