published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create PackAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackAssignment(name: string, args: PackAssignmentArgs, opts?: CustomResourceOptions);@overload
def PackAssignment(resource_name: str,
args: PackAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PackAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
pack_id: Optional[str] = None,
approval_policy_id: Optional[str] = None,
critical_threshold: Optional[float] = None,
delegation_boost: Optional[float] = None,
environment: Optional[str] = None,
mismatch_boost: Optional[float] = None,
overrides_json: Optional[str] = None,
trust_floor: Optional[float] = None)func NewPackAssignment(ctx *Context, name string, args PackAssignmentArgs, opts ...ResourceOption) (*PackAssignment, error)public PackAssignment(string name, PackAssignmentArgs args, CustomResourceOptions? opts = null)
public PackAssignment(String name, PackAssignmentArgs args)
public PackAssignment(String name, PackAssignmentArgs args, CustomResourceOptions options)
type: thoth:governance:PackAssignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_pack_assignment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PackAssignmentArgs
- 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 PackAssignmentArgs
- 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 PackAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackAssignmentArgs
- 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 packAssignmentResource = new Thoth.Governance.PackAssignment("packAssignmentResource", new()
{
AgentId = "string",
PackId = "string",
ApprovalPolicyId = "string",
CriticalThreshold = 0,
DelegationBoost = 0,
Environment = "string",
MismatchBoost = 0,
OverridesJson = "string",
TrustFloor = 0,
});
example, err := governance.NewPackAssignment(ctx, "packAssignmentResource", &governance.PackAssignmentArgs{
AgentId: pulumi.String("string"),
PackId: pulumi.String("string"),
ApprovalPolicyId: pulumi.String("string"),
CriticalThreshold: pulumi.Float64(0),
DelegationBoost: pulumi.Float64(0),
Environment: pulumi.String("string"),
MismatchBoost: pulumi.Float64(0),
OverridesJson: pulumi.String("string"),
TrustFloor: pulumi.Float64(0),
})
resource "thoth_governance_pack_assignment" "packAssignmentResource" {
lifecycle {
create_before_destroy = true
}
agent_id = "string"
pack_id = "string"
approval_policy_id = "string"
critical_threshold = 0
delegation_boost = 0
environment = "string"
mismatch_boost = 0
overrides_json = "string"
trust_floor = 0
}
var packAssignmentResource = new PackAssignment("packAssignmentResource", PackAssignmentArgs.builder()
.agentId("string")
.packId("string")
.approvalPolicyId("string")
.criticalThreshold(0.0)
.delegationBoost(0.0)
.environment("string")
.mismatchBoost(0.0)
.overridesJson("string")
.trustFloor(0.0)
.build());
pack_assignment_resource = thoth.governance.PackAssignment("packAssignmentResource",
agent_id="string",
pack_id="string",
approval_policy_id="string",
critical_threshold=float(0),
delegation_boost=float(0),
environment="string",
mismatch_boost=float(0),
overrides_json="string",
trust_floor=float(0))
const packAssignmentResource = new thoth.governance.PackAssignment("packAssignmentResource", {
agentId: "string",
packId: "string",
approvalPolicyId: "string",
criticalThreshold: 0,
delegationBoost: 0,
environment: "string",
mismatchBoost: 0,
overridesJson: "string",
trustFloor: 0,
});
type: thoth:governance:PackAssignment
properties:
agentId: string
approvalPolicyId: string
criticalThreshold: 0
delegationBoost: 0
environment: string
mismatchBoost: 0
overridesJson: string
packId: string
trustFloor: 0
PackAssignment 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 PackAssignment resource accepts the following input properties:
- Agent
Id string - Target agent ID.
- Pack
Id string - Compliance pack identifier.
- Approval
Policy stringId - Approval policy ID for pack application.
- Critical
Threshold double - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- Delegation
Boost double - Deterministic boost for delegation risk signals (0-100).
- Environment string
- Environment: dev or prod.
- Mismatch
Boost double - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- Overrides
Json string - Pack override JSON object.
- Trust
Floor double - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- Agent
Id string - Target agent ID.
- Pack
Id string - Compliance pack identifier.
- Approval
Policy stringId - Approval policy ID for pack application.
- Critical
Threshold float64 - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- Delegation
Boost float64 - Deterministic boost for delegation risk signals (0-100).
- Environment string
- Environment: dev or prod.
- Mismatch
Boost float64 - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- Overrides
Json string - Pack override JSON object.
- Trust
Floor float64 - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent_
id string - Target agent ID.
- pack_
id string - Compliance pack identifier.
- approval_
policy_ stringid - Approval policy ID for pack application.
- critical_
threshold number - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation_
boost number - Deterministic boost for delegation risk signals (0-100).
- environment string
- Environment: dev or prod.
- mismatch_
boost number - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides_
json string - Pack override JSON object.
- trust_
floor number - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent
Id String - Target agent ID.
- pack
Id String - Compliance pack identifier.
- approval
Policy StringId - Approval policy ID for pack application.
- critical
Threshold Double - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation
Boost Double - Deterministic boost for delegation risk signals (0-100).
- environment String
- Environment: dev or prod.
- mismatch
Boost Double - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides
Json String - Pack override JSON object.
- trust
Floor Double - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent
Id string - Target agent ID.
- pack
Id string - Compliance pack identifier.
- approval
Policy stringId - Approval policy ID for pack application.
- critical
Threshold number - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation
Boost number - Deterministic boost for delegation risk signals (0-100).
- environment string
- Environment: dev or prod.
- mismatch
Boost number - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides
Json string - Pack override JSON object.
- trust
Floor number - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent_
id str - Target agent ID.
- pack_
id str - Compliance pack identifier.
- approval_
policy_ strid - Approval policy ID for pack application.
- critical_
threshold float - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation_
boost float - Deterministic boost for delegation risk signals (0-100).
- environment str
- Environment: dev or prod.
- mismatch_
boost float - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides_
json str - Pack override JSON object.
- trust_
floor float - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent
Id String - Target agent ID.
- pack
Id String - Compliance pack identifier.
- approval
Policy StringId - Approval policy ID for pack application.
- critical
Threshold Number - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation
Boost Number - Deterministic boost for delegation risk signals (0-100).
- environment String
- Environment: dev or prod.
- mismatch
Boost Number - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides
Json String - Pack override JSON object.
- trust
Floor Number - Ignore low-confidence purpose/delegation signals below this floor (0-1).
Outputs
All input properties are implicitly available as output properties. Additionally, the PackAssignment resource produces the following output properties:
- Applied
At string - Apply timestamp.
- Applied
By string - Principal that applied the pack.
- Id string
- The provider-assigned unique ID for this managed resource.
- Regulation string
- Regulation family for applied pack.
- Revoked
At string - Revoke timestamp when assignment is removed.
- Rule
Version int - Rule version applied by enforcer.
- Status string
- Current assignment status.
- Tenant
Id string - Tenant ID from provider configuration.
- Applied
At string - Apply timestamp.
- Applied
By string - Principal that applied the pack.
- Id string
- The provider-assigned unique ID for this managed resource.
- Regulation string
- Regulation family for applied pack.
- Revoked
At string - Revoke timestamp when assignment is removed.
- Rule
Version int - Rule version applied by enforcer.
- Status string
- Current assignment status.
- Tenant
Id string - Tenant ID from provider configuration.
- applied_
at string - Apply timestamp.
- applied_
by string - Principal that applied the pack.
- id string
- The provider-assigned unique ID for this managed resource.
- regulation string
- Regulation family for applied pack.
- revoked_
at string - Revoke timestamp when assignment is removed.
- rule_
version number - Rule version applied by enforcer.
- status string
- Current assignment status.
- tenant_
id string - Tenant ID from provider configuration.
- applied
At String - Apply timestamp.
- applied
By String - Principal that applied the pack.
- id String
- The provider-assigned unique ID for this managed resource.
- regulation String
- Regulation family for applied pack.
- revoked
At String - Revoke timestamp when assignment is removed.
- rule
Version Integer - Rule version applied by enforcer.
- status String
- Current assignment status.
- tenant
Id String - Tenant ID from provider configuration.
- applied
At string - Apply timestamp.
- applied
By string - Principal that applied the pack.
- id string
- The provider-assigned unique ID for this managed resource.
- regulation string
- Regulation family for applied pack.
- revoked
At string - Revoke timestamp when assignment is removed.
- rule
Version number - Rule version applied by enforcer.
- status string
- Current assignment status.
- tenant
Id string - Tenant ID from provider configuration.
- applied_
at str - Apply timestamp.
- applied_
by str - Principal that applied the pack.
- id str
- The provider-assigned unique ID for this managed resource.
- regulation str
- Regulation family for applied pack.
- revoked_
at str - Revoke timestamp when assignment is removed.
- rule_
version int - Rule version applied by enforcer.
- status str
- Current assignment status.
- tenant_
id str - Tenant ID from provider configuration.
- applied
At String - Apply timestamp.
- applied
By String - Principal that applied the pack.
- id String
- The provider-assigned unique ID for this managed resource.
- regulation String
- Regulation family for applied pack.
- revoked
At String - Revoke timestamp when assignment is removed.
- rule
Version Number - Rule version applied by enforcer.
- status String
- Current assignment status.
- tenant
Id String - Tenant ID from provider configuration.
Look up Existing PackAssignment Resource
Get an existing PackAssignment 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?: PackAssignmentState, opts?: CustomResourceOptions): PackAssignment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
applied_at: Optional[str] = None,
applied_by: Optional[str] = None,
approval_policy_id: Optional[str] = None,
critical_threshold: Optional[float] = None,
delegation_boost: Optional[float] = None,
environment: Optional[str] = None,
mismatch_boost: Optional[float] = None,
overrides_json: Optional[str] = None,
pack_id: Optional[str] = None,
regulation: Optional[str] = None,
revoked_at: Optional[str] = None,
rule_version: Optional[int] = None,
status: Optional[str] = None,
tenant_id: Optional[str] = None,
trust_floor: Optional[float] = None) -> PackAssignmentfunc GetPackAssignment(ctx *Context, name string, id IDInput, state *PackAssignmentState, opts ...ResourceOption) (*PackAssignment, error)public static PackAssignment Get(string name, Input<string> id, PackAssignmentState? state, CustomResourceOptions? opts = null)public static PackAssignment get(String name, Output<String> id, PackAssignmentState state, CustomResourceOptions options)resources: _: type: thoth:governance:PackAssignment get: id: ${id}import {
to = thoth_governance_pack_assignment.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.
- Agent
Id string - Target agent ID.
- Applied
At string - Apply timestamp.
- Applied
By string - Principal that applied the pack.
- Approval
Policy stringId - Approval policy ID for pack application.
- Critical
Threshold double - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- Delegation
Boost double - Deterministic boost for delegation risk signals (0-100).
- Environment string
- Environment: dev or prod.
- Mismatch
Boost double - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- Overrides
Json string - Pack override JSON object.
- Pack
Id string - Compliance pack identifier.
- Regulation string
- Regulation family for applied pack.
- Revoked
At string - Revoke timestamp when assignment is removed.
- Rule
Version int - Rule version applied by enforcer.
- Status string
- Current assignment status.
- Tenant
Id string - Tenant ID from provider configuration.
- Trust
Floor double - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- Agent
Id string - Target agent ID.
- Applied
At string - Apply timestamp.
- Applied
By string - Principal that applied the pack.
- Approval
Policy stringId - Approval policy ID for pack application.
- Critical
Threshold float64 - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- Delegation
Boost float64 - Deterministic boost for delegation risk signals (0-100).
- Environment string
- Environment: dev or prod.
- Mismatch
Boost float64 - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- Overrides
Json string - Pack override JSON object.
- Pack
Id string - Compliance pack identifier.
- Regulation string
- Regulation family for applied pack.
- Revoked
At string - Revoke timestamp when assignment is removed.
- Rule
Version int - Rule version applied by enforcer.
- Status string
- Current assignment status.
- Tenant
Id string - Tenant ID from provider configuration.
- Trust
Floor float64 - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent_
id string - Target agent ID.
- applied_
at string - Apply timestamp.
- applied_
by string - Principal that applied the pack.
- approval_
policy_ stringid - Approval policy ID for pack application.
- critical_
threshold number - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation_
boost number - Deterministic boost for delegation risk signals (0-100).
- environment string
- Environment: dev or prod.
- mismatch_
boost number - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides_
json string - Pack override JSON object.
- pack_
id string - Compliance pack identifier.
- regulation string
- Regulation family for applied pack.
- revoked_
at string - Revoke timestamp when assignment is removed.
- rule_
version number - Rule version applied by enforcer.
- status string
- Current assignment status.
- tenant_
id string - Tenant ID from provider configuration.
- trust_
floor number - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent
Id String - Target agent ID.
- applied
At String - Apply timestamp.
- applied
By String - Principal that applied the pack.
- approval
Policy StringId - Approval policy ID for pack application.
- critical
Threshold Double - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation
Boost Double - Deterministic boost for delegation risk signals (0-100).
- environment String
- Environment: dev or prod.
- mismatch
Boost Double - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides
Json String - Pack override JSON object.
- pack
Id String - Compliance pack identifier.
- regulation String
- Regulation family for applied pack.
- revoked
At String - Revoke timestamp when assignment is removed.
- rule
Version Integer - Rule version applied by enforcer.
- status String
- Current assignment status.
- tenant
Id String - Tenant ID from provider configuration.
- trust
Floor Double - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent
Id string - Target agent ID.
- applied
At string - Apply timestamp.
- applied
By string - Principal that applied the pack.
- approval
Policy stringId - Approval policy ID for pack application.
- critical
Threshold number - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation
Boost number - Deterministic boost for delegation risk signals (0-100).
- environment string
- Environment: dev or prod.
- mismatch
Boost number - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides
Json string - Pack override JSON object.
- pack
Id string - Compliance pack identifier.
- regulation string
- Regulation family for applied pack.
- revoked
At string - Revoke timestamp when assignment is removed.
- rule
Version number - Rule version applied by enforcer.
- status string
- Current assignment status.
- tenant
Id string - Tenant ID from provider configuration.
- trust
Floor number - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent_
id str - Target agent ID.
- applied_
at str - Apply timestamp.
- applied_
by str - Principal that applied the pack.
- approval_
policy_ strid - Approval policy ID for pack application.
- critical_
threshold float - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation_
boost float - Deterministic boost for delegation risk signals (0-100).
- environment str
- Environment: dev or prod.
- mismatch_
boost float - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides_
json str - Pack override JSON object.
- pack_
id str - Compliance pack identifier.
- regulation str
- Regulation family for applied pack.
- revoked_
at str - Revoke timestamp when assignment is removed.
- rule_
version int - Rule version applied by enforcer.
- status str
- Current assignment status.
- tenant_
id str - Tenant ID from provider configuration.
- trust_
floor float - Ignore low-confidence purpose/delegation signals below this floor (0-1).
- agent
Id String - Target agent ID.
- applied
At String - Apply timestamp.
- applied
By String - Principal that applied the pack.
- approval
Policy StringId - Approval policy ID for pack application.
- critical
Threshold Number - Force at least STEP_UP when normalized risk meets/exceeds this threshold (0-1).
- delegation
Boost Number - Deterministic boost for delegation risk signals (0-100).
- environment String
- Environment: dev or prod.
- mismatch
Boost Number - Deterministic boost for purpose/sensitivity mismatch signals (0-100).
- overrides
Json String - Pack override JSON object.
- pack
Id String - Compliance pack identifier.
- regulation String
- Regulation family for applied pack.
- revoked
At String - Revoke timestamp when assignment is removed.
- rule
Version Number - Rule version applied by enforcer.
- status String
- Current assignment status.
- tenant
Id String - Tenant ID from provider configuration.
- trust
Floor Number - Ignore low-confidence purpose/delegation signals below this floor (0-1).
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