get Prebuilt Ecr Image
Get information about prebuilt Amazon SageMaker Docker images.
NOTE: The AWS provider creates a validly constructed
registry_path
but does not verify that theregistry_path
corresponds to an existing image. For example, using aregistry_path
containing animage_tag
that does not correspond to a Docker image in the ECR repository, will result in an error.
Example Usage
Basic usage:
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.SagemakerFunctions;
import com.pulumi.aws.sagemaker.inputs.GetPrebuiltEcrImageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = SagemakerFunctions.getPrebuiltEcrImage(GetPrebuiltEcrImageArgs.builder()
.imageTag("2.2-1.0.11.0")
.repositoryName("sagemaker-scikit-learn")
.build());
}
}
Return
A collection of values returned by getPrebuiltEcrImage.
Parameters
A collection of arguments for invoking getPrebuiltEcrImage.
Return
A collection of values returned by getPrebuiltEcrImage.
Parameters
DNS suffix to use in the registry path. If not specified, the AWS provider sets it to the DNS suffix for the current region.
Image tag for the Docker image. If not specified, the AWS provider sets the value to 1
, which for many repositories indicates the latest version. Some repositories, such as XGBoost, do not support 1
or latest
and specific version must be used.
Region to use in the registry path. If not specified, the AWS provider sets it to the current region.
Name of the repository, which is generally the algorithm or library. Values include blazingtext
, factorization-machines
, forecasting-deepar
, image-classification
, ipinsights
, kmeans
, knn
, lda
, linear-learner
, mxnet-inference-eia
, mxnet-inference
, mxnet-training
, ntm
, object-detection
, object2vec
, pca
, pytorch-inference-eia
, pytorch-inference
, pytorch-training
, randomcutforest
, sagemaker-scikit-learn
, sagemaker-sparkml-serving
, sagemaker-xgboost
, semantic-segmentation
, seq2seq
, tensorflow-inference-eia
, tensorflow-inference
, tensorflow-training
, huggingface-tensorflow-training
, huggingface-tensorflow-inference
, huggingface-pytorch-training
, and huggingface-pytorch-inference
.
See also
Return
A collection of values returned by getPrebuiltEcrImage.
Parameters
Builder for com.pulumi.aws.sagemaker.kotlin.inputs.GetPrebuiltEcrImagePlainArgs.