interface BucketNotificationDestinationConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.BucketNotificationDestinationConfig |
Java | software.amazon.awscdk.services.s3.BucketNotificationDestinationConfig |
Python | aws_cdk.aws_s3.BucketNotificationDestinationConfig |
TypeScript (source) | @aws-cdk/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 * as s3 from '@aws-cdk/aws-s3';
import * as cdk from '@aws-cdk/core';
declare const dependable: cdk.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
Java
Python
TypeScript (