Skip to main content

AwsEcrImageModuleSchema

AwsEcrImageModuleSchema is the input schema for the AwsEcrImageModule module: an image's name, and the regions it has a repository in.

@group

Modules/Image/AwsEcrImage

@see

AwsEcrImageModule to learn more about the AwsEcrImageModule module.

Index

Properties

imageFamily

imageFamily: string

The group the image belongs to, such as your company or product, e.g. shop. The repository is named <imageFamily>/<imageName>.

imageName

imageName: string

The image's name within its family, e.g. checkout.

optionalimageTagsToKeep

imageTagsToKeep?: number = 5

How many images each repository keeps, the newest by push time. ECR expires older ones itself, so a retired tag stays to roll back to until this many newer ones were published. Count every tag still deployed from the repository.

regions

regions: Region[]

The regions the image has a repository in, one each, from any of the AWS region modules. An execution runs the image only from a repository in its own region.