I want to know if it's possible to get an Amazon ECR container URI for a specific image programmatically (using AWS CLI or Python). For example, if I need the URL for the latest linear-learner
(built-in model) image for the eu-central-1
region.
Expected result:
664544806723.dkr.ecr.eu-central-1.amazonaws.com/linear-learner:latest
EDIT: I have found the solution with get_image_uri
. It looks like this function will be depreceated and I don't know how to use ImageURIProvider
instead.