EcrFunctions

Functions

Link copied to clipboard

The ECR Authorization Token data source allows the authorization token, proxy endpoint, token expiration date, user name and password to be retrieved for an ECR repository.

suspend fun getAuthorizationToken(registryId: String? = null): GetAuthorizationTokenResult
Link copied to clipboard
Link copied to clipboard
suspend fun getImage(argument: GetImagePlainArgs): GetImageResult

The ECR Image data source allows the details of an image with a particular tag or digest to be retrieved.

suspend fun getImage(argument: suspend GetImagePlainArgsBuilder.() -> Unit): GetImageResult
suspend fun getImage(imageDigest: String? = null, imageTag: String? = null, mostRecent: Boolean? = null, registryId: String? = null, repositoryName: String): GetImageResult
Link copied to clipboard

Generates an ECR lifecycle policy document in JSON format. Can be used with resources such as the aws.ecr.LifecyclePolicy resource.

Link copied to clipboard

The ECR Pull Through Cache Rule data source allows the upstream registry URL and registry ID to be retrieved for a Pull Through Cache Rule.

Link copied to clipboard

Data source for providing information on AWS ECR (Elastic Container Registry) Repositories.

Link copied to clipboard

The ECR Repository data source allows the ARN, Repository URI and Registry ID to be retrieved for an ECR repository.

suspend fun getRepository(name: String, registryId: String? = null, tags: Map<String, String>? = null): GetRepositoryResult
Link copied to clipboard

The ECR Repository Creation Template data source allows the template details to be retrieved for a Repository Creation Template.