AWS SDK Version 4 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.NotificationConfiguration
    Amazon.S3.Model.TopicConfiguration

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class TopicConfiguration : NotificationConfiguration

The TopicConfiguration type exposes the following members

Constructors

NameDescription
Public Method TopicConfiguration()

Properties

NameTypeDescription
Public Property Events System.Collections.Generic.List<Amazon.S3.EventType> Inherited from Amazon.S3.Model.NotificationConfiguration.
Public Property Filter Amazon.S3.Model.Filter Inherited from Amazon.S3.Model.NotificationConfiguration.
Public Property Id System.String

Gets and sets the property Id.

Public Property 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.

Version Information

.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