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

export interface DirectoryServiceSharedDirectoryAccepterArgs
  extends core.ResourceArgs {
  sharedDirectoryId: string | core.StringOut;
}

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

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

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

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

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

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

  constructor(
    name: string,
    args?: DirectoryServiceSharedDirectoryAccepterArgs
  ) {
    super(name, "aws_directory_service_shared_directory_accepter", args);
  }

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