Interface INotificationKeyFilter
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INotificationKeyFilter
Syntax (vb)
Public Interface 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
Properties
Prefix | S3 keys must have the specified prefix. |
Suffix | S3 keys must have the specified suffix. |
Properties
Prefix
S3 keys must have the specified prefix.
virtual string Prefix { get; }
Property Value
System.String
Suffix
S3 keys must have the specified suffix.
virtual string Suffix { get; }
Property Value
System.String