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.

Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue 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 SQS queue.

The queue's policy must allow S3 to send messages to it. The utility method Amazon.SQS.AmazonSQSClient.AuthorizeS3ToSendMessage(string,string) can be used to help setup the queue policy.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.NotificationConfiguration
    Amazon.S3.Model.QueueConfiguration

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

Syntax

C#
public class QueueConfiguration : NotificationConfiguration

The QueueConfiguration type exposes the following members

Constructors

NameDescription
Public Method QueueConfiguration()

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 Queue System.String

Gets and sets the property Queue.

The Amazon Resource Name (ARN) of the Amazon SQS queue 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