Show / Hide Table of Contents

Class NotificationKeyFilter

Inheritance
System.Object
NotificationKeyFilter
Implements
INotificationKeyFilter
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class NotificationKeyFilter : Object, INotificationKeyFilter
Syntax (vb)
Public Class NotificationKeyFilter
    Inherits Object
    Implements INotificationKeyFilter
Remarks

ExampleMetadata: infused

Examples
Queue myQueue;

Bucket bucket = new Bucket(this, "MyBucket");
bucket.AddEventNotification(EventType.OBJECT_REMOVED,
new SqsDestination(myQueue), new NotificationKeyFilter { Prefix = "foo/", Suffix = ".jpg" });

Synopsis

Constructors

NotificationKeyFilter()

Properties

Prefix

S3 keys must have the specified prefix.

Suffix

S3 keys must have the specified suffix.

Constructors

NotificationKeyFilter()

public NotificationKeyFilter()

Properties

Prefix

S3 keys must have the specified prefix.

public string Prefix { get; set; }
Property Value

System.String

Suffix

S3 keys must have the specified suffix.

public string Suffix { get; set; }
Property Value

System.String

Implements

INotificationKeyFilter
Back to top Generated by DocFX