import * as cdk from "aws-cdk-lib"; import * as r53 from "aws-cdk-lib/aws-route53"; import * as constructs from "constructs"; interface Props { /** * The domain name to register in SES. */ domainName: string; /** * Hosted Zone to attach DNS records. If not given it must * be performed manually. */ hostedZone?: r53.IHostedZone; /** * Include or exclude verification TXT record. * * CNAME records for DKIM tokens will still be created. * * Route 53 will not allow multiple TXT records with the same name. * This option allows to "opt-out" of the records and leaving * the caller responsible of handling it. * * @default true */ includeVerificationRecord?: boolean; /** * Default configuration set for emails sent from this domain. */ defaultConfigurationSetName?: string; /** * Configuration for an SPF record. * * @default - an SPF record with a default value is created. */ spfRecord?: { /** * Whether to create the record or not. * * @default true */ include?: boolean; /** * The value of the SPF record. * * NOTE: The value will be enclosed in double quotes for you. * * @default "v=spf1 include:amazonses.com ~all" */ value?: string; }; } export declare class SesDomain extends constructs.Construct { route53RecordSets: cdk.IResolvable; verificationToken: string; constructor(scope: constructs.Construct, id: string, props: Props); } export {};