published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create WebhookTest Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebhookTest(name: string, args?: WebhookTestArgs, opts?: CustomResourceOptions);@overload
def WebhookTest(resource_name: str,
args: Optional[WebhookTestArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def WebhookTest(resource_name: str,
opts: Optional[ResourceOptions] = None,
trigger: Optional[str] = None)func NewWebhookTest(ctx *Context, name string, args *WebhookTestArgs, opts ...ResourceOption) (*WebhookTest, error)public WebhookTest(string name, WebhookTestArgs? args = null, CustomResourceOptions? opts = null)
public WebhookTest(String name, WebhookTestArgs args)
public WebhookTest(String name, WebhookTestArgs args, CustomResourceOptions options)
type: thoth:governance:WebhookTest
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_webhook_test" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WebhookTestArgs
- 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 WebhookTestArgs
- 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 WebhookTestArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebhookTestArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebhookTestArgs
- 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 webhookTestResource = new Thoth.Governance.WebhookTest("webhookTestResource", new()
{
Trigger = "string",
});
example, err := governance.NewWebhookTest(ctx, "webhookTestResource", &governance.WebhookTestArgs{
Trigger: pulumi.String("string"),
})
resource "thoth_governance_webhook_test" "webhookTestResource" {
lifecycle {
create_before_destroy = true
}
trigger = "string"
}
var webhookTestResource = new WebhookTest("webhookTestResource", WebhookTestArgs.builder()
.trigger("string")
.build());
webhook_test_resource = thoth.governance.WebhookTest("webhookTestResource", trigger="string")
const webhookTestResource = new thoth.governance.WebhookTest("webhookTestResource", {trigger: "string"});
type: thoth:governance:WebhookTest
properties:
trigger: string
WebhookTest 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 WebhookTest resource accepts the following input properties:
- Trigger string
- Change this value to force a re-test.
- Trigger string
- Change this value to force a re-test.
- trigger string
- Change this value to force a re-test.
- trigger String
- Change this value to force a re-test.
- trigger string
- Change this value to force a re-test.
- trigger str
- Change this value to force a re-test.
- trigger String
- Change this value to force a re-test.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebhookTest resource produces the following output properties:
- Error string
- Error string returned by webhook test endpoint.
- Http
Status int - HTTP status returned by webhook endpoint (if available).
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Webhook test status (delivered or failed).
- Tenant
Id string - Tenant ID from provider configuration.
- Tested
At string - Timestamp when the test was executed.
- Error string
- Error string returned by webhook test endpoint.
- Http
Status int - HTTP status returned by webhook endpoint (if available).
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Webhook test status (delivered or failed).
- Tenant
Id string - Tenant ID from provider configuration.
- Tested
At string - Timestamp when the test was executed.
- error string
- Error string returned by webhook test endpoint.
- http_
status number - HTTP status returned by webhook endpoint (if available).
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Webhook test status (delivered or failed).
- tenant_
id string - Tenant ID from provider configuration.
- tested_
at string - Timestamp when the test was executed.
- error String
- Error string returned by webhook test endpoint.
- http
Status Integer - HTTP status returned by webhook endpoint (if available).
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Webhook test status (delivered or failed).
- tenant
Id String - Tenant ID from provider configuration.
- tested
At String - Timestamp when the test was executed.
- error string
- Error string returned by webhook test endpoint.
- http
Status number - HTTP status returned by webhook endpoint (if available).
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Webhook test status (delivered or failed).
- tenant
Id string - Tenant ID from provider configuration.
- tested
At string - Timestamp when the test was executed.
- error str
- Error string returned by webhook test endpoint.
- http_
status int - HTTP status returned by webhook endpoint (if available).
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Webhook test status (delivered or failed).
- tenant_
id str - Tenant ID from provider configuration.
- tested_
at str - Timestamp when the test was executed.
- error String
- Error string returned by webhook test endpoint.
- http
Status Number - HTTP status returned by webhook endpoint (if available).
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Webhook test status (delivered or failed).
- tenant
Id String - Tenant ID from provider configuration.
- tested
At String - Timestamp when the test was executed.
Look up Existing WebhookTest Resource
Get an existing WebhookTest 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?: WebhookTestState, opts?: CustomResourceOptions): WebhookTest@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
error: Optional[str] = None,
http_status: Optional[int] = None,
status: Optional[str] = None,
tenant_id: Optional[str] = None,
tested_at: Optional[str] = None,
trigger: Optional[str] = None) -> WebhookTestfunc GetWebhookTest(ctx *Context, name string, id IDInput, state *WebhookTestState, opts ...ResourceOption) (*WebhookTest, error)public static WebhookTest Get(string name, Input<string> id, WebhookTestState? state, CustomResourceOptions? opts = null)public static WebhookTest get(String name, Output<String> id, WebhookTestState state, CustomResourceOptions options)resources: _: type: thoth:governance:WebhookTest get: id: ${id}import {
to = thoth_governance_webhook_test.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.
- Error string
- Error string returned by webhook test endpoint.
- Http
Status int - HTTP status returned by webhook endpoint (if available).
- Status string
- Webhook test status (delivered or failed).
- Tenant
Id string - Tenant ID from provider configuration.
- Tested
At string - Timestamp when the test was executed.
- Trigger string
- Change this value to force a re-test.
- Error string
- Error string returned by webhook test endpoint.
- Http
Status int - HTTP status returned by webhook endpoint (if available).
- Status string
- Webhook test status (delivered or failed).
- Tenant
Id string - Tenant ID from provider configuration.
- Tested
At string - Timestamp when the test was executed.
- Trigger string
- Change this value to force a re-test.
- error string
- Error string returned by webhook test endpoint.
- http_
status number - HTTP status returned by webhook endpoint (if available).
- status string
- Webhook test status (delivered or failed).
- tenant_
id string - Tenant ID from provider configuration.
- tested_
at string - Timestamp when the test was executed.
- trigger string
- Change this value to force a re-test.
- error String
- Error string returned by webhook test endpoint.
- http
Status Integer - HTTP status returned by webhook endpoint (if available).
- status String
- Webhook test status (delivered or failed).
- tenant
Id String - Tenant ID from provider configuration.
- tested
At String - Timestamp when the test was executed.
- trigger String
- Change this value to force a re-test.
- error string
- Error string returned by webhook test endpoint.
- http
Status number - HTTP status returned by webhook endpoint (if available).
- status string
- Webhook test status (delivered or failed).
- tenant
Id string - Tenant ID from provider configuration.
- tested
At string - Timestamp when the test was executed.
- trigger string
- Change this value to force a re-test.
- error str
- Error string returned by webhook test endpoint.
- http_
status int - HTTP status returned by webhook endpoint (if available).
- status str
- Webhook test status (delivered or failed).
- tenant_
id str - Tenant ID from provider configuration.
- tested_
at str - Timestamp when the test was executed.
- trigger str
- Change this value to force a re-test.
- error String
- Error string returned by webhook test endpoint.
- http
Status Number - HTTP status returned by webhook endpoint (if available).
- status String
- Webhook test status (delivered or failed).
- tenant
Id String - Tenant ID from provider configuration.
- tested
At String - Timestamp when the test was executed.
- trigger String
- Change this value to force a re-test.
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
published on Thursday, Jul 23, 2026 by Aten Security