interface QueueConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.QueueConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_QueueConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.QueueConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.QueueConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » QueueConfigurationProperty |
Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const queueConfigurationProperty: s3_mixins.CfnBucketPropsMixin.QueueConfigurationProperty = {
event: 'event',
filter: {
s3Key: {
rules: [{
name: 'name',
value: 'value',
}],
},
},
queue: 'queue',
};
Properties
| Name | Type | Description |
|---|---|---|
| event? | string | The Amazon S3 bucket event about which you want to publish messages to Amazon SQS. |
| filter? | IResolvable | Notification | The filtering rules that determine which objects trigger notifications. |
| queue? | string | 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. |
event?
Type:
string
(optional)
The Amazon S3 bucket event about which you want to publish messages to Amazon SQS.
For more information, see Supported Event Types in the Amazon S3 User Guide .
filter?
Type:
IResolvable | Notification
(optional)
The filtering rules that determine which objects trigger notifications.
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 .
queue?
Type:
string
(optional)
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.
FIFO queues are not allowed when enabling an SQS queue as the event notification destination.

.NET
Go
Java
Python
TypeScript