import * as core from "@terrascript/core"; export interface TemplateArgs extends core.ResourceArgs { /** * (Optional) The HTML body of the email. Must be less than 500KB in size, including both the text and * HTML parts. */ html?: string | core.StringOut; /** * (Required) The name of the template. Cannot exceed 64 characters. You will refer to this name when y * ou send email. */ name: string | core.StringOut; /** * (Optional) The subject line of the email. */ subject?: string | core.StringOut; /** * (Optional) The email body that will be visible to recipients whose email clients do not display HTML * . Must be less than 500KB in size, including both the text and HTML parts. */ text?: string | core.StringOut; } export class Template extends core.Resource { /** * The ARN of the SES template */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The HTML body of the email. Must be less than 500KB in size, including both the text and * HTML parts. */ @core.attr(String) public html?: string | core.StringOut; /** * The name of the SES template */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the template. Cannot exceed 64 characters. You will refer to this name when y * ou send email. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) The subject line of the email. */ @core.attr(String) public subject?: string | core.StringOut; /** * (Optional) The email body that will be visible to recipients whose email clients do not display HTML * . Must be less than 500KB in size, including both the text and HTML parts. */ @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"; } }