1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. ManagementAccessSection
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.ManagementAccessSection

Explore with Pulumi AI

This resource allows you to execute Check Point Access Section.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";

const example = new checkpoint.ManagementAccessSection("example", {
    layer: "Network",
    position: {
        top: "top",
    },
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

example = checkpoint.ManagementAccessSection("example",
    layer="Network",
    position={
        "top": "top",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := checkpoint.NewManagementAccessSection(ctx, "example", &checkpoint.ManagementAccessSectionArgs{
			Layer: pulumi.String("Network"),
			Position: pulumi.StringMap{
				"top": pulumi.String("top"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var example = new Checkpoint.ManagementAccessSection("example", new()
    {
        Layer = "Network",
        Position = 
        {
            { "top", "top" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementAccessSection;
import com.pulumi.checkpoint.ManagementAccessSectionArgs;
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 ManagementAccessSection("example", ManagementAccessSectionArgs.builder()
            .layer("Network")
            .position(Map.of("top", "top"))
            .build());

    }
}
Copy
resources:
  example:
    type: checkpoint:ManagementAccessSection
    properties:
      layer: Network
      position:
        top: top
Copy

Create ManagementAccessSection Resource

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

Constructor syntax

new ManagementAccessSection(name: string, args: ManagementAccessSectionArgs, opts?: CustomResourceOptions);
@overload
def ManagementAccessSection(resource_name: str,
                            args: ManagementAccessSectionArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def ManagementAccessSection(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            layer: Optional[str] = None,
                            position: Optional[Mapping[str, str]] = None,
                            ignore_errors: Optional[bool] = None,
                            ignore_warnings: Optional[bool] = None,
                            management_access_section_id: Optional[str] = None,
                            name: Optional[str] = None)
func NewManagementAccessSection(ctx *Context, name string, args ManagementAccessSectionArgs, opts ...ResourceOption) (*ManagementAccessSection, error)
public ManagementAccessSection(string name, ManagementAccessSectionArgs args, CustomResourceOptions? opts = null)
public ManagementAccessSection(String name, ManagementAccessSectionArgs args)
public ManagementAccessSection(String name, ManagementAccessSectionArgs args, CustomResourceOptions options)
type: checkpoint:ManagementAccessSection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ManagementAccessSectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ManagementAccessSectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementAccessSectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementAccessSectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagementAccessSectionArgs
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 managementAccessSectionResource = new Checkpoint.ManagementAccessSection("managementAccessSectionResource", new()
{
    Layer = "string",
    Position = 
    {
        { "string", "string" },
    },
    IgnoreErrors = false,
    IgnoreWarnings = false,
    ManagementAccessSectionId = "string",
    Name = "string",
});
Copy
example, err := checkpoint.NewManagementAccessSection(ctx, "managementAccessSectionResource", &checkpoint.ManagementAccessSectionArgs{
Layer: pulumi.String("string"),
Position: pulumi.StringMap{
"string": pulumi.String("string"),
},
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementAccessSectionId: pulumi.String("string"),
Name: pulumi.String("string"),
})
Copy
var managementAccessSectionResource = new ManagementAccessSection("managementAccessSectionResource", ManagementAccessSectionArgs.builder()
    .layer("string")
    .position(Map.of("string", "string"))
    .ignoreErrors(false)
    .ignoreWarnings(false)
    .managementAccessSectionId("string")
    .name("string")
    .build());
Copy
management_access_section_resource = checkpoint.ManagementAccessSection("managementAccessSectionResource",
    layer="string",
    position={
        "string": "string",
    },
    ignore_errors=False,
    ignore_warnings=False,
    management_access_section_id="string",
    name="string")
Copy
const managementAccessSectionResource = new checkpoint.ManagementAccessSection("managementAccessSectionResource", {
    layer: "string",
    position: {
        string: "string",
    },
    ignoreErrors: false,
    ignoreWarnings: false,
    managementAccessSectionId: "string",
    name: "string",
});
Copy
type: checkpoint:ManagementAccessSection
properties:
    ignoreErrors: false
    ignoreWarnings: false
    layer: string
    managementAccessSectionId: string
    name: string
    position:
        string: string
Copy

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

Layer This property is required. string
Layer that the rule belongs to identified by the name or UID.
Position This property is required. Dictionary<string, string>
Position in the rulebase.
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.
ManagementAccessSectionId string
Name string
Object name.
Layer This property is required. string
Layer that the rule belongs to identified by the name or UID.
Position This property is required. map[string]string
Position in the rulebase.
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.
ManagementAccessSectionId string
Name string
Object name.
layer This property is required. String
Layer that the rule belongs to identified by the name or UID.
position This property is required. Map<String,String>
Position in the rulebase.
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.
managementAccessSectionId String
name String
Object name.
layer This property is required. string
Layer that the rule belongs to identified by the name or UID.
position This property is required. {[key: string]: string}
Position in the rulebase.
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.
managementAccessSectionId string
name string
Object name.
layer This property is required. str
Layer that the rule belongs to identified by the name or UID.
position This property is required. Mapping[str, str]
Position in the rulebase.
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_access_section_id str
name str
Object name.
layer This property is required. String
Layer that the rule belongs to identified by the name or UID.
position This property is required. Map<String>
Position in the rulebase.
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.
managementAccessSectionId String
name String
Object name.

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagementAccessSection 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 str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ManagementAccessSection Resource

Get an existing ManagementAccessSection 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?: ManagementAccessSectionState, opts?: CustomResourceOptions): ManagementAccessSection
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ignore_errors: Optional[bool] = None,
        ignore_warnings: Optional[bool] = None,
        layer: Optional[str] = None,
        management_access_section_id: Optional[str] = None,
        name: Optional[str] = None,
        position: Optional[Mapping[str, str]] = None) -> ManagementAccessSection
func GetManagementAccessSection(ctx *Context, name string, id IDInput, state *ManagementAccessSectionState, opts ...ResourceOption) (*ManagementAccessSection, error)
public static ManagementAccessSection Get(string name, Input<string> id, ManagementAccessSectionState? state, CustomResourceOptions? opts = null)
public static ManagementAccessSection get(String name, Output<String> id, ManagementAccessSectionState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementAccessSection    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
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.
Layer string
Layer that the rule belongs to identified by the name or UID.
ManagementAccessSectionId string
Name string
Object name.
Position Dictionary<string, string>
Position in the rulebase.
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.
Layer string
Layer that the rule belongs to identified by the name or UID.
ManagementAccessSectionId string
Name string
Object name.
Position map[string]string
Position in the rulebase.
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.
layer String
Layer that the rule belongs to identified by the name or UID.
managementAccessSectionId String
name String
Object name.
position Map<String,String>
Position in the rulebase.
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.
layer string
Layer that the rule belongs to identified by the name or UID.
managementAccessSectionId string
name string
Object name.
position {[key: string]: string}
Position in the rulebase.
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.
layer str
Layer that the rule belongs to identified by the name or UID.
management_access_section_id str
name str
Object name.
position Mapping[str, str]
Position in the rulebase.
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.
layer String
Layer that the rule belongs to identified by the name or UID.
managementAccessSectionId String
name String
Object name.
position Map<String>
Position in the rulebase.

Import

checkpoint_management_access_section can be imported by using the following format: LAYER_NAME;SECTION_UID

$ pulumi import checkpoint:index/managementAccessSection:ManagementAccessSection example "Network;354e184c-2f42-485c-b62d-ff9b3d29ee3e"
Copy

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.