published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
provider_name: Optional[str] = None,
config_json: Optional[str] = None,
enabled: Optional[bool] = None,
last_error: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None)func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: thoth:browser:Provider
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_browser_provider" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- 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 ProviderArgs
- 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 ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- 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 providerResource = new Thoth.Browser.Provider("providerResource", new()
{
ProviderName = "string",
ConfigJson = "string",
Enabled = false,
LastError = "string",
Name = "string",
Status = "string",
});
example, err := browser.NewProvider(ctx, "providerResource", &browser.ProviderArgs{
ProviderName: pulumi.String("string"),
ConfigJson: pulumi.String("string"),
Enabled: pulumi.Bool(false),
LastError: pulumi.String("string"),
Name: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "thoth_browser_provider" "providerResource" {
lifecycle {
create_before_destroy = true
}
provider_name = "string"
config_json = "string"
enabled = false
last_error = "string"
name = "string"
status = "string"
}
var providerResource = new com.pulumi.thoth.browser.Provider("providerResource", com.pulumi.thoth.browser.ProviderArgs.builder()
.providerName("string")
.configJson("string")
.enabled(false)
.lastError("string")
.name("string")
.status("string")
.build());
provider_resource = thoth.browser.Provider("providerResource",
provider_name="string",
config_json="string",
enabled=False,
last_error="string",
name="string",
status="string")
const providerResource = new thoth.browser.Provider("providerResource", {
providerName: "string",
configJson: "string",
enabled: false,
lastError: "string",
name: "string",
status: "string",
});
type: thoth:browser:Provider
properties:
configJson: string
enabled: false
lastError: string
name: string
providerName: string
status: string
Provider 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 Provider resource accepts the following input properties:
- Provider
Name string - Browser provider slug: chrome, firefox, safari, island.
- Config
Json string - Provider-specific config JSON object.
- Enabled bool
- Enable provider integration.
- Last
Error string - Last integration error string.
- Name string
- Display name for this provider integration.
- Status string
- Provider status hint (connected, degraded, disconnected).
- Provider
Name string - Browser provider slug: chrome, firefox, safari, island.
- Config
Json string - Provider-specific config JSON object.
- Enabled bool
- Enable provider integration.
- Last
Error string - Last integration error string.
- Name string
- Display name for this provider integration.
- Status string
- Provider status hint (connected, degraded, disconnected).
- provider_
name string - Browser provider slug: chrome, firefox, safari, island.
- config_
json string - Provider-specific config JSON object.
- enabled bool
- Enable provider integration.
- last_
error string - Last integration error string.
- name string
- Display name for this provider integration.
- status string
- Provider status hint (connected, degraded, disconnected).
- provider
Name String - Browser provider slug: chrome, firefox, safari, island.
- config
Json String - Provider-specific config JSON object.
- enabled Boolean
- Enable provider integration.
- last
Error String - Last integration error string.
- name String
- Display name for this provider integration.
- status String
- Provider status hint (connected, degraded, disconnected).
- provider
Name string - Browser provider slug: chrome, firefox, safari, island.
- config
Json string - Provider-specific config JSON object.
- enabled boolean
- Enable provider integration.
- last
Error string - Last integration error string.
- name string
- Display name for this provider integration.
- status string
- Provider status hint (connected, degraded, disconnected).
- provider_
name str - Browser provider slug: chrome, firefox, safari, island.
- config_
json str - Provider-specific config JSON object.
- enabled bool
- Enable provider integration.
- last_
error str - Last integration error string.
- name str
- Display name for this provider integration.
- status str
- Provider status hint (connected, degraded, disconnected).
- provider
Name String - Browser provider slug: chrome, firefox, safari, island.
- config
Json String - Provider-specific config JSON object.
- enabled Boolean
- Enable provider integration.
- last
Error String - Last integration error string.
- name String
- Display name for this provider integration.
- status String
- Provider status hint (connected, degraded, disconnected).
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- created_
at string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- tenant_
id string - Tenant ID from provider config.
- updated_
at string - Last update timestamp.
- created_
at str - Creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- tenant_
id str - Tenant ID from provider config.
- updated_
at str - Last update timestamp.
Look up Existing Provider Resource
Get an existing Provider 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?: ProviderState, opts?: CustomResourceOptions): Provider@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_json: Optional[str] = None,
created_at: Optional[str] = None,
enabled: Optional[bool] = None,
last_error: Optional[str] = None,
name: Optional[str] = None,
provider_name: Optional[str] = None,
status: Optional[str] = None,
tenant_id: Optional[str] = None,
updated_at: Optional[str] = None) -> Providerfunc GetProvider(ctx *Context, name string, id IDInput, state *ProviderState, opts ...ResourceOption) (*Provider, error)public static Provider Get(string name, Input<string> id, ProviderState? state, CustomResourceOptions? opts = null)public static Provider get(String name, Output<String> id, ProviderState state, CustomResourceOptions options)resources: _: type: thoth:browser:Provider get: id: ${id}import {
to = thoth_browser_provider.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.
- Config
Json string - Provider-specific config JSON object.
- Created
At string - Creation timestamp.
- Enabled bool
- Enable provider integration.
- Last
Error string - Last integration error string.
- Name string
- Display name for this provider integration.
- Provider
Name string - Browser provider slug: chrome, firefox, safari, island.
- Status string
- Provider status hint (connected, degraded, disconnected).
- Tenant
Id string - Tenant ID from provider config.
- Updated
At string - Last update timestamp.
- Config
Json string - Provider-specific config JSON object.
- Created
At string - Creation timestamp.
- Enabled bool
- Enable provider integration.
- Last
Error string - Last integration error string.
- Name string
- Display name for this provider integration.
- Provider
Name string - Browser provider slug: chrome, firefox, safari, island.
- Status string
- Provider status hint (connected, degraded, disconnected).
- Tenant
Id string - Tenant ID from provider config.
- Updated
At string - Last update timestamp.
- config_
json string - Provider-specific config JSON object.
- created_
at string - Creation timestamp.
- enabled bool
- Enable provider integration.
- last_
error string - Last integration error string.
- name string
- Display name for this provider integration.
- provider_
name string - Browser provider slug: chrome, firefox, safari, island.
- status string
- Provider status hint (connected, degraded, disconnected).
- tenant_
id string - Tenant ID from provider config.
- updated_
at string - Last update timestamp.
- config
Json String - Provider-specific config JSON object.
- created
At String - Creation timestamp.
- enabled Boolean
- Enable provider integration.
- last
Error String - Last integration error string.
- name String
- Display name for this provider integration.
- provider
Name String - Browser provider slug: chrome, firefox, safari, island.
- status String
- Provider status hint (connected, degraded, disconnected).
- tenant
Id String - Tenant ID from provider config.
- updated
At String - Last update timestamp.
- config
Json string - Provider-specific config JSON object.
- created
At string - Creation timestamp.
- enabled boolean
- Enable provider integration.
- last
Error string - Last integration error string.
- name string
- Display name for this provider integration.
- provider
Name string - Browser provider slug: chrome, firefox, safari, island.
- status string
- Provider status hint (connected, degraded, disconnected).
- tenant
Id string - Tenant ID from provider config.
- updated
At string - Last update timestamp.
- config_
json str - Provider-specific config JSON object.
- created_
at str - Creation timestamp.
- enabled bool
- Enable provider integration.
- last_
error str - Last integration error string.
- name str
- Display name for this provider integration.
- provider_
name str - Browser provider slug: chrome, firefox, safari, island.
- status str
- Provider status hint (connected, degraded, disconnected).
- tenant_
id str - Tenant ID from provider config.
- updated_
at str - Last update timestamp.
- config
Json String - Provider-specific config JSON object.
- created
At String - Creation timestamp.
- enabled Boolean
- Enable provider integration.
- last
Error String - Last integration error string.
- name String
- Display name for this provider integration.
- provider
Name String - Browser provider slug: chrome, firefox, safari, island.
- status String
- Provider status hint (connected, degraded, disconnected).
- tenant
Id String - Tenant ID from provider config.
- updated
At String - Last update timestamp.
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