interface BucketNotificationDestinationConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.BucketNotificationDestinationConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#BucketNotificationDestinationConfig |
Java | software.amazon.awscdk.services.s3.BucketNotificationDestinationConfig |
Python | aws_cdk.aws_s3.BucketNotificationDestinationConfig |
TypeScript (source) | aws-cdk-lib » aws_s3 » BucketNotificationDestinationConfig |
Obtainable from
Lambda.bind(), Sns.bind(), Sqs.bind()
Represents the properties of a notification destination.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
import * as constructs from 'constructs';
declare const dependable: constructs.IDependable;
const bucketNotificationDestinationConfig: s3.BucketNotificationDestinationConfig = {
arn: 'arn',
type: s3.BucketNotificationDestinationType.LAMBDA,
// the properties below are optional
dependencies: [dependable],
};
Properties
| Name | Type | Description |
|---|---|---|
| arn | string | The ARN of the destination (i.e. Lambda, SNS, SQS). |
| type | Bucket | The notification type. |
| dependencies? | IDependable[] | Any additional dependencies that should be resolved before the bucket notification can be configured (for example, the SNS Topic Policy resource). |
arn
Type:
string
The ARN of the destination (i.e. Lambda, SNS, SQS).
type
Type:
Bucket
The notification type.
dependencies?
Type:
IDependable[]
(optional)
Any additional dependencies that should be resolved before the bucket notification can be configured (for example, the SNS Topic Policy resource).

.NET
Go
Java
Python
TypeScript (