import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RoutingEmailDomainConfig extends cdktf.TerraformMetaArguments { /** * The ID of the custom SMTP server integration to use when sending outbound emails from this domain. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain#custom_smtp_server_id RoutingEmailDomain#custom_smtp_server_id} */ readonly customSmtpServerId?: string; /** * Unique Id of the domain such as: 'example.com'. If subdomain is true, the Genesys Cloud regional domain is appended. Changing the domain_id attribute will cause the routing_email_domain to be dropped and recreated with a new ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain#domain_id RoutingEmailDomain#domain_id} */ readonly domainId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain#id RoutingEmailDomain#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * The custom MAIL FROM domain. This must be a subdomain of your email domain * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain#mail_from_domain RoutingEmailDomain#mail_from_domain} */ readonly mailFromDomain?: string; /** * Indicates if this a Genesys Cloud sub-domain. If true, then the appropriate DNS records are created for sending/receiving email. Changing the subdomain attribute will cause the routing_email_domain to be dropped and recreated with a new ID. Defaults to `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain#subdomain RoutingEmailDomain#subdomain} */ readonly subdomain?: boolean | cdktf.IResolvable; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain genesyscloud_routing_email_domain} */ export declare class RoutingEmailDomain extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_routing_email_domain"; /** * Generates CDKTF code for importing a RoutingEmailDomain resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the RoutingEmailDomain to import * @param importFromId The id of the existing RoutingEmailDomain that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the RoutingEmailDomain to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/routing_email_domain genesyscloud_routing_email_domain} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options RoutingEmailDomainConfig */ constructor(scope: Construct, id: string, config: RoutingEmailDomainConfig); private _customSmtpServerId?; get customSmtpServerId(): string; set customSmtpServerId(value: string); resetCustomSmtpServerId(): void; get customSmtpServerIdInput(): string; private _domainId?; get domainId(): string; set domainId(value: string); get domainIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _mailFromDomain?; get mailFromDomain(): string; set mailFromDomain(value: string); resetMailFromDomain(): void; get mailFromDomainInput(): string; private _subdomain?; get subdomain(): boolean | cdktf.IResolvable; set subdomain(value: boolean | cdktf.IResolvable); resetSubdomain(): void; get subdomainInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }