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

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