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

export interface DsPrebuiltEcrImageArgs {
  dnsSuffix?: string | core.StringOut;

  imageTag?: string | core.StringOut;

  region?: string | core.StringOut;

  repositoryName: string | core.StringOut;
}

export class DsPrebuiltEcrImage extends core.Data<DsPrebuiltEcrImageArgs> {
  @core.attr(String)
  public dnsSuffix?: string | core.StringOut;

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

  @core.attr(String)
  public imageTag?: string | core.StringOut;

  @core.attr(String)
  public region?: string | core.StringOut;

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

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

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