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

export interface DsRepositoryArgs {
  repositoryName: string | core.StringOut;
}

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

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

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

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

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

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

  constructor(name: string, args?: DsRepositoryArgs) {
    super(name, "aws_codecommit_repository", args);
  }

  public override getNamespace(): string {
    return "aws_codecommit";
  }
}
