imagebuilder:DeleteComponent

Write

imagebuilder:DeleteComponent is a Write access-level action in the imagebuilder service. Grants permission to delete a component

Resource types

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

arn:${Partition}:imagebuilder:${Region}:${Account}:component/${ComponentName}/${ComponentVersion}/${ComponentBuildVersion}
component

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in imagebuilder

View all imagebuilder actions →