EcrImageSchema
Hierarchy
- BaseResourceSchema
- EcrImageSchema
Index
Properties
inheritedlocalResourceId
The ID the resource was created with, unique within its scope.
inheritedparents
The resources this one is built on top of.
properties
Input properties.
properties.awsAccountId- The AWS account ID.properties.awsRegionId- The AWS region ID.properties.imageId- This is the name of the ECR repository. The id usually follows the naming convention offamily/name, e.g.quadnix/nginx.properties.imageTagsToKeep- How many images the repository keeps, the newest by push time.
Type declaration
awsAccountId: string
awsRegionId: string
imageId: string
imageTagsToKeep: number
inheritedresourceId
The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash
of its scope when it has one.
response
Saved response.
response.registryId- The AWS account ID associated with the registry that contains the repository.response.repositoryArn- The ARN of the repository.response.repositoryName- The name of the repository.response.repositoryUri- The URI of the repository.
Type declaration
optionalregistryId?: string
optionalrepositoryArn?: string
optionalrepositoryName?: string
optionalrepositoryUri?: string
inheritedscope
The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.
inheritedtags
The tags applied to the resource.
Type declaration
[key string]: string
EcrImageSchemais the schema of theEcrImageresource: an ECR repository, holding the published versions of one image. Terraform provisions it asaws_ecr_repository.It is the repository alone. The images published into it are EcrImageTagSchema resources, one per tag, and its tags are immutable - publishing new content means publishing a new tag.
Resources/Ecr
parents - This resource has no parents.
resourceId - The resource id is of format
ecr-<region-id>-<image-id>