@aws-solutions-constructs/aws-eventbridge-sqs 2.85.2 → 2.85.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.85.2",
11
+ "@aws-solutions-constructs/core": "2.85.3",
12
12
  "aws-cdk-lib": "^2.193.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
@@ -3993,7 +3993,7 @@
3993
3993
  },
3994
3994
  "name": "@aws-solutions-constructs/aws-eventbridge-sqs",
3995
3995
  "readme": {
3996
- "markdown": "# aws-eventbridge-sqs module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_eventbridge_sqs`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-eventbridge-sqs`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.eventbridgesqs`|\n\n## Overview\nThis AWS Solutions Construct implements an Amazon EventBridge rule and an AWS SQS Queue.\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps, Duration } from 'aws-cdk-lib';\nimport * as events from 'aws-cdk-lib/aws-events';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport { EventbridgeToSqsProps, EventbridgeToSqs } from \"@aws-solutions-constructs/aws-eventbridge-sqs\";\n\nconst constructProps: EventbridgeToSqsProps = {\n eventRuleProps: {\n schedule: events.Schedule.rate(Duration.minutes(5))\n }\n};\n\nconst constructStack = new EventbridgeToSqs(this, 'test-construct', constructProps);\n\n// Grant yourself permissions to use the Customer Managed KMS Key\nconst policyStatement = new iam.PolicyStatement({\n actions: [\"kms:Encrypt\", \"kms:Decrypt\"],\n effect: iam.Effect.ALLOW,\n principals: [new iam.AccountRootPrincipal()],\n resources: [\"*\"]\n});\n\nconstructStack.encryptionKey?.addToResourcePolicy(policyStatement);\n```\n\nPython\n``` Python\nfrom aws_solutions_constructs.aws_eventbridge_sqs import EventbridgeToSqsProps, EventbridgeToSqs\nfrom aws_cdk import (\n aws_events as events,\n aws_iam as iam,\n Duration,\n Stack\n)\nfrom constructs import Construct\n\nconstruct_stack = EventbridgeToSqs(self, 'test-construct',\n event_rule_props=events.RuleProps(\n schedule=events.Schedule.rate(\n Duration.minutes(5))\n ))\n\n# Grant yourself permissions to use the Customer Managed KMS Key\npolicy_statement = iam.PolicyStatement(\n actions=[\"kms:Encrypt\", \"kms:Decrypt\"],\n effect=iam.Effect.ALLOW,\n principals=[iam.AccountRootPrincipal()],\n resources=[\"*\"]\n)\n\nconstruct_stack.encryption_key.add_to_resource_policy(policy_statement)\n```\n\nJava\n``` java\nimport software.constructs.Construct;\nimport java.util.List;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.Duration;\nimport software.amazon.awscdk.services.events.*;\nimport software.amazon.awscdk.services.iam.*;\nimport software.amazon.awsconstructs.services.eventbridgesqs.*;\n\nfinal EventbridgeToSqs constructStack = new EventbridgeToSqs(this, \"test-construct\",\n new EventbridgeToSqsProps.Builder()\n .eventRuleProps(new RuleProps.Builder()\n .schedule(Schedule.rate(Duration.minutes(5)))\n .build())\n .build());\n\n// Grant yourself permissions to use the Customer Managed KMS Key\nfinal PolicyStatement policyStatement = PolicyStatement.Builder.create()\n .actions(List.of(\"kms:Encrypt\", \"kms:Decrypt\"))\n .effect(Effect.ALLOW)\n .principals(List.of(new AccountRootPrincipal()))\n .resources(List.of(\"*\"))\n .build();\n\nconstructStack.getEncryptionKey().addToResourcePolicy(policyStatement);\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|existingEventBusInterface?|[`events.IEventBus`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.IEventBus.html)| Optional user-provided custom EventBus for construct to use. Providing both this and `eventBusProps` results an error.|\n|eventBusProps?|[`events.EventBusProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.EventBusProps.html)|Optional user-provided properties to override the default properties when creating a custom EventBus. Setting this value to `{}` will create a custom EventBus using all default properties. If neither this nor `existingEventBusInterface` is provided the construct will use the `default` EventBus. Providing both this and `existingEventBusInterface` results an error.|\n|eventRuleProps|[`events.RuleProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.RuleProps.html)|User provided eventRuleProps to override the defaults. |\n|targetProps?|[`eventtargets.SqsQueueProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events_targets.SqsQueueProps.html)|Optional user provided properties to define the SQS target on the Event Rule. If you specify a deadLetterQueue for the rule here, you are responsible for adding a resource policy to the queue allowing events.amazonaws.com permission to SendMessage, GetQueueUrl and GetQueueAttributes. You cannot send a DLQ in this property and set deployEventRuleDlq to true. Default is undefined and all system defaults are used.|\n|eventRuleDlqKeyProps|[kms.KeyProps](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.KeyProps.html)|Optional properties to define the key created to protect the ruleDlq. Only valid if deployRuleDlq is set to true. Defaults to CloudFormation defaults.|\n| deployEventRuleDlq?|boolean|Whether to deploy a DLQ for the Event Rule. If set to `true`, this DLQ will receive any messages that can't be delivered to the target SQS queue. Defaults to `false`.|\n|existingQueueObj?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|An optional, existing SQS queue to be used instead of the default queue. Providing both this and `queueProps` will cause an error.|\n|queueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.QueueProps.html)|User provided props to override the default props for the SQS Queue. |\n|enableQueuePurging?|`boolean`|Whether to grant additional permissions to the Lambda function enabling it to purge the SQS queue. Defaults to `false`.|\n|deployDeadLetterQueue?|`boolean`|Whether to create a secondary queue to be used as a dead letter queue. Defaults to `true`.|\n|deadLetterQueueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.QueueProps.html)|Optional user-provided props to override the default props for the dead letter queue. Only used if the `deployDeadLetterQueue` property is set to true.|\n|maxReceiveCount?|`number`|The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue. Defaults to `15`.|\n|enableEncryptionWithCustomerManagedKey?|`boolean`|If no key is provided, this flag determines whether the queue is encrypted with a new CMK or an AWS managed key. This flag is ignored if any of the following are defined: queueProps.encryptionMasterKey, encryptionKey or encryptionKeyProps.|\n|encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|An optional, imported encryption key to encrypt the SQS Queue with.|\n|encryptionKeyProps?|[`kms.KeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props)|Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SQS queue with.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|eventBus?|[`events.IEventBus`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.IEventBus.html)|Returns the instance of events.IEventBus used by the construct|\n|eventsRule|[`events.Rule`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.Rule.html)|Returns an instance of events.Rule created by the construct|\n|eventRuleDlq?|`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|If the client sets deployEventRuleDlq to 'true', then this value will contain the DLQ set up for the rule.|\n|eventRuleDlqKey|[kms.IKey](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.IKey.html)|The key created to encrypt the eventRuleDlq.|\n|sqsQueue|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|Returns an instance of sqs.Queue created by the construct|\n|encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|Returns an instance of kms Key used for the SQS queue.|\n|deadLetterQueue?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|Returns an instance of the dead-letter SQS queue created by the pattern.|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon EventBridge Rule\n* Grant least privilege permissions to EventBridge rule to publish to the SQS Queue.\n\n### Amazon SQS Queue\n* Deploy SQS dead-letter queue for the source SQS Queue.\n* Enable server-side encryption for source SQS Queue using Customer managed KMS Key.\n* Enforce encryption of data in transit.\n\n## Architecture\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3996
+ "markdown": "Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-eventbridge-sqs/README.adoc)\n"
3997
3997
  },
