checkpoint.ManagementResourceFtp
Explore with Pulumi AI
This resource allows you to execute Check Point Resource Ftp.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementResourceFtp("example", {
cvp: {
allowedToModifyContent: true,
enableCvp: false,
replyOrder: "return_data_before_content_is_approved",
server: "serverName",
},
exceptionTrack: "exception log",
resourceMatchingMethod: "get_and_put",
resourcesPath: "path",
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementResourceFtp("example",
cvp={
"allowed_to_modify_content": True,
"enable_cvp": False,
"reply_order": "return_data_before_content_is_approved",
"server": "serverName",
},
exception_track="exception log",
resource_matching_method="get_and_put",
resources_path="path")
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.NewManagementResourceFtp(ctx, "example", &checkpoint.ManagementResourceFtpArgs{
Cvp: &checkpoint.ManagementResourceFtpCvpArgs{
AllowedToModifyContent: pulumi.Bool(true),
EnableCvp: pulumi.Bool(false),
ReplyOrder: pulumi.String("return_data_before_content_is_approved"),
Server: pulumi.String("serverName"),
},
ExceptionTrack: pulumi.String("exception log"),
ResourceMatchingMethod: pulumi.String("get_and_put"),
ResourcesPath: pulumi.String("path"),
})
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.ManagementResourceFtp("example", new()
{
Cvp = new Checkpoint.Inputs.ManagementResourceFtpCvpArgs
{
AllowedToModifyContent = true,
EnableCvp = false,
ReplyOrder = "return_data_before_content_is_approved",
Server = "serverName",
},
ExceptionTrack = "exception log",
ResourceMatchingMethod = "get_and_put",
ResourcesPath = "path",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementResourceFtp;
import com.pulumi.checkpoint.ManagementResourceFtpArgs;
import com.pulumi.checkpoint.inputs.ManagementResourceFtpCvpArgs;
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 ManagementResourceFtp("example", ManagementResourceFtpArgs.builder()
.cvp(ManagementResourceFtpCvpArgs.builder()
.allowedToModifyContent(true)
.enableCvp(false)
.replyOrder("return_data_before_content_is_approved")
.server("serverName")
.build())
.exceptionTrack("exception log")
.resourceMatchingMethod("get_and_put")
.resourcesPath("path")
.build());
}
}
resources:
example:
type: checkpoint:ManagementResourceFtp
properties:
cvp:
allowedToModifyContent: true
enableCvp: false
replyOrder: return_data_before_content_is_approved
server: serverName
exceptionTrack: exception log
resourceMatchingMethod: get_and_put
resourcesPath: path
Create ManagementResourceFtp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementResourceFtp(name: string, args: ManagementResourceFtpArgs, opts?: CustomResourceOptions);
@overload
def ManagementResourceFtp(resource_name: str,
args: ManagementResourceFtpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementResourceFtp(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_matching_method: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
cvp: Optional[ManagementResourceFtpCvpArgs] = None,
exception_track: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_resource_ftp_id: Optional[str] = None,
name: Optional[str] = None,
resources_path: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewManagementResourceFtp(ctx *Context, name string, args ManagementResourceFtpArgs, opts ...ResourceOption) (*ManagementResourceFtp, error)
public ManagementResourceFtp(string name, ManagementResourceFtpArgs args, CustomResourceOptions? opts = null)
public ManagementResourceFtp(String name, ManagementResourceFtpArgs args)
public ManagementResourceFtp(String name, ManagementResourceFtpArgs args, CustomResourceOptions options)
type: checkpoint:ManagementResourceFtp
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 ManagementResourceFtpArgs
- 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 ManagementResourceFtpArgs
- 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 ManagementResourceFtpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementResourceFtpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementResourceFtpArgs
- 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 managementResourceFtpResource = new Checkpoint.ManagementResourceFtp("managementResourceFtpResource", new()
{
ResourceMatchingMethod = "string",
Color = "string",
Comments = "string",
Cvp = new Checkpoint.Inputs.ManagementResourceFtpCvpArgs
{
AllowedToModifyContent = false,
EnableCvp = false,
ReplyOrder = "string",
Server = "string",
},
ExceptionTrack = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementResourceFtpId = "string",
Name = "string",
ResourcesPath = "string",
Tags = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementResourceFtp(ctx, "managementResourceFtpResource", &checkpoint.ManagementResourceFtpArgs{
ResourceMatchingMethod: pulumi.String("string"),
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
Cvp: &checkpoint.ManagementResourceFtpCvpArgs{
AllowedToModifyContent: pulumi.Bool(false),
EnableCvp: pulumi.Bool(false),
ReplyOrder: pulumi.String("string"),
Server: pulumi.String("string"),
},
ExceptionTrack: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementResourceFtpId: pulumi.String("string"),
Name: pulumi.String("string"),
ResourcesPath: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementResourceFtpResource = new ManagementResourceFtp("managementResourceFtpResource", ManagementResourceFtpArgs.builder()
.resourceMatchingMethod("string")
.color("string")
.comments("string")
.cvp(ManagementResourceFtpCvpArgs.builder()
.allowedToModifyContent(false)
.enableCvp(false)
.replyOrder("string")
.server("string")
.build())
.exceptionTrack("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.managementResourceFtpId("string")
.name("string")
.resourcesPath("string")
.tags("string")
.build());
management_resource_ftp_resource = checkpoint.ManagementResourceFtp("managementResourceFtpResource",
resource_matching_method="string",
color="string",
comments="string",
cvp={
"allowed_to_modify_content": False,
"enable_cvp": False,
"reply_order": "string",
"server": "string",
},
exception_track="string",
ignore_errors=False,
ignore_warnings=False,
management_resource_ftp_id="string",
name="string",
resources_path="string",
tags=["string"])
const managementResourceFtpResource = new checkpoint.ManagementResourceFtp("managementResourceFtpResource", {
resourceMatchingMethod: "string",
color: "string",
comments: "string",
cvp: {
allowedToModifyContent: false,
enableCvp: false,
replyOrder: "string",
server: "string",
},
exceptionTrack: "string",
ignoreErrors: false,
ignoreWarnings: false,
managementResourceFtpId: "string",
name: "string",
resourcesPath: "string",
tags: ["string"],
});
type: checkpoint:ManagementResourceFtp
properties:
color: string
comments: string
cvp:
allowedToModifyContent: false
enableCvp: false
replyOrder: string
server: string
exceptionTrack: string
ignoreErrors: false
ignoreWarnings: false
managementResourceFtpId: string
name: string
resourceMatchingMethod: string
resourcesPath: string
tags:
- string
ManagementResourceFtp 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 ManagementResourceFtp resource accepts the following input properties:
- Resource
Matching stringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Cvp
Management
Resource Ftp Cvp - Configure CVP inspection on mail messages.cvp blocks are documented below.
- Exception
Track string - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource stringFtp Id - Name string
- Object name.
- Resources
Path string - Refers to a location on the FTP server.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Resource
Matching stringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Cvp
Management
Resource Ftp Cvp Args - Configure CVP inspection on mail messages.cvp blocks are documented below.
- Exception
Track string - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource stringFtp Id - Name string
- Object name.
- Resources
Path string - Refers to a location on the FTP server.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- resource
Matching StringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- cvp
Management
Resource Ftp Cvp - Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception
Track String - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource StringFtp Id - name String
- Object name.
- resources
Path String - Refers to a location on the FTP server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- resource
Matching stringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- cvp
Management
Resource Ftp Cvp - Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception
Track string - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource stringFtp Id - name string
- Object name.
- resources
Path string - Refers to a location on the FTP server.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- resource_
matching_ strmethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- cvp
Management
Resource Ftp Cvp Args - Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception_
track str - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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_
resource_ strftp_ id - name str
- Object name.
- resources_
path str - Refers to a location on the FTP server.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- resource
Matching StringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- cvp Property Map
- Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception
Track String - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource StringFtp Id - name String
- Object name.
- resources
Path String - Refers to a location on the FTP server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementResourceFtp 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 ManagementResourceFtp Resource
Get an existing ManagementResourceFtp 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?: ManagementResourceFtpState, opts?: CustomResourceOptions): ManagementResourceFtp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
cvp: Optional[ManagementResourceFtpCvpArgs] = None,
exception_track: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_resource_ftp_id: Optional[str] = None,
name: Optional[str] = None,
resource_matching_method: Optional[str] = None,
resources_path: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ManagementResourceFtp
func GetManagementResourceFtp(ctx *Context, name string, id IDInput, state *ManagementResourceFtpState, opts ...ResourceOption) (*ManagementResourceFtp, error)
public static ManagementResourceFtp Get(string name, Input<string> id, ManagementResourceFtpState? state, CustomResourceOptions? opts = null)
public static ManagementResourceFtp get(String name, Output<String> id, ManagementResourceFtpState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementResourceFtp 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.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Cvp
Management
Resource Ftp Cvp - Configure CVP inspection on mail messages.cvp blocks are documented below.
- Exception
Track string - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource stringFtp Id - Name string
- Object name.
- Resource
Matching stringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- Resources
Path string - Refers to a location on the FTP server.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Cvp
Management
Resource Ftp Cvp Args - Configure CVP inspection on mail messages.cvp blocks are documented below.
- Exception
Track string - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource stringFtp Id - Name string
- Object name.
- Resource
Matching stringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- Resources
Path string - Refers to a location on the FTP server.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- cvp
Management
Resource Ftp Cvp - Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception
Track String - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource StringFtp Id - name String
- Object name.
- resource
Matching StringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- resources
Path String - Refers to a location on the FTP server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- cvp
Management
Resource Ftp Cvp - Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception
Track string - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource stringFtp Id - name string
- Object name.
- resource
Matching stringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- resources
Path string - Refers to a location on the FTP server.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- cvp
Management
Resource Ftp Cvp Args - Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception_
track str - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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_
resource_ strftp_ id - name str
- Object name.
- resource_
matching_ strmethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- resources_
path str - Refers to a location on the FTP server.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- cvp Property Map
- Configure CVP inspection on mail messages.cvp blocks are documented below.
- exception
Track String - The UID or Name of the exception track to be used to log actions taken as a result of a match on the resource.
- 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
Resource StringFtp Id - name String
- Object name.
- resource
Matching StringMethod - GET allows Downloads from the server to the client. PUT allows Uploads from the client to the server.
- resources
Path String - Refers to a location on the FTP server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Supporting Types
ManagementResourceFtpCvp, ManagementResourceFtpCvpArgs
- Allowed
To boolModify Content - Configures the CVP server to inspect but not modify content.
- Enable
Cvp bool - Select to enable the Content Vectoring Protocol.
- Reply
Order string - Designates when the CVP server returns data to the Security Gateway security server.
- Server string
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- Allowed
To boolModify Content - Configures the CVP server to inspect but not modify content.
- Enable
Cvp bool - Select to enable the Content Vectoring Protocol.
- Reply
Order string - Designates when the CVP server returns data to the Security Gateway security server.
- Server string
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To BooleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order String - Designates when the CVP server returns data to the Security Gateway security server.
- server String
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To booleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp boolean - Select to enable the Content Vectoring Protocol.
- reply
Order string - Designates when the CVP server returns data to the Security Gateway security server.
- server string
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed_
to_ boolmodify_ content - Configures the CVP server to inspect but not modify content.
- enable_
cvp bool - Select to enable the Content Vectoring Protocol.
- reply_
order str - Designates when the CVP server returns data to the Security Gateway security server.
- server str
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
- allowed
To BooleanModify Content - Configures the CVP server to inspect but not modify content.
- enable
Cvp Boolean - Select to enable the Content Vectoring Protocol.
- reply
Order String - Designates when the CVP server returns data to the Security Gateway security server.
- server String
- The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.