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.
string? Prefix { get; }
Property Value
Remarks
ExampleMetadata: infused
Suffix
S3 keys must have the specified suffix.
string? Suffix { get; }
Property Value
Remarks
ExampleMetadata: infused