1. Packages
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. ManagementNatRule
Viewing docs for checkpoint 3.0.0
published on Monday, Mar 30, 2026 by checkpointsw
Viewing docs for checkpoint 3.0.0
published on Monday, Mar 30, 2026 by checkpointsw

    This resource allows you to add/update/delete Check Point NAT Rule.

    Create ManagementNatRule Resource

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

    Constructor syntax

    new ManagementNatRule(name: string, args: ManagementNatRuleArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementNatRule(resource_name: str,
                          args: ManagementNatRuleArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementNatRule(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          package: Optional[str] = None,
                          position: Optional[ManagementNatRulePositionArgs] = None,
                          install_ons: Optional[Sequence[str]] = None,
                          original_service: Optional[str] = None,
                          comments: Optional[str] = None,
                          management_nat_rule_id: Optional[str] = None,
                          method: Optional[str] = None,
                          name: Optional[str] = None,
                          original_destination: Optional[str] = None,
                          ignore_warnings: Optional[bool] = None,
                          original_source: Optional[str] = None,
                          ignore_errors: Optional[bool] = None,
                          enabled: Optional[bool] = None,
                          translated_destination: Optional[str] = None,
                          translated_service: Optional[str] = None,
                          translated_source: Optional[str] = None)
    func NewManagementNatRule(ctx *Context, name string, args ManagementNatRuleArgs, opts ...ResourceOption) (*ManagementNatRule, error)
    public ManagementNatRule(string name, ManagementNatRuleArgs args, CustomResourceOptions? opts = null)
    public ManagementNatRule(String name, ManagementNatRuleArgs args)
    public ManagementNatRule(String name, ManagementNatRuleArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementNatRule
    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 ManagementNatRuleArgs
    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 ManagementNatRuleArgs
    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 ManagementNatRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementNatRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementNatRuleArgs
    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 managementNatRuleResource = new Checkpoint.ManagementNatRule("managementNatRuleResource", new()
    {
        Package = "string",
        Position = new Checkpoint.Inputs.ManagementNatRulePositionArgs
        {
            Above = "string",
            Below = "string",
            Bottom = "string",
            Top = "string",
        },
        InstallOns = new[]
        {
            "string",
        },
        OriginalService = "string",
        Comments = "string",
        ManagementNatRuleId = "string",
        Method = "string",
        Name = "string",
        OriginalDestination = "string",
        IgnoreWarnings = false,
        OriginalSource = "string",
        IgnoreErrors = false,
        Enabled = false,
        TranslatedDestination = "string",
        TranslatedService = "string",
        TranslatedSource = "string",
    });
    
    example, err := checkpoint.NewManagementNatRule(ctx, "managementNatRuleResource", &checkpoint.ManagementNatRuleArgs{
    	Package: pulumi.String("string"),
    	Position: &checkpoint.ManagementNatRulePositionArgs{
    		Above:  pulumi.String("string"),
    		Below:  pulumi.String("string"),
    		Bottom: pulumi.String("string"),
    		Top:    pulumi.String("string"),
    	},
    	InstallOns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OriginalService:       pulumi.String("string"),
    	Comments:              pulumi.String("string"),
    	ManagementNatRuleId:   pulumi.String("string"),
    	Method:                pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	OriginalDestination:   pulumi.String("string"),
    	IgnoreWarnings:        pulumi.Bool(false),
    	OriginalSource:        pulumi.String("string"),
    	IgnoreErrors:          pulumi.Bool(false),
    	Enabled:               pulumi.Bool(false),
    	TranslatedDestination: pulumi.String("string"),
    	TranslatedService:     pulumi.String("string"),
    	TranslatedSource:      pulumi.String("string"),
    })
    
    var managementNatRuleResource = new ManagementNatRule("managementNatRuleResource", ManagementNatRuleArgs.builder()
        .package_("string")
        .position(ManagementNatRulePositionArgs.builder()
            .above("string")
            .below("string")
            .bottom("string")
            .top("string")
            .build())
        .installOns("string")
        .originalService("string")
        .comments("string")
        .managementNatRuleId("string")
        .method("string")
        .name("string")
        .originalDestination("string")
        .ignoreWarnings(false)
        .originalSource("string")
        .ignoreErrors(false)
        .enabled(false)
        .translatedDestination("string")
        .translatedService("string")
        .translatedSource("string")
        .build());
    
    management_nat_rule_resource = checkpoint.ManagementNatRule("managementNatRuleResource",
        package="string",
        position={
            "above": "string",
            "below": "string",
            "bottom": "string",
            "top": "string",
        },
        install_ons=["string"],
        original_service="string",
        comments="string",
        management_nat_rule_id="string",
        method="string",
        name="string",
        original_destination="string",
        ignore_warnings=False,
        original_source="string",
        ignore_errors=False,
        enabled=False,
        translated_destination="string",
        translated_service="string",
        translated_source="string")
    
    const managementNatRuleResource = new checkpoint.ManagementNatRule("managementNatRuleResource", {
        "package": "string",
        position: {
            above: "string",
            below: "string",
            bottom: "string",
            top: "string",
        },
        installOns: ["string"],
        originalService: "string",
        comments: "string",
        managementNatRuleId: "string",
        method: "string",
        name: "string",
        originalDestination: "string",
        ignoreWarnings: false,
        originalSource: "string",
        ignoreErrors: false,
        enabled: false,
        translatedDestination: "string",
        translatedService: "string",
        translatedSource: "string",
    });
    
    type: checkpoint:ManagementNatRule
    properties:
        comments: string
        enabled: false
        ignoreErrors: false
        ignoreWarnings: false
        installOns:
            - string
        managementNatRuleId: string
        method: string
        name: string
        originalDestination: string
        originalService: string
        originalSource: string
        package: string
        position:
            above: string
            below: string
            bottom: string
            top: string
        translatedDestination: string
        translatedService: string
        translatedSource: string
    

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

    Package string
    Name of the package.
    Position ManagementNatRulePosition
    Position in the rulebase. Position blocks are documented below.
    Comments string
    Comments string.
    Enabled bool
    Enable/Disable the rule.
    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.
    InstallOns List<string>
    Which Gateways identified by the name or UID to install the policy on.
    ManagementNatRuleId string
    Method string
    Nat method.
    Name string
    Rule name.
    OriginalDestination string
    Original destination.
    OriginalService string
    Original service.
    OriginalSource string
    Original source.
    TranslatedDestination string
    Translated destination.
    TranslatedService string
    Translated service.
    TranslatedSource string
    Translated source.
    Package string
    Name of the package.
    Position ManagementNatRulePositionArgs
    Position in the rulebase. Position blocks are documented below.
    Comments string
    Comments string.
    Enabled bool
    Enable/Disable the rule.
    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.
    InstallOns []string
    Which Gateways identified by the name or UID to install the policy on.
    ManagementNatRuleId string
    Method string
    Nat method.
    Name string
    Rule name.
    OriginalDestination string
    Original destination.
    OriginalService string
    Original service.
    OriginalSource string
    Original source.
    TranslatedDestination string
    Translated destination.
    TranslatedService string
    Translated service.
    TranslatedSource string
    Translated source.
    package_ String
    Name of the package.
    position ManagementNatRulePosition
    Position in the rulebase. Position blocks are documented below.
    comments String
    Comments string.
    enabled Boolean
    Enable/Disable the rule.
    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.
    installOns List<String>
    Which Gateways identified by the name or UID to install the policy on.
    managementNatRuleId String
    method String
    Nat method.
    name String
    Rule name.
    originalDestination String
    Original destination.
    originalService String
    Original service.
    originalSource String
    Original source.
    translatedDestination String
    Translated destination.
    translatedService String
    Translated service.
    translatedSource String
    Translated source.
    package string
    Name of the package.
    position ManagementNatRulePosition
    Position in the rulebase. Position blocks are documented below.
    comments string
    Comments string.
    enabled boolean
    Enable/Disable the rule.
    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.
    installOns string[]
    Which Gateways identified by the name or UID to install the policy on.
    managementNatRuleId string
    method string
    Nat method.
    name string
    Rule name.
    originalDestination string
    Original destination.
    originalService string
    Original service.
    originalSource string
    Original source.
    translatedDestination string
    Translated destination.
    translatedService string
    Translated service.
    translatedSource string
    Translated source.
    package str
    Name of the package.
    position ManagementNatRulePositionArgs
    Position in the rulebase. Position blocks are documented below.
    comments str
    Comments string.
    enabled bool
    Enable/Disable the rule.
    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.
    install_ons Sequence[str]
    Which Gateways identified by the name or UID to install the policy on.
    management_nat_rule_id str
    method str
    Nat method.
    name str
    Rule name.
    original_destination str
    Original destination.
    original_service str
    Original service.
    original_source str
    Original source.
    translated_destination str
    Translated destination.
    translated_service str
    Translated service.
    translated_source str
    Translated source.
    package String
    Name of the package.
    position Property Map
    Position in the rulebase. Position blocks are documented below.
    comments String
    Comments string.
    enabled Boolean
    Enable/Disable the rule.
    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.
    installOns List<String>
    Which Gateways identified by the name or UID to install the policy on.
    managementNatRuleId String
    method String
    Nat method.
    name String
    Rule name.
    originalDestination String
    Original destination.
    originalService String
    Original service.
    originalSource String
    Original source.
    translatedDestination String
    Translated destination.
    translatedService String
    Translated service.
    translatedSource String
    Translated source.

    Outputs

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

    AutoGenerated bool
    Auto generated.
    Id string
    The provider-assigned unique ID for this managed resource.
    AutoGenerated bool
    Auto generated.
    Id string
    The provider-assigned unique ID for this managed resource.
    autoGenerated Boolean
    Auto generated.
    id String
    The provider-assigned unique ID for this managed resource.
    autoGenerated boolean
    Auto generated.
    id string
    The provider-assigned unique ID for this managed resource.
    auto_generated bool
    Auto generated.
    id str
    The provider-assigned unique ID for this managed resource.
    autoGenerated Boolean
    Auto generated.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ManagementNatRule Resource

    Get an existing ManagementNatRule 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?: ManagementNatRuleState, opts?: CustomResourceOptions): ManagementNatRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_generated: Optional[bool] = None,
            comments: Optional[str] = None,
            enabled: Optional[bool] = None,
            ignore_errors: Optional[bool] = None,
            ignore_warnings: Optional[bool] = None,
            install_ons: Optional[Sequence[str]] = None,
            management_nat_rule_id: Optional[str] = None,
            method: Optional[str] = None,
            name: Optional[str] = None,
            original_destination: Optional[str] = None,
            original_service: Optional[str] = None,
            original_source: Optional[str] = None,
            package: Optional[str] = None,
            position: Optional[ManagementNatRulePositionArgs] = None,
            translated_destination: Optional[str] = None,
            translated_service: Optional[str] = None,
            translated_source: Optional[str] = None) -> ManagementNatRule
    func GetManagementNatRule(ctx *Context, name string, id IDInput, state *ManagementNatRuleState, opts ...ResourceOption) (*ManagementNatRule, error)
    public static ManagementNatRule Get(string name, Input<string> id, ManagementNatRuleState? state, CustomResourceOptions? opts = null)
    public static ManagementNatRule get(String name, Output<String> id, ManagementNatRuleState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementNatRule    get:      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:
    AutoGenerated bool
    Auto generated.
    Comments string
    Comments string.
    Enabled bool
    Enable/Disable the rule.
    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.
    InstallOns List<string>
    Which Gateways identified by the name or UID to install the policy on.
    ManagementNatRuleId string
    Method string
    Nat method.
    Name string
    Rule name.
    OriginalDestination string
    Original destination.
    OriginalService string
    Original service.
    OriginalSource string
    Original source.
    Package string
    Name of the package.
    Position ManagementNatRulePosition
    Position in the rulebase. Position blocks are documented below.
    TranslatedDestination string
    Translated destination.
    TranslatedService string
    Translated service.
    TranslatedSource string
    Translated source.
    AutoGenerated bool
    Auto generated.
    Comments string
    Comments string.
    Enabled bool
    Enable/Disable the rule.
    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.
    InstallOns []string
    Which Gateways identified by the name or UID to install the policy on.
    ManagementNatRuleId string
    Method string
    Nat method.
    Name string
    Rule name.
    OriginalDestination string
    Original destination.
    OriginalService string
    Original service.
    OriginalSource string
    Original source.
    Package string
    Name of the package.
    Position ManagementNatRulePositionArgs
    Position in the rulebase. Position blocks are documented below.
    TranslatedDestination string
    Translated destination.
    TranslatedService string
    Translated service.
    TranslatedSource string
    Translated source.
    autoGenerated Boolean
    Auto generated.
    comments String
    Comments string.
    enabled Boolean
    Enable/Disable the rule.
    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.
    installOns List<String>
    Which Gateways identified by the name or UID to install the policy on.
    managementNatRuleId String
    method String
    Nat method.
    name String
    Rule name.
    originalDestination String
    Original destination.
    originalService String
    Original service.
    originalSource String
    Original source.
    package_ String
    Name of the package.
    position ManagementNatRulePosition
    Position in the rulebase. Position blocks are documented below.
    translatedDestination String
    Translated destination.
    translatedService String
    Translated service.
    translatedSource String
    Translated source.
    autoGenerated boolean
    Auto generated.
    comments string
    Comments string.
    enabled boolean
    Enable/Disable the rule.
    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.
    installOns string[]
    Which Gateways identified by the name or UID to install the policy on.
    managementNatRuleId string
    method string
    Nat method.
    name string
    Rule name.
    originalDestination string
    Original destination.
    originalService string
    Original service.
    originalSource string
    Original source.
    package string
    Name of the package.
    position ManagementNatRulePosition
    Position in the rulebase. Position blocks are documented below.
    translatedDestination string
    Translated destination.
    translatedService string
    Translated service.
    translatedSource string
    Translated source.
    auto_generated bool
    Auto generated.
    comments str
    Comments string.
    enabled bool
    Enable/Disable the rule.
    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.
    install_ons Sequence[str]
    Which Gateways identified by the name or UID to install the policy on.
    management_nat_rule_id str
    method str
    Nat method.
    name str
    Rule name.
    original_destination str
    Original destination.
    original_service str
    Original service.
    original_source str
    Original source.
    package str
    Name of the package.
    position ManagementNatRulePositionArgs
    Position in the rulebase. Position blocks are documented below.
    translated_destination str
    Translated destination.
    translated_service str
    Translated service.
    translated_source str
    Translated source.
    autoGenerated Boolean
    Auto generated.
    comments String
    Comments string.
    enabled Boolean
    Enable/Disable the rule.
    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.
    installOns List<String>
    Which Gateways identified by the name or UID to install the policy on.
    managementNatRuleId String
    method String
    Nat method.
    name String
    Rule name.
    originalDestination String
    Original destination.
    originalService String
    Original service.
    originalSource String
    Original source.
    package String
    Name of the package.
    position Property Map
    Position in the rulebase. Position blocks are documented below.
    translatedDestination String
    Translated destination.
    translatedService String
    Translated service.
    translatedSource String
    Translated source.

    Supporting Types

    ManagementNatRulePosition, ManagementNatRulePositionArgs

    Above string
    Add rule above specific section/rule identified by uid or name.
    Below string
    Add rule below specific section/rule identified by uid or name.
    Bottom string
    Add rule at the bottom of the rulebase.
    Top string
    Add rule at the top of the rulebase.
    Above string
    Add rule above specific section/rule identified by uid or name.
    Below string
    Add rule below specific section/rule identified by uid or name.
    Bottom string
    Add rule at the bottom of the rulebase.
    Top string
    Add rule at the top of the rulebase.
    above String
    Add rule above specific section/rule identified by uid or name.
    below String
    Add rule below specific section/rule identified by uid or name.
    bottom String
    Add rule at the bottom of the rulebase.
    top String
    Add rule at the top of the rulebase.
    above string
    Add rule above specific section/rule identified by uid or name.
    below string
    Add rule below specific section/rule identified by uid or name.
    bottom string
    Add rule at the bottom of the rulebase.
    top string
    Add rule at the top of the rulebase.
    above str
    Add rule above specific section/rule identified by uid or name.
    below str
    Add rule below specific section/rule identified by uid or name.
    bottom str
    Add rule at the bottom of the rulebase.
    top str
    Add rule at the top of the rulebase.
    above String
    Add rule above specific section/rule identified by uid or name.
    below String
    Add rule below specific section/rule identified by uid or name.
    bottom String
    Add rule at the bottom of the rulebase.
    top String
    Add rule at the top of the rulebase.

    Import

    checkpoint_management_nat_rule can be imported by using the following format: PACKAGE_NAME;RULE_UID

    $ pulumi import checkpoint:index/managementNatRule:ManagementNatRule example "Standard;9423d36f-2d66-4754-b9e2-e9f4493751d3"
    

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

    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.0.0
    published on Monday, Mar 30, 2026 by checkpointsw
      Try Pulumi Cloud free. Your team will thank you.