1. Packages
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. ManagementSetThreatExtractionFileTypes
Viewing docs for checkpoint 3.3.0
published on Thursday, Jul 30, 2026 by checkpointsw
Viewing docs for checkpoint 3.3.0
published on Thursday, Jul 30, 2026 by checkpointsw

    This resource allows you to execute Check Point Set Threat Extraction File Types.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementSetThreatExtractionFileTypes("example", {fileTypes: [
        {
            fileType: "pdf",
            enabled: false,
        },
        {
            fileType: "docx",
            enabled: true,
        },
    ]});
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementSetThreatExtractionFileTypes("example", file_types=[
        {
            "file_type": "pdf",
            "enabled": False,
        },
        {
            "file_type": "docx",
            "enabled": True,
        },
    ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v3/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkpoint.NewManagementSetThreatExtractionFileTypes(ctx, "example", &checkpoint.ManagementSetThreatExtractionFileTypesArgs{
    			FileTypes: checkpoint.ManagementSetThreatExtractionFileTypesFileTypeArray{
    				&checkpoint.ManagementSetThreatExtractionFileTypesFileTypeArgs{
    					FileType: pulumi.String("pdf"),
    					Enabled:  pulumi.Bool(false),
    				},
    				&checkpoint.ManagementSetThreatExtractionFileTypesFileTypeArgs{
    					FileType: pulumi.String("docx"),
    					Enabled:  pulumi.Bool(true),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementSetThreatExtractionFileTypes("example", new()
        {
            FileTypes = new[]
            {
                new Checkpoint.Inputs.ManagementSetThreatExtractionFileTypesFileTypeArgs
                {
                    FileType = "pdf",
                    Enabled = false,
                },
                new Checkpoint.Inputs.ManagementSetThreatExtractionFileTypesFileTypeArgs
                {
                    FileType = "docx",
                    Enabled = true,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementSetThreatExtractionFileTypes;
    import com.pulumi.checkpoint.ManagementSetThreatExtractionFileTypesArgs;
    import com.pulumi.checkpoint.inputs.ManagementSetThreatExtractionFileTypesFileTypeArgs;
    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 example = new ManagementSetThreatExtractionFileTypes("example", ManagementSetThreatExtractionFileTypesArgs.builder()
                .fileTypes(            
                    ManagementSetThreatExtractionFileTypesFileTypeArgs.builder()
                        .fileType("pdf")
                        .enabled(false)
                        .build(),
                    ManagementSetThreatExtractionFileTypesFileTypeArgs.builder()
                        .fileType("docx")
                        .enabled(true)
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementSetThreatExtractionFileTypes
        properties:
          fileTypes:
            - fileType: pdf
              enabled: false
            - fileType: docx
              enabled: true
    
    Example coming soon!
    

    Create ManagementSetThreatExtractionFileTypes Resource

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

    Constructor syntax

    new ManagementSetThreatExtractionFileTypes(name: string, args: ManagementSetThreatExtractionFileTypesArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementSetThreatExtractionFileTypes(resource_name: str,
                                               args: ManagementSetThreatExtractionFileTypesArgs,
                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementSetThreatExtractionFileTypes(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               file_types: Optional[Sequence[ManagementSetThreatExtractionFileTypesFileTypeArgs]] = None,
                                               ignore_errors: Optional[bool] = None,
                                               ignore_warnings: Optional[bool] = None,
                                               management_set_threat_extraction_file_types_id: Optional[str] = None)
    func NewManagementSetThreatExtractionFileTypes(ctx *Context, name string, args ManagementSetThreatExtractionFileTypesArgs, opts ...ResourceOption) (*ManagementSetThreatExtractionFileTypes, error)
    public ManagementSetThreatExtractionFileTypes(string name, ManagementSetThreatExtractionFileTypesArgs args, CustomResourceOptions? opts = null)
    public ManagementSetThreatExtractionFileTypes(String name, ManagementSetThreatExtractionFileTypesArgs args)
    public ManagementSetThreatExtractionFileTypes(String name, ManagementSetThreatExtractionFileTypesArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementSetThreatExtractionFileTypes
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "checkpoint_management_set_threat_extraction_file_types" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ManagementSetThreatExtractionFileTypesArgs
    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 ManagementSetThreatExtractionFileTypesArgs
    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 ManagementSetThreatExtractionFileTypesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementSetThreatExtractionFileTypesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementSetThreatExtractionFileTypesArgs
    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 managementSetThreatExtractionFileTypesResource = new Checkpoint.ManagementSetThreatExtractionFileTypes("managementSetThreatExtractionFileTypesResource", new()
    {
        FileTypes = new[]
        {
            new Checkpoint.Inputs.ManagementSetThreatExtractionFileTypesFileTypeArgs
            {
                Enabled = false,
                FileType = "string",
                FileTypeId = "string",
            },
        },
        IgnoreErrors = false,
        IgnoreWarnings = false,
        ManagementSetThreatExtractionFileTypesId = "string",
    });
    
    example, err := checkpoint.NewManagementSetThreatExtractionFileTypes(ctx, "managementSetThreatExtractionFileTypesResource", &checkpoint.ManagementSetThreatExtractionFileTypesArgs{
    	FileTypes: checkpoint.ManagementSetThreatExtractionFileTypesFileTypeArray{
    		&checkpoint.ManagementSetThreatExtractionFileTypesFileTypeArgs{
    			Enabled:    pulumi.Bool(false),
    			FileType:   pulumi.String("string"),
    			FileTypeId: pulumi.String("string"),
    		},
    	},
    	IgnoreErrors:                             pulumi.Bool(false),
    	IgnoreWarnings:                           pulumi.Bool(false),
    	ManagementSetThreatExtractionFileTypesId: pulumi.String("string"),
    })
    
    resource "checkpoint_management_set_threat_extraction_file_types" "managementSetThreatExtractionFileTypesResource" {
      lifecycle {
        create_before_destroy = true
      }
      file_types {
        enabled      = false
        file_type    = "string"
        file_type_id = "string"
      }
      ignore_errors                                  = false
      ignore_warnings                                = false
      management_set_threat_extraction_file_types_id = "string"
    }
    
    var managementSetThreatExtractionFileTypesResource = new ManagementSetThreatExtractionFileTypes("managementSetThreatExtractionFileTypesResource", ManagementSetThreatExtractionFileTypesArgs.builder()
        .fileTypes(ManagementSetThreatExtractionFileTypesFileTypeArgs.builder()
            .enabled(false)
            .fileType("string")
            .fileTypeId("string")
            .build())
        .ignoreErrors(false)
        .ignoreWarnings(false)
        .managementSetThreatExtractionFileTypesId("string")
        .build());
    
    management_set_threat_extraction_file_types_resource = checkpoint.ManagementSetThreatExtractionFileTypes("managementSetThreatExtractionFileTypesResource",
        file_types=[{
            "enabled": False,
            "file_type": "string",
            "file_type_id": "string",
        }],
        ignore_errors=False,
        ignore_warnings=False,
        management_set_threat_extraction_file_types_id="string")
    
    const managementSetThreatExtractionFileTypesResource = new checkpoint.ManagementSetThreatExtractionFileTypes("managementSetThreatExtractionFileTypesResource", {
        fileTypes: [{
            enabled: false,
            fileType: "string",
            fileTypeId: "string",
        }],
        ignoreErrors: false,
        ignoreWarnings: false,
        managementSetThreatExtractionFileTypesId: "string",
    });
    
    type: checkpoint:ManagementSetThreatExtractionFileTypes
    properties:
        fileTypes:
            - enabled: false
              fileType: string
              fileTypeId: string
        ignoreErrors: false
        ignoreWarnings: false
        managementSetThreatExtractionFileTypesId: string
    

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

    FileTypes List<ManagementSetThreatExtractionFileTypesFileType>
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSetThreatExtractionFileTypesId string
    FileTypes []ManagementSetThreatExtractionFileTypesFileTypeArgs
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSetThreatExtractionFileTypesId string
    file_types list(object)
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_set_threat_extraction_file_types_id string
    fileTypes List<ManagementSetThreatExtractionFileTypesFileType>
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSetThreatExtractionFileTypesId String
    fileTypes ManagementSetThreatExtractionFileTypesFileType[]
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    managementSetThreatExtractionFileTypesId string
    file_types Sequence[ManagementSetThreatExtractionFileTypesFileTypeArgs]
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_set_threat_extraction_file_types_id str
    fileTypes List<Property Map>
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSetThreatExtractionFileTypesId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementSetThreatExtractionFileTypes 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 ManagementSetThreatExtractionFileTypes Resource

    Get an existing ManagementSetThreatExtractionFileTypes 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?: ManagementSetThreatExtractionFileTypesState, opts?: CustomResourceOptions): ManagementSetThreatExtractionFileTypes
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            file_types: Optional[Sequence[ManagementSetThreatExtractionFileTypesFileTypeArgs]] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            management_set_threat_extraction_file_types_id: Optional[str] = None) -> ManagementSetThreatExtractionFileTypes
    func GetManagementSetThreatExtractionFileTypes(ctx *Context, name string, id IDInput, state *ManagementSetThreatExtractionFileTypesState, opts ...ResourceOption) (*ManagementSetThreatExtractionFileTypes, error)
    public static ManagementSetThreatExtractionFileTypes Get(string name, Input<string> id, ManagementSetThreatExtractionFileTypesState? state, CustomResourceOptions? opts = null)
    public static ManagementSetThreatExtractionFileTypes get(String name, Output<String> id, ManagementSetThreatExtractionFileTypesState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementSetThreatExtractionFileTypes    get:      id: ${id}
    import {
      to = checkpoint_management_set_threat_extraction_file_types.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:
    FileTypes List<ManagementSetThreatExtractionFileTypesFileType>
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSetThreatExtractionFileTypesId string
    FileTypes []ManagementSetThreatExtractionFileTypesFileTypeArgs
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    IgnoreErrors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    IgnoreWarnings bool
    Apply changes ignoring warnings.
    ManagementSetThreatExtractionFileTypesId string
    file_types list(object)
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_set_threat_extraction_file_types_id string
    fileTypes List<ManagementSetThreatExtractionFileTypesFileType>
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSetThreatExtractionFileTypesId String
    fileTypes ManagementSetThreatExtractionFileTypesFileType[]
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignoreErrors boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings boolean
    Apply changes ignoring warnings.
    managementSetThreatExtractionFileTypesId string
    file_types Sequence[ManagementSetThreatExtractionFileTypesFileTypeArgs]
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignore_errors bool
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignore_warnings bool
    Apply changes ignoring warnings.
    management_set_threat_extraction_file_types_id str
    fileTypes List<Property Map>
    List of Threat Extraction file type updates. Each entry sets 'enabled' on the file type identified by 'file-type-id' or 'file-type'.file_types blocks are documented below.
    ignoreErrors Boolean
    Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    ignoreWarnings Boolean
    Apply changes ignoring warnings.
    managementSetThreatExtractionFileTypesId String

    Supporting Types

    ManagementSetThreatExtractionFileTypesFileType, ManagementSetThreatExtractionFileTypesFileTypeArgs

    Enabled bool
    Enable support for Threat Extraction.
    FileType string
    File type extension.
    FileTypeId string
    File type id.
    Enabled bool
    Enable support for Threat Extraction.
    FileType string
    File type extension.
    FileTypeId string
    File type id.
    enabled bool
    Enable support for Threat Extraction.
    file_type string
    File type extension.
    file_type_id string
    File type id.
    enabled Boolean
    Enable support for Threat Extraction.
    fileType String
    File type extension.
    fileTypeId String
    File type id.
    enabled boolean
    Enable support for Threat Extraction.
    fileType string
    File type extension.
    fileTypeId string
    File type id.
    enabled bool
    Enable support for Threat Extraction.
    file_type str
    File type extension.
    file_type_id str
    File type id.
    enabled Boolean
    Enable support for Threat Extraction.
    fileType String
    File type extension.
    fileTypeId String
    File type id.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    Viewing docs for checkpoint 3.3.0
    published on Thursday, Jul 30, 2026 by checkpointsw

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial