import * as core from "@terrascript/core"; export interface DomainIdentityArgs extends core.ResourceArgs { /** * (Required) The domain name to assign to SES */ domain: string | core.StringOut; } export class DomainIdentity extends core.Resource { /** * The ARN of the domain identity. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The domain name to assign to SES */ @core.attr(String) public domain!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * A code which when added to the domain as a TXT record */ @core.attr(String, { computed: true }) public verificationToken!: string | core.StringOut; constructor(name: string, args?: DomainIdentityArgs) { super(name, "aws_ses_domain_identity", args); } public override getNamespace(): string { return "aws_ses"; } }