Repository navigation
Commit 9cb9fb8
authored
fix(stepfunctions-tasks): SNS FIFO tasks does not support messageGroupId and messageDeduplicationId (#27369)
`SnsPublish` is failing the execution with FIFO topics due to some missing parameters.
This fixes the problem by adding:
* [`messageGroupId`](https://docs.aws.amazon.com/sns/latest/api/API_Publish.html#:~:text=Required%3A%20No-,MessageGroupId,-This%20parameter%20applies) - Required for FIFO topics
* [`messageDeduplicationId`](https://docs.aws.amazon.com/sns/latest/api/API_Publish.html#:~:text=Required%3A%20No-,MessageDeduplicationId,-This%20parameter%20applies) - Required for FIFO topics with [`contentBasedDeduplication`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-contentbaseddeduplication) disabled
Closes #27341.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*1 parent b1ce47b commit 9cb9fb8
11 files changed
Lines changed: 569 additions & 59 deletions
File tree
- packages
- @aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/sns
- integ.publish.js.snapshot
- aws-cdk-lib
- aws-sns/lib
- aws-stepfunctions-tasks
- lib/sns
- test/sns
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
52 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
53 | 117 | | |
54 | 118 | | |
55 | | - | |
| 119 | + | |
56 | 120 | | |
57 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
58 | 126 | | |
59 | 127 | | |
60 | 128 | | |
61 | | - | |
| 129 | + | |
62 | 130 | | |
63 | 131 | | |
64 | 132 | | |
| |||
86 | 154 | | |
87 | 155 | | |
88 | 156 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
92 | 165 | | |
93 | 166 | | |
94 | 167 | | |
| |||
104 | 177 | | |
105 | 178 | | |
106 | 179 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 180 | | |
114 | 181 | | |
115 | 182 | | |
116 | 183 | | |
117 | | - | |
| 184 | + | |
118 | 185 | | |
119 | 186 | | |
120 | 187 | | |
121 | 188 | | |
122 | 189 | | |
123 | 190 | | |
124 | 191 | | |
125 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
126 | 201 | | |
127 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
128 | 209 | | |
129 | 210 | | |
130 | 211 | | |
| |||
145 | 226 | | |
146 | 227 | | |
147 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
148 | 234 | | |
149 | 235 | | |
150 | 236 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments