import * as core from "@terrascript/core"; export interface DomainMailFromArgs extends core.ResourceArgs { /** * (Optional) The action that you want Amazon SES to take if it cannot successfully read the required M * X record when you send an email. Defaults to `UseDefaultValue`. See the [SES API documentation](http * s://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityMailFromDomain.html) for more informa * tion. */ behaviorOnMxFailure?: string | core.StringOut; /** * (Required) Verified domain name or email identity to generate DKIM tokens for. */ domain: string | core.StringOut; /** * (Required) Subdomain (of above domain) which is to be used as MAIL FROM address (Required for DMARC * validation) */ mailFromDomain: string | core.StringOut; } export class DomainMailFrom extends core.Resource { /** * (Optional) The action that you want Amazon SES to take if it cannot successfully read the required M * X record when you send an email. Defaults to `UseDefaultValue`. See the [SES API documentation](http * s://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityMailFromDomain.html) for more informa * tion. */ @core.attr(String) public behaviorOnMxFailure?: string | core.StringOut; /** * (Required) Verified domain name or email identity to generate DKIM tokens for. */ @core.attr(String) public domain!: string | core.StringOut; /** * The domain name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Subdomain (of above domain) which is to be used as MAIL FROM address (Required for DMARC * validation) */ @core.attr(String) public mailFromDomain!: string | core.StringOut; constructor(name: string, args?: DomainMailFromArgs) { super(name, "aws_ses_domain_mail_from", args); } public override getNamespace(): string { return "aws_ses"; } }