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

export interface EmailIdentityArgs extends core.ResourceArgs {
  email: string | core.StringOut;
}

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

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

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

  constructor(name: string, args?: EmailIdentityArgs) {
    super(name, "aws_ses_email_identity", args);
  }

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