imagebuilder:GetContainerRecipePolicy

Read

imagebuilder:GetContainerRecipePolicy is a Read access-level action in the imagebuilder service. Grants permission to view the resource policy associated with a container recipe

Resource types

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

arn:${Partition}:imagebuilder:${Region}:${Account}:container-recipe/${ContainerRecipeName}/${ContainerRecipeVersion}
containerRecipe

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in imagebuilder

View all imagebuilder actions →