import * as core from "@terrascript/core";

export interface ImageVersionArgs extends core.ResourceArgs {
  baseImage: string | core.StringOut;

  imageName: string | core.StringOut;
}

export class ImageVersion extends core.Resource<ImageVersionArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

  @core.attr(String)
  public baseImage!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public containerImage!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public imageArn!: string | core.StringOut;

  @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";
  }
}
