published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi
Manages all request conditions of a resource in a single configuration block.
When several okta.RequestCondition resources are declared for the same resource, Terraform creates them in parallel, so the order in which they reach the API (and therefore their effective priority in Okta) is nondeterministic. This resource sorts the conditions by priority and creates, updates and deletes them one at a time, so the priorities in Okta match the configuration.
IMPORTANT: Conditions are matched by
name, which must be unique within the resource. Renaming a condition deletes the old condition and creates a new one.
NOTE: Do not manage the conditions of a resource with both
okta.RequestConditionsandokta.RequestCondition. Conditions on the resource that are not declared in this resource are left untouched.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = new okta.RequestConditions("example", {
resourceId: "<resource_id>",
conditions: [
{
name: "Engineering",
approvalSequenceId: "<approval_sequence_id>",
priority: 0,
status: "ACTIVE",
accessScopeSettings: {
type: "RESOURCE_DEFAULT",
},
requesterSettings: {
type: "GROUPS",
ids: [{
id: "<group_id>",
}],
},
},
{
name: "Everyone else",
approvalSequenceId: "<approval_sequence_id>",
priority: 1,
status: "ACTIVE",
accessScopeSettings: {
type: "RESOURCE_DEFAULT",
},
requesterSettings: {
type: "EVERYONE",
},
},
],
});
import pulumi
import pulumi_okta as okta
example = okta.RequestConditions("example",
resource_id="<resource_id>",
conditions=[
{
"name": "Engineering",
"approval_sequence_id": "<approval_sequence_id>",
"priority": 0,
"status": "ACTIVE",
"access_scope_settings": {
"type": "RESOURCE_DEFAULT",
},
"requester_settings": {
"type": "GROUPS",
"ids": [{
"id": "<group_id>",
}],
},
},
{
"name": "Everyone else",
"approval_sequence_id": "<approval_sequence_id>",
"priority": 1,
"status": "ACTIVE",
"access_scope_settings": {
"type": "RESOURCE_DEFAULT",
},
"requester_settings": {
"type": "EVERYONE",
},
},
])
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v7/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := okta.NewRequestConditions(ctx, "example", &okta.RequestConditionsArgs{
ResourceId: pulumi.String("<resource_id>"),
Conditions: okta.RequestConditionsConditionArray{
&okta.RequestConditionsConditionArgs{
Name: pulumi.String("Engineering"),
ApprovalSequenceId: pulumi.String("<approval_sequence_id>"),
Priority: pulumi.Int(0),
Status: pulumi.String("ACTIVE"),
AccessScopeSettings: &okta.RequestConditionsConditionAccessScopeSettingsArgs{
Type: pulumi.String("RESOURCE_DEFAULT"),
},
RequesterSettings: &okta.RequestConditionsConditionRequesterSettingsArgs{
Type: pulumi.String("GROUPS"),
Ids: okta.RequestConditionsConditionRequesterSettingsIdArray{
&okta.RequestConditionsConditionRequesterSettingsIdArgs{
Id: pulumi.String("<group_id>"),
},
},
},
},
&okta.RequestConditionsConditionArgs{
Name: pulumi.String("Everyone else"),
ApprovalSequenceId: pulumi.String("<approval_sequence_id>"),
Priority: pulumi.Int(1),
Status: pulumi.String("ACTIVE"),
AccessScopeSettings: &okta.RequestConditionsConditionAccessScopeSettingsArgs{
Type: pulumi.String("RESOURCE_DEFAULT"),
},
RequesterSettings: &okta.RequestConditionsConditionRequesterSettingsArgs{
Type: pulumi.String("EVERYONE"),
},
},
},
})
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 example = new Okta.RequestConditions("example", new()
{
ResourceId = "<resource_id>",
Conditions = new[]
{
new Okta.Inputs.RequestConditionsConditionArgs
{
Name = "Engineering",
ApprovalSequenceId = "<approval_sequence_id>",
Priority = 0,
Status = "ACTIVE",
AccessScopeSettings = new Okta.Inputs.RequestConditionsConditionAccessScopeSettingsArgs
{
Type = "RESOURCE_DEFAULT",
},
RequesterSettings = new Okta.Inputs.RequestConditionsConditionRequesterSettingsArgs
{
Type = "GROUPS",
Ids = new[]
{
new Okta.Inputs.RequestConditionsConditionRequesterSettingsIdArgs
{
Id = "<group_id>",
},
},
},
},
new Okta.Inputs.RequestConditionsConditionArgs
{
Name = "Everyone else",
ApprovalSequenceId = "<approval_sequence_id>",
Priority = 1,
Status = "ACTIVE",
AccessScopeSettings = new Okta.Inputs.RequestConditionsConditionAccessScopeSettingsArgs
{
Type = "RESOURCE_DEFAULT",
},
RequesterSettings = new Okta.Inputs.RequestConditionsConditionRequesterSettingsArgs
{
Type = "EVERYONE",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.RequestConditions;
import com.pulumi.okta.RequestConditionsArgs;
import com.pulumi.okta.inputs.RequestConditionsConditionArgs;
import com.pulumi.okta.inputs.RequestConditionsConditionAccessScopeSettingsArgs;
import com.pulumi.okta.inputs.RequestConditionsConditionRequesterSettingsArgs;
import com.pulumi.okta.inputs.RequestConditionsConditionRequesterSettingsIdArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new RequestConditions("example", RequestConditionsArgs.builder()
.resourceId("<resource_id>")
.conditions(
RequestConditionsConditionArgs.builder()
.name("Engineering")
.approvalSequenceId("<approval_sequence_id>")
.priority(0)
.status("ACTIVE")
.accessScopeSettings(RequestConditionsConditionAccessScopeSettingsArgs.builder()
.type("RESOURCE_DEFAULT")
.build())
.requesterSettings(RequestConditionsConditionRequesterSettingsArgs.builder()
.type("GROUPS")
.ids(RequestConditionsConditionRequesterSettingsIdArgs.builder()
.id("<group_id>")
.build())
.build())
.build(),
RequestConditionsConditionArgs.builder()
.name("Everyone else")
.approvalSequenceId("<approval_sequence_id>")
.priority(1)
.status("ACTIVE")
.accessScopeSettings(RequestConditionsConditionAccessScopeSettingsArgs.builder()
.type("RESOURCE_DEFAULT")
.build())
.requesterSettings(RequestConditionsConditionRequesterSettingsArgs.builder()
.type("EVERYONE")
.build())
.build())
.build());
}
}
resources:
example:
type: okta:RequestConditions
properties:
resourceId: <resource_id>
conditions:
- name: Engineering
approvalSequenceId: <approval_sequence_id>
priority: 0
status: ACTIVE
accessScopeSettings:
type: RESOURCE_DEFAULT
requesterSettings:
type: GROUPS
ids:
- id: <group_id>
- name: Everyone else
approvalSequenceId: <approval_sequence_id>
priority: 1
status: ACTIVE
accessScopeSettings:
type: RESOURCE_DEFAULT
requesterSettings:
type: EVERYONE
terraform {
required_providers {
okta = {
source = "pulumi/okta"
}
}
}
resource "okta_request_conditions" "example" {
lifecycle {
create_before_destroy = true
}
resource_id = "<resource_id>"
condition {
name = "Engineering"
approval_sequence_id = "<approval_sequence_id>"
priority = 0
status = "ACTIVE"
access_scope_settings = {
type = "RESOURCE_DEFAULT"
}
requester_settings = {
type = "GROUPS"
ids = [{
id = "<group_id>"
}]
}
}
condition {
name = "Everyone else"
approval_sequence_id = "<approval_sequence_id>"
priority = 1
status = "ACTIVE"
access_scope_settings = {
type = "RESOURCE_DEFAULT"
}
requester_settings = {
type = "EVERYONE"
}
}
}
Create RequestConditions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RequestConditions(name: string, args: RequestConditionsArgs, opts?: CustomResourceOptions);@overload
def RequestConditions(resource_name: str,
args: RequestConditionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RequestConditions(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_id: Optional[str] = None,
conditions: Optional[Sequence[RequestConditionsConditionArgs]] = None)func NewRequestConditions(ctx *Context, name string, args RequestConditionsArgs, opts ...ResourceOption) (*RequestConditions, error)public RequestConditions(string name, RequestConditionsArgs args, CustomResourceOptions? opts = null)
public RequestConditions(String name, RequestConditionsArgs args)
public RequestConditions(String name, RequestConditionsArgs args, CustomResourceOptions options)
type: okta:RequestConditions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "okta_request_conditions" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RequestConditionsArgs
- 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 RequestConditionsArgs
- 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 RequestConditionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RequestConditionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RequestConditionsArgs
- 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 requestConditionsResource = new Okta.RequestConditions("requestConditionsResource", new()
{
ResourceId = "string",
Conditions = new[]
{
new Okta.Inputs.RequestConditionsConditionArgs
{
ApprovalSequenceId = "string",
Name = "string",
Created = "string",
AccessDurationSettings = new Okta.Inputs.RequestConditionsConditionAccessDurationSettingsArgs
{
Duration = "string",
Type = "string",
},
CreatedBy = "string",
Description = "string",
Id = "string",
LastUpdated = "string",
LastUpdatedBy = "string",
AccessScopeSettings = new Okta.Inputs.RequestConditionsConditionAccessScopeSettingsArgs
{
Type = "string",
Ids = new[]
{
new Okta.Inputs.RequestConditionsConditionAccessScopeSettingsIdArgs
{
Id = "string",
},
},
},
Priority = 0,
RequesterSettings = new Okta.Inputs.RequestConditionsConditionRequesterSettingsArgs
{
Type = "string",
Ids = new[]
{
new Okta.Inputs.RequestConditionsConditionRequesterSettingsIdArgs
{
Id = "string",
},
},
},
Status = "string",
},
},
});
example, err := okta.NewRequestConditions(ctx, "requestConditionsResource", &okta.RequestConditionsArgs{
ResourceId: pulumi.String("string"),
Conditions: okta.RequestConditionsConditionArray{
&okta.RequestConditionsConditionArgs{
ApprovalSequenceId: pulumi.String("string"),
Name: pulumi.String("string"),
Created: pulumi.String("string"),
AccessDurationSettings: &okta.RequestConditionsConditionAccessDurationSettingsArgs{
Duration: pulumi.String("string"),
Type: pulumi.String("string"),
},
CreatedBy: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
LastUpdated: pulumi.String("string"),
LastUpdatedBy: pulumi.String("string"),
AccessScopeSettings: &okta.RequestConditionsConditionAccessScopeSettingsArgs{
Type: pulumi.String("string"),
Ids: okta.RequestConditionsConditionAccessScopeSettingsIdArray{
&okta.RequestConditionsConditionAccessScopeSettingsIdArgs{
Id: pulumi.String("string"),
},
},
},
Priority: pulumi.Int(0),
RequesterSettings: &okta.RequestConditionsConditionRequesterSettingsArgs{
Type: pulumi.String("string"),
Ids: okta.RequestConditionsConditionRequesterSettingsIdArray{
&okta.RequestConditionsConditionRequesterSettingsIdArgs{
Id: pulumi.String("string"),
},
},
},
Status: pulumi.String("string"),
},
},
})
resource "okta_request_conditions" "requestConditionsResource" {
lifecycle {
create_before_destroy = true
}
resource_id = "string"
conditions {
approval_sequence_id = "string"
name = "string"
created = "string"
access_duration_settings = {
duration = "string"
type = "string"
}
created_by = "string"
description = "string"
id = "string"
last_updated = "string"
last_updated_by = "string"
access_scope_settings = {
type = "string"
ids = [{
id = "string"
}]
}
priority = 0
requester_settings = {
type = "string"
ids = [{
id = "string"
}]
}
status = "string"
}
}
var requestConditionsResource = new RequestConditions("requestConditionsResource", RequestConditionsArgs.builder()
.resourceId("string")
.conditions(RequestConditionsConditionArgs.builder()
.approvalSequenceId("string")
.name("string")
.created("string")
.accessDurationSettings(RequestConditionsConditionAccessDurationSettingsArgs.builder()
.duration("string")
.type("string")
.build())
.createdBy("string")
.description("string")
.id("string")
.lastUpdated("string")
.lastUpdatedBy("string")
.accessScopeSettings(RequestConditionsConditionAccessScopeSettingsArgs.builder()
.type("string")
.ids(RequestConditionsConditionAccessScopeSettingsIdArgs.builder()
.id("string")
.build())
.build())
.priority(0)
.requesterSettings(RequestConditionsConditionRequesterSettingsArgs.builder()
.type("string")
.ids(RequestConditionsConditionRequesterSettingsIdArgs.builder()
.id("string")
.build())
.build())
.status("string")
.build())
.build());
request_conditions_resource = okta.RequestConditions("requestConditionsResource",
resource_id="string",
conditions=[{
"approval_sequence_id": "string",
"name": "string",
"created": "string",
"access_duration_settings": {
"duration": "string",
"type": "string",
},
"created_by": "string",
"description": "string",
"id": "string",
"last_updated": "string",
"last_updated_by": "string",
"access_scope_settings": {
"type": "string",
"ids": [{
"id": "string",
}],
},
"priority": 0,
"requester_settings": {
"type": "string",
"ids": [{
"id": "string",
}],
},
"status": "string",
}])
const requestConditionsResource = new okta.RequestConditions("requestConditionsResource", {
resourceId: "string",
conditions: [{
approvalSequenceId: "string",
name: "string",
created: "string",
accessDurationSettings: {
duration: "string",
type: "string",
},
createdBy: "string",
description: "string",
id: "string",
lastUpdated: "string",
lastUpdatedBy: "string",
accessScopeSettings: {
type: "string",
ids: [{
id: "string",
}],
},
priority: 0,
requesterSettings: {
type: "string",
ids: [{
id: "string",
}],
},
status: "string",
}],
});
type: okta:RequestConditions
properties:
conditions:
- accessDurationSettings:
duration: string
type: string
accessScopeSettings:
ids:
- id: string
type: string
approvalSequenceId: string
created: string
createdBy: string
description: string
id: string
lastUpdated: string
lastUpdatedBy: string
name: string
priority: 0
requesterSettings:
ids:
- id: string
type: string
status: string
resourceId: string
RequestConditions 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 RequestConditions resource accepts the following input properties:
- Resource
Id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- Conditions
List<Request
Conditions Condition> - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- Resource
Id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- Conditions
[]Request
Conditions Condition Args - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource_
id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions list(object)
- List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource
Id String - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions
List<Request
Conditions Condition> - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource
Id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions
Request
Conditions Condition[] - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource_
id str - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions
Sequence[Request
Conditions Condition Args] - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource
Id String - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions List<Property Map>
- List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
Outputs
All input properties are implicitly available as output properties. Additionally, the RequestConditions resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RequestConditions Resource
Get an existing RequestConditions 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?: RequestConditionsState, opts?: CustomResourceOptions): RequestConditions@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
conditions: Optional[Sequence[RequestConditionsConditionArgs]] = None,
resource_id: Optional[str] = None) -> RequestConditionsfunc GetRequestConditions(ctx *Context, name string, id IDInput, state *RequestConditionsState, opts ...ResourceOption) (*RequestConditions, error)public static RequestConditions Get(string name, Input<string> id, RequestConditionsState? state, CustomResourceOptions? opts = null)public static RequestConditions get(String name, Output<String> id, RequestConditionsState state, CustomResourceOptions options)resources: _: type: okta:RequestConditions get: id: ${id}import {
to = okta_request_conditions.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.
- Conditions
List<Request
Conditions Condition> - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- Resource
Id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- Conditions
[]Request
Conditions Condition Args - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- Resource
Id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions list(object)
- List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource_
id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions
List<Request
Conditions Condition> - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource
Id String - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions
Request
Conditions Condition[] - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource
Id string - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions
Sequence[Request
Conditions Condition Args] - List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource_
id str - The id of the resource in Okta ID format. Changing this forces a new resource.
- conditions List<Property Map>
- List of request conditions. Conditions are processed in priority order (the smaller the number, the higher the priority).
- resource
Id String - The id of the resource in Okta ID format. Changing this forces a new resource.
Supporting Types
RequestConditionsCondition, RequestConditionsConditionArgs
- Approval
Sequence stringId - The ID of the approval sequence.
- Name string
- The name of the request condition. Must be unique within the resource.
- Access
Duration RequestSettings Conditions Condition Access Duration Settings - Settings that control who may specify the access duration allowed by this request condition, and what duration may be requested.
- Access
Scope RequestSettings Conditions Condition Access Scope Settings - Created string
- The ISO 8601 formatted date and time when the condition was created.
- Created
By string - The id of the Okta user who created the condition.
- Description string
- The description of the request condition.
- Id string
- The id of the request condition.
- Last
Updated string - The ISO 8601 formatted date and time when the condition was last updated.
- Last
Updated stringBy - The id of the Okta user who last updated the condition.
- Priority int
- The priority of the condition. The smaller the number, the higher the priority. Must be unique within the resource. Only the relative order matters: Okta ranks the conditions
0, 1, 2, ...in this order, sopriority = 1, 2, 3andpriority = 10, 20, 30produce the same result. The configured values are kept in state, and drift is reported only when the order in Okta differs. - Requester
Settings RequestConditions Condition Requester Settings - Status string
- Status of the condition. Valid values:
ACTIVE,INACTIVE. Default isINACTIVE.
- Approval
Sequence stringId - The ID of the approval sequence.
- Name string
- The name of the request condition. Must be unique within the resource.
- Access
Duration RequestSettings Conditions Condition Access Duration Settings - Settings that control who may specify the access duration allowed by this request condition, and what duration may be requested.
- Access
Scope RequestSettings Conditions Condition Access Scope Settings - Created string
- The ISO 8601 formatted date and time when the condition was created.
- Created
By string - The id of the Okta user who created the condition.
- Description string
- The description of the request condition.
- Id string
- The id of the request condition.
- Last
Updated string - The ISO 8601 formatted date and time when the condition was last updated.
- Last
Updated stringBy - The id of the Okta user who last updated the condition.
- Priority int
- The priority of the condition. The smaller the number, the higher the priority. Must be unique within the resource. Only the relative order matters: Okta ranks the conditions
0, 1, 2, ...in this order, sopriority = 1, 2, 3andpriority = 10, 20, 30produce the same result. The configured values are kept in state, and drift is reported only when the order in Okta differs. - Requester
Settings RequestConditions Condition Requester Settings - Status string
- Status of the condition. Valid values:
ACTIVE,INACTIVE. Default isINACTIVE.
- approval_
sequence_ stringid - The ID of the approval sequence.
- name string
- The name of the request condition. Must be unique within the resource.
- access_
duration_ objectsettings - Settings that control who may specify the access duration allowed by this request condition, and what duration may be requested.
- access_
scope_ objectsettings - created string
- The ISO 8601 formatted date and time when the condition was created.
- created_
by string - The id of the Okta user who created the condition.
- description string
- The description of the request condition.
- id string
- The id of the request condition.
- last_
updated string - The ISO 8601 formatted date and time when the condition was last updated.
- last_
updated_ stringby - The id of the Okta user who last updated the condition.
- priority number
- The priority of the condition. The smaller the number, the higher the priority. Must be unique within the resource. Only the relative order matters: Okta ranks the conditions
0, 1, 2, ...in this order, sopriority = 1, 2, 3andpriority = 10, 20, 30produce the same result. The configured values are kept in state, and drift is reported only when the order in Okta differs. - requester_
settings object - status string
- Status of the condition. Valid values:
ACTIVE,INACTIVE. Default isINACTIVE.
- approval
Sequence StringId - The ID of the approval sequence.
- name String
- The name of the request condition. Must be unique within the resource.
- access
Duration RequestSettings Conditions Condition Access Duration Settings - Settings that control who may specify the access duration allowed by this request condition, and what duration may be requested.
- access
Scope RequestSettings Conditions Condition Access Scope Settings - created String
- The ISO 8601 formatted date and time when the condition was created.
- created
By String - The id of the Okta user who created the condition.
- description String
- The description of the request condition.
- id String
- The id of the request condition.
- last
Updated String - The ISO 8601 formatted date and time when the condition was last updated.
- last
Updated StringBy - The id of the Okta user who last updated the condition.
- priority Integer
- The priority of the condition. The smaller the number, the higher the priority. Must be unique within the resource. Only the relative order matters: Okta ranks the conditions
0, 1, 2, ...in this order, sopriority = 1, 2, 3andpriority = 10, 20, 30produce the same result. The configured values are kept in state, and drift is reported only when the order in Okta differs. - requester
Settings RequestConditions Condition Requester Settings - status String
- Status of the condition. Valid values:
ACTIVE,INACTIVE. Default isINACTIVE.
- approval
Sequence stringId - The ID of the approval sequence.
- name string
- The name of the request condition. Must be unique within the resource.
- access
Duration RequestSettings Conditions Condition Access Duration Settings - Settings that control who may specify the access duration allowed by this request condition, and what duration may be requested.
- access
Scope RequestSettings Conditions Condition Access Scope Settings - created string
- The ISO 8601 formatted date and time when the condition was created.
- created
By string - The id of the Okta user who created the condition.
- description string
- The description of the request condition.
- id string
- The id of the request condition.
- last
Updated string - The ISO 8601 formatted date and time when the condition was last updated.
- last
Updated stringBy - The id of the Okta user who last updated the condition.
- priority number
- The priority of the condition. The smaller the number, the higher the priority. Must be unique within the resource. Only the relative order matters: Okta ranks the conditions
0, 1, 2, ...in this order, sopriority = 1, 2, 3andpriority = 10, 20, 30produce the same result. The configured values are kept in state, and drift is reported only when the order in Okta differs. - requester
Settings RequestConditions Condition Requester Settings - status string
- Status of the condition. Valid values:
ACTIVE,INACTIVE. Default isINACTIVE.
- approval_
sequence_ strid - The ID of the approval sequence.
- name str
- The name of the request condition. Must be unique within the resource.
- access_
duration_ Requestsettings Conditions Condition Access Duration Settings - Settings that control who may specify the access duration allowed by this request condition, and what duration may be requested.
- access_
scope_ Requestsettings Conditions Condition Access Scope Settings - created str
- The ISO 8601 formatted date and time when the condition was created.
- created_
by str - The id of the Okta user who created the condition.
- description str
- The description of the request condition.
- id str
- The id of the request condition.
- last_
updated str - The ISO 8601 formatted date and time when the condition was last updated.
- last_
updated_ strby - The id of the Okta user who last updated the condition.
- priority int
- The priority of the condition. The smaller the number, the higher the priority. Must be unique within the resource. Only the relative order matters: Okta ranks the conditions
0, 1, 2, ...in this order, sopriority = 1, 2, 3andpriority = 10, 20, 30produce the same result. The configured values are kept in state, and drift is reported only when the order in Okta differs. - requester_
settings RequestConditions Condition Requester Settings - status str
- Status of the condition. Valid values:
ACTIVE,INACTIVE. Default isINACTIVE.
- approval
Sequence StringId - The ID of the approval sequence.
- name String
- The name of the request condition. Must be unique within the resource.
- access
Duration Property MapSettings - Settings that control who may specify the access duration allowed by this request condition, and what duration may be requested.
- access
Scope Property MapSettings - created String
- The ISO 8601 formatted date and time when the condition was created.
- created
By String - The id of the Okta user who created the condition.
- description String
- The description of the request condition.
- id String
- The id of the request condition.
- last
Updated String - The ISO 8601 formatted date and time when the condition was last updated.
- last
Updated StringBy - The id of the Okta user who last updated the condition.
- priority Number
- The priority of the condition. The smaller the number, the higher the priority. Must be unique within the resource. Only the relative order matters: Okta ranks the conditions
0, 1, 2, ...in this order, sopriority = 1, 2, 3andpriority = 10, 20, 30produce the same result. The configured values are kept in state, and drift is reported only when the order in Okta differs. - requester
Settings Property Map - status String
- Status of the condition. Valid values:
ACTIVE,INACTIVE. Default isINACTIVE.
RequestConditionsConditionAccessDurationSettings, RequestConditionsConditionAccessDurationSettingsArgs
RequestConditionsConditionAccessScopeSettings, RequestConditionsConditionAccessScopeSettingsArgs
- Type string
- Enum:
RESOURCE_DEFAULT,GROUPS,ENTITLEMENT_BUNDLES. - Ids
List<Request
Conditions Condition Access Scope Settings Id> - The group or entitlement bundle IDs. Each block contains an
id.
- Type string
- Enum:
RESOURCE_DEFAULT,GROUPS,ENTITLEMENT_BUNDLES. - Ids
[]Request
Conditions Condition Access Scope Settings Id - The group or entitlement bundle IDs. Each block contains an
id.
- type string
- Enum:
RESOURCE_DEFAULT,GROUPS,ENTITLEMENT_BUNDLES. - ids list(object)
- The group or entitlement bundle IDs. Each block contains an
id.
- type String
- Enum:
RESOURCE_DEFAULT,GROUPS,ENTITLEMENT_BUNDLES. - ids
List<Request
Conditions Condition Access Scope Settings Id> - The group or entitlement bundle IDs. Each block contains an
id.
- type string
- Enum:
RESOURCE_DEFAULT,GROUPS,ENTITLEMENT_BUNDLES. - ids
Request
Conditions Condition Access Scope Settings Id[] - The group or entitlement bundle IDs. Each block contains an
id.
- type str
- Enum:
RESOURCE_DEFAULT,GROUPS,ENTITLEMENT_BUNDLES. - ids
Sequence[Request
Conditions Condition Access Scope Settings Id] - The group or entitlement bundle IDs. Each block contains an
id.
- type String
- Enum:
RESOURCE_DEFAULT,GROUPS,ENTITLEMENT_BUNDLES. - ids List<Property Map>
- The group or entitlement bundle IDs. Each block contains an
id.
RequestConditionsConditionAccessScopeSettingsId, RequestConditionsConditionAccessScopeSettingsIdArgs
- Id string
- The ID of this resource (same as
resourceId).
- Id string
- The ID of this resource (same as
resourceId).
- id string
- The ID of this resource (same as
resourceId).
- id String
- The ID of this resource (same as
resourceId).
- id string
- The ID of this resource (same as
resourceId).
- id str
- The ID of this resource (same as
resourceId).
- id String
- The ID of this resource (same as
resourceId).
RequestConditionsConditionRequesterSettings, RequestConditionsConditionRequesterSettingsArgs
- Type string
- Enum:
EVERYONE,GROUPS. - Ids
List<Request
Conditions Condition Requester Settings Id> - The group IDs. Each block contains an
id.
- Type string
- Enum:
EVERYONE,GROUPS. - Ids
[]Request
Conditions Condition Requester Settings Id - The group IDs. Each block contains an
id.
- type string
- Enum:
EVERYONE,GROUPS. - ids list(object)
- The group IDs. Each block contains an
id.
- type String
- Enum:
EVERYONE,GROUPS. - ids
List<Request
Conditions Condition Requester Settings Id> - The group IDs. Each block contains an
id.
- type string
- Enum:
EVERYONE,GROUPS. - ids
Request
Conditions Condition Requester Settings Id[] - The group IDs. Each block contains an
id.
- type str
- Enum:
EVERYONE,GROUPS. - ids
Sequence[Request
Conditions Condition Requester Settings Id] - The group IDs. Each block contains an
id.
- type String
- Enum:
EVERYONE,GROUPS. - ids List<Property Map>
- The group IDs. Each block contains an
id.
RequestConditionsConditionRequesterSettingsId, RequestConditionsConditionRequesterSettingsIdArgs
- Id string
- The ID of this resource (same as
resourceId).
- Id string
- The ID of this resource (same as
resourceId).
- id string
- The ID of this resource (same as
resourceId).
- id String
- The ID of this resource (same as
resourceId).
- id string
- The ID of this resource (same as
resourceId).
- id str
- The ID of this resource (same as
resourceId).
- id String
- The ID of this resource (same as
resourceId).
Import
Import all request conditions of a resource using the resource ID:
$ pulumi import okta:index/requestConditions:RequestConditions example <resource_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
oktaTerraform Provider.
published on Saturday, Oct 31, 2026 by Pulumi