import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TaskManagementWorktypeFlowOnattributechangeRuleConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#id TaskManagementWorktypeFlowOnattributechangeRule#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 name of the Rule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#name TaskManagementWorktypeFlowOnattributechangeRule#name} */ readonly name: string; /** * The Worktype ID of the Rule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#worktype_id TaskManagementWorktypeFlowOnattributechangeRule#worktype_id} */ readonly worktypeId: string; /** * condition block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#condition TaskManagementWorktypeFlowOnattributechangeRule#condition} */ readonly condition: TaskManagementWorktypeFlowOnattributechangeRuleCondition; } export interface TaskManagementWorktypeFlowOnattributechangeRuleCondition { /** * The name of the workitem attribute whose change will be evaluated as part of the rule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#attribute TaskManagementWorktypeFlowOnattributechangeRule#attribute} */ readonly attribute: string; /** * The new value of the attribute. If the attribute is updated to this value this part of the condition will be met. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#new_value TaskManagementWorktypeFlowOnattributechangeRule#new_value} */ readonly newValue: string; /** * The old value of the attribute. If the attribute was updated from this value this part of the condition will be met. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#old_value TaskManagementWorktypeFlowOnattributechangeRule#old_value} */ readonly oldValue?: string; } export declare function taskManagementWorktypeFlowOnattributechangeRuleConditionToTerraform(struct?: TaskManagementWorktypeFlowOnattributechangeRuleConditionOutputReference | TaskManagementWorktypeFlowOnattributechangeRuleCondition): any; export declare function taskManagementWorktypeFlowOnattributechangeRuleConditionToHclTerraform(struct?: TaskManagementWorktypeFlowOnattributechangeRuleConditionOutputReference | TaskManagementWorktypeFlowOnattributechangeRuleCondition): any; export declare class TaskManagementWorktypeFlowOnattributechangeRuleConditionOutputReference 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(): TaskManagementWorktypeFlowOnattributechangeRuleCondition | undefined; set internalValue(value: TaskManagementWorktypeFlowOnattributechangeRuleCondition | undefined); private _attribute?; get attribute(): string; set attribute(value: string); get attributeInput(): string; private _newValue?; get newValue(): string; set newValue(value: string); get newValueInput(): string; private _oldValue?; get oldValue(): string; set oldValue(value: string); resetOldValue(): void; get oldValueInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule genesyscloud_task_management_worktype_flow_onattributechange_rule} */ export declare class TaskManagementWorktypeFlowOnattributechangeRule extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_task_management_worktype_flow_onattributechange_rule"; /** * Generates CDKTF code for importing a TaskManagementWorktypeFlowOnattributechangeRule 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 TaskManagementWorktypeFlowOnattributechangeRule to import * @param importFromId The id of the existing TaskManagementWorktypeFlowOnattributechangeRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_worktype_flow_onattributechange_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TaskManagementWorktypeFlowOnattributechangeRule 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/task_management_worktype_flow_onattributechange_rule genesyscloud_task_management_worktype_flow_onattributechange_rule} 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 TaskManagementWorktypeFlowOnattributechangeRuleConfig */ constructor(scope: Construct, id: string, config: TaskManagementWorktypeFlowOnattributechangeRuleConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _worktypeId?; get worktypeId(): string; set worktypeId(value: string); get worktypeIdInput(): string; private _condition; get condition(): TaskManagementWorktypeFlowOnattributechangeRuleConditionOutputReference; putCondition(value: TaskManagementWorktypeFlowOnattributechangeRuleCondition): void; get conditionInput(): TaskManagementWorktypeFlowOnattributechangeRuleCondition; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }