@go-to-k/cdkd 0.50.4 → 0.50.5

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/dist/cli.js CHANGED
@@ -12857,13 +12857,11 @@ var SQSQueueProvider = class {
12857
12857
  if (v !== void 0)
12858
12858
  result[key] = v === "true";
12859
12859
  }
12860
- const str = [
12861
- "KmsMasterKeyId",
12862
- "DeduplicationScope",
12863
- "FifoThroughputLimit"
12864
- ];
12865
- for (const key of str) {
12866
- result[key] = attributes[key] ?? "";
12860
+ result["KmsMasterKeyId"] = attributes["KmsMasterKeyId"] ?? "";
12861
+ const isFifo = attributes["FifoQueue"] === "true";
12862
+ if (isFifo) {
12863
+ result["DeduplicationScope"] = attributes["DeduplicationScope"] ?? "";
12864
+ result["FifoThroughputLimit"] = attributes["FifoThroughputLimit"] ?? "";
12867
12865
  }
12868
12866
  if (attributes["RedrivePolicy"]) {
12869
12867
  try {
@@ -13544,16 +13542,14 @@ var SNSTopicProvider = class {
13544
13542
  if (v !== void 0)
13545
13543
  result[key] = v === "true";
13546
13544
  }
13547
- const str = [
13548
- "DisplayName",
13549
- "KmsMasterKeyId",
13550
- "TracingConfig",
13551
- "SignatureVersion",
13552
- "FifoThroughputScope"
13553
- ];
13545
+ const str = ["DisplayName", "KmsMasterKeyId", "TracingConfig", "SignatureVersion"];
13554
13546
  for (const key of str) {
13555
13547
  result[key] = attrs[key] ?? "";
13556
13548
  }
13549
+ const isFifo = attrs["FifoTopic"] === "true";
13550
+ if (isFifo) {
13551
+ result["FifoThroughputScope"] = attrs["FifoThroughputScope"] ?? "";
13552
+ }
13557
13553
  for (const key of ["ArchivePolicy", "DataProtectionPolicy"]) {
13558
13554
  const v = attrs[key];
13559
13555
  if (v) {
@@ -42570,7 +42566,7 @@ function reorderArgs(argv) {
42570
42566
  }
42571
42567
  async function main() {
42572
42568
  const program = new Command14();
42573
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.50.4");
42569
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.50.5");
42574
42570
  program.addCommand(createBootstrapCommand());
42575
42571
  program.addCommand(createSynthCommand());
42576
42572
  program.addCommand(createListCommand());