import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Sensitive Data Scanner group resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new sensitive_data_scanner_group resource * const mygroup = new datadog.SensitiveDataScannerGroup("mygroup", { * name: "My new scanning group", * description: "A relevant description", * filter: { * query: "service:my-service", * }, * isEnabled: true, * productLists: [ * "apm", * "logs", * ], * samplings: [ * { * product: "apm", * rate: 100, * }, * { * product: "logs", * rate: 10, * }, * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/sensitiveDataScannerGroup:SensitiveDataScannerGroup new_list "" * ``` */ export declare class SensitiveDataScannerGroup extends pulumi.CustomResource { /** * Get an existing SensitiveDataScannerGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SensitiveDataScannerGroupState, opts?: pulumi.CustomResourceOptions): SensitiveDataScannerGroup; /** * Returns true if the given object is an instance of SensitiveDataScannerGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SensitiveDataScannerGroup; /** * Description of the Datadog scanning group. */ readonly description: pulumi.Output; /** * Filter object the scanning group applies. */ readonly filter: pulumi.Output; /** * Whether or not the scanning group is enabled. If the group doesn't contain any rule or if all the rules in it are disabled, the group is force-disabled by our backend */ readonly isEnabled: pulumi.Output; /** * Name of the Datadog scanning group. */ readonly name: pulumi.Output; /** * List of products the scanning group applies. Valid values are `logs`, `rum`, `events`, `apm`. */ readonly productLists: pulumi.Output; /** * List of sampling configurations per product type for the scanning group. */ readonly samplings: pulumi.Output; /** * Create a SensitiveDataScannerGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SensitiveDataScannerGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SensitiveDataScannerGroup resources. */ export interface SensitiveDataScannerGroupState { /** * Description of the Datadog scanning group. */ description?: pulumi.Input; /** * Filter object the scanning group applies. */ filter?: pulumi.Input; /** * Whether or not the scanning group is enabled. If the group doesn't contain any rule or if all the rules in it are disabled, the group is force-disabled by our backend */ isEnabled?: pulumi.Input; /** * Name of the Datadog scanning group. */ name?: pulumi.Input; /** * List of products the scanning group applies. Valid values are `logs`, `rum`, `events`, `apm`. */ productLists?: pulumi.Input[]>; /** * List of sampling configurations per product type for the scanning group. */ samplings?: pulumi.Input[]>; } /** * The set of arguments for constructing a SensitiveDataScannerGroup resource. */ export interface SensitiveDataScannerGroupArgs { /** * Description of the Datadog scanning group. */ description?: pulumi.Input; /** * Filter object the scanning group applies. */ filter: pulumi.Input; /** * Whether or not the scanning group is enabled. If the group doesn't contain any rule or if all the rules in it are disabled, the group is force-disabled by our backend */ isEnabled: pulumi.Input; /** * Name of the Datadog scanning group. */ name: pulumi.Input; /** * List of products the scanning group applies. Valid values are `logs`, `rum`, `events`, `apm`. */ productLists: pulumi.Input[]>; /** * List of sampling configurations per product type for the scanning group. */ samplings?: pulumi.Input[]>; }