1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. governance
  6. PolicyExceptionReview
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
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:

    RequestId string
    Policy exception request ID.
    ReviewDecision string
    Review outcome: approve, deny, request_changes, approve_with_modification.
    ReviewedBy string
    Reviewer identity.
    OverrideExpiresAt string
    Optional runtime override expiration timestamp (RFC3339).
    Owner string
    Optional owner metadata used when synthesizing policy artifacts.
    PolicyChangeJson string
    Optional policy change override JSON payload.
    ReviewNotes string
    Optional review notes.
    TargetEnvironment string
    Optional target environment (for example prod or staging).
    RequestId string
    Policy exception request ID.
    ReviewDecision string
    Review outcome: approve, deny, request_changes, approve_with_modification.
    ReviewedBy string
    Reviewer identity.
    OverrideExpiresAt string
    Optional runtime override expiration timestamp (RFC3339).
    Owner string
    Optional owner metadata used when synthesizing policy artifacts.
    PolicyChangeJson string
    Optional policy change override JSON payload.
    ReviewNotes string
    Optional review notes.
    TargetEnvironment 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_at string
    Optional runtime override expiration timestamp (RFC3339).
    owner string
    Optional owner metadata used when synthesizing policy artifacts.
    policy_change_json string
    Optional policy change override JSON payload.
    review_notes string
    Optional review notes.
    target_environment string
    Optional target environment (for example prod or staging).
    requestId String
    Policy exception request ID.
    reviewDecision String
    Review outcome: approve, deny, request_changes, approve_with_modification.
    reviewedBy String
    Reviewer identity.
    overrideExpiresAt String
    Optional runtime override expiration timestamp (RFC3339).
    owner String
    Optional owner metadata used when synthesizing policy artifacts.
    policyChangeJson String
    Optional policy change override JSON payload.
    reviewNotes String
    Optional review notes.
    targetEnvironment String
    Optional target environment (for example prod or staging).
    requestId string
    Policy exception request ID.
    reviewDecision string
    Review outcome: approve, deny, request_changes, approve_with_modification.
    reviewedBy string
    Reviewer identity.
    overrideExpiresAt string
    Optional runtime override expiration timestamp (RFC3339).
    owner string
    Optional owner metadata used when synthesizing policy artifacts.
    policyChangeJson string
    Optional policy change override JSON payload.
    reviewNotes string
    Optional review notes.
    targetEnvironment 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_at str
    Optional runtime override expiration timestamp (RFC3339).
    owner str
    Optional owner metadata used when synthesizing policy artifacts.
    policy_change_json str
    Optional policy change override JSON payload.
    review_notes str
    Optional review notes.
    target_environment str
    Optional target environment (for example prod or staging).
    requestId String
    Policy exception request ID.
    reviewDecision String
    Review outcome: approve, deny, request_changes, approve_with_modification.
    reviewedBy String
    Reviewer identity.
    overrideExpiresAt String
    Optional runtime override expiration timestamp (RFC3339).
    owner String
    Optional owner metadata used when synthesizing policy artifacts.
    policyChangeJson String
    Optional policy change override JSON payload.
    reviewNotes String
    Optional review notes.
    targetEnvironment 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:

    AppliedPolicyChangeJson string
    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.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Updated timestamp after review.
    AppliedPolicyChangeJson string
    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.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Updated timestamp after review.
    applied_policy_change_json string
    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.
    appliedPolicyChangeJson String
    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.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Updated timestamp after review.
    appliedPolicyChangeJson string
    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.
    tenantId string
    Tenant ID from provider configuration.
    updatedAt string
    Updated timestamp after review.
    applied_policy_change_json str
    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.
    appliedPolicyChangeJson String
    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.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt 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) -> PolicyExceptionReview
    func 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.
    The following state arguments are supported:
    AppliedPolicyChangeJson string
    Policy change metadata present on the reviewed exception.
    OverrideExpiresAt string
    Optional runtime override expiration timestamp (RFC3339).
    Owner string
    Optional owner metadata used when synthesizing policy artifacts.
    PolicyChangeJson string
    Optional policy change override JSON payload.
    RequestId string
    Policy exception request ID.
    ReviewDecision string
    Review outcome: approve, deny, request_changes, approve_with_modification.
    ReviewNotes string
    Optional review notes.
    ReviewedBy string
    Reviewer identity.
    Status string
    Resulting policy exception status.
    TargetEnvironment string
    Optional target environment (for example prod or staging).
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Updated timestamp after review.
    AppliedPolicyChangeJson string
    Policy change metadata present on the reviewed exception.
    OverrideExpiresAt string
    Optional runtime override expiration timestamp (RFC3339).
    Owner string
    Optional owner metadata used when synthesizing policy artifacts.
    PolicyChangeJson string
    Optional policy change override JSON payload.
    RequestId string
    Policy exception request ID.
    ReviewDecision string
    Review outcome: approve, deny, request_changes, approve_with_modification.
    ReviewNotes string
    Optional review notes.
    ReviewedBy string
    Reviewer identity.
    Status string
    Resulting policy exception status.
    TargetEnvironment string
    Optional target environment (for example prod or staging).
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Updated timestamp after review.
    applied_policy_change_json string
    Policy change metadata present on the reviewed exception.
    override_expires_at string
    Optional runtime override expiration timestamp (RFC3339).
    owner string
    Optional owner metadata used when synthesizing policy artifacts.
    policy_change_json string
    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.
    appliedPolicyChangeJson String
    Policy change metadata present on the reviewed exception.
    overrideExpiresAt String
    Optional runtime override expiration timestamp (RFC3339).
    owner String
    Optional owner metadata used when synthesizing policy artifacts.
    policyChangeJson String
    Optional policy change override JSON payload.
    requestId String
    Policy exception request ID.
    reviewDecision String
    Review outcome: approve, deny, request_changes, approve_with_modification.
    reviewNotes String
    Optional review notes.
    reviewedBy String
    Reviewer identity.
    status String
    Resulting policy exception status.
    targetEnvironment String
    Optional target environment (for example prod or staging).
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Updated timestamp after review.
    appliedPolicyChangeJson string
    Policy change metadata present on the reviewed exception.
    overrideExpiresAt string
    Optional runtime override expiration timestamp (RFC3339).
    owner string
    Optional owner metadata used when synthesizing policy artifacts.
    policyChangeJson string
    Optional policy change override JSON payload.
    requestId string
    Policy exception request ID.
    reviewDecision string
    Review outcome: approve, deny, request_changes, approve_with_modification.
    reviewNotes string
    Optional review notes.
    reviewedBy string
    Reviewer identity.
    status string
    Resulting policy exception status.
    targetEnvironment string
    Optional target environment (for example prod or staging).
    tenantId string
    Tenant ID from provider configuration.
    updatedAt string
    Updated timestamp after review.
    applied_policy_change_json str
    Policy change metadata present on the reviewed exception.
    override_expires_at str
    Optional runtime override expiration timestamp (RFC3339).
    owner str
    Optional owner metadata used when synthesizing policy artifacts.
    policy_change_json str
    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.
    appliedPolicyChangeJson String
    Policy change metadata present on the reviewed exception.
    overrideExpiresAt String
    Optional runtime override expiration timestamp (RFC3339).
    owner String
    Optional owner metadata used when synthesizing policy artifacts.
    policyChangeJson String
    Optional policy change override JSON payload.
    requestId String
    Policy exception request ID.
    reviewDecision String
    Review outcome: approve, deny, request_changes, approve_with_modification.
    reviewNotes String
    Optional review notes.
    reviewedBy String
    Reviewer identity.
    status String
    Resulting policy exception status.
    targetEnvironment String
    Optional target environment (for example prod or staging).
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Updated timestamp after review.

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo
    Viewing docs for Thoth v0.1.15
    published on Thursday, Jul 23, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial