published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create PolicyExceptionReview Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyExceptionReview(name: string, args: PolicyExceptionReviewArgs, opts?: CustomResourceOptions);@overload
def PolicyExceptionReview(resource_name: str,
args: PolicyExceptionReviewArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyExceptionReview(resource_name: str,
opts: Optional[ResourceOptions] = None,
request_id: Optional[str] = None,
review_decision: Optional[str] = None,
reviewed_by: Optional[str] = None,
override_expires_at: Optional[str] = None,
owner: Optional[str] = None,
policy_change_json: Optional[str] = None,
review_notes: Optional[str] = None,
target_environment: Optional[str] = None)func NewPolicyExceptionReview(ctx *Context, name string, args PolicyExceptionReviewArgs, opts ...ResourceOption) (*PolicyExceptionReview, error)public PolicyExceptionReview(string name, PolicyExceptionReviewArgs args, CustomResourceOptions? opts = null)
public PolicyExceptionReview(String name, PolicyExceptionReviewArgs args)
public PolicyExceptionReview(String name, PolicyExceptionReviewArgs args, CustomResourceOptions options)
type: thoth:governance:PolicyExceptionReview
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_policy_exception_review" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyExceptionReviewArgs
- 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 PolicyExceptionReviewArgs
- 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 PolicyExceptionReviewArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyExceptionReviewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyExceptionReviewArgs
- 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 policyExceptionReviewResource = new Thoth.Governance.PolicyExceptionReview("policyExceptionReviewResource", new()
{
RequestId = "string",
ReviewDecision = "string",
ReviewedBy = "string",
OverrideExpiresAt = "string",
Owner = "string",
PolicyChangeJson = "string",
ReviewNotes = "string",
TargetEnvironment = "string",
});
example, err := governance.NewPolicyExceptionReview(ctx, "policyExceptionReviewResource", &governance.PolicyExceptionReviewArgs{
RequestId: pulumi.String("string"),
ReviewDecision: pulumi.String("string"),
ReviewedBy: pulumi.String("string"),
OverrideExpiresAt: pulumi.String("string"),
Owner: pulumi.String("string"),
PolicyChangeJson: pulumi.String("string"),
ReviewNotes: pulumi.String("string"),
TargetEnvironment: pulumi.String("string"),
})
resource "thoth_governance_policy_exception_review" "policyExceptionReviewResource" {
lifecycle {
create_before_destroy = true
}
request_id = "string"
review_decision = "string"
reviewed_by = "string"
override_expires_at = "string"
owner = "string"
policy_change_json = "string"
review_notes = "string"
target_environment = "string"
}
var policyExceptionReviewResource = new PolicyExceptionReview("policyExceptionReviewResource", PolicyExceptionReviewArgs.builder()
.requestId("string")
.reviewDecision("string")
.reviewedBy("string")
.overrideExpiresAt("string")
.owner("string")
.policyChangeJson("string")
.reviewNotes("string")
.targetEnvironment("string")
.build());
policy_exception_review_resource = thoth.governance.PolicyExceptionReview("policyExceptionReviewResource",
request_id="string",
review_decision="string",
reviewed_by="string",
override_expires_at="string",
owner="string",
policy_change_json="string",
review_notes="string",
target_environment="string")
const policyExceptionReviewResource = new thoth.governance.PolicyExceptionReview("policyExceptionReviewResource", {
requestId: "string",
reviewDecision: "string",
reviewedBy: "string",
overrideExpiresAt: "string",
owner: "string",
policyChangeJson: "string",
reviewNotes: "string",
targetEnvironment: "string",
});
type: thoth:governance:PolicyExceptionReview
properties:
overrideExpiresAt: string
owner: string
policyChangeJson: string
requestId: string
reviewDecision: string
reviewNotes: string
reviewedBy: string
targetEnvironment: string
PolicyExceptionReview 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 PolicyExceptionReview resource accepts the following input properties:
- Request
Id string - Policy exception request ID.
- Review
Decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- Reviewed
By string - Reviewer identity.
- Override
Expires stringAt - Optional runtime override expiration timestamp (RFC3339).
- Owner string
- Optional owner metadata used when synthesizing policy artifacts.
- Policy
Change stringJson - Optional policy change override JSON payload.
- Review
Notes string - Optional review notes.
- Target
Environment string - Optional target environment (for example prod or staging).
- Request
Id string - Policy exception request ID.
- Review
Decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- Reviewed
By string - Reviewer identity.
- Override
Expires stringAt - Optional runtime override expiration timestamp (RFC3339).
- Owner string
- Optional owner metadata used when synthesizing policy artifacts.
- Policy
Change stringJson - Optional policy change override JSON payload.
- Review
Notes string - Optional review notes.
- Target
Environment string - Optional target environment (for example prod or staging).
- request_
id string - Policy exception request ID.
- review_
decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- reviewed_
by string - Reviewer identity.
- override_
expires_ stringat - Optional runtime override expiration timestamp (RFC3339).
- owner string
- Optional owner metadata used when synthesizing policy artifacts.
- policy_
change_ stringjson - Optional policy change override JSON payload.
- review_
notes string - Optional review notes.
- target_
environment string - Optional target environment (for example prod or staging).
- request
Id String - Policy exception request ID.
- review
Decision String - Review outcome: approve, deny, request_changes, approve_with_modification.
- reviewed
By String - Reviewer identity.
- override
Expires StringAt - Optional runtime override expiration timestamp (RFC3339).
- owner String
- Optional owner metadata used when synthesizing policy artifacts.
- policy
Change StringJson - Optional policy change override JSON payload.
- review
Notes String - Optional review notes.
- target
Environment String - Optional target environment (for example prod or staging).
- request
Id string - Policy exception request ID.
- review
Decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- reviewed
By string - Reviewer identity.
- override
Expires stringAt - Optional runtime override expiration timestamp (RFC3339).
- owner string
- Optional owner metadata used when synthesizing policy artifacts.
- policy
Change stringJson - Optional policy change override JSON payload.
- review
Notes string - Optional review notes.
- target
Environment string - Optional target environment (for example prod or staging).
- request_
id str - Policy exception request ID.
- review_
decision str - Review outcome: approve, deny, request_changes, approve_with_modification.
- reviewed_
by str - Reviewer identity.
- override_
expires_ strat - Optional runtime override expiration timestamp (RFC3339).
- owner str
- Optional owner metadata used when synthesizing policy artifacts.
- policy_
change_ strjson - Optional policy change override JSON payload.
- review_
notes str - Optional review notes.
- target_
environment str - Optional target environment (for example prod or staging).
- request
Id String - Policy exception request ID.
- review
Decision String - Review outcome: approve, deny, request_changes, approve_with_modification.
- reviewed
By String - Reviewer identity.
- override
Expires StringAt - Optional runtime override expiration timestamp (RFC3339).
- owner String
- Optional owner metadata used when synthesizing policy artifacts.
- policy
Change StringJson - Optional policy change override JSON payload.
- review
Notes String - Optional review notes.
- target
Environment String - Optional target environment (for example prod or staging).
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyExceptionReview resource produces the following output properties:
- Applied
Policy stringChange Json - Policy change metadata present on the reviewed exception.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Resulting policy exception status.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Updated timestamp after review.
- Applied
Policy stringChange Json - Policy change metadata present on the reviewed exception.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Resulting policy exception status.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Updated timestamp after review.
- applied_
policy_ stringchange_ json - Policy change metadata present on the reviewed exception.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Resulting policy exception status.
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Updated timestamp after review.
- applied
Policy StringChange Json - Policy change metadata present on the reviewed exception.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Resulting policy exception status.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Updated timestamp after review.
- applied
Policy stringChange Json - Policy change metadata present on the reviewed exception.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Resulting policy exception status.
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Updated timestamp after review.
- applied_
policy_ strchange_ json - Policy change metadata present on the reviewed exception.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Resulting policy exception status.
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Updated timestamp after review.
- applied
Policy StringChange Json - Policy change metadata present on the reviewed exception.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Resulting policy exception status.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Updated timestamp after review.
Look up Existing PolicyExceptionReview Resource
Get an existing PolicyExceptionReview 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?: PolicyExceptionReviewState, opts?: CustomResourceOptions): PolicyExceptionReview@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
applied_policy_change_json: Optional[str] = None,
override_expires_at: Optional[str] = None,
owner: Optional[str] = None,
policy_change_json: Optional[str] = None,
request_id: Optional[str] = None,
review_decision: Optional[str] = None,
review_notes: Optional[str] = None,
reviewed_by: Optional[str] = None,
status: Optional[str] = None,
target_environment: Optional[str] = None,
tenant_id: Optional[str] = None,
updated_at: Optional[str] = None) -> PolicyExceptionReviewfunc GetPolicyExceptionReview(ctx *Context, name string, id IDInput, state *PolicyExceptionReviewState, opts ...ResourceOption) (*PolicyExceptionReview, error)public static PolicyExceptionReview Get(string name, Input<string> id, PolicyExceptionReviewState? state, CustomResourceOptions? opts = null)public static PolicyExceptionReview get(String name, Output<String> id, PolicyExceptionReviewState state, CustomResourceOptions options)resources: _: type: thoth:governance:PolicyExceptionReview get: id: ${id}import {
to = thoth_governance_policy_exception_review.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
Policy stringChange Json - Policy change metadata present on the reviewed exception.
- Override
Expires stringAt - Optional runtime override expiration timestamp (RFC3339).
- Owner string
- Optional owner metadata used when synthesizing policy artifacts.
- Policy
Change stringJson - Optional policy change override JSON payload.
- Request
Id string - Policy exception request ID.
- Review
Decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- Review
Notes string - Optional review notes.
- Reviewed
By string - Reviewer identity.
- Status string
- Resulting policy exception status.
- Target
Environment string - Optional target environment (for example prod or staging).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Updated timestamp after review.
- Applied
Policy stringChange Json - Policy change metadata present on the reviewed exception.
- Override
Expires stringAt - Optional runtime override expiration timestamp (RFC3339).
- Owner string
- Optional owner metadata used when synthesizing policy artifacts.
- Policy
Change stringJson - Optional policy change override JSON payload.
- Request
Id string - Policy exception request ID.
- Review
Decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- Review
Notes string - Optional review notes.
- Reviewed
By string - Reviewer identity.
- Status string
- Resulting policy exception status.
- Target
Environment string - Optional target environment (for example prod or staging).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Updated timestamp after review.
- applied_
policy_ stringchange_ json - Policy change metadata present on the reviewed exception.
- override_
expires_ stringat - Optional runtime override expiration timestamp (RFC3339).
- owner string
- Optional owner metadata used when synthesizing policy artifacts.
- policy_
change_ stringjson - Optional policy change override JSON payload.
- request_
id string - Policy exception request ID.
- review_
decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- review_
notes string - Optional review notes.
- reviewed_
by string - Reviewer identity.
- status string
- Resulting policy exception status.
- target_
environment string - Optional target environment (for example prod or staging).
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Updated timestamp after review.
- applied
Policy StringChange Json - Policy change metadata present on the reviewed exception.
- override
Expires StringAt - Optional runtime override expiration timestamp (RFC3339).
- owner String
- Optional owner metadata used when synthesizing policy artifacts.
- policy
Change StringJson - Optional policy change override JSON payload.
- request
Id String - Policy exception request ID.
- review
Decision String - Review outcome: approve, deny, request_changes, approve_with_modification.
- review
Notes String - Optional review notes.
- reviewed
By String - Reviewer identity.
- status String
- Resulting policy exception status.
- target
Environment String - Optional target environment (for example prod or staging).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Updated timestamp after review.
- applied
Policy stringChange Json - Policy change metadata present on the reviewed exception.
- override
Expires stringAt - Optional runtime override expiration timestamp (RFC3339).
- owner string
- Optional owner metadata used when synthesizing policy artifacts.
- policy
Change stringJson - Optional policy change override JSON payload.
- request
Id string - Policy exception request ID.
- review
Decision string - Review outcome: approve, deny, request_changes, approve_with_modification.
- review
Notes string - Optional review notes.
- reviewed
By string - Reviewer identity.
- status string
- Resulting policy exception status.
- target
Environment string - Optional target environment (for example prod or staging).
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Updated timestamp after review.
- applied_
policy_ strchange_ json - Policy change metadata present on the reviewed exception.
- override_
expires_ strat - Optional runtime override expiration timestamp (RFC3339).
- owner str
- Optional owner metadata used when synthesizing policy artifacts.
- policy_
change_ strjson - Optional policy change override JSON payload.
- request_
id str - Policy exception request ID.
- review_
decision str - Review outcome: approve, deny, request_changes, approve_with_modification.
- review_
notes str - Optional review notes.
- reviewed_
by str - Reviewer identity.
- status str
- Resulting policy exception status.
- target_
environment str - Optional target environment (for example prod or staging).
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Updated timestamp after review.
- applied
Policy StringChange Json - Policy change metadata present on the reviewed exception.
- override
Expires StringAt - Optional runtime override expiration timestamp (RFC3339).
- owner String
- Optional owner metadata used when synthesizing policy artifacts.
- policy
Change StringJson - Optional policy change override JSON payload.
- request
Id String - Policy exception request ID.
- review
Decision String - Review outcome: approve, deny, request_changes, approve_with_modification.
- review
Notes String - Optional review notes.
- reviewed
By String - Reviewer identity.
- status String
- Resulting policy exception status.
- target
Environment String - Optional target environment (for example prod or staging).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Updated timestamp after review.
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