import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MonitorAlarmNoticeConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#id MonitorAlarmNotice#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; /** * Notification template name within 60. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#name MonitorAlarmNotice#name} */ readonly name: string; /** * Notification language zh-CN=Chinese en-US=English. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#notice_language MonitorAlarmNotice#notice_language} */ readonly noticeLanguage: string; /** * Alarm notification type ALARM=Notification not restored OK=Notification restored ALL. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#notice_type MonitorAlarmNotice#notice_type} */ readonly noticeType: string; /** * cls_notices block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#cls_notices MonitorAlarmNotice#cls_notices} */ readonly clsNotices?: MonitorAlarmNoticeClsNotices[] | cdktf.IResolvable; /** * url_notices block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#url_notices MonitorAlarmNotice#url_notices} */ readonly urlNotices?: MonitorAlarmNoticeUrlNotices[] | cdktf.IResolvable; /** * user_notices block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#user_notices MonitorAlarmNotice#user_notices} */ readonly userNotices?: MonitorAlarmNoticeUserNotices[] | cdktf.IResolvable; } export interface MonitorAlarmNoticeClsNotices { /** * Start-stop status, can not be transmitted, default enabled. 0= Disabled, 1= enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#enable MonitorAlarmNotice#enable} */ readonly enable?: number; /** * Log collection Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#log_set_id MonitorAlarmNotice#log_set_id} */ readonly logSetId: string; /** * Regional. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#region MonitorAlarmNotice#region} */ readonly region: string; /** * Theme Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#topic_id MonitorAlarmNotice#topic_id} */ readonly topicId: string; } export declare function monitorAlarmNoticeClsNoticesToTerraform(struct?: MonitorAlarmNoticeClsNotices | cdktf.IResolvable): any; export declare function monitorAlarmNoticeClsNoticesToHclTerraform(struct?: MonitorAlarmNoticeClsNotices | cdktf.IResolvable): any; export declare class MonitorAlarmNoticeClsNoticesOutputReference 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(): MonitorAlarmNoticeClsNotices | cdktf.IResolvable | undefined; set internalValue(value: MonitorAlarmNoticeClsNotices | cdktf.IResolvable | undefined); private _enable?; get enable(): number; set enable(value: number); resetEnable(): void; get enableInput(): number; private _logSetId?; get logSetId(): string; set logSetId(value: string); get logSetIdInput(): string; private _region?; get region(): string; set region(value: string); get regionInput(): string; private _topicId?; get topicId(): string; set topicId(value: string); get topicIdInput(): string; } export declare class MonitorAlarmNoticeClsNoticesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitorAlarmNoticeClsNotices[] | 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): MonitorAlarmNoticeClsNoticesOutputReference; } export interface MonitorAlarmNoticeUrlNotices { /** * Notification End Time Seconds at the start of a day. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#end_time MonitorAlarmNotice#end_time} */ readonly endTime?: number; /** * If passed verification `0` is no, `1` is yes. Default `0`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#is_valid MonitorAlarmNotice#is_valid} */ readonly isValid?: number; /** * Notification Start Time Number of seconds at the start of a day. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#start_time MonitorAlarmNotice#start_time} */ readonly startTime?: number; /** * Callback URL (limited to 256 characters). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#url MonitorAlarmNotice#url} */ readonly url: string; /** * Verification code. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#validation_code MonitorAlarmNotice#validation_code} */ readonly validationCode?: string; /** * Notification period 1-7 indicates Monday to Sunday. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#weekday MonitorAlarmNotice#weekday} */ readonly weekday?: number[]; } export declare function monitorAlarmNoticeUrlNoticesToTerraform(struct?: MonitorAlarmNoticeUrlNotices | cdktf.IResolvable): any; export declare function monitorAlarmNoticeUrlNoticesToHclTerraform(struct?: MonitorAlarmNoticeUrlNotices | cdktf.IResolvable): any; export declare class MonitorAlarmNoticeUrlNoticesOutputReference 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(): MonitorAlarmNoticeUrlNotices | cdktf.IResolvable | undefined; set internalValue(value: MonitorAlarmNoticeUrlNotices | cdktf.IResolvable | undefined); private _endTime?; get endTime(): number; set endTime(value: number); resetEndTime(): void; get endTimeInput(): number; private _isValid?; get isValid(): number; set isValid(value: number); resetIsValid(): void; get isValidInput(): number; private _startTime?; get startTime(): number; set startTime(value: number); resetStartTime(): void; get startTimeInput(): number; private _url?; get url(): string; set url(value: string); get urlInput(): string; private _validationCode?; get validationCode(): string; set validationCode(value: string); resetValidationCode(): void; get validationCodeInput(): string; private _weekday?; get weekday(): number[]; set weekday(value: number[]); resetWeekday(): void; get weekdayInput(): number[]; } export declare class MonitorAlarmNoticeUrlNoticesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitorAlarmNoticeUrlNotices[] | 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): MonitorAlarmNoticeUrlNoticesOutputReference; } export interface MonitorAlarmNoticeUserNotices { /** * The number of seconds since the notification end time 00:00:00 (value range 0-86399). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#end_time MonitorAlarmNotice#end_time} */ readonly endTime: number; /** * User group ID list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#group_ids MonitorAlarmNotice#group_ids} */ readonly groupIds?: number[]; /** * Contact notification required 0= No 1= Yes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#need_phone_arrive_notice MonitorAlarmNotice#need_phone_arrive_notice} */ readonly needPhoneArriveNotice?: number; /** * Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#notice_way MonitorAlarmNotice#notice_way} */ readonly noticeWay: string[]; /** * Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#phone_call_type MonitorAlarmNotice#phone_call_type} */ readonly phoneCallType?: string; /** * Number of seconds between polls (value range: 60-900). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#phone_circle_interval MonitorAlarmNotice#phone_circle_interval} */ readonly phoneCircleInterval?: number; /** * Number of telephone polls (value range: 1-5). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#phone_circle_times MonitorAlarmNotice#phone_circle_times} */ readonly phoneCircleTimes?: number; /** * Number of seconds between calls in a polling session (value range: 60-900). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#phone_inner_interval MonitorAlarmNotice#phone_inner_interval} */ readonly phoneInnerInterval?: number; /** * Telephone polling list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#phone_order MonitorAlarmNotice#phone_order} */ readonly phoneOrder?: number[]; /** * Recipient Type USER=User GROUP=User Group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#receiver_type MonitorAlarmNotice#receiver_type} */ readonly receiverType: string; /** * The number of seconds since the notification start time 00:00:00 (value range 0-86399). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#start_time MonitorAlarmNotice#start_time} */ readonly startTime: number; /** * User UID List. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#user_ids MonitorAlarmNotice#user_ids} */ readonly userIds?: number[]; /** * Notification period 1-7 indicates Monday to Sunday. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#weekday MonitorAlarmNotice#weekday} */ readonly weekday?: number[]; } export declare function monitorAlarmNoticeUserNoticesToTerraform(struct?: MonitorAlarmNoticeUserNotices | cdktf.IResolvable): any; export declare function monitorAlarmNoticeUserNoticesToHclTerraform(struct?: MonitorAlarmNoticeUserNotices | cdktf.IResolvable): any; export declare class MonitorAlarmNoticeUserNoticesOutputReference 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(): MonitorAlarmNoticeUserNotices | cdktf.IResolvable | undefined; set internalValue(value: MonitorAlarmNoticeUserNotices | cdktf.IResolvable | undefined); private _endTime?; get endTime(): number; set endTime(value: number); get endTimeInput(): number; private _groupIds?; get groupIds(): number[]; set groupIds(value: number[]); resetGroupIds(): void; get groupIdsInput(): number[]; private _needPhoneArriveNotice?; get needPhoneArriveNotice(): number; set needPhoneArriveNotice(value: number); resetNeedPhoneArriveNotice(): void; get needPhoneArriveNoticeInput(): number; private _noticeWay?; get noticeWay(): string[]; set noticeWay(value: string[]); get noticeWayInput(): string[]; private _phoneCallType?; get phoneCallType(): string; set phoneCallType(value: string); resetPhoneCallType(): void; get phoneCallTypeInput(): string; private _phoneCircleInterval?; get phoneCircleInterval(): number; set phoneCircleInterval(value: number); resetPhoneCircleInterval(): void; get phoneCircleIntervalInput(): number; private _phoneCircleTimes?; get phoneCircleTimes(): number; set phoneCircleTimes(value: number); resetPhoneCircleTimes(): void; get phoneCircleTimesInput(): number; private _phoneInnerInterval?; get phoneInnerInterval(): number; set phoneInnerInterval(value: number); resetPhoneInnerInterval(): void; get phoneInnerIntervalInput(): number; private _phoneOrder?; get phoneOrder(): number[]; set phoneOrder(value: number[]); resetPhoneOrder(): void; get phoneOrderInput(): number[]; private _receiverType?; get receiverType(): string; set receiverType(value: string); get receiverTypeInput(): string; private _startTime?; get startTime(): number; set startTime(value: number); get startTimeInput(): number; private _userIds?; get userIds(): number[]; set userIds(value: number[]); resetUserIds(): void; get userIdsInput(): number[]; private _weekday?; get weekday(): number[]; set weekday(value: number[]); resetWeekday(): void; get weekdayInput(): number[]; } export declare class MonitorAlarmNoticeUserNoticesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitorAlarmNoticeUserNotices[] | 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): MonitorAlarmNoticeUserNoticesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice tencentcloud_monitor_alarm_notice} */ export declare class MonitorAlarmNotice extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_monitor_alarm_notice"; /** * Generates CDKTF code for importing a MonitorAlarmNotice 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 MonitorAlarmNotice to import * @param importFromId The id of the existing MonitorAlarmNotice that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_alarm_notice#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MonitorAlarmNotice 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/monitor_alarm_notice tencentcloud_monitor_alarm_notice} 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 MonitorAlarmNoticeConfig */ constructor(scope: Construct, id: string, config: MonitorAlarmNoticeConfig); get ampConsumerId(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get isPreset(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _noticeLanguage?; get noticeLanguage(): string; set noticeLanguage(value: string); get noticeLanguageInput(): string; private _noticeType?; get noticeType(): string; set noticeType(value: string); get noticeTypeInput(): string; get policyIds(): any; get updatedAt(): any; get updatedBy(): any; private _clsNotices; get clsNotices(): MonitorAlarmNoticeClsNoticesList; putClsNotices(value: MonitorAlarmNoticeClsNotices[] | cdktf.IResolvable): void; resetClsNotices(): void; get clsNoticesInput(): any; private _urlNotices; get urlNotices(): MonitorAlarmNoticeUrlNoticesList; putUrlNotices(value: MonitorAlarmNoticeUrlNotices[] | cdktf.IResolvable): void; resetUrlNotices(): void; get urlNoticesInput(): any; private _userNotices; get userNotices(): MonitorAlarmNoticeUserNoticesList; putUserNotices(value: MonitorAlarmNoticeUserNotices[] | cdktf.IResolvable): void; resetUserNotices(): void; get userNoticesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }