import * as core from "@terrascript/core"; export interface ImageVersionArgs extends core.ResourceArgs { /** * (Required) The registry path of the container image on which this image version is based. */ baseImage: string | core.StringOut; /** * (Required) The name of the image. Must be unique to your account. */ imageName: string | core.StringOut; } export class ImageVersion extends core.Resource { /** * The Amazon Resource Name (ARN) assigned by AWS to this Image Version. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The registry path of the container image on which this image version is based. */ @core.attr(String) public baseImage!: string | core.StringOut; /** * The registry path of the container image that contains this image version. */ @core.attr(String, { computed: true }) public containerImage!: string | core.StringOut; /** * The name of the Image. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public imageArn!: string | core.StringOut; /** * (Required) The name of the image. Must be unique to your account. */ @core.attr(String) public imageName!: string | core.StringOut; @core.attr(Number, { computed: true }) public version!: number | core.NumberOut; constructor(name: string, args?: ImageVersionArgs) { super(name, "aws_sagemaker_image_version", args); } public override getNamespace(): string { return "aws_sagemaker"; } }