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.
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.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class QueueConfiguration : NotificationConfiguration
The QueueConfiguration type exposes the following members
Name | Description | |
---|---|---|
QueueConfiguration() |
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 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. |
|
Queue | System.String |
Gets and sets the Queue property. Amazon SQS queue to which Amazon S3 will publish a message to report the specified events for the bucket. 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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5