import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ItAutomationTaskConfig extends cdktf.TerraformMetaArguments { /** * Access control configuration for the task (Public, Shared). Cannot be configured when the task belongs to a task group; inherited from the group instead. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#access_type ItAutomationTask#access_type} */ readonly accessType?: string; /** * Additional RTR Response file IDs (65 characters) to be available for the task. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#additional_file_ids ItAutomationTask#additional_file_ids} */ readonly additionalFileIds?: string[]; /** * Assigned user IDs of the task, when access_type is Shared. Required when access_type is 'Shared' and the task is not part of a task group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#assigned_user_ids ItAutomationTask#assigned_user_ids} */ readonly assignedUserIds?: string[]; /** * Description of the task. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#description ItAutomationTask#description} */ readonly description?: string; /** * Linux script content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#linux_script_content ItAutomationTask#linux_script_content} */ readonly linuxScriptContent?: string; /** * Linux RTR Response script ID (65 characters) to be used by the task. This option disables linux_script_content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#linux_script_file_id ItAutomationTask#linux_script_file_id} */ readonly linuxScriptFileId?: string; /** * Linux script language (bash, python). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#linux_script_language ItAutomationTask#linux_script_language} */ readonly linuxScriptLanguage?: string; /** * Mac script content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#mac_script_content ItAutomationTask#mac_script_content} */ readonly macScriptContent?: string; /** * Mac RTR Response script ID (65 characters) to be used by the task. This option disables mac_script_content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#mac_script_file_id ItAutomationTask#mac_script_file_id} */ readonly macScriptFileId?: string; /** * Mac script language (zsh, python). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#mac_script_language ItAutomationTask#mac_script_language} */ readonly macScriptLanguage?: string; /** * Name of the task. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#name ItAutomationTask#name} */ readonly name: string; /** * OSQuery string. This option will disable the task script options. See https://osquery.readthedocs.io/en/stable for syntax. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#os_query ItAutomationTask#os_query} */ readonly osQuery?: string; /** * Column configuration for the script output. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#script_columns ItAutomationTask#script_columns} */ readonly scriptColumns?: ItAutomationTaskScriptColumns; /** * Target of the task in FQL string syntax. See https://falconpy.io/Usage/Falcon-Query-Language.html. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#target ItAutomationTask#target} */ readonly target?: string; /** * Type of task (action, query). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#type ItAutomationTask#type} */ readonly type: string; /** * Verification conditions for action tasks to determine success (only valid for action tasks). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#verification_condition ItAutomationTask#verification_condition} */ readonly verificationCondition?: ItAutomationTaskVerificationCondition[] | cdktf.IResolvable; /** * Windows script content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#windows_script_content ItAutomationTask#windows_script_content} */ readonly windowsScriptContent?: string; /** * Windows RTR Response script ID (65 characters) to be used by the task. This option disables windows_script_content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#windows_script_file_id ItAutomationTask#windows_script_file_id} */ readonly windowsScriptFileId?: string; /** * Windows script language (powershell, python). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#windows_script_language ItAutomationTask#windows_script_language} */ readonly windowsScriptLanguage?: string; } export interface ItAutomationTaskScriptColumnsColumns { /** * Name of the column. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#name ItAutomationTask#name} */ readonly name: string; } export declare function itAutomationTaskScriptColumnsColumnsToTerraform(struct?: ItAutomationTaskScriptColumnsColumns | cdktf.IResolvable): any; export declare function itAutomationTaskScriptColumnsColumnsToHclTerraform(struct?: ItAutomationTaskScriptColumnsColumns | cdktf.IResolvable): any; export declare class ItAutomationTaskScriptColumnsColumnsOutputReference 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(): ItAutomationTaskScriptColumnsColumns | cdktf.IResolvable | undefined; set internalValue(value: ItAutomationTaskScriptColumnsColumns | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string; } export declare class ItAutomationTaskScriptColumnsColumnsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ItAutomationTaskScriptColumnsColumns[] | 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): ItAutomationTaskScriptColumnsColumnsOutputReference; } export interface ItAutomationTaskScriptColumns { /** * List of column definitions * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#columns ItAutomationTask#columns} */ readonly columns: ItAutomationTaskScriptColumnsColumns[] | cdktf.IResolvable; /** * Delimiter character for script columns. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#delimiter ItAutomationTask#delimiter} */ readonly delimiter: string; /** * Whether to group results by column values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#group_results ItAutomationTask#group_results} */ readonly groupResults?: boolean | cdktf.IResolvable; } export declare function itAutomationTaskScriptColumnsToTerraform(struct?: ItAutomationTaskScriptColumns | cdktf.IResolvable): any; export declare function itAutomationTaskScriptColumnsToHclTerraform(struct?: ItAutomationTaskScriptColumns | cdktf.IResolvable): any; export declare class ItAutomationTaskScriptColumnsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): ItAutomationTaskScriptColumns | cdktf.IResolvable | undefined; set internalValue(value: ItAutomationTaskScriptColumns | cdktf.IResolvable | undefined); private _columns; get columns(): ItAutomationTaskScriptColumnsColumnsList; putColumns(value: ItAutomationTaskScriptColumnsColumns[] | cdktf.IResolvable): void; get columnsInput(): any; private _delimiter?; get delimiter(): string; set delimiter(value: string); get delimiterInput(): string; private _groupResults?; get groupResults(): boolean | cdktf.IResolvable; set groupResults(value: boolean | cdktf.IResolvable); resetGroupResults(): void; get groupResultsInput(): any; } export interface ItAutomationTaskVerificationConditionStatements { /** * Comparison operator for verification. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#data_comparator ItAutomationTask#data_comparator} */ readonly dataComparator: string; /** * Type of data being compared. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#data_type ItAutomationTask#data_type} */ readonly dataType: string; /** * Key to compare (e.g., script_output). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#key ItAutomationTask#key} */ readonly key: string; /** * ID of the task to query for results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#task_id ItAutomationTask#task_id} */ readonly taskId: string; /** * Value to compare against. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#value ItAutomationTask#value} */ readonly value: string; } export declare function itAutomationTaskVerificationConditionStatementsToTerraform(struct?: ItAutomationTaskVerificationConditionStatements | cdktf.IResolvable): any; export declare function itAutomationTaskVerificationConditionStatementsToHclTerraform(struct?: ItAutomationTaskVerificationConditionStatements | cdktf.IResolvable): any; export declare class ItAutomationTaskVerificationConditionStatementsOutputReference 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(): ItAutomationTaskVerificationConditionStatements | cdktf.IResolvable | undefined; set internalValue(value: ItAutomationTaskVerificationConditionStatements | cdktf.IResolvable | undefined); private _dataComparator?; get dataComparator(): string; set dataComparator(value: string); get dataComparatorInput(): string; private _dataType?; get dataType(): string; set dataType(value: string); get dataTypeInput(): string; private _key?; get key(): string; set key(value: string); get keyInput(): string; private _taskId?; get taskId(): string; set taskId(value: string); get taskIdInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class ItAutomationTaskVerificationConditionStatementsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ItAutomationTaskVerificationConditionStatements[] | 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): ItAutomationTaskVerificationConditionStatementsOutputReference; } export interface ItAutomationTaskVerificationCondition { /** * Logical operator for the statements (AND, OR). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#operator ItAutomationTask#operator} */ readonly operator: string; /** * List of verification statements * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#statements ItAutomationTask#statements} */ readonly statements: ItAutomationTaskVerificationConditionStatements[] | cdktf.IResolvable; } export declare function itAutomationTaskVerificationConditionToTerraform(struct?: ItAutomationTaskVerificationCondition | cdktf.IResolvable): any; export declare function itAutomationTaskVerificationConditionToHclTerraform(struct?: ItAutomationTaskVerificationCondition | cdktf.IResolvable): any; export declare class ItAutomationTaskVerificationConditionOutputReference 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(): ItAutomationTaskVerificationCondition | cdktf.IResolvable | undefined; set internalValue(value: ItAutomationTaskVerificationCondition | cdktf.IResolvable | undefined); private _operator?; get operator(): string; set operator(value: string); get operatorInput(): string; private _statements; get statements(): ItAutomationTaskVerificationConditionStatementsList; putStatements(value: ItAutomationTaskVerificationConditionStatements[] | cdktf.IResolvable): void; get statementsInput(): any; } export declare class ItAutomationTaskVerificationConditionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ItAutomationTaskVerificationCondition[] | 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): ItAutomationTaskVerificationConditionOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task crowdstrike_it_automation_task} */ export declare class ItAutomationTask extends cdktf.TerraformResource { static readonly tfResourceType = "crowdstrike_it_automation_task"; /** * Generates CDKTF code for importing a ItAutomationTask 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 ItAutomationTask to import * @param importFromId The id of the existing ItAutomationTask that should be imported. Refer to the {@link https://registry.terraform.io/providers/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ItAutomationTask 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/crowdstrike/crowdstrike/0.0.53/docs/resources/it_automation_task crowdstrike_it_automation_task} 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 ItAutomationTaskConfig */ constructor(scope: Construct, id: string, config: ItAutomationTaskConfig); private _accessType?; get accessType(): string; set accessType(value: string); resetAccessType(): void; get accessTypeInput(): string; private _additionalFileIds?; get additionalFileIds(): string[]; set additionalFileIds(value: string[]); resetAdditionalFileIds(): void; get additionalFileIdsInput(): string[]; private _assignedUserIds?; get assignedUserIds(): string[]; set assignedUserIds(value: string[]); resetAssignedUserIds(): void; get assignedUserIdsInput(): string[]; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; get effectiveAccessType(): any; get effectiveAssignedUserIds(): any; get id(): any; get lastUpdated(): any; private _linuxScriptContent?; get linuxScriptContent(): string; set linuxScriptContent(value: string); resetLinuxScriptContent(): void; get linuxScriptContentInput(): string; private _linuxScriptFileId?; get linuxScriptFileId(): string; set linuxScriptFileId(value: string); resetLinuxScriptFileId(): void; get linuxScriptFileIdInput(): string; private _linuxScriptLanguage?; get linuxScriptLanguage(): string; set linuxScriptLanguage(value: string); resetLinuxScriptLanguage(): void; get linuxScriptLanguageInput(): string; private _macScriptContent?; get macScriptContent(): string; set macScriptContent(value: string); resetMacScriptContent(): void; get macScriptContentInput(): string; private _macScriptFileId?; get macScriptFileId(): string; set macScriptFileId(value: string); resetMacScriptFileId(): void; get macScriptFileIdInput(): string; private _macScriptLanguage?; get macScriptLanguage(): string; set macScriptLanguage(value: string); resetMacScriptLanguage(): void; get macScriptLanguageInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _osQuery?; get osQuery(): string; set osQuery(value: string); resetOsQuery(): void; get osQueryInput(): string; private _scriptColumns; get scriptColumns(): ItAutomationTaskScriptColumnsOutputReference; putScriptColumns(value: ItAutomationTaskScriptColumns): void; resetScriptColumns(): void; get scriptColumnsInput(): any; private _target?; get target(): string; set target(value: string); resetTarget(): void; get targetInput(): string; get taskGroupId(): any; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _verificationCondition; get verificationCondition(): ItAutomationTaskVerificationConditionList; putVerificationCondition(value: ItAutomationTaskVerificationCondition[] | cdktf.IResolvable): void; resetVerificationCondition(): void; get verificationConditionInput(): any; private _windowsScriptContent?; get windowsScriptContent(): string; set windowsScriptContent(value: string); resetWindowsScriptContent(): void; get windowsScriptContentInput(): string; private _windowsScriptFileId?; get windowsScriptFileId(): string; set windowsScriptFileId(value: string); resetWindowsScriptFileId(): void; get windowsScriptFileIdInput(): string; private _windowsScriptLanguage?; get windowsScriptLanguage(): string; set windowsScriptLanguage(value: string); resetWindowsScriptLanguage(): void; get windowsScriptLanguageInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }