import * as pulumi from "@pulumi/pulumi"; /** * Provides a SageMaker AI Image Version resource. * * ## Example Usage * * ### Basic usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.sagemaker.ImageVersion("example", { * imageName: test.id, * baseImage: "012345678912.dkr.ecr.us-west-2.amazonaws.com/image:latest", * }); * ``` * * ### With Aliases * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = new aws.sagemaker.ImageVersion("test", { * imageName: testAwsSagemakerImage.id, * baseImage: "012345678912.dkr.ecr.us-west-2.amazonaws.com/image:latest", * aliases: [ * "latest", * "stable", * ], * }); * ``` * * ## Import * * Using `pulumi import`, import SageMaker AI Image Versions using a comma-delimited string concatenating `imageName` and `version`. For example: * * ```sh * $ pulumi import aws:sagemaker/imageVersion:ImageVersion example example-name,1 * ``` */ export declare class ImageVersion extends pulumi.CustomResource { /** * Get an existing ImageVersion resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ImageVersionState, opts?: pulumi.CustomResourceOptions): ImageVersion; /** * Returns true if the given object is an instance of ImageVersion. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ImageVersion; /** * A list of aliases for the image version. */ readonly aliases: pulumi.Output; /** * ARN assigned by AWS to this Image Version. */ readonly arn: pulumi.Output; /** * The registry path of the container image on which this image version is based. */ readonly baseImage: pulumi.Output; /** * The registry path of the container image that contains this image version. */ readonly containerImage: pulumi.Output; /** * Indicates Horovod compatibility. */ readonly horovod: pulumi.Output; readonly imageArn: pulumi.Output; /** * The name of the image. Must be unique to your account. */ readonly imageName: pulumi.Output; /** * Indicates SageMaker AI job type compatibility. Valid values are: `TRAINING`, `INFERENCE`, and `NOTEBOOK_KERNEL`. */ readonly jobType: pulumi.Output; /** * The machine learning framework vended in the image version. */ readonly mlFramework: pulumi.Output; /** * Indicates CPU or GPU compatibility. Valid values are: `CPU` and `GPU`. */ readonly processor: pulumi.Output; /** * The supported programming language and its version. */ readonly programmingLang: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * The maintainer description of the image version. */ readonly releaseNotes: pulumi.Output; /** * The stability of the image version, specified by the maintainer. Valid values are: `NOT_PROVIDED`, `STABLE`, `TO_BE_ARCHIVED`, and `ARCHIVED`. */ readonly vendorGuidance: pulumi.Output; /** * The version of the image. If not specified, the latest version is described. */ readonly version: pulumi.Output; /** * Create a ImageVersion resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ImageVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ImageVersion resources. */ export interface ImageVersionState { /** * A list of aliases for the image version. */ aliases?: pulumi.Input[] | undefined>; /** * ARN assigned by AWS to this Image Version. */ arn?: pulumi.Input; /** * The registry path of the container image on which this image version is based. */ baseImage?: pulumi.Input; /** * The registry path of the container image that contains this image version. */ containerImage?: pulumi.Input; /** * Indicates Horovod compatibility. */ horovod?: pulumi.Input; imageArn?: pulumi.Input; /** * The name of the image. Must be unique to your account. */ imageName?: pulumi.Input; /** * Indicates SageMaker AI job type compatibility. Valid values are: `TRAINING`, `INFERENCE`, and `NOTEBOOK_KERNEL`. */ jobType?: pulumi.Input; /** * The machine learning framework vended in the image version. */ mlFramework?: pulumi.Input; /** * Indicates CPU or GPU compatibility. Valid values are: `CPU` and `GPU`. */ processor?: pulumi.Input; /** * The supported programming language and its version. */ programmingLang?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * The maintainer description of the image version. */ releaseNotes?: pulumi.Input; /** * The stability of the image version, specified by the maintainer. Valid values are: `NOT_PROVIDED`, `STABLE`, `TO_BE_ARCHIVED`, and `ARCHIVED`. */ vendorGuidance?: pulumi.Input; /** * The version of the image. If not specified, the latest version is described. */ version?: pulumi.Input; } /** * The set of arguments for constructing a ImageVersion resource. */ export interface ImageVersionArgs { /** * A list of aliases for the image version. */ aliases?: pulumi.Input[] | undefined>; /** * The registry path of the container image on which this image version is based. */ baseImage: pulumi.Input; /** * Indicates Horovod compatibility. */ horovod?: pulumi.Input; /** * The name of the image. Must be unique to your account. */ imageName: pulumi.Input; /** * Indicates SageMaker AI job type compatibility. Valid values are: `TRAINING`, `INFERENCE`, and `NOTEBOOK_KERNEL`. */ jobType?: pulumi.Input; /** * The machine learning framework vended in the image version. */ mlFramework?: pulumi.Input; /** * Indicates CPU or GPU compatibility. Valid values are: `CPU` and `GPU`. */ processor?: pulumi.Input; /** * The supported programming language and its version. */ programmingLang?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * The maintainer description of the image version. */ releaseNotes?: pulumi.Input; /** * The stability of the image version, specified by the maintainer. Valid values are: `NOT_PROVIDED`, `STABLE`, `TO_BE_ARCHIVED`, and `ARCHIVED`. */ vendorGuidance?: pulumi.Input; } //# sourceMappingURL=imageVersion.d.ts.map