published on Sunday, Oct 25, 2026 by Aten Security
Thothpublished on Sunday, Oct 25, 2026 by Aten Security
Create SiemDecisionStream Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SiemDecisionStream(name: string, args?: SiemDecisionStreamArgs, opts?: CustomResourceOptions);@overload
def SiemDecisionStream(resource_name: str,
args: Optional[SiemDecisionStreamArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SiemDecisionStream(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_sample_rate: Optional[float] = None,
decisions: Optional[str] = None,
enabled: Optional[bool] = None)func NewSiemDecisionStream(ctx *Context, name string, args *SiemDecisionStreamArgs, opts ...ResourceOption) (*SiemDecisionStream, error)public SiemDecisionStream(string name, SiemDecisionStreamArgs? args = null, CustomResourceOptions? opts = null)
public SiemDecisionStream(String name, SiemDecisionStreamArgs args)
public SiemDecisionStream(String name, SiemDecisionStreamArgs args, CustomResourceOptions options)
type: thoth:governance:SiemDecisionStream
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_siem_decision_stream" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SiemDecisionStreamArgs
- 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 SiemDecisionStreamArgs
- 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 SiemDecisionStreamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SiemDecisionStreamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SiemDecisionStreamArgs
- 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 siemDecisionStreamResource = new Thoth.Governance.SiemDecisionStream("siemDecisionStreamResource", new()
{
AllowSampleRate = 0.0,
Decisions = "string",
Enabled = false,
});
example, err := governance.NewSiemDecisionStream(ctx, "siemDecisionStreamResource", &governance.SiemDecisionStreamArgs{
AllowSampleRate: pulumi.Float64(0),
Decisions: pulumi.String("string"),
Enabled: pulumi.Bool(false),
})
resource "thoth_governance_siem_decision_stream" "siemDecisionStreamResource" {
lifecycle {
create_before_destroy = true
}
allow_sample_rate = 0
decisions = "string"
enabled = false
}
var siemDecisionStreamResource = new SiemDecisionStream("siemDecisionStreamResource", SiemDecisionStreamArgs.builder()
.allowSampleRate(0.0)
.decisions("string")
.enabled(false)
.build());
siem_decision_stream_resource = thoth.governance.SiemDecisionStream("siemDecisionStreamResource",
allow_sample_rate=float(0),
decisions="string",
enabled=False)
const siemDecisionStreamResource = new thoth.governance.SiemDecisionStream("siemDecisionStreamResource", {
allowSampleRate: 0,
decisions: "string",
enabled: false,
});
type: thoth:governance:SiemDecisionStream
properties:
allowSampleRate: 0
decisions: string
enabled: false
SiemDecisionStream 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 SiemDecisionStream resource accepts the following input properties:
- Allow
Sample doubleRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - Decisions string
nonAllowsends holds and blocks (default);allsends every decision.- Enabled bool
- Whether decisions are sent. Default
true.
- Allow
Sample float64Rate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - Decisions string
nonAllowsends holds and blocks (default);allsends every decision.- Enabled bool
- Whether decisions are sent. Default
true.
- allow_
sample_ numberrate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions string
nonAllowsends holds and blocks (default);allsends every decision.- enabled bool
- Whether decisions are sent. Default
true.
- allow
Sample DoubleRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions String
nonAllowsends holds and blocks (default);allsends every decision.- enabled Boolean
- Whether decisions are sent. Default
true.
- allow
Sample numberRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions string
nonAllowsends holds and blocks (default);allsends every decision.- enabled boolean
- Whether decisions are sent. Default
true.
- allow_
sample_ floatrate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions str
nonAllowsends holds and blocks (default);allsends every decision.- enabled bool
- Whether decisions are sent. Default
true.
- allow
Sample NumberRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions String
nonAllowsends holds and blocks (default);allsends every decision.- enabled Boolean
- Whether decisions are sent. Default
true.
Outputs
All input properties are implicitly available as output properties. Additionally, the SiemDecisionStream resource produces the following output properties:
Look up Existing SiemDecisionStream Resource
Get an existing SiemDecisionStream 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?: SiemDecisionStreamState, opts?: CustomResourceOptions): SiemDecisionStream@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_sample_rate: Optional[float] = None,
decisions: Optional[str] = None,
enabled: Optional[bool] = None,
tenant_id: Optional[str] = None) -> SiemDecisionStreamfunc GetSiemDecisionStream(ctx *Context, name string, id IDInput, state *SiemDecisionStreamState, opts ...ResourceOption) (*SiemDecisionStream, error)public static SiemDecisionStream Get(string name, Input<string> id, SiemDecisionStreamState? state, CustomResourceOptions? opts = null)public static SiemDecisionStream get(String name, Output<String> id, SiemDecisionStreamState state, CustomResourceOptions options)resources: _: type: thoth:governance:SiemDecisionStream get: id: ${id}import {
to = thoth_governance_siem_decision_stream.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.
- Allow
Sample doubleRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - Decisions string
nonAllowsends holds and blocks (default);allsends every decision.- Enabled bool
- Whether decisions are sent. Default
true. - Tenant
Id string - Tenant ID resolved from provider configuration.
- Allow
Sample float64Rate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - Decisions string
nonAllowsends holds and blocks (default);allsends every decision.- Enabled bool
- Whether decisions are sent. Default
true. - Tenant
Id string - Tenant ID resolved from provider configuration.
- allow_
sample_ numberrate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions string
nonAllowsends holds and blocks (default);allsends every decision.- enabled bool
- Whether decisions are sent. Default
true. - tenant_
id string - Tenant ID resolved from provider configuration.
- allow
Sample DoubleRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions String
nonAllowsends holds and blocks (default);allsends every decision.- enabled Boolean
- Whether decisions are sent. Default
true. - tenant
Id String - Tenant ID resolved from provider configuration.
- allow
Sample numberRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions string
nonAllowsends holds and blocks (default);allsends every decision.- enabled boolean
- Whether decisions are sent. Default
true. - tenant
Id string - Tenant ID resolved from provider configuration.
- allow_
sample_ floatrate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions str
nonAllowsends holds and blocks (default);allsends every decision.- enabled bool
- Whether decisions are sent. Default
true. - tenant_
id str - Tenant ID resolved from provider configuration.
- allow
Sample NumberRate - With
decisions = "all", the share ofALLOWdecisions sent, from 0 to 1 (default 1). Holds and blocks are never sampled. - decisions String
nonAllowsends holds and blocks (default);allsends every decision.- enabled Boolean
- Whether decisions are sent. Default
true. - tenant
Id String - Tenant ID resolved from provider configuration.
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