greengrass:GetComponentVersionArtifact

Read

greengrass:GetComponentVersionArtifact is a Read access-level action in the greengrass service. Grants permission to get the pre-signed URL to download a public component artifact

Resource types

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

arn:${Partition}:greengrass:${Region}:${Account}:components:${ComponentName}:versions:${ComponentVersion}
componentVersion

Condition keys

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

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:GetComponentVersionArtifact. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in greengrass

View all greengrass actions →