Commit 0b2bee6
feat(KinesisFirehoseMonitoring): add isDataFormatConversionEnabled prop (#627)
The conversions widget is useless for any Firehose which doesn't have
data format conversions enabled.
Default is true for backwards compatability.
Implementation is based on the similar `isIterator` parameter for Lambda
Functions.
Note that the AWS docs are not consistent about what they call this
feature, [sometimes calling it data format conversion, sometimes calling
it record format
conversion](https://docs.aws.amazon.com/firehose/latest/dev/enable-record-format-conversion.html).
CDK calls it [data format
conversion](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DataFormatConversionConfigurationProperty.html),
hence my choice to use that terminology for the parameter too.
The library doesn't currently support enabling alarms on any of the data
format conversion metrics, so we don't need additional checks there.
I've not written any new tests validating if this widget is shown based
on the param, since the similar `isIterator` parameter also has no tests
for this; happy to add some if you wish, but if so I'd appreciate a
pointer to a similar existing test to help me understand this repo's
testing approach.
---
_By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license_
Co-authored-by: Paul Sinclair <pssincl@amazon.com>1 parent f501905 commit 0b2bee6
File tree
4 files changed
+190
-8
lines changed- lib/monitoring/aws-kinesis
- test/monitoring/aws-kinesis
- __snapshots__
4 files changed
+190
-8
lines changedSome 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 | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
| |||
60 | 70 | | |
61 | 71 | | |
62 | 72 | | |
| 73 | + | |
| 74 | + | |
63 | 75 | | |
64 | 76 | | |
| 77 | + | |
65 | 78 | | |
66 | 79 | | |
67 | 80 | | |
| |||
94 | 107 | | |
95 | 108 | | |
96 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
97 | 113 | | |
98 | 114 | | |
99 | 115 | | |
| |||
167 | 183 | | |
168 | 184 | | |
169 | 185 | | |
170 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
171 | 190 | | |
172 | | - | |
173 | | - | |
| 191 | + | |
174 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
175 | 199 | | |
176 | 200 | | |
177 | 201 | | |
178 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
179 | 206 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 207 | + | |
| 208 | + | |
184 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
185 | 217 | | |
186 | 218 | | |
187 | 219 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
62 | 76 | | |
63 | 77 | | |
64 | 78 | | |
| |||
Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments