Class NotificationArgs
Inherited Members
Namespace: Pulumi.Gcp.Storage
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class NotificationArgs : ResourceArgs
Constructors
View SourceNotificationArgs()
Declaration
public NotificationArgs()
Properties
View SourceBucket
The name of the bucket.
Declaration
public Input<string> Bucket { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CustomAttributes
A set of key/value attribute pairs to attach to each Cloud PubSub message published for this notification subscription
Declaration
public InputMap<string> CustomAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
EventTypes
List of event type filters for this notification config. If not specified, Cloud Storage will send notifications for all event types. The valid types are: "OBJECT_FINALIZE", "OBJECT_METADATA_UPDATE", "OBJECT_DELETE", "OBJECT_ARCHIVE"
Declaration
public InputList<string> EventTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
ObjectNamePrefix
Specifies a prefix path filter for this notification config. Cloud Storage will only send notifications for objects in this bucket whose names begin with the specified prefix.
Declaration
public Input<string> ObjectNamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PayloadFormat
The desired content of the Payload. One of "JSON_API_V1" or "NONE".
Declaration
public Input<string> PayloadFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Topic
The Cloud PubSub topic to which this subscription publishes. Expects either the
topic name, assumed to belong to the default GCP provider project, or the project-level name,
i.e. projects/my-gcp-project/topics/my-topic or my-topic. If the project is not set in the provider,
you will need to use the project-level name.
Declaration
public Input<string> Topic { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |