published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create PolicyChangeArtifactApply Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyChangeArtifactApply(name: string, args: PolicyChangeArtifactApplyArgs, opts?: CustomResourceOptions);@overload
def PolicyChangeArtifactApply(resource_name: str,
args: PolicyChangeArtifactApplyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyChangeArtifactApply(resource_name: str,
opts: Optional[ResourceOptions] = None,
applied_by: Optional[str] = None,
request_id: Optional[str] = None,
apply_channel: Optional[str] = None,
assignments: Optional[Sequence[str]] = None,
bundle_description: Optional[str] = None,
bundle_name: Optional[str] = None,
enforcement_mode: Optional[str] = None,
policy_format: Optional[str] = None,
status: Optional[str] = None)func NewPolicyChangeArtifactApply(ctx *Context, name string, args PolicyChangeArtifactApplyArgs, opts ...ResourceOption) (*PolicyChangeArtifactApply, error)public PolicyChangeArtifactApply(string name, PolicyChangeArtifactApplyArgs args, CustomResourceOptions? opts = null)
public PolicyChangeArtifactApply(String name, PolicyChangeArtifactApplyArgs args)
public PolicyChangeArtifactApply(String name, PolicyChangeArtifactApplyArgs args, CustomResourceOptions options)
type: thoth:governance:PolicyChangeArtifactApply
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_policy_change_artifact_apply" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyChangeArtifactApplyArgs
- 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 PolicyChangeArtifactApplyArgs
- 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 PolicyChangeArtifactApplyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyChangeArtifactApplyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyChangeArtifactApplyArgs
- 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 policyChangeArtifactApplyResource = new Thoth.Governance.PolicyChangeArtifactApply("policyChangeArtifactApplyResource", new()
{
AppliedBy = "string",
RequestId = "string",
ApplyChannel = "string",
Assignments = new[]
{
"string",
},
BundleDescription = "string",
BundleName = "string",
EnforcementMode = "string",
PolicyFormat = "string",
Status = "string",
});
example, err := governance.NewPolicyChangeArtifactApply(ctx, "policyChangeArtifactApplyResource", &governance.PolicyChangeArtifactApplyArgs{
AppliedBy: pulumi.String("string"),
RequestId: pulumi.String("string"),
ApplyChannel: pulumi.String("string"),
Assignments: pulumi.StringArray{
pulumi.String("string"),
},
BundleDescription: pulumi.String("string"),
BundleName: pulumi.String("string"),
EnforcementMode: pulumi.String("string"),
PolicyFormat: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "thoth_governance_policy_change_artifact_apply" "policyChangeArtifactApplyResource" {
lifecycle {
create_before_destroy = true
}
applied_by = "string"
request_id = "string"
apply_channel = "string"
assignments = ["string"]
bundle_description = "string"
bundle_name = "string"
enforcement_mode = "string"
policy_format = "string"
status = "string"
}
var policyChangeArtifactApplyResource = new PolicyChangeArtifactApply("policyChangeArtifactApplyResource", PolicyChangeArtifactApplyArgs.builder()
.appliedBy("string")
.requestId("string")
.applyChannel("string")
.assignments("string")
.bundleDescription("string")
.bundleName("string")
.enforcementMode("string")
.policyFormat("string")
.status("string")
.build());
policy_change_artifact_apply_resource = thoth.governance.PolicyChangeArtifactApply("policyChangeArtifactApplyResource",
applied_by="string",
request_id="string",
apply_channel="string",
assignments=["string"],
bundle_description="string",
bundle_name="string",
enforcement_mode="string",
policy_format="string",
status="string")
const policyChangeArtifactApplyResource = new thoth.governance.PolicyChangeArtifactApply("policyChangeArtifactApplyResource", {
appliedBy: "string",
requestId: "string",
applyChannel: "string",
assignments: ["string"],
bundleDescription: "string",
bundleName: "string",
enforcementMode: "string",
policyFormat: "string",
status: "string",
});
type: thoth:governance:PolicyChangeArtifactApply
properties:
appliedBy: string
applyChannel: string
assignments:
- string
bundleDescription: string
bundleName: string
enforcementMode: string
policyFormat: string
requestId: string
status: string
PolicyChangeArtifactApply 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 PolicyChangeArtifactApply resource accepts the following input properties:
- Applied
By string - Actor applying the artifact.
- Request
Id string - Policy exception request ID.
- Apply
Channel string - Apply channel to use. Defaults to govapi.
- Assignments List<string>
- Optional assignment targets for govapi policy bundle apply.
- Bundle
Description string - Optional bundle description for govapi apply.
- Bundle
Name string - Optional override bundle name for govapi apply.
- Enforcement
Mode string - Optional enforcement mode override (enforce or observe).
- Policy
Format string - Preferred policy format for apply payload (cedar, rego, yaml).
- Status string
- Optional policy bundle status override (active, staged, paused, disabled).
- Applied
By string - Actor applying the artifact.
- Request
Id string - Policy exception request ID.
- Apply
Channel string - Apply channel to use. Defaults to govapi.
- Assignments []string
- Optional assignment targets for govapi policy bundle apply.
- Bundle
Description string - Optional bundle description for govapi apply.
- Bundle
Name string - Optional override bundle name for govapi apply.
- Enforcement
Mode string - Optional enforcement mode override (enforce or observe).
- Policy
Format string - Preferred policy format for apply payload (cedar, rego, yaml).
- Status string
- Optional policy bundle status override (active, staged, paused, disabled).
- applied_
by string - Actor applying the artifact.
- request_
id string - Policy exception request ID.
- apply_
channel string - Apply channel to use. Defaults to govapi.
- assignments list(string)
- Optional assignment targets for govapi policy bundle apply.
- bundle_
description string - Optional bundle description for govapi apply.
- bundle_
name string - Optional override bundle name for govapi apply.
- enforcement_
mode string - Optional enforcement mode override (enforce or observe).
- policy_
format string - Preferred policy format for apply payload (cedar, rego, yaml).
- status string
- Optional policy bundle status override (active, staged, paused, disabled).
- applied
By String - Actor applying the artifact.
- request
Id String - Policy exception request ID.
- apply
Channel String - Apply channel to use. Defaults to govapi.
- assignments List<String>
- Optional assignment targets for govapi policy bundle apply.
- bundle
Description String - Optional bundle description for govapi apply.
- bundle
Name String - Optional override bundle name for govapi apply.
- enforcement
Mode String - Optional enforcement mode override (enforce or observe).
- policy
Format String - Preferred policy format for apply payload (cedar, rego, yaml).
- status String
- Optional policy bundle status override (active, staged, paused, disabled).
- applied
By string - Actor applying the artifact.
- request
Id string - Policy exception request ID.
- apply
Channel string - Apply channel to use. Defaults to govapi.
- assignments string[]
- Optional assignment targets for govapi policy bundle apply.
- bundle
Description string - Optional bundle description for govapi apply.
- bundle
Name string - Optional override bundle name for govapi apply.
- enforcement
Mode string - Optional enforcement mode override (enforce or observe).
- policy
Format string - Preferred policy format for apply payload (cedar, rego, yaml).
- status string
- Optional policy bundle status override (active, staged, paused, disabled).
- applied_
by str - Actor applying the artifact.
- request_
id str - Policy exception request ID.
- apply_
channel str - Apply channel to use. Defaults to govapi.
- assignments Sequence[str]
- Optional assignment targets for govapi policy bundle apply.
- bundle_
description str - Optional bundle description for govapi apply.
- bundle_
name str - Optional override bundle name for govapi apply.
- enforcement_
mode str - Optional enforcement mode override (enforce or observe).
- policy_
format str - Preferred policy format for apply payload (cedar, rego, yaml).
- status str
- Optional policy bundle status override (active, staged, paused, disabled).
- applied
By String - Actor applying the artifact.
- request
Id String - Policy exception request ID.
- apply
Channel String - Apply channel to use. Defaults to govapi.
- assignments List<String>
- Optional assignment targets for govapi policy bundle apply.
- bundle
Description String - Optional bundle description for govapi apply.
- bundle
Name String - Optional override bundle name for govapi apply.
- enforcement
Mode String - Optional enforcement mode override (enforce or observe).
- policy
Format String - Preferred policy format for apply payload (cedar, rego, yaml).
- status String
- Optional policy bundle status override (active, staged, paused, disabled).
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyChangeArtifactApply resource produces the following output properties:
- Applied
At string - Apply execution timestamp.
- Artifact
Id string - Artifact ID used for apply.
- Govapi
Resource stringJson - GovAPI resource returned by apply operation as JSON.
- Id string
- The provider-assigned unique ID for this managed resource.
- Override
Revoked bool - Whether a temporary runtime override was revoked after apply.
- Response
Json string - Full apply response as JSON.
- Target
Environment string - Target environment for the apply operation.
- Tenant
Id string - Tenant ID from provider configuration.
- Applied
At string - Apply execution timestamp.
- Artifact
Id string - Artifact ID used for apply.
- Govapi
Resource stringJson - GovAPI resource returned by apply operation as JSON.
- Id string
- The provider-assigned unique ID for this managed resource.
- Override
Revoked bool - Whether a temporary runtime override was revoked after apply.
- Response
Json string - Full apply response as JSON.
- Target
Environment string - Target environment for the apply operation.
- Tenant
Id string - Tenant ID from provider configuration.
- applied_
at string - Apply execution timestamp.
- artifact_
id string - Artifact ID used for apply.
- govapi_
resource_ stringjson - GovAPI resource returned by apply operation as JSON.
- id string
- The provider-assigned unique ID for this managed resource.
- override_
revoked bool - Whether a temporary runtime override was revoked after apply.
- response_
json string - Full apply response as JSON.
- target_
environment string - Target environment for the apply operation.
- tenant_
id string - Tenant ID from provider configuration.
- applied
At String - Apply execution timestamp.
- artifact
Id String - Artifact ID used for apply.
- govapi
Resource StringJson - GovAPI resource returned by apply operation as JSON.
- id String
- The provider-assigned unique ID for this managed resource.
- override
Revoked Boolean - Whether a temporary runtime override was revoked after apply.
- response
Json String - Full apply response as JSON.
- target
Environment String - Target environment for the apply operation.
- tenant
Id String - Tenant ID from provider configuration.
- applied
At string - Apply execution timestamp.
- artifact
Id string - Artifact ID used for apply.
- govapi
Resource stringJson - GovAPI resource returned by apply operation as JSON.
- id string
- The provider-assigned unique ID for this managed resource.
- override
Revoked boolean - Whether a temporary runtime override was revoked after apply.
- response
Json string - Full apply response as JSON.
- target
Environment string - Target environment for the apply operation.
- tenant
Id string - Tenant ID from provider configuration.
- applied_
at str - Apply execution timestamp.
- artifact_
id str - Artifact ID used for apply.
- govapi_
resource_ strjson - GovAPI resource returned by apply operation as JSON.
- id str
- The provider-assigned unique ID for this managed resource.
- override_
revoked bool - Whether a temporary runtime override was revoked after apply.
- response_
json str - Full apply response as JSON.
- target_
environment str - Target environment for the apply operation.
- tenant_
id str - Tenant ID from provider configuration.
- applied
At String - Apply execution timestamp.
- artifact
Id String - Artifact ID used for apply.
- govapi
Resource StringJson - GovAPI resource returned by apply operation as JSON.
- id String
- The provider-assigned unique ID for this managed resource.
- override
Revoked Boolean - Whether a temporary runtime override was revoked after apply.
- response
Json String - Full apply response as JSON.
- target
Environment String - Target environment for the apply operation.
- tenant
Id String - Tenant ID from provider configuration.
Look up Existing PolicyChangeArtifactApply Resource
Get an existing PolicyChangeArtifactApply 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?: PolicyChangeArtifactApplyState, opts?: CustomResourceOptions): PolicyChangeArtifactApply@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
applied_at: Optional[str] = None,
applied_by: Optional[str] = None,
apply_channel: Optional[str] = None,
artifact_id: Optional[str] = None,
assignments: Optional[Sequence[str]] = None,
bundle_description: Optional[str] = None,
bundle_name: Optional[str] = None,
enforcement_mode: Optional[str] = None,
govapi_resource_json: Optional[str] = None,
override_revoked: Optional[bool] = None,
policy_format: Optional[str] = None,
request_id: Optional[str] = None,
response_json: Optional[str] = None,
status: Optional[str] = None,
target_environment: Optional[str] = None,
tenant_id: Optional[str] = None) -> PolicyChangeArtifactApplyfunc GetPolicyChangeArtifactApply(ctx *Context, name string, id IDInput, state *PolicyChangeArtifactApplyState, opts ...ResourceOption) (*PolicyChangeArtifactApply, error)public static PolicyChangeArtifactApply Get(string name, Input<string> id, PolicyChangeArtifactApplyState? state, CustomResourceOptions? opts = null)public static PolicyChangeArtifactApply get(String name, Output<String> id, PolicyChangeArtifactApplyState state, CustomResourceOptions options)resources: _: type: thoth:governance:PolicyChangeArtifactApply get: id: ${id}import {
to = thoth_governance_policy_change_artifact_apply.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.
- Applied
At string - Apply execution timestamp.
- Applied
By string - Actor applying the artifact.
- Apply
Channel string - Apply channel to use. Defaults to govapi.
- Artifact
Id string - Artifact ID used for apply.
- Assignments List<string>
- Optional assignment targets for govapi policy bundle apply.
- Bundle
Description string - Optional bundle description for govapi apply.
- Bundle
Name string - Optional override bundle name for govapi apply.
- Enforcement
Mode string - Optional enforcement mode override (enforce or observe).
- Govapi
Resource stringJson - GovAPI resource returned by apply operation as JSON.
- Override
Revoked bool - Whether a temporary runtime override was revoked after apply.
- Policy
Format string - Preferred policy format for apply payload (cedar, rego, yaml).
- Request
Id string - Policy exception request ID.
- Response
Json string - Full apply response as JSON.
- Status string
- Optional policy bundle status override (active, staged, paused, disabled).
- Target
Environment string - Target environment for the apply operation.
- Tenant
Id string - Tenant ID from provider configuration.
- Applied
At string - Apply execution timestamp.
- Applied
By string - Actor applying the artifact.
- Apply
Channel string - Apply channel to use. Defaults to govapi.
- Artifact
Id string - Artifact ID used for apply.
- Assignments []string
- Optional assignment targets for govapi policy bundle apply.
- Bundle
Description string - Optional bundle description for govapi apply.
- Bundle
Name string - Optional override bundle name for govapi apply.
- Enforcement
Mode string - Optional enforcement mode override (enforce or observe).
- Govapi
Resource stringJson - GovAPI resource returned by apply operation as JSON.
- Override
Revoked bool - Whether a temporary runtime override was revoked after apply.
- Policy
Format string - Preferred policy format for apply payload (cedar, rego, yaml).
- Request
Id string - Policy exception request ID.
- Response
Json string - Full apply response as JSON.
- Status string
- Optional policy bundle status override (active, staged, paused, disabled).
- Target
Environment string - Target environment for the apply operation.
- Tenant
Id string - Tenant ID from provider configuration.
- applied_
at string - Apply execution timestamp.
- applied_
by string - Actor applying the artifact.
- apply_
channel string - Apply channel to use. Defaults to govapi.
- artifact_
id string - Artifact ID used for apply.
- assignments list(string)
- Optional assignment targets for govapi policy bundle apply.
- bundle_
description string - Optional bundle description for govapi apply.
- bundle_
name string - Optional override bundle name for govapi apply.
- enforcement_
mode string - Optional enforcement mode override (enforce or observe).
- govapi_
resource_ stringjson - GovAPI resource returned by apply operation as JSON.
- override_
revoked bool - Whether a temporary runtime override was revoked after apply.
- policy_
format string - Preferred policy format for apply payload (cedar, rego, yaml).
- request_
id string - Policy exception request ID.
- response_
json string - Full apply response as JSON.
- status string
- Optional policy bundle status override (active, staged, paused, disabled).
- target_
environment string - Target environment for the apply operation.
- tenant_
id string - Tenant ID from provider configuration.
- applied
At String - Apply execution timestamp.
- applied
By String - Actor applying the artifact.
- apply
Channel String - Apply channel to use. Defaults to govapi.
- artifact
Id String - Artifact ID used for apply.
- assignments List<String>
- Optional assignment targets for govapi policy bundle apply.
- bundle
Description String - Optional bundle description for govapi apply.
- bundle
Name String - Optional override bundle name for govapi apply.
- enforcement
Mode String - Optional enforcement mode override (enforce or observe).
- govapi
Resource StringJson - GovAPI resource returned by apply operation as JSON.
- override
Revoked Boolean - Whether a temporary runtime override was revoked after apply.
- policy
Format String - Preferred policy format for apply payload (cedar, rego, yaml).
- request
Id String - Policy exception request ID.
- response
Json String - Full apply response as JSON.
- status String
- Optional policy bundle status override (active, staged, paused, disabled).
- target
Environment String - Target environment for the apply operation.
- tenant
Id String - Tenant ID from provider configuration.
- applied
At string - Apply execution timestamp.
- applied
By string - Actor applying the artifact.
- apply
Channel string - Apply channel to use. Defaults to govapi.
- artifact
Id string - Artifact ID used for apply.
- assignments string[]
- Optional assignment targets for govapi policy bundle apply.
- bundle
Description string - Optional bundle description for govapi apply.
- bundle
Name string - Optional override bundle name for govapi apply.
- enforcement
Mode string - Optional enforcement mode override (enforce or observe).
- govapi
Resource stringJson - GovAPI resource returned by apply operation as JSON.
- override
Revoked boolean - Whether a temporary runtime override was revoked after apply.
- policy
Format string - Preferred policy format for apply payload (cedar, rego, yaml).
- request
Id string - Policy exception request ID.
- response
Json string - Full apply response as JSON.
- status string
- Optional policy bundle status override (active, staged, paused, disabled).
- target
Environment string - Target environment for the apply operation.
- tenant
Id string - Tenant ID from provider configuration.
- applied_
at str - Apply execution timestamp.
- applied_
by str - Actor applying the artifact.
- apply_
channel str - Apply channel to use. Defaults to govapi.
- artifact_
id str - Artifact ID used for apply.
- assignments Sequence[str]
- Optional assignment targets for govapi policy bundle apply.
- bundle_
description str - Optional bundle description for govapi apply.
- bundle_
name str - Optional override bundle name for govapi apply.
- enforcement_
mode str - Optional enforcement mode override (enforce or observe).
- govapi_
resource_ strjson - GovAPI resource returned by apply operation as JSON.
- override_
revoked bool - Whether a temporary runtime override was revoked after apply.
- policy_
format str - Preferred policy format for apply payload (cedar, rego, yaml).
- request_
id str - Policy exception request ID.
- response_
json str - Full apply response as JSON.
- status str
- Optional policy bundle status override (active, staged, paused, disabled).
- target_
environment str - Target environment for the apply operation.
- tenant_
id str - Tenant ID from provider configuration.
- applied
At String - Apply execution timestamp.
- applied
By String - Actor applying the artifact.
- apply
Channel String - Apply channel to use. Defaults to govapi.
- artifact
Id String - Artifact ID used for apply.
- assignments List<String>
- Optional assignment targets for govapi policy bundle apply.
- bundle
Description String - Optional bundle description for govapi apply.
- bundle
Name String - Optional override bundle name for govapi apply.
- enforcement
Mode String - Optional enforcement mode override (enforce or observe).
- govapi
Resource StringJson - GovAPI resource returned by apply operation as JSON.
- override
Revoked Boolean - Whether a temporary runtime override was revoked after apply.
- policy
Format String - Preferred policy format for apply payload (cedar, rego, yaml).
- request
Id String - Policy exception request ID.
- response
Json String - Full apply response as JSON.
- status String
- Optional policy bundle status override (active, staged, paused, disabled).
- target
Environment String - Target environment for the apply operation.
- tenant
Id String - Tenant ID from provider configuration.
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