3998
3998
  "repository": {
3999
3999
  "directory": "source/patterns/@aws-solutions-constructs/aws-eventbridge-sqs",
@@ -4439,6 +4439,6 @@
4439
4439
  "symbolId": "lib/index:EventbridgeToSqsProps"
4440
4440
  }
4441
4441
  },
4442
- "version": "2.85.2",
4443
- "fingerprint": "3aZYvU9ldsVD+zZxuvU3VYZECzrWUuuKwq5/dWPsLVg="
4442
+ "version": "2.85.3",
4443
+ "fingerprint": "znXB+J9pEzXulQLVffPMKiTERyTn3h3nBpWLBK2foE0="
4444
4444
  }
package/README.adoc ADDED
@@ -0,0 +1,280 @@
1
+ //!!NODE_ROOT <section>
2
+ //== aws-eventbridge-sqs module
3
+
4
+ [.topic]
5
+ = aws-eventbridge-sqs
6
+ :info_doctype: section
7
+ :info_title: aws-eventbridge-sqs
8
+
9
+
10
+ image:https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge[Stability:Stable]
11
+
12
+ [width="100%",cols="<50%,<50%",options="header",]
13
+ |===
14
+ |*Reference Documentation*:
15
+ |https://docs.aws.amazon.com/solutions/latest/constructs/
16
+ |===
17
+
18
+ [width="100%",cols="<46%,54%",options="header",]
19
+ |===
20
+ |*Language* |*Package*
21
+ |image:https://docs.aws.amazon.com/cdk/api/latest/img/python32.png[Python
22
+ Logo] Python
23
+ |`aws_solutions_constructs.aws_eventbridge_sqs`
24
+
25
+ |image:https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png[Typescript
26
+ Logo] Typescript |`@aws-solutions-constructs/aws-eventbridge-sqs`
27
+
28
+ |image:https://docs.aws.amazon.com/cdk/api/latest/img/java32.png[Java
29
+ Logo] Java |`software.amazon.awsconstructs.services.eventbridgesqs`
30
+ |===
31
+
32
+ == Overview
33
+
34
+ This AWS Solutions Construct implements an Amazon EventBridge rule and
35
+ an AWS SQS Queue.
36
+
37
+ Here is a minimal deployable pattern definition:
38
+
39
+ ====
40
+ [role="tablist"]
41
+ Typescript::
42
+ +
43
+ [source,typescript]
44
+ ----
45
+ import { Construct } from 'constructs';
46
+ import { Stack, StackProps, Duration } from 'aws-cdk-lib';
47
+ import * as events from 'aws-cdk-lib/aws-events';
48
+ import * as iam from 'aws-cdk-lib/aws-iam';
49
+ import { EventbridgeToSqsProps, EventbridgeToSqs } from "@aws-solutions-constructs/aws-eventbridge-sqs";
50
+
51
+ const constructProps: EventbridgeToSqsProps = {
52
+ eventRuleProps: {
53
+ schedule: events.Schedule.rate(Duration.minutes(5))
54
+ }
55
+ };
56
+
57
+ const constructStack = new EventbridgeToSqs(this, 'test-construct', constructProps);
58
+
59
+ // Grant yourself permissions to use the Customer Managed KMS Key
60
+ const policyStatement = new iam.PolicyStatement({
61
+ actions: ["kms:Encrypt", "kms:Decrypt"],
62
+ effect: iam.Effect.ALLOW,
63
+ principals: [new iam.AccountRootPrincipal()],
64
+ resources: ["*"]
65
+ });
66
+
67
+ constructStack.encryptionKey?.addToResourcePolicy(policyStatement);
68
+ ----
69
+
70
+ Python::
71
+ +
72
+ [source,python]
73
+ ----
74
+ from aws_solutions_constructs.aws_eventbridge_sqs import EventbridgeToSqsProps, EventbridgeToSqs
75
+ from aws_cdk import (
76
+ aws_events as events,
77
+ aws_iam as iam,
78
+ Duration,
79
+ Stack
80
+ )
81
+ from constructs import Construct
82
+
83
+ construct_stack = EventbridgeToSqs(self, 'test-construct',
84
+ event_rule_props=events.RuleProps(
85
+ schedule=events.Schedule.rate(
86
+ Duration.minutes(5))
87
+ ))
88
+
89
+ # Grant yourself permissions to use the Customer Managed KMS Key
90
+ policy_statement = iam.PolicyStatement(
91
+ actions=["kms:Encrypt", "kms:Decrypt"],
92
+ effect=iam.Effect.ALLOW,
93
+ principals=[iam.AccountRootPrincipal()],
94
+ resources=["*"]
95
+ )
96
+
97
+ construct_stack.encryption_key.add_to_resource_policy(policy_statement)
98
+ ----
99
+
100
+ Java::
101
+ +
102
+ [source,java]
103
+ ----
104
+ import software.constructs.Construct;
105
+ import java.util.List;
106
+
107
+ import software.amazon.awscdk.Stack;
108
+ import software.amazon.awscdk.StackProps;
109
+ import software.amazon.awscdk.Duration;
110
+ import software.amazon.awscdk.services.events.*;
111
+ import software.amazon.awscdk.services.iam.*;
112
+ import software.amazon.awsconstructs.services.eventbridgesqs.*;
113
+
114
+ final EventbridgeToSqs constructStack = new EventbridgeToSqs(this, "test-construct",
115
+ new EventbridgeToSqsProps.Builder()
116
+ .eventRuleProps(new RuleProps.Builder()
117
+ .schedule(Schedule.rate(Duration.minutes(5)))
118
+ .build())
119
+ .build());
120
+
121
+ // Grant yourself permissions to use the Customer Managed KMS Key
122
+ final PolicyStatement policyStatement = PolicyStatement.Builder.create()
123
+ .actions(List.of("kms:Encrypt", "kms:Decrypt"))
124
+ .effect(Effect.ALLOW)
125
+ .principals(List.of(new AccountRootPrincipal()))
126
+ .resources(List.of("*"))
127
+ .build();
128
+
129
+ constructStack.getEncryptionKey().addToResourcePolicy(policyStatement);
130
+ ----
131
+ ====
132
+
133
+ == Pattern Construct Props
134
+
135
+ [width="100%",cols="<30%,<35%,35%",options="header",]
136
+ |===
137
+ |*Name* |*Type* |*Description*
138
+ |existingEventBusInterface?
139
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.IEventBus.html[`events.IEventBus`]
140
+ |Optional user-provided custom EventBus for construct to use. Providing
141
+ both this and `eventBusProps` results an error.
142
+
143
+ |eventBusProps?
144
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.EventBusProps.html[`events.EventBusProps`]
145
+ |Optional user-provided properties to override the default properties
146
+ when creating a custom EventBus. Setting this value to `{}` will
147
+ create a custom EventBus using all default properties. If neither this
148
+ nor `existingEventBusInterface` is provided the construct will use the
149
+ `default` EventBus. Providing both this and `existingEventBusInterface`
150
+ results an error.
151
+
152
+ |eventRuleProps
153
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.RuleProps.html[`events.RuleProps`]
154
+ |User provided eventRuleProps to override the defaults.
155
+
156
+ |targetProps?
157
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events_targets.SqsQueueProps.html[`eventtargets.SqsQueueProps`]
158
+ |Optional user provided properties to define the SQS target on the Event
159
+ Rule. If you specify a deadLetterQueue for the rule here, you are
160
+ responsible for adding a resource policy to the queue allowing
161
+ events.amazonaws.com permission to SendMessage, GetQueueUrl and
162
+ GetQueueAttributes. You cannot send a DLQ in this property and set
163
+ deployEventRuleDlq to true. Default is undefined and all system defaults
164
+ are used.
165
+
166
+ |eventRuleDlqKeyProps
167
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.KeyProps.html[kms.KeyProps]
168
+ |Optional properties to define the key created to protect the ruleDlq.
169
+ Only valid if deployRuleDlq is set to true. Defaults to CloudFormation
170
+ defaults.
171
+
172
+ |deployEventRuleDlq? |boolean |Whether to deploy a DLQ for the Event
173
+ Rule. If set to `true`, this DLQ will receive any messages that can’t be
174
+ delivered to the target SQS queue. Defaults to `false`.
175
+
176
+ |existingQueueObj?
177
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html[`sqs.Queue`]
178
+ |An optional, existing SQS queue to be used instead of the default
179
+ queue. Providing both this and `queueProps` will cause an error.
180
+
181
+ |queueProps?
182
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.QueueProps.html[`sqs.QueueProps`]
183
+ |User provided props to override the default props for the SQS Queue.
184
+
185
+ |enableQueuePurging? |`boolean` |Whether to grant additional permissions
186
+ to the Lambda function enabling it to purge the SQS queue. Defaults to
187
+ `false`.
188
+
189
+ |deployDeadLetterQueue? |`boolean` |Whether to create a secondary queue
190
+ to be used as a dead letter queue. Defaults to `true`.
191
+
192
+ |deadLetterQueueProps?
193
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.QueueProps.html[`sqs.QueueProps`]
194
+ |Optional user-provided props to override the default props for the dead
195
+ letter queue. Only used if the `deployDeadLetterQueue` property is set
196
+ to true.
197
+
198
+ |maxReceiveCount? |`number` |The number of times a message can be
199
+ unsuccessfully dequeued before being moved to the dead letter queue.
200
+ Defaults to `15`.
201
+
202
+ |enableEncryptionWithCustomerManagedKey? |`boolean` |If no key is
203
+ provided, this flag determines whether the queue is encrypted with a new
204
+ CMK or an AWS managed key. This flag is ignored if any of the following
205
+ are defined: queueProps.encryptionMasterKey, encryptionKey or
206
+ encryptionKeyProps.
207
+
208
+ |encryptionKey?
209
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html[`kms.Key`]
210
+ |An optional, imported encryption key to encrypt the SQS Queue with.
211
+
212
+ |encryptionKeyProps?
213
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props[`kms.KeyProps`]
214
+ |Optional user provided properties to override the default properties
215
+ for the KMS encryption key used to encrypt the SQS queue with.
216
+ |===
217
+
218
+ == Pattern Properties
219
+
220
+ [width="100%",cols="<30%,<35%,35%",options="header",]
221
+ |===
222
+ |*Name* |*Type* |*Description*
223
+ |eventBus?
224
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.IEventBus.html[`events.IEventBus`]
225
+ |Returns the instance of events.IEventBus used by the construct
226
+
227
+ |eventsRule
228
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.Rule.html[`events.Rule`]
229
+ |Returns an instance of events.Rule created by the construct
230
+
231
+ |eventRuleDlq?
232
+ |`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)
233
+ |If the client sets deployEventRuleDlq to '`true`', then this value will
234
+ contain the DLQ set up for the rule.
235
+
236
+ |eventRuleDlqKey
237
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.IKey.html[kms.IKey]
238
+ |The key created to encrypt the eventRuleDlq.
239
+
240
+ |sqsQueue
241
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html[`sqs.Queue`]
242
+ |Returns an instance of sqs.Queue created by the construct
243
+
244
+ |encryptionKey?
245
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html[`kms.Key`]
246
+ |Returns an instance of kms Key used for the SQS queue.
247
+
248
+ |deadLetterQueue?
249
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html[`sqs.Queue`]
250
+ |Returns an instance of the dead-letter SQS queue created by the
251
+ pattern.
252
+ |===
253
+
254
+ == Default settings
255
+
256
+ Out of the box implementation of the Construct without any override will
257
+ set the following defaults:
258
+
259
+ === Amazon EventBridge Rule
260
+
261
+ * Grant least privilege permissions to EventBridge rule to publish to
262
+ the SQS Queue.
263
+
264
+ === Amazon SQS Queue
265
+
266
+ * Deploy SQS dead-letter queue for the source SQS Queue.
267
+ * Enable server-side encryption for source SQS Queue using Customer
268
+ managed KMS Key.
269
+ * Enforce encryption of data in transit.
270
+
271
+ == Architecture
272
+
273
+
274
+ image::aws-eventbridge-sqs.png["Diagram showing the EventBridge rule, SQS queue and IAM role created by the construct",scaledwidth=100%]
275
+
276
+ // github block
277
+
278
+ '''''
279
+
280
+ © Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
package/README.md CHANGED
@@ -1,159 +1 @@
1
- # aws-eventbridge-sqs module
2
- <!--BEGIN STABILITY BANNER-->
3
-
4
- ---
5
-
6
- ![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
7
-
8
- ---
9
- <!--END STABILITY BANNER-->
10
-
11
- | **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
12
- |:-------------|:-------------|
13
- <div style="height:8px"></div>
14
-
15
- | **Language** | **Package** |
16
- |:-------------|-----------------|
17
- |![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_eventbridge_sqs`|
18
- |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-eventbridge-sqs`|
19
- |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.eventbridgesqs`|
20
-
21
- ## Overview
22
- This AWS Solutions Construct implements an Amazon EventBridge rule and an AWS SQS Queue.
23
-
24
- Here is a minimal deployable pattern definition:
25
-
26
- Typescript
27
- ``` typescript
28
- import { Construct } from 'constructs';
29
- import { Stack, StackProps, Duration } from 'aws-cdk-lib';
30
- import * as events from 'aws-cdk-lib/aws-events';
31
- import * as iam from 'aws-cdk-lib/aws-iam';
32
- import { EventbridgeToSqsProps, EventbridgeToSqs } from "@aws-solutions-constructs/aws-eventbridge-sqs";
33
-
34
- const constructProps: EventbridgeToSqsProps = {
35
- eventRuleProps: {
36
- schedule: events.Schedule.rate(Duration.minutes(5))
37
- }
38
- };
39
-
40
- const constructStack = new EventbridgeToSqs(this, 'test-construct', constructProps);
41
-
42
- // Grant yourself permissions to use the Customer Managed KMS Key
43
- const policyStatement = new iam.PolicyStatement({
44
- actions: ["kms:Encrypt", "kms:Decrypt"],
45
- effect: iam.Effect.ALLOW,
46
- principals: [new iam.AccountRootPrincipal()],
47
- resources: ["*"]
48
- });
49
-
50
- constructStack.encryptionKey?.addToResourcePolicy(policyStatement);
51
- ```
52
-
53
- Python
54
- ``` Python
55
- from aws_solutions_constructs.aws_eventbridge_sqs import EventbridgeToSqsProps, EventbridgeToSqs
56
- from aws_cdk import (
57
- aws_events as events,
58
- aws_iam as iam,
59
- Duration,
60
- Stack
61
- )
62
- from constructs import Construct
63
-
64
- construct_stack = EventbridgeToSqs(self, 'test-construct',
65
- event_rule_props=events.RuleProps(
66
- schedule=events.Schedule.rate(
67
- Duration.minutes(5))
68
- ))
69
-
70
- # Grant yourself permissions to use the Customer Managed KMS Key
71
- policy_statement = iam.PolicyStatement(
72
- actions=["kms:Encrypt", "kms:Decrypt"],
73
- effect=iam.Effect.ALLOW,
74
- principals=[iam.AccountRootPrincipal()],
75
- resources=["*"]
76
- )
77
-
78
- construct_stack.encryption_key.add_to_resource_policy(policy_statement)
79
- ```
80
-
81
- Java
82
- ``` java
83
- import software.constructs.Construct;
84
- import java.util.List;
85
-
86
- import software.amazon.awscdk.Stack;
87
- import software.amazon.awscdk.StackProps;
88
- import software.amazon.awscdk.Duration;
89
- import software.amazon.awscdk.services.events.*;
90
- import software.amazon.awscdk.services.iam.*;
91
- import software.amazon.awsconstructs.services.eventbridgesqs.*;
92
-
93
- final EventbridgeToSqs constructStack = new EventbridgeToSqs(this, "test-construct",
94
- new EventbridgeToSqsProps.Builder()
95
- .eventRuleProps(new RuleProps.Builder()
96
- .schedule(Schedule.rate(Duration.minutes(5)))
97
- .build())
98
- .build());
99
-
100
- // Grant yourself permissions to use the Customer Managed KMS Key
101
- final PolicyStatement policyStatement = PolicyStatement.Builder.create()
102
- .actions(List.of("kms:Encrypt", "kms:Decrypt"))
103
- .effect(Effect.ALLOW)
104
- .principals(List.of(new AccountRootPrincipal()))
105
- .resources(List.of("*"))
106
- .build();
107
-
108
- constructStack.getEncryptionKey().addToResourcePolicy(policyStatement);
109
- ```
110
-
111
- ## Pattern Construct Props
112
-
113
- | **Name** | **Type** | **Description** |
114
- |:-------------|:----------------|-----------------|
115
- |existingEventBusInterface?|[`events.IEventBus`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.IEventBus.html)| Optional user-provided custom EventBus for construct to use. Providing both this and `eventBusProps` results an error.|
116
- |eventBusProps?|[`events.EventBusProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.EventBusProps.html)|Optional user-provided properties to override the default properties when creating a custom EventBus. Setting this value to `{}` will create a custom EventBus using all default properties. If neither this nor `existingEventBusInterface` is provided the construct will use the `default` EventBus. Providing both this and `existingEventBusInterface` results an error.|
117
- |eventRuleProps|[`events.RuleProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.RuleProps.html)|User provided eventRuleProps to override the defaults. |
118
- |targetProps?|[`eventtargets.SqsQueueProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events_targets.SqsQueueProps.html)|Optional user provided properties to define the SQS target on the Event Rule. If you specify a deadLetterQueue for the rule here, you are responsible for adding a resource policy to the queue allowing events.amazonaws.com permission to SendMessage, GetQueueUrl and GetQueueAttributes. You cannot send a DLQ in this property and set deployEventRuleDlq to true. Default is undefined and all system defaults are used.|
119
- |eventRuleDlqKeyProps|[kms.KeyProps](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.KeyProps.html)|Optional properties to define the key created to protect the ruleDlq. Only valid if deployRuleDlq is set to true. Defaults to CloudFormation defaults.|
120
- | deployEventRuleDlq?|boolean|Whether to deploy a DLQ for the Event Rule. If set to `true`, this DLQ will receive any messages that can't be delivered to the target SQS queue. Defaults to `false`.|
121
- |existingQueueObj?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|An optional, existing SQS queue to be used instead of the default queue. Providing both this and `queueProps` will cause an error.|
122
- |queueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.QueueProps.html)|User provided props to override the default props for the SQS Queue. |
123
- |enableQueuePurging?|`boolean`|Whether to grant additional permissions to the Lambda function enabling it to purge the SQS queue. Defaults to `false`.|
124
- |deployDeadLetterQueue?|`boolean`|Whether to create a secondary queue to be used as a dead letter queue. Defaults to `true`.|
125
- |deadLetterQueueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.QueueProps.html)|Optional user-provided props to override the default props for the dead letter queue. Only used if the `deployDeadLetterQueue` property is set to true.|
126
- |maxReceiveCount?|`number`|The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue. Defaults to `15`.|
127
- |enableEncryptionWithCustomerManagedKey?|`boolean`|If no key is provided, this flag determines whether the queue is encrypted with a new CMK or an AWS managed key. This flag is ignored if any of the following are defined: queueProps.encryptionMasterKey, encryptionKey or encryptionKeyProps.|
128
- |encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|An optional, imported encryption key to encrypt the SQS Queue with.|
129
- |encryptionKeyProps?|[`kms.KeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props)|Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SQS queue with.|
130
-
131
- ## Pattern Properties
132
-
133
- | **Name** | **Type** | **Description** |
134
- |:-------------|:----------------|-----------------|
135
- |eventBus?|[`events.IEventBus`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.IEventBus.html)|Returns the instance of events.IEventBus used by the construct|
136
- |eventsRule|[`events.Rule`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.Rule.html)|Returns an instance of events.Rule created by the construct|
137
- |eventRuleDlq?|`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|If the client sets deployEventRuleDlq to 'true', then this value will contain the DLQ set up for the rule.|
138
- |eventRuleDlqKey|[kms.IKey](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.IKey.html)|The key created to encrypt the eventRuleDlq.|
139
- |sqsQueue|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|Returns an instance of sqs.Queue created by the construct|
140
- |encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|Returns an instance of kms Key used for the SQS queue.|
141
- |deadLetterQueue?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sqs.Queue.html)|Returns an instance of the dead-letter SQS queue created by the pattern.|
142
-
143
- ## Default settings
144
-
145
- Out of the box implementation of the Construct without any override will set the following defaults:
146
-
147
- ### Amazon EventBridge Rule
148
- * Grant least privilege permissions to EventBridge rule to publish to the SQS Queue.
149
-
150
- ### Amazon SQS Queue
151
- * Deploy SQS dead-letter queue for the source SQS Queue.
152
- * Enable server-side encryption for source SQS Queue using Customer managed KMS Key.
153
- * Enforce encryption of data in transit.
154
-
155
- ## Architecture
156
- ![Architecture Diagram](architecture.png)
157
-
158
- ***
159
- &copy; Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
1
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-eventbridge-sqs/README.adoc)
package/lib/index.js CHANGED
@@ -81,5 +81,5 @@ class EventbridgeToSqs extends constructs_1.Construct {
81
81
  }
82
82
  exports.EventbridgeToSqs = EventbridgeToSqs;
83
83
  _a = JSII_RTTI_SYMBOL_1;
84
- EventbridgeToSqs[_a] = { fqn: "@aws-solutions-constructs/aws-eventbridge-sqs.EventbridgeToSqs", version: "2.85.2" };
84
+ EventbridgeToSqs[_a] = { fqn: "@aws-solutions-constructs/aws-eventbridge-sqs.EventbridgeToSqs", version: "2.85.3" };
85
85
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQWNBLGlEQUFpRDtBQUNqRCwrREFBK0Q7QUFFL0QsMkRBQTJEO0FBQzNELGlEQUF1RDtBQUN2RCx3RkFBd0Y7QUFDeEYsMkNBQXVDO0FBQ3ZDLHlEQUErRDtBQXlHL0QsTUFBYSxnQkFBaUIsU0FBUSxzQkFBUztJQVM3Qzs7Ozs7OztPQU9HO0lBQ0gsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUE0QjtRQUNwRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ2pCLFFBQVEsQ0FBQyxhQUFhLENBQUMsS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mlkZWRcbiAgICB0aGlzLmV2ZW50QnVzID0gZGVmYXVsdHMuYnVpbGRFdmVudEJ1cyh0aGlzLCB7XG4gICAgICBleGlzdGluZ0V2ZW50QnVzSW50ZXJmYWNlOiBwcm9wcy5leGlzdGluZ0V2ZW50QnVzSW50ZXJmYWNlLFxuICAgICAgZXZlbnRCdXNQcm9wczogcHJvcHMuZXZlbnRCdXNQcm9wc1xuICAgIH0pO1xuXG4gICAgY29uc3QgZGVmYXVsdEV2ZW50c1J1bGVQcm9wcyA9IGRlZmF1bHRzLkRlZmF1bHRFdmVudHNSdWxlUHJvcHMoW3Nxc0V2ZW50VGFyZ2V0XSwgdGhpcy5ldmVudEJ1cyk7XG4gICAgY29uc3QgZXZlbnRzUnVsZVByb3BzID0gb3ZlcnJpZGVQcm9wcyhkZWZhdWx0RXZlbnRzUnVsZVByb3BzLCBwcm9wcy5ldmVudFJ1bGVQcm9wcywgdHJ1ZSk7XG5cbiAgICB0aGlzLmV2ZW50c1J1bGUgPSBuZXcgZXZlbnRzLlJ1bGUodGhpcywgJ0V2ZW50c1J1bGUnLCBldmVudHNSdWxlUHJvcHMpO1xuXG4gICAgLy8gRW5hYmxlIHF1ZXVlIHB1cmdpbmcgcGVybWlzc2lvbnMgZm9yIHRoZSBldmVudCBydWxlLCBpZiBlbmFibGVkXG4gICAgaWYgKHByb3BzLmVuYWJsZVF1ZXVlUHVyZ2luZykge1xuICAgICAgdGhpcy5zcXNRdWV1ZS5ncmFudFB1cmdlKG5ldyBTZXJ2aWNlUHJpbmNpcGFsKCdldmVudHMuYW1hem9uYXdzLmNvbScpKTtcbiAgICB9XG5cbiAgfVxufSJdfQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-eventbridge-sqs",
3
- "version": "2.85.2",
3
+ "version": "2.85.3",
4
4
  "description": "CDK Constructs for deploying AWS Eventbridge that invokes AWS SQS",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -11,12 +11,13 @@
11
11
  "test": "jest --coverage",
12
12
  "clean": "tsc -b --clean",
13
13
  "watch": "tsc -b -w",
14
+ "asciidoc": "asciidoctor --failure-level WARNING -o /dev/null README.adoc",
14
15
  "integ": "integ-runner --update-on-failed",
15
16
  "integ-no-clean": "integ-runner --update-on-failed --no-clean",
16
17
  "integ-assert": "integ-runner",
17
18
  "jsii": "jsii",
18
19
  "jsii-pacmak": "jsii-pacmak",
19
- "build+lint+test": "npm run jsii && npm run lint && npm test && npm run integ-assert",
20
+ "build+lint+test": "npm run jsii && npm run lint && npm run asciidoc && npm test && npm run integ-assert",
20
21
  "blt": "npm run build+lint+test",
21
22
  "snapshot-update": "npm run jsii && npm test -- -u && npm run integ-assert"
22
23
  },
@@ -54,7 +55,7 @@
54
55
  }
55
56
  },
56
57
  "dependencies": {
57
- "@aws-solutions-constructs/core": "2.85.2",
58
+ "@aws-solutions-constructs/core": "2.85.3",
58
59
  "constructs": "^10.0.0"
59
60
  },
60
61
  "devDependencies": {
@@ -78,7 +79,7 @@
78
79
  ]
79
80
  },
80
81
  "peerDependencies": {
81
- "@aws-solutions-constructs/core": "2.85.2",
82
+ "@aws-solutions-constructs/core": "2.85.3",
82
83
  "constructs": "^10.0.0",
83
84
  "aws-cdk-lib": "^2.193.0"
84
85
  },
File without changes