Class NotificationKeyFilter
Inheritance
System.Object
NotificationKeyFilter
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NotificationKeyFilter : Object, INotificationKeyFilter
Syntax (vb)
Public Class NotificationKeyFilter
Inherits Object
Implements INotificationKeyFilter
Remarks
ExampleMetadata: infused
Examples
Queue myQueue;
var 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