Show / Hide Table of Contents

Class CfnBucket.QueueConfigurationProperty

Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.

Inheritance
System.Object
CfnBucket.QueueConfigurationProperty
Implements
CfnBucket.IQueueConfigurationProperty
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class QueueConfigurationProperty : Object, CfnBucket.IQueueConfigurationProperty
Syntax (vb)
Public Class QueueConfigurationProperty
    Inherits Object
    Implements CfnBucket.IQueueConfigurationProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;

var queueConfigurationProperty = new QueueConfigurationProperty {
    Event = "event",
    Queue = "queue",

    // the properties below are optional
    Filter = new NotificationFilterProperty {
        S3Key = new S3KeyFilterProperty {
            Rules = new [] { new FilterRuleProperty {
                Name = "name",
                Value = "value"
            } }
        }
    }
};

Synopsis

Constructors

QueueConfigurationProperty()

Properties

Event

The Amazon S3 bucket event about which you want to publish messages to Amazon SQS.

Filter

The filtering rules that determine which objects trigger notifications.

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.

Constructors

QueueConfigurationProperty()

public QueueConfigurationProperty()

Properties

Event

The Amazon S3 bucket event about which you want to publish messages to Amazon SQS.

public string Event { get; set; }
Property Value

System.String

Remarks

For more information, see Supported Event Types in the Amazon S3 User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html#cfn-s3-bucket-notificationconfig-queueconfig-event

Filter

The filtering rules that determine which objects trigger notifications.

public object Filter { get; set; }
Property Value

System.Object

Remarks

For example, you can create a filter so that Amazon S3 sends notifications only when image files with a .jpg extension are added to the bucket. For more information, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html#cfn-s3-bucket-notificationconfig-queueconfig-filter

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.

public string Queue { get; set; }
Property Value

System.String

Remarks

FIFO queues are not allowed when enabling an SQS queue as the event notification destination.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html#cfn-s3-bucket-notificationconfig-queueconfig-queue

Implements

CfnBucket.IQueueConfigurationProperty
Back to top Generated by DocFX