BucketNotificationDestinationConfig
- class aws_cdk.aws_s3.BucketNotificationDestinationConfig(*, arn, type, dependencies=None)
Bases:
object
Represents the properties of a notification destination.
- Parameters:
arn (
str
) – The ARN of the destination (i.e. Lambda, SNS, SQS).type (
BucketNotificationDestinationType
) – The notification type.dependencies (
Optional
[Sequence
[IDependable
]]) – Any additional dependencies that should be resolved before the bucket notification can be configured (for example, the SNS Topic Policy resource).
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_s3 as s3 import constructs as constructs # dependable: constructs.IDependable bucket_notification_destination_config = s3.BucketNotificationDestinationConfig( arn="arn", type=s3.BucketNotificationDestinationType.LAMBDA, # the properties below are optional dependencies=[dependable] )
Attributes
- arn
The ARN of the destination (i.e. Lambda, SNS, SQS).
- dependencies
Any additional dependencies that should be resolved before the bucket notification can be configured (for example, the SNS Topic Policy resource).
- type
The notification type.