Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

EC2ImageBuilderLifecycleExecutionPolicy - AWS Managed Policy

EC2ImageBuilderLifecycleExecutionPolicy

Description: The EC2ImageBuilderLifecycleExecutionPolicy policy grants permissions for Image Builder to perform actions such as deprecate or delete Image Builder image resources and their underlying resources (AMIs, snapshots) to support automated rules for image lifecycle management tasks.

EC2ImageBuilderLifecycleExecutionPolicy is an AWS managed policy.

Using this policy

You can attach EC2ImageBuilderLifecycleExecutionPolicy to your users, groups, and roles.

Policy details

  • Type: Service role policy

  • Creation time: November 16, 2023, 23:23 UTC

  • Edited time: November 16, 2023, 23:23 UTC

  • ARN: arn:aws:iam::aws:policy/service-role/EC2ImageBuilderLifecycleExecutionPolicy

Policy version

Policy version: v1 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "Ec2ImagePermission", "Effect" : "Allow", "Action" : [ "ec2:EnableImage", "ec2:DeregisterImage", "ec2:EnableImageDeprecation", "ec2:DescribeImageAttribute", "ec2:DisableImage", "ec2:DisableImageDeprecation" ], "Resource" : "arn:aws:ec2:*::image/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/CreatedBy" : "EC2 Image Builder" } } }, { "Sid" : "EC2DeleteSnapshotPermission", "Effect" : "Allow", "Action" : "ec2:DeleteSnapshot", "Resource" : "arn:aws:ec2:*::snapshot/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/CreatedBy" : "EC2 Image Builder" } } }, { "Sid" : "EC2TagsPermission", "Effect" : "Allow", "Action" : [ "ec2:DeleteTags", "ec2:CreateTags" ], "Resource" : [ "arn:aws:ec2:*::snapshot/*", "arn:aws:ec2:*::image/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/DeprecatedBy" : "EC2 Image Builder", "aws:ResourceTag/CreatedBy" : "EC2 Image Builder" }, "ForAllValues:StringEquals" : { "aws:TagKeys" : "DeprecatedBy" } } }, { "Sid" : "ECRImagePermission", "Effect" : "Allow", "Action" : [ "ecr:BatchGetImage", "ecr:BatchDeleteImage" ], "Resource" : "arn:aws:ecr:*:*:repository/*", "Condition" : { "StringEquals" : { "ecr:ResourceTag/LifecycleExecutionAccess" : "EC2 Image Builder" } } }, { "Sid" : "ImageBuilderEC2TagServicePermission", "Effect" : "Allow", "Action" : [ "ec2:DescribeImages", "tag:GetResources", "imagebuilder:DeleteImage" ], "Resource" : "*" } ] }

Learn more

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.