import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface FlowConfig extends cdktf.TerraformMetaArguments { /** * YAML file path for flow configuration. Note: Changing the flow name will result in the creation of a new flow with a new GUID, while the original flow will persist in your org. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#filepath Flow#filepath} */ readonly filepath: string; /** * Will perform a force unlock on an architect flow before beginning the publication process. NOTE: The force unlock publishes the 'draft' * architect flow and then publishes the flow named in this resource. This mirrors the behavior found in the archy CLI tool. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#force_unlock Flow#force_unlock} */ readonly forceUnlock?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#id Flow#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; /** * Flow Name used for export purposes. Note: The 'substitutions' block should be used to set/change 'name' and any other fields in the yaml file * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#name Flow#name} */ readonly name?: string; /** * A substitution is a key value pair where the key is the value you want to replace, and the value is the value to substitute in its place. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#substitutions Flow#substitutions} */ readonly substitutions?: { [key: string]: string; }; /** * Flow Type used for export purposes. Note: The 'substitutions' block should be used to set/change 'type' and any other fields in the yaml file * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#type Flow#type} */ readonly type?: string; /** * A hash value used to trigger resource updates. When this value changes, the resource will be refreshed. Use this to hash external values such as environment variables, outputs from other resources, or timestamps that should initiate an update. By default, `file_content_hash` hashes the content of the file specified by the filepath field to trigger updates. This field can be used as an alternative for greater control over the update triggers. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#update_trigger_hash Flow#update_trigger_hash} */ readonly updateTriggerHash?: string; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow genesyscloud_flow} */ export declare class Flow extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_flow"; /** * Generates CDKTF code for importing a Flow 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 Flow to import * @param importFromId The id of the existing Flow that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/flow#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Flow 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/flow genesyscloud_flow} 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 FlowConfig */ constructor(scope: Construct, id: string, config: FlowConfig); get fileContentHash(): any; private _filepath?; get filepath(): string; set filepath(value: string); get filepathInput(): string; private _forceUnlock?; get forceUnlock(): boolean | cdktf.IResolvable; set forceUnlock(value: boolean | cdktf.IResolvable); resetForceUnlock(): void; get forceUnlockInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _substitutions?; get substitutions(): { [key: string]: string; }; set substitutions(value: { [key: string]: string; }); resetSubstitutions(): void; get substitutionsInput(): { [key: string]: string; }; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string; private _updateTriggerHash?; get updateTriggerHash(): string; set updateTriggerHash(value: string); resetUpdateTriggerHash(): void; get updateTriggerHashInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }