import * as core from "@terrascript/core"; export interface DsPrebuiltEcrImageArgs { /** * (Optional) The DNS suffix to use in the registry path. If not specified, the AWS provider sets it to * the DNS suffix for the current region. */ dnsSuffix?: string | core.StringOut; /** * (Optional) The 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, d * o not support `1` or `latest` and specific version must be used. */ imageTag?: string | core.StringOut; region?: string | core.StringOut; /** * (Required) The 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`, `pyt * orch-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`, `huggin * gface-pytorch-training`, and `huggingface-pytorch-inference`. */ repositoryName: string | core.StringOut; } export class DsPrebuiltEcrImage extends core.Data { /** * (Optional) The DNS suffix to use in the registry path. If not specified, the AWS provider sets it to * the DNS suffix for the current region. */ @core.attr(String) public dnsSuffix?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The 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, d * o not support `1` or `latest` and specific version must be used. */ @core.attr(String) public imageTag?: string | core.StringOut; @core.attr(String) public region?: string | core.StringOut; /** * The account ID containing the image. For example, `469771592824`. */ @core.attr(String, { computed: true }) public registryId!: string | core.StringOut; /** * The Docker image URL. For example, `341280168497.dkr.ecr.ca-central-1.amazonaws.com/sagemaker-sparkm * l-serving:2.4`. */ @core.attr(String, { computed: true }) public registryPath!: string | core.StringOut; /** * (Required) The 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`, `pyt * orch-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`, `huggin * gface-pytorch-training`, and `huggingface-pytorch-inference`. */ @core.attr(String) public repositoryName!: string | core.StringOut; constructor(name: string, args?: DsPrebuiltEcrImageArgs) { super(name, "aws_sagemaker_prebuilt_ecr_image", args); } public override getNamespace(): string { return "aws_sagemaker"; } }