interface NotificationKeyFilter
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.NotificationKeyFilter |
![]() | software.amazon.awscdk.services.s3.NotificationKeyFilter |
![]() | aws_cdk.aws_s3.NotificationKeyFilter |
![]() | @aws-cdk/aws-s3 » NotificationKeyFilter |
Example
declare const myQueue: sqs.Queue;
const bucket = new s3.Bucket(this, 'MyBucket');
bucket.addEventNotification(s3.EventType.OBJECT_REMOVED,
new s3n.SqsDestination(myQueue),
{ prefix: 'foo/', suffix: '.jpg' });
Properties
Name | Type | Description |
---|---|---|
prefix? | string | S3 keys must have the specified prefix. |
suffix? | string | S3 keys must have the specified suffix. |
prefix?
Type:
string
(optional)
S3 keys must have the specified prefix.
suffix?
Type:
string
(optional)
S3 keys must have the specified suffix.