agent-claw: automated task changes
This commit is contained in:
41
cdk/node_modules/aws-cdk-lib/aws-s3/lib/destination.d.ts
generated
vendored
Normal file
41
cdk/node_modules/aws-cdk-lib/aws-s3/lib/destination.d.ts
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
import type { Construct, IDependable } from 'constructs';
|
||||
import type { IBucketRef } from './s3.generated';
|
||||
/**
|
||||
* Implemented by constructs that can be used as bucket notification destinations.
|
||||
*/
|
||||
export interface IBucketNotificationDestination {
|
||||
/**
|
||||
* Registers this resource to receive notifications for the specified
|
||||
* bucket. This method will only be called once for each destination/bucket
|
||||
* pair and the result will be cached, so there is no need to implement
|
||||
* idempotency in each destination.
|
||||
* @param bucket The bucket object to bind to
|
||||
*/
|
||||
bind(scope: Construct, bucket: IBucketRef): BucketNotificationDestinationConfig;
|
||||
}
|
||||
/**
|
||||
* Represents the properties of a notification destination.
|
||||
*/
|
||||
export interface BucketNotificationDestinationConfig {
|
||||
/**
|
||||
* The notification type.
|
||||
*/
|
||||
readonly type: BucketNotificationDestinationType;
|
||||
/**
|
||||
* The ARN of the destination (i.e. Lambda, SNS, SQS).
|
||||
*/
|
||||
readonly arn: string;
|
||||
/**
|
||||
* Any additional dependencies that should be resolved before the bucket notification
|
||||
* can be configured (for example, the SNS Topic Policy resource).
|
||||
*/
|
||||
readonly dependencies?: IDependable[];
|
||||
}
|
||||
/**
|
||||
* Supported types of notification destinations.
|
||||
*/
|
||||
export declare enum BucketNotificationDestinationType {
|
||||
LAMBDA = 0,
|
||||
QUEUE = 1,
|
||||
TOPIC = 2
|
||||
}
|
||||
Reference in New Issue
Block a user