AWSSDK.S3 by Amazon Web Services

<PackageReference Include="AWSSDK.S3" Version="3.7.9.42" />

.NET API 683,176 bytes

 TopicConfiguration

This class contains the configuration Amazon S3 uses to figure out what events you want to listen and send the event to an Amazon SNS topic.

The topic's policy must allow S3 to publish messages to it. The utility method Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.AuthorizeS3ToPublish(string,string) can be used to help setup the topic policy.

public string Event { get; set; }

Bucket event for which to send notifications.

Topic configurations can now contain multiple events. This property is obsolete in favor of the Events property. This property will always get or set the the zeroth element in the Events collection.

public string Id { get; set; }

Gets and set the Id property. The Id will be provided in the event content and can be used to identify which configuration caused an event to fire. If the Id is not provided for the configuration, one will be generated.

public string Topic { get; set; }

Gets and sets the Topic property. Amazon SNS topic to which Amazon S3 will publish a message to report the specified events for the bucket.

The topic's policy must allow S3 to publish messages to it. The utility method Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.AuthorizeS3ToPublish(string,string) can be used to help setup the topic policy.