import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TatInvokerConfig extends cdktf.TerraformMetaArguments { /** * Remote command ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#command_id TatInvoker#command_id} */ readonly commandId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#id TatInvoker#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; /** * ID of the instance bound to the trigger. Up to 100 IDs are allowed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#instance_ids TatInvoker#instance_ids} */ readonly instanceIds: string[]; /** * Invoker name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#name TatInvoker#name} */ readonly name: string; /** * Custom parameters of the command. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#parameters TatInvoker#parameters} */ readonly parameters?: string; /** * Invoker type. It can only be `SCHEDULE` (recurring invokers). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#type TatInvoker#type} */ readonly type: string; /** * The user who executes the command. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#username TatInvoker#username} */ readonly username?: string; /** * schedule_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#schedule_settings TatInvoker#schedule_settings} */ readonly scheduleSettings?: TatInvokerScheduleSettings; } export interface TatInvokerScheduleSettings { /** * The next execution time of the invoker. This field is required if Policy is ONCE. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#invoke_time TatInvoker#invoke_time} */ readonly invokeTime?: string; /** * Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#policy TatInvoker#policy} */ readonly policy: string; /** * Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#recurrence TatInvoker#recurrence} */ readonly recurrence?: string; } export declare function tatInvokerScheduleSettingsToTerraform(struct?: TatInvokerScheduleSettingsOutputReference | TatInvokerScheduleSettings): any; export declare function tatInvokerScheduleSettingsToHclTerraform(struct?: TatInvokerScheduleSettingsOutputReference | TatInvokerScheduleSettings): any; export declare class TatInvokerScheduleSettingsOutputReference 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(): TatInvokerScheduleSettings | undefined; set internalValue(value: TatInvokerScheduleSettings | undefined); private _invokeTime?; get invokeTime(): string; set invokeTime(value: string); resetInvokeTime(): void; get invokeTimeInput(): string; private _policy?; get policy(): string; set policy(value: string); get policyInput(): string; private _recurrence?; get recurrence(): string; set recurrence(value: string); resetRecurrence(): void; get recurrenceInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker tencentcloud_tat_invoker} */ export declare class TatInvoker extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tat_invoker"; /** * Generates CDKTF code for importing a TatInvoker 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 TatInvoker to import * @param importFromId The id of the existing TatInvoker that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tat_invoker#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TatInvoker 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/tat_invoker tencentcloud_tat_invoker} 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 TatInvokerConfig */ constructor(scope: Construct, id: string, config: TatInvokerConfig); private _commandId?; get commandId(): string; set commandId(value: string); get commandIdInput(): string; get createdTime(): any; get enable(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceIds?; get instanceIds(): string[]; set instanceIds(value: string[]); get instanceIdsInput(): string[]; get invokerId(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _parameters?; get parameters(): string; set parameters(value: string); resetParameters(): void; get parametersInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; get updatedTime(): any; private _username?; get username(): string; set username(value: string); resetUsername(): void; get usernameInput(): string; private _scheduleSettings; get scheduleSettings(): TatInvokerScheduleSettingsOutputReference; putScheduleSettings(value: TatInvokerScheduleSettings): void; resetScheduleSettings(): void; get scheduleSettingsInput(): TatInvokerScheduleSettings; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }