AwsS3BucketSqsNotificationRuleArgs
interface AwsS3BucketSqsNotificationRuleArgs {
eventTypes: string[];
filter?: AwsS3BucketNotificationDestinationFilterArgs;
queueArn: Input<string>;
}SQS notification rule.
Example
CODE
const sqsNotification: AwsS3BucketSqsNotificationRuleArgs = {
queueArn: queue.arn,
eventTypes: ['s3:ObjectCreated:*'],
};Properties
eventTypes: string[]
One or more S3 event types.
filter: AwsS3BucketNotificationDestinationFilterArgs
Optional object key filter.
queueArn: Input<string>
Target SQS queue ARN.