AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events. 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.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class TopicConfiguration : NotificationConfiguration
The TopicConfiguration type exposes the following members
Name | Description | |
---|---|---|
![]() |
TopicConfiguration() |
Name | Type | Description | |
---|---|---|---|
![]() |
Events | System.Collections.Generic.List<Amazon.S3.EventType> | Inherited from Amazon.S3.Model.NotificationConfiguration. |
![]() |
Filter | Amazon.S3.Model.Filter | Inherited from Amazon.S3.Model.NotificationConfiguration. |
![]() |
Id | System.String |
Gets and sets the property Id. |
![]() |
Topic | System.String |
Gets and sets the property Topic. The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer