AWS::ImageBuilder::ContainerRecipeResource schema for AWS::ImageBuilder::ContainerRecipe
15 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Components | Array<ComponentConfiguration> | Create-only |
ContainerType | string | Create-only |
Description | string | Create-only |
DockerfileTemplateData | string | Create-onlyWrite-only |
DockerfileTemplateUri | string | Create-onlyWrite-only |
ImageOsVersionOverride | string | Create-onlyWrite-only |
InstanceConfiguration | InstanceConfiguration | Create-only |
KmsKeyId | string | Create-only |
Name | string | Create-only |
ParentImage | string | Create-only |
PlatformOverride | string | Create-onlyWrite-only |
Tags | object | |
TargetRepository | TargetContainerRepository | Create-only |
Version | string | Create-only |
WorkingDirectory | string | 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 container recipe. |
LatestVersion | LatestVersion | The latest version references of the container recipe. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ImageBuilder::ContainerRecipe
Resources:
MyResource:
Type: AWS::ImageBuilder::ContainerRecipe
Properties:
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iam:GetRoleiam:CreateServiceLinkedRoleimagebuilder:GetComponentimagebuilder:TagResourceimagebuilder:GetContainerRecipeimagebuilder:CreateContainerRecipeimagebuilder:GetImagekms:Encryptimagebuilder:GetContainerRecipekms:Decryptimagebuilder:TagResourceimagebuilder:UntagResourceimagebuilder:UntagResourceimagebuilder:GetContainerRecipeimagebuilder:DeleteContainerRecipeimagebuilder:ListContainerRecipesOur 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.
NameVersionContainerTypeTargetRepositoryInstanceConfigurationParentImageDescriptionDockerfileTemplateUriDockerfileTemplateDataImageOsVersionOverrideKmsKeyIdPlatformOverrideWorkingDirectoryComponents