published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
ConfigMatchList resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const configMatchList = new scm.ConfigMatchList("config_match_list", {
name: "test-config-list",
description: "Config match list for tracking configuration changes and audit log forwarding",
folder: "ngfw-shared",
filter: "All Logs",
sendSyslogs: ["test-syslog"],
sendHttps: ["some-http-profile"],
sendSnmptraps: ["snmp_test"],
sendEmails: ["test-email"],
sendToPanorama: false,
});
import pulumi
import pulumi_scm as scm
config_match_list = scm.ConfigMatchList("config_match_list",
name="test-config-list",
description="Config match list for tracking configuration changes and audit log forwarding",
folder="ngfw-shared",
filter="All Logs",
send_syslogs=["test-syslog"],
send_https=["some-http-profile"],
send_snmptraps=["snmp_test"],
send_emails=["test-email"],
send_to_panorama=False)
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scm.NewConfigMatchList(ctx, "config_match_list", &scm.ConfigMatchListArgs{
Name: pulumi.String("test-config-list"),
Description: pulumi.String("Config match list for tracking configuration changes and audit log forwarding"),
Folder: pulumi.String("ngfw-shared"),
Filter: pulumi.String("All Logs"),
SendSyslogs: pulumi.StringArray{
pulumi.String("test-syslog"),
},
SendHttps: pulumi.StringArray{
pulumi.String("some-http-profile"),
},
SendSnmptraps: pulumi.StringArray{
pulumi.String("snmp_test"),
},
SendEmails: pulumi.StringArray{
pulumi.String("test-email"),
},
SendToPanorama: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var configMatchList = new Scm.ConfigMatchList("config_match_list", new()
{
Name = "test-config-list",
Description = "Config match list for tracking configuration changes and audit log forwarding",
Folder = "ngfw-shared",
Filter = "All Logs",
SendSyslogs = new[]
{
"test-syslog",
},
SendHttps = new[]
{
"some-http-profile",
},
SendSnmptraps = new[]
{
"snmp_test",
},
SendEmails = new[]
{
"test-email",
},
SendToPanorama = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ConfigMatchList;
import com.pulumi.scm.ConfigMatchListArgs;
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 configMatchList = new ConfigMatchList("configMatchList", ConfigMatchListArgs.builder()
.name("test-config-list")
.description("Config match list for tracking configuration changes and audit log forwarding")
.folder("ngfw-shared")
.filter("All Logs")
.sendSyslogs("test-syslog")
.sendHttps("some-http-profile")
.sendSnmptraps("snmp_test")
.sendEmails("test-email")
.sendToPanorama(false)
.build());
}
}
resources:
configMatchList:
type: scm:ConfigMatchList
name: config_match_list
properties:
name: test-config-list
description: Config match list for tracking configuration changes and audit log forwarding
folder: ngfw-shared
filter: All Logs
sendSyslogs:
- test-syslog
sendHttps:
- some-http-profile
sendSnmptraps:
- snmp_test
sendEmails:
- test-email
sendToPanorama: false
Create ConfigMatchList Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConfigMatchList(name: string, args?: ConfigMatchListArgs, opts?: CustomResourceOptions);@overload
def ConfigMatchList(resource_name: str,
args: Optional[ConfigMatchListArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ConfigMatchList(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
device: Optional[str] = None,
filter: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None,
send_emails: Optional[Sequence[str]] = None,
send_https: Optional[Sequence[str]] = None,
send_snmptraps: Optional[Sequence[str]] = None,
send_syslogs: Optional[Sequence[str]] = None,
send_to_panorama: Optional[bool] = None,
snippet: Optional[str] = None)func NewConfigMatchList(ctx *Context, name string, args *ConfigMatchListArgs, opts ...ResourceOption) (*ConfigMatchList, error)public ConfigMatchList(string name, ConfigMatchListArgs? args = null, CustomResourceOptions? opts = null)
public ConfigMatchList(String name, ConfigMatchListArgs args)
public ConfigMatchList(String name, ConfigMatchListArgs args, CustomResourceOptions options)
type: scm:ConfigMatchList
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 ConfigMatchListArgs
- 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 ConfigMatchListArgs
- 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 ConfigMatchListArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigMatchListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigMatchListArgs
- 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 configMatchListResource = new Scm.ConfigMatchList("configMatchListResource", new()
{
Description = "string",
Device = "string",
Filter = "string",
Folder = "string",
Name = "string",
SendEmails = new[]
{
"string",
},
SendHttps = new[]
{
"string",
},
SendSnmptraps = new[]
{
"string",
},
SendSyslogs = new[]
{
"string",
},
SendToPanorama = false,
Snippet = "string",
});
example, err := scm.NewConfigMatchList(ctx, "configMatchListResource", &scm.ConfigMatchListArgs{
Description: pulumi.String("string"),
Device: pulumi.String("string"),
Filter: pulumi.String("string"),
Folder: pulumi.String("string"),
Name: pulumi.String("string"),
SendEmails: pulumi.StringArray{
pulumi.String("string"),
},
SendHttps: pulumi.StringArray{
pulumi.String("string"),
},
SendSnmptraps: pulumi.StringArray{
pulumi.String("string"),
},
SendSyslogs: pulumi.StringArray{
pulumi.String("string"),
},
SendToPanorama: pulumi.Bool(false),
Snippet: pulumi.String("string"),
})
var configMatchListResource = new ConfigMatchList("configMatchListResource", ConfigMatchListArgs.builder()
.description("string")
.device("string")
.filter("string")
.folder("string")
.name("string")
.sendEmails("string")
.sendHttps("string")
.sendSnmptraps("string")
.sendSyslogs("string")
.sendToPanorama(false)
.snippet("string")
.build());
config_match_list_resource = scm.ConfigMatchList("configMatchListResource",
description="string",
device="string",
filter="string",
folder="string",
name="string",
send_emails=["string"],
send_https=["string"],
send_snmptraps=["string"],
send_syslogs=["string"],
send_to_panorama=False,
snippet="string")
const configMatchListResource = new scm.ConfigMatchList("configMatchListResource", {
description: "string",
device: "string",
filter: "string",
folder: "string",
name: "string",
sendEmails: ["string"],
sendHttps: ["string"],
sendSnmptraps: ["string"],
sendSyslogs: ["string"],
sendToPanorama: false,
snippet: "string",
});
type: scm:ConfigMatchList
properties:
description: string
device: string
filter: string
folder: string
name: string
sendEmails:
- string
sendHttps:
- string
sendSnmptraps:
- string
sendSyslogs:
- string
sendToPanorama: false
snippet: string
ConfigMatchList 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 ConfigMatchList resource accepts the following input properties:
- Description string
- Description of the config match list entry
- Device string
- The device in which the resource is defined
- Filter string
- Filter of the config match list entry
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Name string
- Name of the config match list entry
- Send
Emails List<string> - Send Email List of the config match list entry
- Send
Https List<string> - Send HTTP List of the config match list entry
- Send
Snmptraps List<string> - Send SNMP Trap List of the config match list entry
- Send
Syslogs List<string> - Send Sys Log List of the config match list entry
- Send
To boolPanorama - Send Panorama Flag of the config match list entry
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- Description string
- Description of the config match list entry
- Device string
- The device in which the resource is defined
- Filter string
- Filter of the config match list entry
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Name string
- Name of the config match list entry
- Send
Emails []string - Send Email List of the config match list entry
- Send
Https []string - Send HTTP List of the config match list entry
- Send
Snmptraps []string - Send SNMP Trap List of the config match list entry
- Send
Syslogs []string - Send Sys Log List of the config match list entry
- Send
To boolPanorama - Send Panorama Flag of the config match list entry
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- description String
- Description of the config match list entry
- device String
- The device in which the resource is defined
- filter String
- Filter of the config match list entry
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name String
- Name of the config match list entry
- send
Emails List<String> - Send Email List of the config match list entry
- send
Https List<String> - Send HTTP List of the config match list entry
- send
Snmptraps List<String> - Send SNMP Trap List of the config match list entry
- send
Syslogs List<String> - Send Sys Log List of the config match list entry
- send
To BooleanPanorama - Send Panorama Flag of the config match list entry
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- description string
- Description of the config match list entry
- device string
- The device in which the resource is defined
- filter string
- Filter of the config match list entry
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name string
- Name of the config match list entry
- send
Emails string[] - Send Email List of the config match list entry
- send
Https string[] - Send HTTP List of the config match list entry
- send
Snmptraps string[] - Send SNMP Trap List of the config match list entry
- send
Syslogs string[] - Send Sys Log List of the config match list entry
- send
To booleanPanorama - Send Panorama Flag of the config match list entry
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- description str
- Description of the config match list entry
- device str
- The device in which the resource is defined
- filter str
- Filter of the config match list entry
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name str
- Name of the config match list entry
- send_
emails Sequence[str] - Send Email List of the config match list entry
- send_
https Sequence[str] - Send HTTP List of the config match list entry
- send_
snmptraps Sequence[str] - Send SNMP Trap List of the config match list entry
- send_
syslogs Sequence[str] - Send Sys Log List of the config match list entry
- send_
to_ boolpanorama - Send Panorama Flag of the config match list entry
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- description String
- Description of the config match list entry
- device String
- The device in which the resource is defined
- filter String
- Filter of the config match list entry
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name String
- Name of the config match list entry
- send
Emails List<String> - Send Email List of the config match list entry
- send
Https List<String> - Send HTTP List of the config match list entry
- send
Snmptraps List<String> - Send SNMP Trap List of the config match list entry
- send
Syslogs List<String> - Send Sys Log List of the config match list entry
- send
To BooleanPanorama - Send Panorama Flag of the config match list entry
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigMatchList resource produces the following output properties:
Look up Existing ConfigMatchList Resource
Get an existing ConfigMatchList 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?: ConfigMatchListState, opts?: CustomResourceOptions): ConfigMatchList@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
device: Optional[str] = None,
filter: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None,
send_emails: Optional[Sequence[str]] = None,
send_https: Optional[Sequence[str]] = None,
send_snmptraps: Optional[Sequence[str]] = None,
send_syslogs: Optional[Sequence[str]] = None,
send_to_panorama: Optional[bool] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None) -> ConfigMatchListfunc GetConfigMatchList(ctx *Context, name string, id IDInput, state *ConfigMatchListState, opts ...ResourceOption) (*ConfigMatchList, error)public static ConfigMatchList Get(string name, Input<string> id, ConfigMatchListState? state, CustomResourceOptions? opts = null)public static ConfigMatchList get(String name, Output<String> id, ConfigMatchListState state, CustomResourceOptions options)resources: _: type: scm:ConfigMatchList 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.
- Description string
- Description of the config match list entry
- Device string
- The device in which the resource is defined
- Filter string
- Filter of the config match list entry
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Name string
- Name of the config match list entry
- Send
Emails List<string> - Send Email List of the config match list entry
- Send
Https List<string> - Send HTTP List of the config match list entry
- Send
Snmptraps List<string> - Send SNMP Trap List of the config match list entry
- Send
Syslogs List<string> - Send Sys Log List of the config match list entry
- Send
To boolPanorama - Send Panorama Flag of the config match list entry
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- The Terraform ID.
- Description string
- Description of the config match list entry
- Device string
- The device in which the resource is defined
- Filter string
- Filter of the config match list entry
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Name string
- Name of the config match list entry
- Send
Emails []string - Send Email List of the config match list entry
- Send
Https []string - Send HTTP List of the config match list entry
- Send
Snmptraps []string - Send SNMP Trap List of the config match list entry
- Send
Syslogs []string - Send Sys Log List of the config match list entry
- Send
To boolPanorama - Send Panorama Flag of the config match list entry
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- The Terraform ID.
- description String
- Description of the config match list entry
- device String
- The device in which the resource is defined
- filter String
- Filter of the config match list entry
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name String
- Name of the config match list entry
- send
Emails List<String> - Send Email List of the config match list entry
- send
Https List<String> - Send HTTP List of the config match list entry
- send
Snmptraps List<String> - Send SNMP Trap List of the config match list entry
- send
Syslogs List<String> - Send Sys Log List of the config match list entry
- send
To BooleanPanorama - Send Panorama Flag of the config match list entry
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
- The Terraform ID.
- description string
- Description of the config match list entry
- device string
- The device in which the resource is defined
- filter string
- Filter of the config match list entry
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name string
- Name of the config match list entry
- send
Emails string[] - Send Email List of the config match list entry
- send
Https string[] - Send HTTP List of the config match list entry
- send
Snmptraps string[] - Send SNMP Trap List of the config match list entry
- send
Syslogs string[] - Send Sys Log List of the config match list entry
- send
To booleanPanorama - Send Panorama Flag of the config match list entry
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid string
- The Terraform ID.
- description str
- Description of the config match list entry
- device str
- The device in which the resource is defined
- filter str
- Filter of the config match list entry
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name str
- Name of the config match list entry
- send_
emails Sequence[str] - Send Email List of the config match list entry
- send_
https Sequence[str] - Send HTTP List of the config match list entry
- send_
snmptraps Sequence[str] - Send SNMP Trap List of the config match list entry
- send_
syslogs Sequence[str] - Send Sys Log List of the config match list entry
- send_
to_ boolpanorama - Send Panorama Flag of the config match list entry
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid str
- The Terraform ID.
- description String
- Description of the config match list entry
- device String
- The device in which the resource is defined
- filter String
- Filter of the config match list entry
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- name String
- Name of the config match list entry
- send
Emails List<String> - Send Email List of the config match list entry
- send
Https List<String> - Send HTTP List of the config match list entry
- send
Snmptraps List<String> - Send SNMP Trap List of the config match list entry
- send
Syslogs List<String> - Send Sys Log List of the config match list entry
- send
To BooleanPanorama - Send Panorama Flag of the config match list entry
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
- The Terraform ID.
Import
The following command can be used to import a resource not managed by Terraform:
$ pulumi import scm:index/configMatchList:ConfigMatchList example folder:::id
or
$ pulumi import scm:index/configMatchList:ConfigMatchList example :snippet::id
or
$ pulumi import scm:index/configMatchList:ConfigMatchList example ::device:id
Note: Please provide just one of folder, snippet, or device for the import command.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
published on Saturday, Mar 21, 2026 by Pulumi
