1. Packages
  2. Okta Provider
  3. API Docs
  4. Review
Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi

okta.Review

Deploy with Pulumi
okta logo
Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi

    Manages reassignment of review.

    This resource allows you to reassign an already existing review.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as okta from "@pulumi/okta";
    
    const test = new okta.Review("test", {
        campaignId: "icizigd86iM9sOcbN1d6",
        reviewerId: "00unli90kor62oF5Z1d7",
        reviewIds: ["icrztblxbBFiVKepb1d6"],
        reviewerLevel: "FIRST",
        note: "John Smith is on leave for this month. His manager Tim will be the reviewer instead.",
    });
    
    import pulumi
    import pulumi_okta as okta
    
    test = okta.Review("test",
        campaign_id="icizigd86iM9sOcbN1d6",
        reviewer_id="00unli90kor62oF5Z1d7",
        review_ids=["icrztblxbBFiVKepb1d6"],
        reviewer_level="FIRST",
        note="John Smith is on leave for this month. His manager Tim will be the reviewer instead.")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := okta.NewReview(ctx, "test", &okta.ReviewArgs{
    			CampaignId: pulumi.String("icizigd86iM9sOcbN1d6"),
    			ReviewerId: pulumi.String("00unli90kor62oF5Z1d7"),
    			ReviewIds: pulumi.StringArray{
    				pulumi.String("icrztblxbBFiVKepb1d6"),
    			},
    			ReviewerLevel: pulumi.String("FIRST"),
    			Note:          pulumi.String("John Smith is on leave for this month. His manager Tim will be the reviewer instead."),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Okta = Pulumi.Okta;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Okta.Review("test", new()
        {
            CampaignId = "icizigd86iM9sOcbN1d6",
            ReviewerId = "00unli90kor62oF5Z1d7",
            ReviewIds = new[]
            {
                "icrztblxbBFiVKepb1d6",
            },
            ReviewerLevel = "FIRST",
            Note = "John Smith is on leave for this month. His manager Tim will be the reviewer instead.",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.okta.Review;
    import com.pulumi.okta.ReviewArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new Review("test", ReviewArgs.builder()
                .campaignId("icizigd86iM9sOcbN1d6")
                .reviewerId("00unli90kor62oF5Z1d7")
                .reviewIds("icrztblxbBFiVKepb1d6")
                .reviewerLevel("FIRST")
                .note("John Smith is on leave for this month. His manager Tim will be the reviewer instead.")
                .build());
    
        }
    }
    
    resources:
      test:
        type: okta:Review
        properties:
          campaignId: icizigd86iM9sOcbN1d6
          reviewerId: 00unli90kor62oF5Z1d7
          reviewIds:
            - icrztblxbBFiVKepb1d6
          reviewerLevel: FIRST
          note: John Smith is on leave for this month. His manager Tim will be the reviewer instead.
    

    Create Review Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Review(name: string, args: ReviewArgs, opts?: CustomResourceOptions);
    @overload
    def Review(resource_name: str,
               args: ReviewArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Review(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               campaign_id: Optional[str] = None,
               note: Optional[str] = None,
               review_ids: Optional[Sequence[str]] = None,
               reviewer_id: Optional[str] = None,
               reviewer_level: Optional[str] = None)
    func NewReview(ctx *Context, name string, args ReviewArgs, opts ...ResourceOption) (*Review, error)
    public Review(string name, ReviewArgs args, CustomResourceOptions? opts = null)
    public Review(String name, ReviewArgs args)
    public Review(String name, ReviewArgs args, CustomResourceOptions options)
    
    type: okta:Review
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ReviewArgs
    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 ReviewArgs
    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 ReviewArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReviewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReviewArgs
    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 reviewResource = new Okta.Review("reviewResource", new()
    {
        CampaignId = "string",
        Note = "string",
        ReviewIds = new[]
        {
            "string",
        },
        ReviewerId = "string",
        ReviewerLevel = "string",
    });
    
    example, err := okta.NewReview(ctx, "reviewResource", &okta.ReviewArgs{
    	CampaignId: pulumi.String("string"),
    	Note:       pulumi.String("string"),
    	ReviewIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ReviewerId:    pulumi.String("string"),
    	ReviewerLevel: pulumi.String("string"),
    })
    
    var reviewResource = new Review("reviewResource", ReviewArgs.builder()
        .campaignId("string")
        .note("string")
        .reviewIds("string")
        .reviewerId("string")
        .reviewerLevel("string")
        .build());
    
    review_resource = okta.Review("reviewResource",
        campaign_id="string",
        note="string",
        review_ids=["string"],
        reviewer_id="string",
        reviewer_level="string")
    
    const reviewResource = new okta.Review("reviewResource", {
        campaignId: "string",
        note: "string",
        reviewIds: ["string"],
        reviewerId: "string",
        reviewerLevel: "string",
    });
    
    type: okta:Review
    properties:
        campaignId: string
        note: string
        reviewIds:
            - string
        reviewerId: string
        reviewerLevel: string
    

    Review 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 Review resource accepts the following input properties:

    CampaignId string
    The id of the campaign.
    Note string
    A note to justify the reassignment decision for the specified review.
    ReviewIds List<string>
    A list of reviews (review id values) that are reassigned to the new reviewer.
    ReviewerId string
    The Okta user id of the new reviewer.
    ReviewerLevel string
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    CampaignId string
    The id of the campaign.
    Note string
    A note to justify the reassignment decision for the specified review.
    ReviewIds []string
    A list of reviews (review id values) that are reassigned to the new reviewer.
    ReviewerId string
    The Okta user id of the new reviewer.
    ReviewerLevel string
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    campaignId String
    The id of the campaign.
    note String
    A note to justify the reassignment decision for the specified review.
    reviewIds List<String>
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewerId String
    The Okta user id of the new reviewer.
    reviewerLevel String
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    campaignId string
    The id of the campaign.
    note string
    A note to justify the reassignment decision for the specified review.
    reviewIds string[]
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewerId string
    The Okta user id of the new reviewer.
    reviewerLevel string
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    campaign_id str
    The id of the campaign.
    note str
    A note to justify the reassignment decision for the specified review.
    review_ids Sequence[str]
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewer_id str
    The Okta user id of the new reviewer.
    reviewer_level str
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    campaignId String
    The id of the campaign.
    note String
    A note to justify the reassignment decision for the specified review.
    reviewIds List<String>
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewerId String
    The Okta user id of the new reviewer.
    reviewerLevel String
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Review resource produces the following output properties:

    Created string
    The ISO 8601 formatted date and time when the resource was created
    CreatedBy string
    The id of user who created the resource.
    Decision string
    The decision of the reviewer.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    The ISO 8601 formatted date and time when the object was last updated.
    LastUpdatedBy string
    The id of user who last updated the object.
    ResourceId string
    ReviewerType string
    The type of reviewer to which the review is assigned.
    Created string
    The ISO 8601 formatted date and time when the resource was created
    CreatedBy string
    The id of user who created the resource.
    Decision string
    The decision of the reviewer.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    The ISO 8601 formatted date and time when the object was last updated.
    LastUpdatedBy string
    The id of user who last updated the object.
    ResourceId string
    ReviewerType string
    The type of reviewer to which the review is assigned.
    created String
    The ISO 8601 formatted date and time when the resource was created
    createdBy String
    The id of user who created the resource.
    decision String
    The decision of the reviewer.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    The ISO 8601 formatted date and time when the object was last updated.
    lastUpdatedBy String
    The id of user who last updated the object.
    resourceId String
    reviewerType String
    The type of reviewer to which the review is assigned.
    created string
    The ISO 8601 formatted date and time when the resource was created
    createdBy string
    The id of user who created the resource.
    decision string
    The decision of the reviewer.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdated string
    The ISO 8601 formatted date and time when the object was last updated.
    lastUpdatedBy string
    The id of user who last updated the object.
    resourceId string
    reviewerType string
    The type of reviewer to which the review is assigned.
    created str
    The ISO 8601 formatted date and time when the resource was created
    created_by str
    The id of user who created the resource.
    decision str
    The decision of the reviewer.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated str
    The ISO 8601 formatted date and time when the object was last updated.
    last_updated_by str
    The id of user who last updated the object.
    resource_id str
    reviewer_type str
    The type of reviewer to which the review is assigned.
    created String
    The ISO 8601 formatted date and time when the resource was created
    createdBy String
    The id of user who created the resource.
    decision String
    The decision of the reviewer.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    The ISO 8601 formatted date and time when the object was last updated.
    lastUpdatedBy String
    The id of user who last updated the object.
    resourceId String
    reviewerType String
    The type of reviewer to which the review is assigned.

    Look up Existing Review Resource

    Get an existing Review 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?: ReviewState, opts?: CustomResourceOptions): Review
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            campaign_id: Optional[str] = None,
            created: Optional[str] = None,
            created_by: Optional[str] = None,
            decision: Optional[str] = None,
            last_updated: Optional[str] = None,
            last_updated_by: Optional[str] = None,
            note: Optional[str] = None,
            resource_id: Optional[str] = None,
            review_ids: Optional[Sequence[str]] = None,
            reviewer_id: Optional[str] = None,
            reviewer_level: Optional[str] = None,
            reviewer_type: Optional[str] = None) -> Review
    func GetReview(ctx *Context, name string, id IDInput, state *ReviewState, opts ...ResourceOption) (*Review, error)
    public static Review Get(string name, Input<string> id, ReviewState? state, CustomResourceOptions? opts = null)
    public static Review get(String name, Output<String> id, ReviewState state, CustomResourceOptions options)
    resources:  _:    type: okta:Review    get:      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:
    CampaignId string
    The id of the campaign.
    Created string
    The ISO 8601 formatted date and time when the resource was created
    CreatedBy string
    The id of user who created the resource.
    Decision string
    The decision of the reviewer.
    LastUpdated string
    The ISO 8601 formatted date and time when the object was last updated.
    LastUpdatedBy string
    The id of user who last updated the object.
    Note string
    A note to justify the reassignment decision for the specified review.
    ResourceId string
    ReviewIds List<string>
    A list of reviews (review id values) that are reassigned to the new reviewer.
    ReviewerId string
    The Okta user id of the new reviewer.
    ReviewerLevel string
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    ReviewerType string
    The type of reviewer to which the review is assigned.
    CampaignId string
    The id of the campaign.
    Created string
    The ISO 8601 formatted date and time when the resource was created
    CreatedBy string
    The id of user who created the resource.
    Decision string
    The decision of the reviewer.
    LastUpdated string
    The ISO 8601 formatted date and time when the object was last updated.
    LastUpdatedBy string
    The id of user who last updated the object.
    Note string
    A note to justify the reassignment decision for the specified review.
    ResourceId string
    ReviewIds []string
    A list of reviews (review id values) that are reassigned to the new reviewer.
    ReviewerId string
    The Okta user id of the new reviewer.
    ReviewerLevel string
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    ReviewerType string
    The type of reviewer to which the review is assigned.
    campaignId String
    The id of the campaign.
    created String
    The ISO 8601 formatted date and time when the resource was created
    createdBy String
    The id of user who created the resource.
    decision String
    The decision of the reviewer.
    lastUpdated String
    The ISO 8601 formatted date and time when the object was last updated.
    lastUpdatedBy String
    The id of user who last updated the object.
    note String
    A note to justify the reassignment decision for the specified review.
    resourceId String
    reviewIds List<String>
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewerId String
    The Okta user id of the new reviewer.
    reviewerLevel String
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    reviewerType String
    The type of reviewer to which the review is assigned.
    campaignId string
    The id of the campaign.
    created string
    The ISO 8601 formatted date and time when the resource was created
    createdBy string
    The id of user who created the resource.
    decision string
    The decision of the reviewer.
    lastUpdated string
    The ISO 8601 formatted date and time when the object was last updated.
    lastUpdatedBy string
    The id of user who last updated the object.
    note string
    A note to justify the reassignment decision for the specified review.
    resourceId string
    reviewIds string[]
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewerId string
    The Okta user id of the new reviewer.
    reviewerLevel string
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    reviewerType string
    The type of reviewer to which the review is assigned.
    campaign_id str
    The id of the campaign.
    created str
    The ISO 8601 formatted date and time when the resource was created
    created_by str
    The id of user who created the resource.
    decision str
    The decision of the reviewer.
    last_updated str
    The ISO 8601 formatted date and time when the object was last updated.
    last_updated_by str
    The id of user who last updated the object.
    note str
    A note to justify the reassignment decision for the specified review.
    resource_id str
    review_ids Sequence[str]
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewer_id str
    The Okta user id of the new reviewer.
    reviewer_level str
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    reviewer_type str
    The type of reviewer to which the review is assigned.
    campaignId String
    The id of the campaign.
    created String
    The ISO 8601 formatted date and time when the resource was created
    createdBy String
    The id of user who created the resource.
    decision String
    The decision of the reviewer.
    lastUpdated String
    The ISO 8601 formatted date and time when the object was last updated.
    lastUpdatedBy String
    The id of user who last updated the object.
    note String
    A note to justify the reassignment decision for the specified review.
    resourceId String
    reviewIds List<String>
    A list of reviews (review id values) that are reassigned to the new reviewer.
    reviewerId String
    The Okta user id of the new reviewer.
    reviewerLevel String
    Identifies the reviewer level of each reviews during access certification. Applicable for multi level campaigns only.
    reviewerType String
    The type of reviewer to which the review is assigned.

    Import

    $ pulumi import okta:index/review:Review example <review_id?
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Okta pulumi/pulumi-okta
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the okta Terraform Provider.
    okta logo
    Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate