imagebuilder:ImportVmImage

Write

imagebuilder:ImportVmImage is a Write access-level action in the imagebuilder service. Grants permission to import an image

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Dependent actions

To use imagebuilder:ImportVmImage you may also need to grant:

Example IAM policy

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

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

Related actions in imagebuilder

View all imagebuilder actions →