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

export interface SimpledbDomainArgs extends core.ResourceArgs {
  name: string | core.StringOut;
}

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

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

  constructor(name: string, args?: SimpledbDomainArgs) {
    super(name, "aws_simpledb_domain", args);
  }

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