Skip to main content

EcrImageSchema

The EcrImageSchema class is the schema for the EcrImage resource, which represents the AWS Elastic Container Registry (ECR) Image resource. This resource can create and manage container images in ECR using the AWS JavaScript SDK V3 API. See official sdk docs.

@group

Resources/Ecr

@overrideProperty

parents - This resource has no parents.

@overrideProperty

resourceId - The resource id is of format ecr-<region-id>-<image-id>

Hierarchy

  • BaseResourceSchema
    • EcrImageSchema

Index

Properties

inheritedparents

parents: IResourceReference[]

properties

properties: { awsAccountId: string; awsRegionId: string; imageId: string } = ...

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 of family/name, e.g. quadnix/nginx.

Type declaration

  • awsAccountId: string
  • awsRegionId: string
  • imageId: string

inheritedresourceId

resourceId: string

response

response: { registryId?: string; repositoryArn?: string; repositoryName?: string; repositoryUri?: string } = ...

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. You can use this URI for container image push and pull operations.

Type declaration

  • optionalregistryId?: string
  • optionalrepositoryArn?: string
  • optionalrepositoryName?: string
  • optionalrepositoryUri?: string

inheritedtags

tags: {}

Type declaration

  • [key string]: string