import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * Provides a Datadog Security Monitoring Notification Rule API resource for creating and managing Datadog security notification rules.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 *
 * const signalRule = new datadog.SecurityNotificationRule("signal_rule", {
 *     name: "My signal notification rule",
 *     selectors: [{
 *         triggerSource: "security_signals",
 *         ruleTypes: ["workload_security"],
 *         query: "env:prod",
 *     }],
 *     enabled: false,
 *     targets: [
 *         "@bob@email.com",
 *         "@alice@email.com",
 *     ],
 * });
 * const vulnerabilityRule = new datadog.SecurityNotificationRule("vulnerability_rule", {
 *     name: "My vulnerability notification rule",
 *     selectors: [{
 *         triggerSource: "security_findings",
 *         ruleTypes: [
 *             "application_library_vulnerability",
 *             "identity_risk",
 *         ],
 *         severities: [
 *             "critical",
 *             "high",
 *         ],
 *     }],
 *     timeAggregation: 36000,
 *     targets: ["@john@email.com"],
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import datadog:index/securityNotificationRule:SecurityNotificationRule signal_rule yq9-t9l-bso
 * ```
 */
export declare class SecurityNotificationRule extends pulumi.CustomResource {
    /**
     * Get an existing SecurityNotificationRule 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<pulumi.ID>, state?: SecurityNotificationRuleState, opts?: pulumi.CustomResourceOptions): SecurityNotificationRule;
    /**
     * Returns true if the given object is an instance of SecurityNotificationRule.  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 SecurityNotificationRule;
    /**
     * Indicates when this rule was created.
     */
    readonly createdAt: pulumi.Output<number>;
    /**
     * The handle of the rule creator.
     */
    readonly createdByHandle: pulumi.Output<string>;
    /**
     * The name of the rule creator.
     */
    readonly createdByName: pulumi.Output<string>;
    /**
     * Indicates whether the rule is enabled. Defaults to `true`.
     */
    readonly enabled: pulumi.Output<boolean>;
    /**
     * Indicates when this rule was last modified.
     */
    readonly modifiedAt: pulumi.Output<number>;
    /**
     * The handle of the rule last modifier.
     */
    readonly modifiedByHandle: pulumi.Output<string>;
    /**
     * The name of the rule last modifier.
     */
    readonly modifiedByName: pulumi.Output<string>;
    /**
     * The name of the rule (must be unique).
     */
    readonly name: pulumi.Output<string>;
    /**
     * Defines selectors to filter security issues that generate notifications.
     */
    readonly selectors: pulumi.Output<outputs.SecurityNotificationRuleSelectors>;
    /**
     * The list of handle targets for the notifications. A target must be prefixed with an @. It can be an email address (@bob@email.com), or any installed integration. For example, a Slack recipient (@slack-ops), or a Teams recipient (@teams-ops).
     */
    readonly targets: pulumi.Output<string[]>;
    /**
     * Specifies the time period, in seconds, used to aggregate the notification. Defaults to `0`.
     */
    readonly timeAggregation: pulumi.Output<number>;
    /**
     * The rule version (incremented at each update).
     */
    readonly version: pulumi.Output<number>;
    /**
     * Create a SecurityNotificationRule 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: SecurityNotificationRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SecurityNotificationRule resources.
 */
export interface SecurityNotificationRuleState {
    /**
     * Indicates when this rule was created.
     */
    createdAt?: pulumi.Input<number | undefined>;
    /**
     * The handle of the rule creator.
     */
    createdByHandle?: pulumi.Input<string | undefined>;
    /**
     * The name of the rule creator.
     */
    createdByName?: pulumi.Input<string | undefined>;
    /**
     * Indicates whether the rule is enabled. Defaults to `true`.
     */
    enabled?: pulumi.Input<boolean | undefined>;
    /**
     * Indicates when this rule was last modified.
     */
    modifiedAt?: pulumi.Input<number | undefined>;
    /**
     * The handle of the rule last modifier.
     */
    modifiedByHandle?: pulumi.Input<string | undefined>;
    /**
     * The name of the rule last modifier.
     */
    modifiedByName?: pulumi.Input<string | undefined>;
    /**
     * The name of the rule (must be unique).
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Defines selectors to filter security issues that generate notifications.
     */
    selectors?: pulumi.Input<inputs.SecurityNotificationRuleSelectors | undefined>;
    /**
     * The list of handle targets for the notifications. A target must be prefixed with an @. It can be an email address (@bob@email.com), or any installed integration. For example, a Slack recipient (@slack-ops), or a Teams recipient (@teams-ops).
     */
    targets?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies the time period, in seconds, used to aggregate the notification. Defaults to `0`.
     */
    timeAggregation?: pulumi.Input<number | undefined>;
    /**
     * The rule version (incremented at each update).
     */
    version?: pulumi.Input<number | undefined>;
}
/**
 * The set of arguments for constructing a SecurityNotificationRule resource.
 */
export interface SecurityNotificationRuleArgs {
    /**
     * Indicates whether the rule is enabled. Defaults to `true`.
     */
    enabled?: pulumi.Input<boolean | undefined>;
    /**
     * The name of the rule (must be unique).
     */
    name: pulumi.Input<string>;
    /**
     * Defines selectors to filter security issues that generate notifications.
     */
    selectors: pulumi.Input<inputs.SecurityNotificationRuleSelectors>;
    /**
     * The list of handle targets for the notifications. A target must be prefixed with an @. It can be an email address (@bob@email.com), or any installed integration. For example, a Slack recipient (@slack-ops), or a Teams recipient (@teams-ops).
     */
    targets: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * Specifies the time period, in seconds, used to aggregate the notification. Defaults to `0`.
     */
    timeAggregation?: pulumi.Input<number | undefined>;
}
//# sourceMappingURL=securityNotificationRule.d.ts.map