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

export interface TemplateArgs extends core.ResourceArgs {
  html?: string | core.StringOut;

  name: string | core.StringOut;

  subject?: string | core.StringOut;

  text?: string | core.StringOut;
}

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

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

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

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

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

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

  constructor(name: string, args?: TemplateArgs) {
    super(name, "aws_ses_template", args);
  }

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