BucketNotificationDestinationConfig Struct
Represents the properties of a notification destination.
Example
ts
// 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
The ARN of the destination (i.e. Lambda, SNS, SQS).
dependenciesIDependable[]dependenciestyping.List[IDependable]dependenciesList<IDependable>DependenciesIDependable[]Dependencies*[]IDependable#Any additional dependencies that should be resolved before the bucket notification can be configured (for example, the SNS Topic Policy resource).
typeBucketNotificationDestinationTypetypeBucketNotificationDestinationTypetypeBucketNotificationDestinationTypeTypeBucketNotificationDestinationTypeTypeBucketNotificationDestinationTyperequired#The notification type.