agent-claw: automated task changes
This commit is contained in:
42
cdk/node_modules/aws-cdk-lib/aws-s3/lib/notifications-resource/notifications-resource-handler.d.ts
generated
vendored
Normal file
42
cdk/node_modules/aws-cdk-lib/aws-s3/lib/notifications-resource/notifications-resource-handler.d.ts
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
import { Construct } from 'constructs';
|
||||
import * as iam from '../../../aws-iam';
|
||||
export declare class NotificationsResourceHandlerProps {
|
||||
role?: iam.IRole;
|
||||
}
|
||||
/**
|
||||
* A Lambda-based custom resource handler that provisions S3 bucket
|
||||
* notifications for a bucket.
|
||||
*
|
||||
* The resource property schema is:
|
||||
*
|
||||
* {
|
||||
* BucketName: string, NotificationConfiguration: { see
|
||||
* PutBucketNotificationConfiguration }
|
||||
* }
|
||||
*
|
||||
* For 'Delete' operations, we send an empty NotificationConfiguration as
|
||||
* required. We propagate errors and results as-is.
|
||||
*
|
||||
* Sadly, we can't use aws-cdk-lib/aws-lambda as it will introduce a dependency
|
||||
* cycle, so this uses raw `cdk.Resource`s.
|
||||
*/
|
||||
export declare class NotificationsResourceHandler extends Construct {
|
||||
/**
|
||||
* Defines a stack-singleton lambda function with the logic for a CloudFormation custom
|
||||
* resource that provisions bucket notification configuration for a bucket.
|
||||
*
|
||||
* @returns The ARN of the custom resource lambda function.
|
||||
*/
|
||||
static singleton(context: Construct, props?: NotificationsResourceHandlerProps): NotificationsResourceHandler;
|
||||
/**
|
||||
* The ARN of the handler's lambda function. Used as a service token in the
|
||||
* custom resource.
|
||||
*/
|
||||
readonly functionArn: string;
|
||||
/**
|
||||
* The role of the handler's lambda function.
|
||||
*/
|
||||
readonly role: iam.IRole;
|
||||
constructor(scope: Construct, id: string, props?: NotificationsResourceHandlerProps);
|
||||
addToRolePolicy(statement: iam.PolicyStatement): void;
|
||||
}
|
||||
Reference in New Issue
Block a user