import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SesBatchSendEmailConfig extends cdktf.TerraformMetaArguments { /** * Whether to add an ad tag. 0: Add no tag; 1: Add before the subject; 2: Add after the subject. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#ad_location SesBatchSendEmail#ad_location} */ readonly adLocation?: number; /** * Sender address. Enter a sender address such as noreply@mail.qcloud.com. To display the sender name, enter the address in the following format:sender <email address>. For example:Tencent Cloud team <noreply@mail.qcloud.com>. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#from_email_address SesBatchSendEmail#from_email_address} */ readonly fromEmailAddress: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#id SesBatchSendEmail#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; /** * Recipient group ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#receiver_id SesBatchSendEmail#receiver_id} */ readonly receiverId: number; /** * Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will fail to be sent. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#reply_to_addresses SesBatchSendEmail#reply_to_addresses} */ readonly replyToAddresses?: string; /** * Email subject. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#subject SesBatchSendEmail#subject} */ readonly subject: string; /** * Task type. 1: immediate; 2: scheduled; 3: recurring. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#task_type SesBatchSendEmail#task_type} */ readonly taskType: number; /** * Unsubscribe link option. 0: Do not add unsubscribe link; 1: English 2: Simplified Chinese; 3: Traditional Chinese; 4: Spanish; 5: French; 6: German; 7: Japanese; 8: Korean; 9: Arabic; 10: Thai. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#unsubscribe SesBatchSendEmail#unsubscribe} */ readonly unsubscribe?: string; /** * attachments block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#attachments SesBatchSendEmail#attachments} */ readonly attachments?: SesBatchSendEmailAttachments[] | cdktf.IResolvable; /** * cycle_param block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#cycle_param SesBatchSendEmail#cycle_param} */ readonly cycleParam?: SesBatchSendEmailCycleParam; /** * template block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#template SesBatchSendEmail#template} */ readonly template?: SesBatchSendEmailTemplate; /** * timed_param block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#timed_param SesBatchSendEmail#timed_param} */ readonly timedParam?: SesBatchSendEmailTimedParam; } export interface SesBatchSendEmailAttachments { /** * Base64-encoded attachment content. You can send attachments of up to 4 MB in the total size.Note: The TencentCloud API supports a request packet of up to 8 MB in size, and the size of the attachmentcontent will increase by 1.5 times after Base64 encoding. Therefore, you need to keep the total size of allattachments below 4 MB. If the entire request exceeds 8 MB, the API will return an error. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#content SesBatchSendEmail#content} */ readonly content: string; /** * Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types.](https://www.tencentcloud.com/document/product/1084/42373?has_map=1). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#file_name SesBatchSendEmail#file_name} */ readonly fileName: string; } export declare function sesBatchSendEmailAttachmentsToTerraform(struct?: SesBatchSendEmailAttachments | cdktf.IResolvable): any; export declare function sesBatchSendEmailAttachmentsToHclTerraform(struct?: SesBatchSendEmailAttachments | cdktf.IResolvable): any; export declare class SesBatchSendEmailAttachmentsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): SesBatchSendEmailAttachments | cdktf.IResolvable | undefined; set internalValue(value: SesBatchSendEmailAttachments | cdktf.IResolvable | undefined); private _content?; get content(): string; set content(value: string); get contentInput(): string; private _fileName?; get fileName(): string; set fileName(value: string); get fileNameInput(): string; } export declare class SesBatchSendEmailAttachmentsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: SesBatchSendEmailAttachments[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): SesBatchSendEmailAttachmentsOutputReference; } export interface SesBatchSendEmailCycleParam { /** * Start time of the task. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#begin_time SesBatchSendEmail#begin_time} */ readonly beginTime: string; /** * Task recurrence in hours. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#interval_time SesBatchSendEmail#interval_time} */ readonly intervalTime: number; /** * Specifies whether to end the cycle. This parameter is used to update the task. Valid values: 0: No; 1: Yes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#term_cycle SesBatchSendEmail#term_cycle} */ readonly termCycle?: number; } export declare function sesBatchSendEmailCycleParamToTerraform(struct?: SesBatchSendEmailCycleParamOutputReference | SesBatchSendEmailCycleParam): any; export declare function sesBatchSendEmailCycleParamToHclTerraform(struct?: SesBatchSendEmailCycleParamOutputReference | SesBatchSendEmailCycleParam): any; export declare class SesBatchSendEmailCycleParamOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SesBatchSendEmailCycleParam | undefined; set internalValue(value: SesBatchSendEmailCycleParam | undefined); private _beginTime?; get beginTime(): string; set beginTime(value: string); get beginTimeInput(): string; private _intervalTime?; get intervalTime(): number; set intervalTime(value: number); get intervalTimeInput(): number; private _termCycle?; get termCycle(): number; set termCycle(value: number); resetTermCycle(): void; get termCycleInput(): number; } export interface SesBatchSendEmailTemplate { /** * Variable parameters in the template. Please use json.dump to format the JSON object into a string type.The object is a set of key-value pairs. Each key denotes a variable, which is represented by {{key}}. The key will be replaced with the correspondingvalue (represented by {{value}}) when sending the email.Note: The parameter value cannot be data of a complex type such as HTML.Example: {name:xxx,age:xx}. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#template_data SesBatchSendEmail#template_data} */ readonly templateData: string; /** * Template ID. If you do not have any template, please create one. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#template_id SesBatchSendEmail#template_id} */ readonly templateId: number; } export declare function sesBatchSendEmailTemplateToTerraform(struct?: SesBatchSendEmailTemplateOutputReference | SesBatchSendEmailTemplate): any; export declare function sesBatchSendEmailTemplateToHclTerraform(struct?: SesBatchSendEmailTemplateOutputReference | SesBatchSendEmailTemplate): any; export declare class SesBatchSendEmailTemplateOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SesBatchSendEmailTemplate | undefined; set internalValue(value: SesBatchSendEmailTemplate | undefined); private _templateData?; get templateData(): string; set templateData(value: string); get templateDataInput(): string; private _templateId?; get templateId(): number; set templateId(value: number); get templateIdInput(): number; } export interface SesBatchSendEmailTimedParam { /** * Start time of a scheduled sending task. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#begin_time SesBatchSendEmail#begin_time} */ readonly beginTime: string; } export declare function sesBatchSendEmailTimedParamToTerraform(struct?: SesBatchSendEmailTimedParamOutputReference | SesBatchSendEmailTimedParam): any; export declare function sesBatchSendEmailTimedParamToHclTerraform(struct?: SesBatchSendEmailTimedParamOutputReference | SesBatchSendEmailTimedParam): any; export declare class SesBatchSendEmailTimedParamOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SesBatchSendEmailTimedParam | undefined; set internalValue(value: SesBatchSendEmailTimedParam | undefined); private _beginTime?; get beginTime(): string; set beginTime(value: string); get beginTimeInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email tencentcloud_ses_batch_send_email} */ export declare class SesBatchSendEmail extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_ses_batch_send_email"; /** * Generates CDKTF code for importing a SesBatchSendEmail 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 SesBatchSendEmail to import * @param importFromId The id of the existing SesBatchSendEmail that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SesBatchSendEmail 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/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ses_batch_send_email tencentcloud_ses_batch_send_email} 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 SesBatchSendEmailConfig */ constructor(scope: Construct, id: string, config: SesBatchSendEmailConfig); private _adLocation?; get adLocation(): number; set adLocation(value: number); resetAdLocation(): void; get adLocationInput(): number; private _fromEmailAddress?; get fromEmailAddress(): string; set fromEmailAddress(value: string); get fromEmailAddressInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _receiverId?; get receiverId(): number; set receiverId(value: number); get receiverIdInput(): number; private _replyToAddresses?; get replyToAddresses(): string; set replyToAddresses(value: string); resetReplyToAddresses(): void; get replyToAddressesInput(): string; private _subject?; get subject(): string; set subject(value: string); get subjectInput(): string; private _taskType?; get taskType(): number; set taskType(value: number); get taskTypeInput(): number; private _unsubscribe?; get unsubscribe(): string; set unsubscribe(value: string); resetUnsubscribe(): void; get unsubscribeInput(): string; private _attachments; get attachments(): SesBatchSendEmailAttachmentsList; putAttachments(value: SesBatchSendEmailAttachments[] | cdktf.IResolvable): void; resetAttachments(): void; get attachmentsInput(): any; private _cycleParam; get cycleParam(): SesBatchSendEmailCycleParamOutputReference; putCycleParam(value: SesBatchSendEmailCycleParam): void; resetCycleParam(): void; get cycleParamInput(): SesBatchSendEmailCycleParam; private _template; get template(): SesBatchSendEmailTemplateOutputReference; putTemplate(value: SesBatchSendEmailTemplate): void; resetTemplate(): void; get templateInput(): SesBatchSendEmailTemplate; private _timedParam; get timedParam(): SesBatchSendEmailTimedParamOutputReference; putTimedParam(value: SesBatchSendEmailTimedParam): void; resetTimedParam(): void; get timedParamInput(): SesBatchSendEmailTimedParam; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }