import * as pulumi from "@pulumi/pulumi"; /** * Creates a notification subscription for a given bucket. */ export declare class Notification extends pulumi.CustomResource { /** * Get an existing Notification 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): Notification; /** * Returns true if the given object is an instance of Notification. 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 Notification; /** * An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription. */ readonly custom_attributes: pulumi.Output<{ [key: string]: string; }>; /** * HTTP 1.1 Entity tag for this subscription notification. */ readonly etag: pulumi.Output; /** * If present, only send notifications about listed event types. If empty, sent notifications for all event types. */ readonly event_types: pulumi.Output; /** * The kind of item this is. For notifications, this is always storage#notification. */ readonly kind: pulumi.Output; /** * If present, only apply this notification configuration to object names that begin with this prefix. */ readonly object_name_prefix: pulumi.Output; /** * The desired content of the Payload. */ readonly payload_format: pulumi.Output; /** * The canonical URL of this notification. */ readonly selfLink: pulumi.Output; /** * The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}' */ readonly topic: pulumi.Output; /** * Create a Notification 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: NotificationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Notification resource. */ export interface NotificationArgs { readonly bucket: pulumi.Input; /** * An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription. */ readonly custom_attributes?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * HTTP 1.1 Entity tag for this subscription notification. */ readonly etag?: pulumi.Input; /** * If present, only send notifications about listed event types. If empty, sent notifications for all event types. */ readonly event_types?: pulumi.Input[]>; /** * The ID of the notification. */ readonly id?: pulumi.Input; /** * The kind of item this is. For notifications, this is always storage#notification. */ readonly kind?: pulumi.Input; readonly notification: pulumi.Input; /** * If present, only apply this notification configuration to object names that begin with this prefix. */ readonly object_name_prefix?: pulumi.Input; /** * The desired content of the Payload. */ readonly payload_format?: pulumi.Input; /** * The canonical URL of this notification. */ readonly selfLink?: pulumi.Input; /** * The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}' */ readonly topic?: pulumi.Input; }