1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. DlpEngine
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler

    The zia_dlp_engines resource manages DLP (Data Loss Prevention) engines in the Zscaler Internet Access (ZIA) cloud service. DLP engines combine multiple DLP dictionaries using logical expressions to create sophisticated data detection criteria for DLP policy rules.

    For more information, see the ZIA Data Loss Prevention documentation.

    Example Usage

    Basic DLP Engine

    Example coming soon!

    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	zia "github.com/zscaler/pulumi-zia/sdk/go/pulumi-zia"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zia.NewDlpEngine(ctx, "example", &zia.DlpEngineArgs{
    			Name:             pulumi.StringRef("Example DLP Engine"),
    			Description:      pulumi.StringRef("Custom DLP engine combining multiple dictionaries"),
    			EngineExpression: pulumi.StringRef("((D63.S > 1))"),
    			CustomDlpEngine:  pulumi.BoolRef(true),
    		})
    		return err
    	})
    }
    

    Example coming soon!

    import * as zia from "@bdzscaler/pulumi-zia";
    
    const example = new zia.DlpEngine("example", {
        name: "Example DLP Engine",
        description: "Custom DLP engine combining multiple dictionaries",
        engineExpression: "((D63.S > 1))",
        customDlpEngine: true,
    });
    
    import zscaler_pulumi_zia as zia
    
    example = zia.DlpEngine("example",
        name="Example DLP Engine",
        description="Custom DLP engine combining multiple dictionaries",
        engine_expression="((D63.S > 1))",
        custom_dlp_engine=True,
    )
    
    resources:
      example:
        type: zia:DlpEngine
        properties:
          name: Example DLP Engine
          description: Custom DLP engine combining multiple dictionaries
          engineExpression: "((D63.S > 1))"
          customDlpEngine: true
    

    Create DlpEngine Resource

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

    Constructor syntax

    new DlpEngine(name: string, args?: DlpEngineArgs, opts?: CustomResourceOptions);
    @overload
    def DlpEngine(resource_name: str,
                  args: Optional[DlpEngineArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DlpEngine(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  custom_dlp_engine: Optional[bool] = None,
                  description: Optional[str] = None,
                  engine_expression: Optional[str] = None,
                  name: Optional[str] = None)
    func NewDlpEngine(ctx *Context, name string, args *DlpEngineArgs, opts ...ResourceOption) (*DlpEngine, error)
    public DlpEngine(string name, DlpEngineArgs? args = null, CustomResourceOptions? opts = null)
    public DlpEngine(String name, DlpEngineArgs args)
    public DlpEngine(String name, DlpEngineArgs args, CustomResourceOptions options)
    
    type: zia:DlpEngine
    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 DlpEngineArgs
    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 DlpEngineArgs
    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 DlpEngineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DlpEngineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DlpEngineArgs
    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 dlpEngineResource = new Zia.DlpEngine("dlpEngineResource", new()
    {
        CustomDlpEngine = false,
        Description = "string",
        EngineExpression = "string",
        Name = "string",
    });
    
    example, err := zia.NewDlpEngine(ctx, "dlpEngineResource", &zia.DlpEngineArgs{
    	CustomDlpEngine:  pulumi.Bool(false),
    	Description:      pulumi.String("string"),
    	EngineExpression: pulumi.String("string"),
    	Name:             pulumi.String("string"),
    })
    
    var dlpEngineResource = new DlpEngine("dlpEngineResource", DlpEngineArgs.builder()
        .customDlpEngine(false)
        .description("string")
        .engineExpression("string")
        .name("string")
        .build());
    
    dlp_engine_resource = zia.DlpEngine("dlpEngineResource",
        custom_dlp_engine=False,
        description="string",
        engine_expression="string",
        name="string")
    
    const dlpEngineResource = new zia.DlpEngine("dlpEngineResource", {
        customDlpEngine: false,
        description: "string",
        engineExpression: "string",
        name: "string",
    });
    
    type: zia:DlpEngine
    properties:
        customDlpEngine: false
        description: string
        engineExpression: string
        name: string
    

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

    CustomDlpEngine bool
    If true, this is a custom DLP engine; false indicates a predefined engine.
    Description string
    A description of the DLP engine.
    EngineExpression string
    The logical expression combining DLP dictionaries. Uses dictionary IDs and operators (e.g., ((D63.S > 1))).
    Name string
    The name of the DLP engine. Must be unique.
    CustomDlpEngine bool
    If true, this is a custom DLP engine; false indicates a predefined engine.
    Description string
    A description of the DLP engine.
    EngineExpression string
    The logical expression combining DLP dictionaries. Uses dictionary IDs and operators (e.g., ((D63.S > 1))).
    Name string
    The name of the DLP engine. Must be unique.
    customDlpEngine Boolean
    If true, this is a custom DLP engine; false indicates a predefined engine.
    description String
    A description of the DLP engine.
    engineExpression String
    The logical expression combining DLP dictionaries. Uses dictionary IDs and operators (e.g., ((D63.S > 1))).
    name String
    The name of the DLP engine. Must be unique.
    customDlpEngine boolean
    If true, this is a custom DLP engine; false indicates a predefined engine.
    description string
    A description of the DLP engine.
    engineExpression string
    The logical expression combining DLP dictionaries. Uses dictionary IDs and operators (e.g., ((D63.S > 1))).
    name string
    The name of the DLP engine. Must be unique.
    custom_dlp_engine bool
    If true, this is a custom DLP engine; false indicates a predefined engine.
    description str
    A description of the DLP engine.
    engine_expression str
    The logical expression combining DLP dictionaries. Uses dictionary IDs and operators (e.g., ((D63.S > 1))).
    name str
    The name of the DLP engine. Must be unique.
    customDlpEngine Boolean
    If true, this is a custom DLP engine; false indicates a predefined engine.
    description String
    A description of the DLP engine.
    engineExpression String
    The logical expression combining DLP dictionaries. Uses dictionary IDs and operators (e.g., ((D63.S > 1))).
    name String
    The name of the DLP engine. Must be unique.

    Outputs

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

    EngineId int
    The system-generated ID of the DLP engine.
    Id string
    The provider-assigned unique ID for this managed resource.
    EngineId int
    The system-generated ID of the DLP engine.
    Id string
    The provider-assigned unique ID for this managed resource.
    engineId Integer
    The system-generated ID of the DLP engine.
    id String
    The provider-assigned unique ID for this managed resource.
    engineId number
    The system-generated ID of the DLP engine.
    id string
    The provider-assigned unique ID for this managed resource.
    engine_id int
    The system-generated ID of the DLP engine.
    id str
    The provider-assigned unique ID for this managed resource.
    engineId Number
    The system-generated ID of the DLP engine.
    id String
    The provider-assigned unique ID for this managed resource.

    Import

    An existing DLP Engine can be imported using its resource ID, e.g.

    $ pulumi import zia:index:DlpEngine example 12345
    

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

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.8
    published on Friday, Mar 13, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.