1. Packages
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. GaiaSnmpCustomTrap
Viewing docs for checkpoint 3.2.0
published on Monday, Jun 15, 2026 by checkpointsw
Viewing docs for checkpoint 3.2.0
published on Monday, Jun 15, 2026 by checkpointsw

    This resource allows you to execute Check Point Snmp Custom Trap.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.GaiaSnmpCustomTrap("example", {
        name: "test",
        message: "Test",
        frequency: 6,
        oid: "2.16.840.1.113883.3.3190.100",
        operator: "greater-than",
        threshold: "4",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.GaiaSnmpCustomTrap("example",
        name="test",
        message="Test",
        frequency=6,
        oid="2.16.840.1.113883.3.3190.100",
        operator="greater-than",
        threshold="4")
    
    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.NewGaiaSnmpCustomTrap(ctx, "example", &checkpoint.GaiaSnmpCustomTrapArgs{
    			Name:      pulumi.String("test"),
    			Message:   pulumi.String("Test"),
    			Frequency: pulumi.Float64(6),
    			Oid:       pulumi.String("2.16.840.1.113883.3.3190.100"),
    			Operator:  pulumi.String("greater-than"),
    			Threshold: pulumi.String("4"),
    		})
    		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.GaiaSnmpCustomTrap("example", new()
        {
            Name = "test",
            Message = "Test",
            Frequency = 6,
            Oid = "2.16.840.1.113883.3.3190.100",
            Operator = "greater-than",
            Threshold = "4",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.GaiaSnmpCustomTrap;
    import com.pulumi.checkpoint.GaiaSnmpCustomTrapArgs;
    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 GaiaSnmpCustomTrap("example", GaiaSnmpCustomTrapArgs.builder()
                .name("test")
                .message("Test")
                .frequency(6.0)
                .oid("2.16.840.1.113883.3.3190.100")
                .operator("greater-than")
                .threshold("4")
                .build());
    
        }
    }
    
    resources:
      example:
        type: checkpoint:GaiaSnmpCustomTrap
        properties:
          name: test
          message: Test
          frequency: 6
          oid: 2.16.840.1.113883.3.3190.100
          operator: greater-than
          threshold: '4'
    
    Example coming soon!
    

    Create GaiaSnmpCustomTrap Resource

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

    Constructor syntax

    new GaiaSnmpCustomTrap(name: string, args: GaiaSnmpCustomTrapArgs, opts?: CustomResourceOptions);
    @overload
    def GaiaSnmpCustomTrap(resource_name: str,
                           args: GaiaSnmpCustomTrapArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def GaiaSnmpCustomTrap(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           frequency: Optional[float] = None,
                           message: Optional[str] = None,
                           oid: Optional[str] = None,
                           operator: Optional[str] = None,
                           threshold: Optional[str] = None,
                           debug: Optional[bool] = None,
                           gaia_snmp_custom_trap_id: Optional[str] = None,
                           member_id: Optional[str] = None,
                           name: Optional[str] = None)
    func NewGaiaSnmpCustomTrap(ctx *Context, name string, args GaiaSnmpCustomTrapArgs, opts ...ResourceOption) (*GaiaSnmpCustomTrap, error)
    public GaiaSnmpCustomTrap(string name, GaiaSnmpCustomTrapArgs args, CustomResourceOptions? opts = null)
    public GaiaSnmpCustomTrap(String name, GaiaSnmpCustomTrapArgs args)
    public GaiaSnmpCustomTrap(String name, GaiaSnmpCustomTrapArgs args, CustomResourceOptions options)
    
    type: checkpoint:GaiaSnmpCustomTrap
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "checkpoint_gaiasnmpcustomtrap" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GaiaSnmpCustomTrapArgs
    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 GaiaSnmpCustomTrapArgs
    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 GaiaSnmpCustomTrapArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GaiaSnmpCustomTrapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GaiaSnmpCustomTrapArgs
    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 gaiaSnmpCustomTrapResource = new Checkpoint.GaiaSnmpCustomTrap("gaiaSnmpCustomTrapResource", new()
    {
        Frequency = 0,
        Message = "string",
        Oid = "string",
        Operator = "string",
        Threshold = "string",
        Debug = false,
        GaiaSnmpCustomTrapId = "string",
        MemberId = "string",
        Name = "string",
    });
    
    example, err := checkpoint.NewGaiaSnmpCustomTrap(ctx, "gaiaSnmpCustomTrapResource", &checkpoint.GaiaSnmpCustomTrapArgs{
    	Frequency:            pulumi.Float64(0),
    	Message:              pulumi.String("string"),
    	Oid:                  pulumi.String("string"),
    	Operator:             pulumi.String("string"),
    	Threshold:            pulumi.String("string"),
    	Debug:                pulumi.Bool(false),
    	GaiaSnmpCustomTrapId: pulumi.String("string"),
    	MemberId:             pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    })
    
    resource "checkpoint_gaiasnmpcustomtrap" "gaiaSnmpCustomTrapResource" {
      frequency                = 0
      message                  = "string"
      oid                      = "string"
      operator                 = "string"
      threshold                = "string"
      debug                    = false
      gaia_snmp_custom_trap_id = "string"
      member_id                = "string"
      name                     = "string"
    }
    
    var gaiaSnmpCustomTrapResource = new GaiaSnmpCustomTrap("gaiaSnmpCustomTrapResource", GaiaSnmpCustomTrapArgs.builder()
        .frequency(0.0)
        .message("string")
        .oid("string")
        .operator("string")
        .threshold("string")
        .debug(false)
        .gaiaSnmpCustomTrapId("string")
        .memberId("string")
        .name("string")
        .build());
    
    gaia_snmp_custom_trap_resource = checkpoint.GaiaSnmpCustomTrap("gaiaSnmpCustomTrapResource",
        frequency=float(0),
        message="string",
        oid="string",
        operator="string",
        threshold="string",
        debug=False,
        gaia_snmp_custom_trap_id="string",
        member_id="string",
        name="string")
    
    const gaiaSnmpCustomTrapResource = new checkpoint.GaiaSnmpCustomTrap("gaiaSnmpCustomTrapResource", {
        frequency: 0,
        message: "string",
        oid: "string",
        operator: "string",
        threshold: "string",
        debug: false,
        gaiaSnmpCustomTrapId: "string",
        memberId: "string",
        name: "string",
    });
    
    type: checkpoint:GaiaSnmpCustomTrap
    properties:
        debug: false
        frequency: 0
        gaiaSnmpCustomTrapId: string
        memberId: string
        message: string
        name: string
        oid: string
        operator: string
        threshold: string
    

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

    Frequency double
    Polling interval in seconds
    Message string
    Custom trap message
    Oid string
    OID (object identifier)
    Operator string
    Comparison operator
    Threshold string
    The value you want to compare to
    Debug bool
    Enable debug logging for this resource.
    GaiaSnmpCustomTrapId string
    MemberId string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    Name string
    Custom trap name
    Frequency float64
    Polling interval in seconds
    Message string
    Custom trap message
    Oid string
    OID (object identifier)
    Operator string
    Comparison operator
    Threshold string
    The value you want to compare to
    Debug bool
    Enable debug logging for this resource.
    GaiaSnmpCustomTrapId string
    MemberId string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    Name string
    Custom trap name
    frequency number
    Polling interval in seconds
    message string
    Custom trap message
    oid string
    OID (object identifier)
    operator string
    Comparison operator
    threshold string
    The value you want to compare to
    debug bool
    Enable debug logging for this resource.
    gaia_snmp_custom_trap_id string
    member_id string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    name string
    Custom trap name
    frequency Double
    Polling interval in seconds
    message String
    Custom trap message
    oid String
    OID (object identifier)
    operator String
    Comparison operator
    threshold String
    The value you want to compare to
    debug Boolean
    Enable debug logging for this resource.
    gaiaSnmpCustomTrapId String
    memberId String
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    name String
    Custom trap name
    frequency number
    Polling interval in seconds
    message string
    Custom trap message
    oid string
    OID (object identifier)
    operator string
    Comparison operator
    threshold string
    The value you want to compare to
    debug boolean
    Enable debug logging for this resource.
    gaiaSnmpCustomTrapId string
    memberId string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    name string
    Custom trap name
    frequency float
    Polling interval in seconds
    message str
    Custom trap message
    oid str
    OID (object identifier)
    operator str
    Comparison operator
    threshold str
    The value you want to compare to
    debug bool
    Enable debug logging for this resource.
    gaia_snmp_custom_trap_id str
    member_id str
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    name str
    Custom trap name
    frequency Number
    Polling interval in seconds
    message String
    Custom trap message
    oid String
    OID (object identifier)
    operator String
    Comparison operator
    threshold String
    The value you want to compare to
    debug Boolean
    Enable debug logging for this resource.
    gaiaSnmpCustomTrapId String
    memberId String
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    name String
    Custom trap name

    Outputs

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

    Get an existing GaiaSnmpCustomTrap 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?: GaiaSnmpCustomTrapState, opts?: CustomResourceOptions): GaiaSnmpCustomTrap
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            debug: Optional[bool] = None,
            frequency: Optional[float] = None,
            gaia_snmp_custom_trap_id: Optional[str] = None,
            member_id: Optional[str] = None,
            message: Optional[str] = None,
            name: Optional[str] = None,
            oid: Optional[str] = None,
            operator: Optional[str] = None,
            threshold: Optional[str] = None) -> GaiaSnmpCustomTrap
    func GetGaiaSnmpCustomTrap(ctx *Context, name string, id IDInput, state *GaiaSnmpCustomTrapState, opts ...ResourceOption) (*GaiaSnmpCustomTrap, error)
    public static GaiaSnmpCustomTrap Get(string name, Input<string> id, GaiaSnmpCustomTrapState? state, CustomResourceOptions? opts = null)
    public static GaiaSnmpCustomTrap get(String name, Output<String> id, GaiaSnmpCustomTrapState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:GaiaSnmpCustomTrap    get:      id: ${id}
    import {
      to = checkpoint_gaiasnmpcustomtrap.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:
    Debug bool
    Enable debug logging for this resource.
    Frequency double
    Polling interval in seconds
    GaiaSnmpCustomTrapId string
    MemberId string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    Message string
    Custom trap message
    Name string
    Custom trap name
    Oid string
    OID (object identifier)
    Operator string
    Comparison operator
    Threshold string
    The value you want to compare to
    Debug bool
    Enable debug logging for this resource.
    Frequency float64
    Polling interval in seconds
    GaiaSnmpCustomTrapId string
    MemberId string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    Message string
    Custom trap message
    Name string
    Custom trap name
    Oid string
    OID (object identifier)
    Operator string
    Comparison operator
    Threshold string
    The value you want to compare to
    debug bool
    Enable debug logging for this resource.
    frequency number
    Polling interval in seconds
    gaia_snmp_custom_trap_id string
    member_id string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    message string
    Custom trap message
    name string
    Custom trap name
    oid string
    OID (object identifier)
    operator string
    Comparison operator
    threshold string
    The value you want to compare to
    debug Boolean
    Enable debug logging for this resource.
    frequency Double
    Polling interval in seconds
    gaiaSnmpCustomTrapId String
    memberId String
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    message String
    Custom trap message
    name String
    Custom trap name
    oid String
    OID (object identifier)
    operator String
    Comparison operator
    threshold String
    The value you want to compare to
    debug boolean
    Enable debug logging for this resource.
    frequency number
    Polling interval in seconds
    gaiaSnmpCustomTrapId string
    memberId string
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    message string
    Custom trap message
    name string
    Custom trap name
    oid string
    OID (object identifier)
    operator string
    Comparison operator
    threshold string
    The value you want to compare to
    debug bool
    Enable debug logging for this resource.
    frequency float
    Polling interval in seconds
    gaia_snmp_custom_trap_id str
    member_id str
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    message str
    Custom trap message
    name str
    Custom trap name
    oid str
    OID (object identifier)
    operator str
    Comparison operator
    threshold str
    The value you want to compare to
    debug Boolean
    Enable debug logging for this resource.
    frequency Number
    Polling interval in seconds
    gaiaSnmpCustomTrapId String
    memberId String
    Relevant for commands on Scalable and ElasticXL platforms only. When member-id is provided in the login request, show commands during the session will be executed on the specified member, unless a different member-id is provided in a successive requests Set operations will be performed on all members
    message String
    Custom trap message
    name String
    Custom trap name
    oid String
    OID (object identifier)
    operator String
    Comparison operator
    threshold String
    The value you want to compare to

    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.2.0
    published on Monday, Jun 15, 2026 by checkpointsw

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial