imagebuilder:GetImage

Read

imagebuilder:GetImage is a Read access-level action in the imagebuilder service. Grants permission to view details about an image

Resource types

ARNs that imagebuilder:GetImage can be scoped to in an IAM policy.

arn:${Partition}:imagebuilder:${Region}:${Account}:image/${ImageName}/${ImageVersion}/${ImageBuildVersion}
image

Condition keys

Keys you can use in the Condition block of a policy that grants imagebuilder:GetImage.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowImagebuilderGetImage",
      "Effect": "Allow",
      "Action": "imagebuilder:GetImage",
      "Resource": "*"
    }
  ]
}

Related actions in imagebuilder

View all imagebuilder actions →