EC2InstanceProfileForImageBuilder
Summary
EC2 Instance profile for Image Builder service.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilder- Default version
- v12
- Created
- Last edited
- Services
- ec2, imagebuilder, kms, logs, s3
Control-plane actions (10)
By access level: 2 List, 2 Read, 1 Tagging, 5 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 | 4 of 834 | 2 List, 1 Tagging, 1 Write; 2 restricted, 2 conditional | ec2:CreateSnapshot, ec2:CreateTags, ec2:DescribeSnapshots, ec2:DescribeVolumes |
| EC2 Image Builder | 2 of 77 | 2 Read; 0 restricted, 0 conditional | imagebuilder:GetComponent, imagebuilder:GetMarketplaceResource |
| KMS | 1 of 58 | 1 Write; 1 restricted, 1 conditional | kms:Decrypt |
| CloudWatch Logs | 3 of 133 | 3 Write; 3 restricted, 0 conditional | logs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents |
EC2: 4 actions
- ec2:CreateSnapshot (Write)
- ec2:CreateTags (Tagging)
- ec2:DescribeSnapshots (List)
- ec2:DescribeVolumes (List)
EC2 Image Builder: 2 actions
- imagebuilder:GetComponent (Read)
- imagebuilder:GetMarketplaceResource (Read)
KMS: 1 actions
- kms:Decrypt (Write)
CloudWatch Logs: 3 actions
- logs:CreateLogGroup (Write)
- logs:CreateLogStream (Write)
- logs:PutLogEvents (Write)
Data-plane actions (1)
By access level: 1 Read.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| S3 | 1 of 25 | 1 Read; 1 restricted, 0 conditional | s3:GetObject |
S3: 1 actions
- s3:GetObject (Read)
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 6 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AlexaForBusinessGatewayExecution
- AmazonAPIGatewayPushToCloudWatchLogs
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonBraketFullAccess
- AmazonBraketJobsExecutionPolicy
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:DescribeVolumes",
"ec2:DescribeSnapshots"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateSnapshot"
],
"Resource": [
"arn:aws:ec2:*:*:snapshot/*"
],
"Condition": {
"StringEquals": {
"aws:RequestTag/CreatedBy": "EC2 Image Builder"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateSnapshot"
],
"Resource": [
"arn:aws:ec2:*:*:volume/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceTag/CreatedBy": "EC2 Image Builder"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"ec2:CreateAction": "CreateSnapshot",
"aws:RequestTag/CreatedBy": [
"EC2 Image Builder"
]
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::*/*.ISO",
"arn:aws:s3:::*/*.iso",
"arn:aws:s3:::*/*.Iso"
],
"Condition": {
"StringEquals": {
"s3:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Effect": "Allow",
"Action": [
"imagebuilder:GetComponent",
"imagebuilder:GetMarketplaceResource"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"kms:Decrypt"
],
"Resource": "*",
"Condition": {
"ForAnyValue:StringEquals": {
"kms:EncryptionContextKeys": "aws:imagebuilder:arn",
"aws:CalledVia": [
"imagebuilder.amazonaws.com"
]
}
}
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": "arn:aws:s3:::ec2imagebuilder*"
},
{
"Effect": "Allow",
"Action": [
"logs:CreateLogStream",
"logs:CreateLogGroup",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:log-group:/aws/imagebuilder/*"
}
]
}
Version history
Current version v12, edited by AWS on 2026-02-12. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilder
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilder
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilderCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilderTerraform
resource "aws_iam_role_policy_attachment" "ec2instanceprofileforimagebuilder" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilder"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("EC2InstanceProfileForImageBuilder"),
);Sources
Pending editorial review. No editorial sources are listed yet.