Amazon ECR · JSON Structure

Ecr Openapi Repository Structure

Repository schema from Amazon ECR Amazon Elastic Container Registry (ECR) API

Type: object Properties: 8
Amazon Web ServicesContainer ImagesContainer RegistryContainersDockerECROCI

Repository is a JSON Structure definition published by Amazon ECR, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

repositoryArn registryId repositoryName repositoryUri createdAt imageTagMutability imageScanningConfiguration encryptionConfiguration

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ecr/refs/heads/main/json-structure/ecr-openapi-repository-structure.json",
  "name": "Repository",
  "description": "Repository schema from Amazon ECR Amazon Elastic Container Registry (ECR) API",
  "type": "object",
  "properties": {
    "repositoryArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the repository."
    },
    "registryId": {
      "type": "string",
      "description": "The AWS account ID associated with the registry."
    },
    "repositoryName": {
      "type": "string",
      "description": "The name of the repository."
    },
    "repositoryUri": {
      "type": "string",
      "description": "The URI for the repository."
    },
    "createdAt": {
      "type": "datetime",
      "description": "The date and time the repository was created."
    },
    "imageTagMutability": {
      "type": "string",
      "enum": [
        "MUTABLE",
        "IMMUTABLE"
      ],
      "description": "The tag mutability setting for the repository."
    },
    "imageScanningConfiguration": {
      "type": "object",
      "properties": {
        "scanOnPush": {
          "type": "boolean"
        }
      },
      "description": "The image scanning configuration for the repository."
    },
    "encryptionConfiguration": {
      "type": "object",
      "properties": {
        "encryptionType": {
          "type": "string"
        },
        "kmsKey": {
          "type": "string"
        }
      },
      "description": "The encryption configuration for the repository."
    }
  }
}