published on Thursday, Jul 30, 2026 by checkpointsw
published on Thursday, Jul 30, 2026 by checkpointsw
This resource allows you to execute Check Point Set Threat Emulation File Types.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementSetThreatEmulationFileTypes("example", {fileTypes: [
{
fileType: "pdf",
enabled: false,
},
{
fileType: "docx",
enabled: true,
},
]});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementSetThreatEmulationFileTypes("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.NewManagementSetThreatEmulationFileTypes(ctx, "example", &checkpoint.ManagementSetThreatEmulationFileTypesArgs{
FileTypes: checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArray{
&checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArgs{
FileType: pulumi.String("pdf"),
Enabled: pulumi.Bool(false),
},
&checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArgs{
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.ManagementSetThreatEmulationFileTypes("example", new()
{
FileTypes = new[]
{
new Checkpoint.Inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs
{
FileType = "pdf",
Enabled = false,
},
new Checkpoint.Inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs
{
FileType = "docx",
Enabled = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementSetThreatEmulationFileTypes;
import com.pulumi.checkpoint.ManagementSetThreatEmulationFileTypesArgs;
import com.pulumi.checkpoint.inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs;
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 ManagementSetThreatEmulationFileTypes("example", ManagementSetThreatEmulationFileTypesArgs.builder()
.fileTypes(
ManagementSetThreatEmulationFileTypesFileTypeArgs.builder()
.fileType("pdf")
.enabled(false)
.build(),
ManagementSetThreatEmulationFileTypesFileTypeArgs.builder()
.fileType("docx")
.enabled(true)
.build())
.build());
}
}
resources:
example:
type: checkpoint:ManagementSetThreatEmulationFileTypes
properties:
fileTypes:
- fileType: pdf
enabled: false
- fileType: docx
enabled: true
Example coming soon!
Create ManagementSetThreatEmulationFileTypes Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementSetThreatEmulationFileTypes(name: string, args: ManagementSetThreatEmulationFileTypesArgs, opts?: CustomResourceOptions);@overload
def ManagementSetThreatEmulationFileTypes(resource_name: str,
args: ManagementSetThreatEmulationFileTypesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementSetThreatEmulationFileTypes(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_types: Optional[Sequence[ManagementSetThreatEmulationFileTypesFileTypeArgs]] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_set_threat_emulation_file_types_id: Optional[str] = None)func NewManagementSetThreatEmulationFileTypes(ctx *Context, name string, args ManagementSetThreatEmulationFileTypesArgs, opts ...ResourceOption) (*ManagementSetThreatEmulationFileTypes, error)public ManagementSetThreatEmulationFileTypes(string name, ManagementSetThreatEmulationFileTypesArgs args, CustomResourceOptions? opts = null)
public ManagementSetThreatEmulationFileTypes(String name, ManagementSetThreatEmulationFileTypesArgs args)
public ManagementSetThreatEmulationFileTypes(String name, ManagementSetThreatEmulationFileTypesArgs args, CustomResourceOptions options)
type: checkpoint:ManagementSetThreatEmulationFileTypes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "checkpoint_management_set_threat_emulation_file_types" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ManagementSetThreatEmulationFileTypesArgs
- 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 ManagementSetThreatEmulationFileTypesArgs
- 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 ManagementSetThreatEmulationFileTypesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementSetThreatEmulationFileTypesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementSetThreatEmulationFileTypesArgs
- 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 managementSetThreatEmulationFileTypesResource = new Checkpoint.ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource", new()
{
FileTypes = new[]
{
new Checkpoint.Inputs.ManagementSetThreatEmulationFileTypesFileTypeArgs
{
Enabled = false,
FileType = "string",
FileTypeId = "string",
},
},
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementSetThreatEmulationFileTypesId = "string",
});
example, err := checkpoint.NewManagementSetThreatEmulationFileTypes(ctx, "managementSetThreatEmulationFileTypesResource", &checkpoint.ManagementSetThreatEmulationFileTypesArgs{
FileTypes: checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArray{
&checkpoint.ManagementSetThreatEmulationFileTypesFileTypeArgs{
Enabled: pulumi.Bool(false),
FileType: pulumi.String("string"),
FileTypeId: pulumi.String("string"),
},
},
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementSetThreatEmulationFileTypesId: pulumi.String("string"),
})
resource "checkpoint_management_set_threat_emulation_file_types" "managementSetThreatEmulationFileTypesResource" {
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_emulation_file_types_id = "string"
}
var managementSetThreatEmulationFileTypesResource = new ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource", ManagementSetThreatEmulationFileTypesArgs.builder()
.fileTypes(ManagementSetThreatEmulationFileTypesFileTypeArgs.builder()
.enabled(false)
.fileType("string")
.fileTypeId("string")
.build())
.ignoreErrors(false)
.ignoreWarnings(false)
.managementSetThreatEmulationFileTypesId("string")
.build());
management_set_threat_emulation_file_types_resource = checkpoint.ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource",
file_types=[{
"enabled": False,
"file_type": "string",
"file_type_id": "string",
}],
ignore_errors=False,
ignore_warnings=False,
management_set_threat_emulation_file_types_id="string")
const managementSetThreatEmulationFileTypesResource = new checkpoint.ManagementSetThreatEmulationFileTypes("managementSetThreatEmulationFileTypesResource", {
fileTypes: [{
enabled: false,
fileType: "string",
fileTypeId: "string",
}],
ignoreErrors: false,
ignoreWarnings: false,
managementSetThreatEmulationFileTypesId: "string",
});
type: checkpoint:ManagementSetThreatEmulationFileTypes
properties:
fileTypes:
- enabled: false
fileType: string
fileTypeId: string
ignoreErrors: false
ignoreWarnings: false
managementSetThreatEmulationFileTypesId: string
ManagementSetThreatEmulationFileTypes 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 ManagementSetThreatEmulationFileTypes resource accepts the following input properties:
- File
Types List<ManagementSet Threat Emulation File Types File Type> - List of Threat Emulation 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 stringThreat Emulation File Types Id
- File
Types []ManagementSet Threat Emulation File Types File Type Args - List of Threat Emulation 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 stringThreat Emulation File Types Id
- file_
types list(object) - List of Threat Emulation 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_ stringthreat_ emulation_ file_ types_ id
- file
Types List<ManagementSet Threat Emulation File Types File Type> - List of Threat Emulation 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 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Set StringThreat Emulation File Types Id
- file
Types ManagementSet Threat Emulation File Types File Type[] - List of Threat Emulation 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 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Set stringThreat Emulation File Types Id
- file_
types Sequence[ManagementSet Threat Emulation File Types File Type Args] - List of Threat Emulation 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_ strthreat_ emulation_ file_ types_ id
- file
Types List<Property Map> - List of Threat Emulation 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 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Set StringThreat Emulation File Types Id
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementSetThreatEmulationFileTypes 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 ManagementSetThreatEmulationFileTypes Resource
Get an existing ManagementSetThreatEmulationFileTypes 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?: ManagementSetThreatEmulationFileTypesState, opts?: CustomResourceOptions): ManagementSetThreatEmulationFileTypes@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
file_types: Optional[Sequence[ManagementSetThreatEmulationFileTypesFileTypeArgs]] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_set_threat_emulation_file_types_id: Optional[str] = None) -> ManagementSetThreatEmulationFileTypesfunc GetManagementSetThreatEmulationFileTypes(ctx *Context, name string, id IDInput, state *ManagementSetThreatEmulationFileTypesState, opts ...ResourceOption) (*ManagementSetThreatEmulationFileTypes, error)public static ManagementSetThreatEmulationFileTypes Get(string name, Input<string> id, ManagementSetThreatEmulationFileTypesState? state, CustomResourceOptions? opts = null)public static ManagementSetThreatEmulationFileTypes get(String name, Output<String> id, ManagementSetThreatEmulationFileTypesState state, CustomResourceOptions options)resources: _: type: checkpoint:ManagementSetThreatEmulationFileTypes get: id: ${id}import {
to = checkpoint_management_set_threat_emulation_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.
- File
Types List<ManagementSet Threat Emulation File Types File Type> - List of Threat Emulation 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 stringThreat Emulation File Types Id
- File
Types []ManagementSet Threat Emulation File Types File Type Args - List of Threat Emulation 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 stringThreat Emulation File Types Id
- file_
types list(object) - List of Threat Emulation 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_ stringthreat_ emulation_ file_ types_ id
- file
Types List<ManagementSet Threat Emulation File Types File Type> - List of Threat Emulation 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 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Set StringThreat Emulation File Types Id
- file
Types ManagementSet Threat Emulation File Types File Type[] - List of Threat Emulation 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 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.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Set stringThreat Emulation File Types Id
- file_
types Sequence[ManagementSet Threat Emulation File Types File Type Args] - List of Threat Emulation 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_ strthreat_ emulation_ file_ types_ id
- file
Types List<Property Map> - List of Threat Emulation 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 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.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Set StringThreat Emulation File Types Id
Supporting Types
ManagementSetThreatEmulationFileTypesFileType, ManagementSetThreatEmulationFileTypesFileTypeArgs
- Enabled bool
- Enable support for Threat Emulation.
- File
Type string - File type extension.
- File
Type stringId - File type id.
- Enabled bool
- Enable support for Threat Emulation.
- File
Type string - File type extension.
- File
Type stringId - File type id.
- enabled bool
- Enable support for Threat Emulation.
- file_
type string - File type extension.
- file_
type_ stringid - File type id.
- enabled Boolean
- Enable support for Threat Emulation.
- file
Type String - File type extension.
- file
Type StringId - File type id.
- enabled boolean
- Enable support for Threat Emulation.
- file
Type string - File type extension.
- file
Type stringId - File type id.
- enabled bool
- Enable support for Threat Emulation.
- file_
type str - File type extension.
- file_
type_ strid - File type id.
- enabled Boolean
- Enable support for Threat Emulation.
- file
Type String - File type extension.
- file
Type StringId - File type id.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpointTerraform Provider.
published on Thursday, Jul 30, 2026 by checkpointsw