Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-s3-notifications/lib/sqs.d.ts
2026-05-06 18:55:16 -05:00

16 lines
575 B
TypeScript

import type { Construct } from 'constructs';
import * as s3 from '../../aws-s3';
import type * as sqs from '../../aws-sqs';
/**
* Use an SQS queue as a bucket notification destination
*/
export declare class SqsDestination implements s3.IBucketNotificationDestination {
private readonly queue;
constructor(queue: sqs.IQueue);
/**
* Allows using SQS queues as destinations for bucket notifications.
* Use `bucket.onEvent(event, queue)` to subscribe.
*/
bind(_scope: Construct, bucket: s3.IBucketRef): s3.BucketNotificationDestinationConfig;
}