published on Sunday, Oct 25, 2026 by Aten Security
Thothpublished on Sunday, Oct 25, 2026 by Aten Security
Create DataHandling Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataHandling(name: string, args?: DataHandlingArgs, opts?: CustomResourceOptions);@overload
def DataHandling(resource_name: str,
args: Optional[DataHandlingArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DataHandling(resource_name: str,
opts: Optional[ResourceOptions] = None,
prompts: Optional[str] = None,
tool_arguments: Optional[str] = None)func NewDataHandling(ctx *Context, name string, args *DataHandlingArgs, opts ...ResourceOption) (*DataHandling, error)public DataHandling(string name, DataHandlingArgs? args = null, CustomResourceOptions? opts = null)
public DataHandling(String name, DataHandlingArgs args)
public DataHandling(String name, DataHandlingArgs args, CustomResourceOptions options)
type: thoth:governance:DataHandling
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_data_handling" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DataHandlingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DataHandlingArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DataHandlingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataHandlingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataHandlingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataHandlingResource = new Thoth.Governance.DataHandling("dataHandlingResource", new()
{
Prompts = "string",
ToolArguments = "string",
});
example, err := governance.NewDataHandling(ctx, "dataHandlingResource", &governance.DataHandlingArgs{
Prompts: pulumi.String("string"),
ToolArguments: pulumi.String("string"),
})
resource "thoth_governance_data_handling" "dataHandlingResource" {
lifecycle {
create_before_destroy = true
}
prompts = "string"
tool_arguments = "string"
}
var dataHandlingResource = new DataHandling("dataHandlingResource", DataHandlingArgs.builder()
.prompts("string")
.toolArguments("string")
.build());
data_handling_resource = thoth.governance.DataHandling("dataHandlingResource",
prompts="string",
tool_arguments="string")
const dataHandlingResource = new thoth.governance.DataHandling("dataHandlingResource", {
prompts: "string",
toolArguments: "string",
});
type: thoth:governance:DataHandling
properties:
prompts: string
toolArguments: string
DataHandling Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataHandling resource accepts the following input properties:
- Prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - Tool
Arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- Prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - Tool
Arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tool_
arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts String
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tool
Arguments String - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tool
Arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts str
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tool_
arguments str - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts String
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tool
Arguments String - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataHandling resource produces the following output properties:
Look up Existing DataHandling Resource
Get an existing DataHandling resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DataHandlingState, opts?: CustomResourceOptions): DataHandling@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
prompts: Optional[str] = None,
tenant_id: Optional[str] = None,
tool_arguments: Optional[str] = None) -> DataHandlingfunc GetDataHandling(ctx *Context, name string, id IDInput, state *DataHandlingState, opts ...ResourceOption) (*DataHandling, error)public static DataHandling Get(string name, Input<string> id, DataHandlingState? state, CustomResourceOptions? opts = null)public static DataHandling get(String name, Output<String> id, DataHandlingState state, CustomResourceOptions options)resources: _: type: thoth:governance:DataHandling get: id: ${id}import {
to = thoth_governance_data_handling.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - Tenant
Id string - Tenant ID resolved from provider configuration.
- Tool
Arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- Prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - Tenant
Id string - Tenant ID resolved from provider configuration.
- Tool
Arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tenant_
id string - Tenant ID resolved from provider configuration.
- tool_
arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts String
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tenant
Id String - Tenant ID resolved from provider configuration.
- tool
Arguments String - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts string
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tenant
Id string - Tenant ID resolved from provider configuration.
- tool
Arguments string - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts str
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tenant_
id str - Tenant ID resolved from provider configuration.
- tool_
arguments str - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
- prompts String
- Prompts, model output and tool results:
store,hashthe whole text with a workspace-keyed HMAC, ordrop. Defaultdrop. - tenant
Id String - Tenant ID resolved from provider configuration.
- tool
Arguments String - Tool arguments:
storeas sent,hasheach value with a workspace-keyed HMAC (argument names kept),redacteach value to its type, ordrop. Defaulthash.
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
Thothpublished on Sunday, Oct 25, 2026 by Aten Security