import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a notification config. * Auto-naming is currently not supported for this resource. */ export declare class NotificationConfig extends pulumi.CustomResource { /** * Get an existing NotificationConfig 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): NotificationConfig; /** * Returns true if the given object is an instance of NotificationConfig. 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 NotificationConfig; /** * Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only. */ readonly configId: pulumi.Output; /** * The description of the notification config (max of 1024 characters). */ readonly description: pulumi.Output; /** * The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket". */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]". */ readonly pubsubTopic: pulumi.Output; /** * The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic. */ readonly serviceAccount: pulumi.Output; /** * The config for triggering streaming-based notifications. */ readonly streamingConfig: pulumi.Output; /** * Create a NotificationConfig 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: NotificationConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a NotificationConfig resource. */ export interface NotificationConfigArgs { /** * Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only. */ configId: pulumi.Input; /** * The description of the notification config (max of 1024 characters). */ description?: pulumi.Input; /** * The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket". */ name?: pulumi.Input; project?: pulumi.Input; /** * The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]". */ pubsubTopic?: pulumi.Input; /** * The config for triggering streaming-based notifications. */ streamingConfig?: pulumi.Input; }