Class BucketNotificationDestinationConfig
Represents the properties of a notification destination.
Inheritance
System.Object
BucketNotificationDestinationConfig
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BucketNotificationDestinationConfig : Object, IBucketNotificationDestinationConfig
Syntax (vb)
Public Class BucketNotificationDestinationConfig
Inherits Object
Implements IBucketNotificationDestinationConfig
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
using Constructs;
IDependable dependable;
var bucketNotificationDestinationConfig = new BucketNotificationDestinationConfig {
Arn = "arn",
Type = BucketNotificationDestinationType.LAMBDA,
// the properties below are optional
Dependencies = new [] { dependable }
};
Synopsis
Constructors
BucketNotificationDestinationConfig() |
Properties
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. |
Constructors
BucketNotificationDestinationConfig()
public BucketNotificationDestinationConfig()
Properties
Arn
The ARN of the destination (i.e. Lambda, SNS, SQS).
public string Arn { get; set; }
Property Value
System.String
Dependencies
Any additional dependencies that should be resolved before the bucket notification can be configured (for example, the SNS Topic Policy resource).
public IDependable[] Dependencies { get; set; }
Property Value
Constructs.IDependable[]
Type
The notification type.
public BucketNotificationDestinationType Type { get; set; }
Property Value
BucketNotificationDestinationType