AWS::ImageBuilder::ImageResource schema for AWS::ImageBuilder::Image
13 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ContainerRecipeArn | string | Create-only |
DeletionSettings | DeletionSettings | Write-only |
DistributionConfigurationArn | string | Create-only |
EnhancedImageMetadataEnabled | boolean | Create-only |
ExecutionRole | string | |
ImagePipelineExecutionSettings | ImagePipelineExecutionSettings | Write-only |
ImageRecipeArn | string | Create-only |
ImageScanningConfiguration | ImageScanningConfiguration | Create-only |
ImageTestsConfiguration | ImageTestsConfiguration | Create-only |
InfrastructureConfigurationArn | string | Create-only |
LoggingConfiguration | ImageLoggingConfiguration | |
Tags | object | |
Workflows | Array<WorkflowConfiguration> | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the image. |
ImageId | string | The AMI ID of the EC2 AMI in current region. |
ImageUri | string | URI for containers created in current Region with default ECR image tag |
LatestVersion | LatestVersion | The latest version references of the image. |
Name | string | The name of the image. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ImageBuilder::Image
Resources:
MyResource:
Type: AWS::ImageBuilder::Image
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
imagebuilder:GetImageecr:BatchGetRepositoryScanningConfigurationiam:GetRoleiam:PassRoleiam:CreateServiceLinkedRoleimagebuilder:GetImageRecipeimagebuilder:GetInfrastructureConfigurationimagebuilder:GetDistributionConfigurationimagebuilder:GetWorkflowimagebuilder:TagResourceimagebuilder:UntagResourceimagebuilder:ListImagesimagebuilder:ListImageBuildVersionsimagebuilder:GetImageimagebuilder:DeleteImageimagebuilder:UntagResourceimagebuilder:CancelImageCreationOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ImageRecipeArnContainerRecipeArnInfrastructureConfigurationArnWorkflowsDistributionConfigurationArnImageTestsConfigurationImageScanningConfigurationEnhancedImageMetadataEnabled