1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. Engine
Viewing docs for Descope v0.3.13
published on Tuesday, Jul 14, 2026 by Descope
descope logo
Viewing docs for Descope v0.3.13
published on Tuesday, Jul 14, 2026 by Descope

    Create Engine Resource

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

    Constructor syntax

    new Engine(name: string, args: EngineArgs, opts?: CustomResourceOptions);
    @overload
    def Engine(resource_name: str,
               args: EngineArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Engine(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               project_id: Optional[str] = None,
               name: Optional[str] = None)
    func NewEngine(ctx *Context, name string, args EngineArgs, opts ...ResourceOption) (*Engine, error)
    public Engine(string name, EngineArgs args, CustomResourceOptions? opts = null)
    public Engine(String name, EngineArgs args)
    public Engine(String name, EngineArgs args, CustomResourceOptions options)
    
    type: descope:Engine
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_engine" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EngineArgs
    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 EngineArgs
    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 EngineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EngineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EngineArgs
    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 engineResource = new Descope.Engine("engineResource", new()
    {
        ProjectId = "string",
        Name = "string",
    });
    
    example, err := descope.NewEngine(ctx, "engineResource", &descope.EngineArgs{
    	ProjectId: pulumi.String("string"),
    	Name:      pulumi.String("string"),
    })
    
    resource "descope_engine" "engineResource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id = "string"
      name       = "string"
    }
    
    var engineResource = new Engine("engineResource", EngineArgs.builder()
        .projectId("string")
        .name("string")
        .build());
    
    engine_resource = descope.Engine("engineResource",
        project_id="string",
        name="string")
    
    const engineResource = new descope.Engine("engineResource", {
        projectId: "string",
        name: "string",
    });
    
    type: descope:Engine
    properties:
        name: string
        projectId: string
    

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

    ProjectId string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    Name string
    A name for the engine.
    ProjectId string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    Name string
    A name for the engine.
    project_id string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    name string
    A name for the engine.
    projectId String
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    name String
    A name for the engine.
    projectId string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    name string
    A name for the engine.
    project_id str
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    name str
    A name for the engine.
    projectId String
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    name String
    A name for the engine.

    Outputs

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

    CreatedTime int
    The creation time of the engine as a Unix timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    CreatedTime int
    The creation time of the engine as a Unix timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    created_time number
    The creation time of the engine as a Unix timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    createdTime Integer
    The creation time of the engine as a Unix timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    secret String
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    createdTime number
    The creation time of the engine as a Unix timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    created_time int
    The creation time of the engine as a Unix timestamp.
    id str
    The provider-assigned unique ID for this managed resource.
    secret str
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    createdTime Number
    The creation time of the engine as a Unix timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    secret String
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.

    Look up Existing Engine Resource

    Get an existing Engine 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?: EngineState, opts?: CustomResourceOptions): Engine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_time: Optional[int] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            secret: Optional[str] = None) -> Engine
    func GetEngine(ctx *Context, name string, id IDInput, state *EngineState, opts ...ResourceOption) (*Engine, error)
    public static Engine Get(string name, Input<string> id, EngineState? state, CustomResourceOptions? opts = null)
    public static Engine get(String name, Output<String> id, EngineState state, CustomResourceOptions options)
    resources:  _:    type: descope:Engine    get:      id: ${id}
    import {
      to = descope_engine.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:
    CreatedTime int
    The creation time of the engine as a Unix timestamp.
    Name string
    A name for the engine.
    ProjectId string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    Secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    CreatedTime int
    The creation time of the engine as a Unix timestamp.
    Name string
    A name for the engine.
    ProjectId string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    Secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    created_time number
    The creation time of the engine as a Unix timestamp.
    name string
    A name for the engine.
    project_id string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    createdTime Integer
    The creation time of the engine as a Unix timestamp.
    name String
    A name for the engine.
    projectId String
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    secret String
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    createdTime number
    The creation time of the engine as a Unix timestamp.
    name string
    A name for the engine.
    projectId string
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    secret string
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    created_time int
    The creation time of the engine as a Unix timestamp.
    name str
    A name for the engine.
    project_id str
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    secret str
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.
    createdTime Number
    The creation time of the engine as a Unix timestamp.
    name String
    A name for the engine.
    projectId String
    The ID of the Descope project this engine belongs to. Changing this value will require the resource to be deleted and recreated.
    secret String
    The plaintext secret for the engine. This is only available after the engine is created and cannot be retrieved later. Store this value securely as it is used to authenticate the engine.

    Package Details

    Repository
    descope descope/pulumi-descope
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the descope Terraform Provider.
    descope logo
    Viewing docs for Descope v0.3.13
    published on Tuesday, Jul 14, 2026 by Descope

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial