gs2-cdk 1.0.119 → 1.0.121

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.
Files changed (153) hide show
  1. package/account/model/Namespace.d.ts +1 -0
  2. package/account/model/Namespace.js +23 -18
  3. package/account/model/Namespace.js.map +1 -1
  4. package/account/model/Namespace.ts +7 -0
  5. package/account/model/options/NamespaceOptions.d.ts +2 -0
  6. package/account/model/options/NamespaceOptions.ts +2 -0
  7. package/adReward/model/Namespace.d.ts +2 -1
  8. package/adReward/model/Namespace.js +25 -20
  9. package/adReward/model/Namespace.js.map +1 -1
  10. package/adReward/model/Namespace.ts +12 -5
  11. package/adReward/model/options/NamespaceOptions.d.ts +3 -1
  12. package/adReward/model/options/NamespaceOptions.ts +3 -1
  13. package/buff/model/Namespace.d.ts +1 -0
  14. package/buff/model/Namespace.js +11 -6
  15. package/buff/model/Namespace.js.map +1 -1
  16. package/buff/model/Namespace.ts +7 -0
  17. package/buff/model/options/NamespaceOptions.d.ts +2 -0
  18. package/buff/model/options/NamespaceOptions.ts +2 -0
  19. package/chat/model/Namespace.d.ts +1 -0
  20. package/chat/model/Namespace.js +23 -18
  21. package/chat/model/Namespace.js.map +1 -1
  22. package/chat/model/Namespace.ts +7 -0
  23. package/chat/model/options/NamespaceOptions.d.ts +2 -0
  24. package/chat/model/options/NamespaceOptions.ts +2 -0
  25. package/datastore/model/Namespace.d.ts +1 -0
  26. package/datastore/model/Namespace.js +11 -6
  27. package/datastore/model/Namespace.js.map +1 -1
  28. package/datastore/model/Namespace.ts +7 -0
  29. package/datastore/model/options/NamespaceOptions.d.ts +2 -0
  30. package/datastore/model/options/NamespaceOptions.ts +2 -0
  31. package/dictionary/model/Namespace.d.ts +1 -0
  32. package/dictionary/model/Namespace.js +12 -7
  33. package/dictionary/model/Namespace.js.map +1 -1
  34. package/dictionary/model/Namespace.ts +7 -0
  35. package/dictionary/model/options/NamespaceOptions.d.ts +2 -0
  36. package/dictionary/model/options/NamespaceOptions.ts +2 -0
  37. package/distributor/model/Namespace.d.ts +1 -0
  38. package/distributor/model/Namespace.js +14 -9
  39. package/distributor/model/Namespace.js.map +1 -1
  40. package/distributor/model/Namespace.ts +7 -0
  41. package/distributor/model/options/NamespaceOptions.d.ts +2 -0
  42. package/distributor/model/options/NamespaceOptions.ts +2 -0
  43. package/friend/model/Namespace.d.ts +1 -0
  44. package/friend/model/Namespace.js +37 -32
  45. package/friend/model/Namespace.js.map +1 -1
  46. package/friend/model/Namespace.ts +7 -0
  47. package/friend/model/options/NamespaceOptions.d.ts +2 -0
  48. package/friend/model/options/NamespaceOptions.ts +2 -0
  49. package/gateway/model/Namespace.d.ts +1 -0
  50. package/gateway/model/Namespace.js +10 -5
  51. package/gateway/model/Namespace.js.map +1 -1
  52. package/gateway/model/Namespace.ts +7 -0
  53. package/gateway/model/options/NamespaceOptions.d.ts +2 -0
  54. package/gateway/model/options/NamespaceOptions.ts +2 -0
  55. package/guild/model/Namespace.d.ts +1 -0
  56. package/guild/model/Namespace.js +35 -30
  57. package/guild/model/Namespace.js.map +1 -1
  58. package/guild/model/Namespace.ts +7 -0
  59. package/guild/model/options/NamespaceOptions.d.ts +2 -0
  60. package/guild/model/options/NamespaceOptions.ts +2 -0
  61. package/inventory/model/Namespace.d.ts +1 -0
  62. package/inventory/model/Namespace.js +23 -18
  63. package/inventory/model/Namespace.js.map +1 -1
  64. package/inventory/model/Namespace.ts +7 -0
  65. package/inventory/model/options/NamespaceOptions.d.ts +2 -0
  66. package/inventory/model/options/NamespaceOptions.ts +2 -0
  67. package/jobQueue/model/Namespace.d.ts +1 -0
  68. package/jobQueue/model/Namespace.js +13 -8
  69. package/jobQueue/model/Namespace.js.map +1 -1
  70. package/jobQueue/model/Namespace.ts +7 -0
  71. package/jobQueue/model/options/NamespaceOptions.d.ts +2 -0
  72. package/jobQueue/model/options/NamespaceOptions.ts +2 -0
  73. package/limit/model/Namespace.d.ts +1 -0
  74. package/limit/model/Namespace.js +9 -4
  75. package/limit/model/Namespace.js.map +1 -1
  76. package/limit/model/Namespace.ts +7 -0
  77. package/limit/model/options/NamespaceOptions.d.ts +2 -0
  78. package/limit/model/options/NamespaceOptions.ts +2 -0
  79. package/matchmaking/model/Namespace.d.ts +1 -0
  80. package/matchmaking/model/Namespace.js +29 -24
  81. package/matchmaking/model/Namespace.js.map +1 -1
  82. package/matchmaking/model/Namespace.ts +7 -0
  83. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.d.ts +2 -0
  84. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.ts +2 -0
  85. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.d.ts +2 -0
  86. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.ts +2 -0
  87. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.d.ts +2 -0
  88. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.ts +2 -0
  89. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.d.ts +2 -0
  90. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.ts +2 -0
  91. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.d.ts +2 -0
  92. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.ts +2 -0
  93. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.d.ts +2 -0
  94. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.ts +2 -0
  95. package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.d.ts +2 -0
  96. package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.ts +2 -0
  97. package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.d.ts +2 -0
  98. package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.ts +2 -0
  99. package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.d.ts +2 -0
  100. package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.ts +2 -0
  101. package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.d.ts +2 -0
  102. package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.ts +2 -0
  103. package/matchmaking/model/options/NamespaceOptions.d.ts +2 -0
  104. package/matchmaking/model/options/NamespaceOptions.ts +2 -0
  105. package/money/model/Namespace.d.ts +1 -0
  106. package/money/model/Namespace.js +18 -13
  107. package/money/model/Namespace.js.map +1 -1
  108. package/money/model/Namespace.ts +7 -0
  109. package/money/model/options/NamespaceOptions.d.ts +2 -0
  110. package/money/model/options/NamespaceOptions.ts +2 -0
  111. package/money2/model/Namespace.d.ts +2 -0
  112. package/money2/model/Namespace.js +26 -16
  113. package/money2/model/Namespace.js.map +1 -1
  114. package/money2/model/Namespace.ts +13 -0
  115. package/money2/model/options/NamespaceOptions.d.ts +3 -0
  116. package/money2/model/options/NamespaceOptions.ts +3 -0
  117. package/package.json +1 -1
  118. package/ranking/model/Namespace.d.ts +1 -0
  119. package/ranking/model/Namespace.js +9 -4
  120. package/ranking/model/Namespace.js.map +1 -1
  121. package/ranking/model/Namespace.ts +7 -0
  122. package/ranking/model/options/NamespaceOptions.d.ts +2 -0
  123. package/ranking/model/options/NamespaceOptions.ts +2 -0
  124. package/realtime/model/Namespace.d.ts +1 -0
  125. package/realtime/model/Namespace.js +11 -6
  126. package/realtime/model/Namespace.js.map +1 -1
  127. package/realtime/model/Namespace.ts +7 -0
  128. package/realtime/model/options/NamespaceOptions.d.ts +2 -0
  129. package/realtime/model/options/NamespaceOptions.ts +2 -0
  130. package/schedule/model/Namespace.d.ts +1 -0
  131. package/schedule/model/Namespace.js +9 -4
  132. package/schedule/model/Namespace.js.map +1 -1
  133. package/schedule/model/Namespace.ts +7 -0
  134. package/schedule/model/options/NamespaceOptions.d.ts +2 -0
  135. package/schedule/model/options/NamespaceOptions.ts +2 -0
  136. package/serialKey/model/Namespace.d.ts +1 -0
  137. package/serialKey/model/Namespace.js +9 -4
  138. package/serialKey/model/Namespace.js.map +1 -1
  139. package/serialKey/model/Namespace.ts +7 -0
  140. package/serialKey/model/options/NamespaceOptions.d.ts +2 -0
  141. package/serialKey/model/options/NamespaceOptions.ts +2 -0
  142. package/stamina/model/Namespace.d.ts +1 -0
  143. package/stamina/model/Namespace.js +10 -5
  144. package/stamina/model/Namespace.js.map +1 -1
  145. package/stamina/model/Namespace.ts +7 -0
  146. package/stamina/model/options/NamespaceOptions.d.ts +2 -0
  147. package/stamina/model/options/NamespaceOptions.ts +2 -0
  148. package/version/model/Namespace.d.ts +1 -0
  149. package/version/model/Namespace.js +12 -7
  150. package/version/model/Namespace.js.map +1 -1
  151. package/version/model/Namespace.ts +7 -0
  152. package/version/model/options/NamespaceOptions.d.ts +2 -0
  153. package/version/model/options/NamespaceOptions.ts +2 -0
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {CdkResource, Stack} from "../../core/model";
18
18
  import {GetAttr} from "../../core/func";
19
+ import TransactionSetting from "../../core/model/TransactionSetting";
19
20
  import PlatformSetting from "./PlatformSetting";
20
21
  import ScriptSetting from "../../core/model/ScriptSetting";
21
22
  import NotificationSetting from "../../core/model/NotificationSetting";
@@ -36,8 +37,10 @@ export default class Namespace extends CdkResource {
36
37
  private readonly sharedFreeCurrency: boolean;
37
38
  private readonly platformSetting: PlatformSetting;
38
39
  private readonly description: string|null = null;
40
+ private readonly transactionSetting: TransactionSetting|null = null;
39
41
  private readonly depositBalanceScript: ScriptSetting|null = null;
40
42
  private readonly withdrawBalanceScript: ScriptSetting|null = null;
43
+ private readonly verifyReceiptScript: ScriptSetting|null = null;
41
44
  private readonly subscribeScript: string|null = null;
42
45
  private readonly renewScript: string|null = null;
43
46
  private readonly unsubscribeScript: string|null = null;
@@ -63,8 +66,10 @@ export default class Namespace extends CdkResource {
63
66
  this.sharedFreeCurrency = sharedFreeCurrency;
64
67
  this.platformSetting = platformSetting;
65
68
  this.description = options?.description ?? null;
69
+ this.transactionSetting = options?.transactionSetting ?? null;
66
70
  this.depositBalanceScript = options?.depositBalanceScript ?? null;
67
71
  this.withdrawBalanceScript = options?.withdrawBalanceScript ?? null;
72
+ this.verifyReceiptScript = options?.verifyReceiptScript ?? null;
68
73
  this.subscribeScript = options?.subscribeScript ?? null;
69
74
  this.renewScript = options?.renewScript ?? null;
70
75
  this.unsubscribeScript = options?.unsubscribeScript ?? null;
@@ -100,6 +105,10 @@ export default class Namespace extends CdkResource {
100
105
  if (this.description != null) {
101
106
  properties["Description"] = this.description;
102
107
  }
108
+ if (this.transactionSetting != null) {
109
+ properties["TransactionSetting"] = this.transactionSetting?.properties(
110
+ );
111
+ }
103
112
  if (this.sharedFreeCurrency != null) {
104
113
  properties["SharedFreeCurrency"] = this.sharedFreeCurrency;
105
114
  }
@@ -115,6 +124,10 @@ export default class Namespace extends CdkResource {
115
124
  properties["WithdrawBalanceScript"] = this.withdrawBalanceScript?.properties(
116
125
  );
117
126
  }
127
+ if (this.verifyReceiptScript != null) {
128
+ properties["VerifyReceiptScript"] = this.verifyReceiptScript?.properties(
129
+ );
130
+ }
118
131
  if (this.subscribeScript != null) {
119
132
  properties["SubscribeScript"] = this.subscribeScript;
120
133
  }
@@ -1,10 +1,13 @@
1
+ import TransactionSetting from "../../../core/model/TransactionSetting";
1
2
  import ScriptSetting from "../../../core/model/ScriptSetting";
2
3
  import NotificationSetting from "../../../core/model/NotificationSetting";
3
4
  import LogSetting from "../../../core/model/LogSetting";
4
5
  export interface NamespaceOptions {
5
6
  description?: string | null;
7
+ transactionSetting?: TransactionSetting | null;
6
8
  depositBalanceScript?: ScriptSetting | null;
7
9
  withdrawBalanceScript?: ScriptSetting | null;
10
+ verifyReceiptScript?: ScriptSetting | null;
8
11
  subscribeScript?: string | null;
9
12
  renewScript?: string | null;
10
13
  unsubscribeScript?: string | null;
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import TransactionSetting from "../../../core/model/TransactionSetting";
16
17
  import PlatformSetting from "../PlatformSetting";
17
18
  import ScriptSetting from "../../../core/model/ScriptSetting";
18
19
  import NotificationSetting from "../../../core/model/NotificationSetting";
@@ -21,8 +22,10 @@ import { NamespaceCurrencyUsagePriority } from "../enums/NamespaceCurrencyUsageP
21
22
 
22
23
  export interface NamespaceOptions {
23
24
  description?: string|null;
25
+ transactionSetting?: TransactionSetting|null;
24
26
  depositBalanceScript?: ScriptSetting|null;
25
27
  withdrawBalanceScript?: ScriptSetting|null;
28
+ verifyReceiptScript?: ScriptSetting|null;
26
29
  subscribeScript?: string|null;
27
30
  renewScript?: string|null;
28
31
  unsubscribeScript?: string|null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.119",
3
+ "version": "1.0.121",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -7,6 +7,7 @@ export default class Namespace extends CdkResource {
7
7
  private readonly stack;
8
8
  private readonly name;
9
9
  private readonly description;
10
+ private readonly transactionSetting;
10
11
  private readonly logSetting;
11
12
  constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
12
13
  alternateKeys(): string;
@@ -22,14 +22,16 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
23
23
  class Namespace extends model_1.CdkResource {
24
24
  constructor(stack, name, options = null) {
25
- var _a, _b;
25
+ var _a, _b, _c;
26
26
  super("Ranking_Namespace_" + name);
27
27
  this.description = null;
28
+ this.transactionSetting = null;
28
29
  this.logSetting = null;
29
30
  this.stack = stack;
30
31
  this.name = name;
31
32
  this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
32
- this.logSetting = (_b = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _b !== void 0 ? _b : null;
33
+ this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
34
+ this.logSetting = (_c = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _c !== void 0 ? _c : null;
33
35
  stack.addResource(this);
34
36
  }
35
37
  alternateKeys() {
@@ -39,7 +41,7 @@ class Namespace extends model_1.CdkResource {
39
41
  return "GS2::Ranking::Namespace";
40
42
  }
41
43
  properties() {
42
- var _a;
44
+ var _a, _b;
43
45
  let properties = {};
44
46
  if (this.name != null) {
45
47
  properties["Name"] = this.name;
@@ -47,8 +49,11 @@ class Namespace extends model_1.CdkResource {
47
49
  if (this.description != null) {
48
50
  properties["Description"] = this.description;
49
51
  }
52
+ if (this.transactionSetting != null) {
53
+ properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
54
+ }
50
55
  if (this.logSetting != null) {
51
- properties["LogSetting"] = (_a = this.logSetting) === null || _a === void 0 ? void 0 : _a.properties();
56
+ properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
52
57
  }
53
58
  return properties;
54
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAGxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAM9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAVW,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAoB,IAAI,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IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,UAA2B;QAE3B,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,UAAU,CACb,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAvFD,4BAuFC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {CdkResource, Stack} from "../../core/model";
18
18
  import {GetAttr} from "../../core/func";
19
+ import TransactionSetting from "../../core/model/TransactionSetting";
19
20
  import LogSetting from "../../core/model/LogSetting";
20
21
 
21
22
  import NamespaceRef from "../ref/NamespaceRef";
@@ -28,6 +29,7 @@ export default class Namespace extends CdkResource {
28
29
  private readonly stack: Stack;
29
30
  private readonly name: string;
30
31
  private readonly description: string|null = null;
32
+ private readonly transactionSetting: TransactionSetting|null = null;
31
33
  private readonly logSetting: LogSetting|null = null;
32
34
 
33
35
  public constructor(
@@ -42,6 +44,7 @@ export default class Namespace extends CdkResource {
42
44
  this.stack = stack;
43
45
  this.name = name;
44
46
  this.description = options?.description ?? null;
47
+ this.transactionSetting = options?.transactionSetting ?? null;
45
48
  this.logSetting = options?.logSetting ?? null;
46
49
  stack.addResource(
47
50
  this,
@@ -69,6 +72,10 @@ export default class Namespace extends CdkResource {
69
72
  if (this.description != null) {
70
73
  properties["Description"] = this.description;
71
74
  }
75
+ if (this.transactionSetting != null) {
76
+ properties["TransactionSetting"] = this.transactionSetting?.properties(
77
+ );
78
+ }
72
79
  if (this.logSetting != null) {
73
80
  properties["LogSetting"] = this.logSetting?.properties(
74
81
  );
@@ -1,5 +1,7 @@
1
+ import TransactionSetting from "../../../core/model/TransactionSetting";
1
2
  import LogSetting from "../../../core/model/LogSetting";
2
3
  export interface NamespaceOptions {
3
4
  description?: string | null;
5
+ transactionSetting?: TransactionSetting | null;
4
6
  logSetting?: LogSetting | null;
5
7
  }
@@ -13,10 +13,12 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import TransactionSetting from "../../../core/model/TransactionSetting";
16
17
  import LogSetting from "../../../core/model/LogSetting";
17
18
 
18
19
  export interface NamespaceOptions {
19
20
  description?: string|null;
21
+ transactionSetting?: TransactionSetting|null;
20
22
  logSetting?: LogSetting|null;
21
23
  }
22
24
 
@@ -10,6 +10,7 @@ export default class Namespace extends CdkResource {
10
10
  private readonly serverType;
11
11
  private readonly serverSpec;
12
12
  private readonly description;
13
+ private readonly transactionSetting;
13
14
  private readonly createNotification;
14
15
  private readonly logSetting;
15
16
  constructor(stack: Stack, name: string, serverType: NamespaceServerType, serverSpec: NamespaceServerSpec, options?: NamespaceOptions | null);
@@ -21,9 +21,10 @@ const func_1 = require("../../core/func");
21
21
  const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  class Namespace extends model_1.CdkResource {
23
23
  constructor(stack, name, serverType, serverSpec, options = null) {
24
- var _a, _b, _c;
24
+ var _a, _b, _c, _d;
25
25
  super("Realtime_Namespace_" + name);
26
26
  this.description = null;
27
+ this.transactionSetting = null;
27
28
  this.createNotification = null;
28
29
  this.logSetting = null;
29
30
  this.stack = stack;
@@ -31,8 +32,9 @@ class Namespace extends model_1.CdkResource {
31
32
  this.serverType = serverType;
32
33
  this.serverSpec = serverSpec;
33
34
  this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
34
- this.createNotification = (_b = options === null || options === void 0 ? void 0 : options.createNotification) !== null && _b !== void 0 ? _b : null;
35
- this.logSetting = (_c = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _c !== void 0 ? _c : null;
35
+ this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
36
+ this.createNotification = (_c = options === null || options === void 0 ? void 0 : options.createNotification) !== null && _c !== void 0 ? _c : null;
37
+ this.logSetting = (_d = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _d !== void 0 ? _d : null;
36
38
  stack.addResource(this);
37
39
  }
38
40
  alternateKeys() {
@@ -42,7 +44,7 @@ class Namespace extends model_1.CdkResource {
42
44
  return "GS2::Realtime::Namespace";
43
45
  }
44
46
  properties() {
45
- var _a, _b;
47
+ var _a, _b, _c;
46
48
  let properties = {};
47
49
  if (this.name != null) {
48
50
  properties["Name"] = this.name;
@@ -50,6 +52,9 @@ class Namespace extends model_1.CdkResource {
50
52
  if (this.description != null) {
51
53
  properties["Description"] = this.description;
52
54
  }
55
+ if (this.transactionSetting != null) {
56
+ properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
57
+ }
53
58
  if (this.serverType != null) {
54
59
  properties["ServerType"] = this.serverType;
55
60
  }
@@ -57,10 +62,10 @@ class Namespace extends model_1.CdkResource {
57
62
  properties["ServerSpec"] = this.serverSpec;
58
63
  }
59
64
  if (this.createNotification != null) {
60
- properties["CreateNotification"] = (_a = this.createNotification) === null || _a === void 0 ? void 0 : _a.properties();
65
+ properties["CreateNotification"] = (_b = this.createNotification) === null || _b === void 0 ? void 0 : _b.properties();
61
66
  }
62
67
  if (this.logSetting != null) {
63
- properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
68
+ properties["LogSetting"] = (_c = this.logSetting) === null || _c === void 0 ? void 0 : _c.properties();
64
69
  }
65
70
  return properties;
66
71
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAM/C,MAAqB,SAAU,SAAQ,mBAAW;IAS9C,YACI,KAAY,EACZ,IAAY,EACZ,UAA+B,EAC/B,UAA+B,EAC/B,UAAiC,IAAI;;QAErC,KAAK,CACD,qBAAqB,GAAG,IAAI,CAC/B,CAAC;QAbW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA6B,IAAI,CAAC;QACpD,eAAU,GAAoB,IAAI,CAAC;QAahD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,mCAAI,IAAI,CAAC;QAC9C,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,YAAY;QAEf,OAAO,0BAA0B,CAAC;IACtC,CAAC;IAEM,UAAU;;QAEb,IAAI,UAAU,GAA0B,E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kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AA5FD,4BA4FC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {CdkResource, Stack} from "../../core/model";
18
18
  import {GetAttr} from "../../core/func";
19
+ import TransactionSetting from "../../core/model/TransactionSetting";
19
20
  import NotificationSetting from "../../core/model/NotificationSetting";
20
21
  import LogSetting from "../../core/model/LogSetting";
21
22
 
@@ -31,6 +32,7 @@ export default class Namespace extends CdkResource {
31
32
  private readonly serverType: NamespaceServerType;
32
33
  private readonly serverSpec: NamespaceServerSpec;
33
34
  private readonly description: string|null = null;
35
+ private readonly transactionSetting: TransactionSetting|null = null;
34
36
  private readonly createNotification: NotificationSetting|null = null;
35
37
  private readonly logSetting: LogSetting|null = null;
36
38
 
@@ -50,6 +52,7 @@ export default class Namespace extends CdkResource {
50
52
  this.serverType = serverType;
51
53
  this.serverSpec = serverSpec;
52
54
  this.description = options?.description ?? null;
55
+ this.transactionSetting = options?.transactionSetting ?? null;
53
56
  this.createNotification = options?.createNotification ?? null;
54
57
  this.logSetting = options?.logSetting ?? null;
55
58
  stack.addResource(
@@ -78,6 +81,10 @@ export default class Namespace extends CdkResource {
78
81
  if (this.description != null) {
79
82
  properties["Description"] = this.description;
80
83
  }
84
+ if (this.transactionSetting != null) {
85
+ properties["TransactionSetting"] = this.transactionSetting?.properties(
86
+ );
87
+ }
81
88
  if (this.serverType != null) {
82
89
  properties["ServerType"] = this.serverType;
83
90
  }
@@ -1,7 +1,9 @@
1
+ import TransactionSetting from "../../../core/model/TransactionSetting";
1
2
  import NotificationSetting from "../../../core/model/NotificationSetting";
2
3
  import LogSetting from "../../../core/model/LogSetting";
3
4
  export interface NamespaceOptions {
4
5
  description?: string | null;
6
+ transactionSetting?: TransactionSetting | null;
5
7
  createNotification?: NotificationSetting | null;
6
8
  logSetting?: LogSetting | null;
7
9
  }
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import TransactionSetting from "../../../core/model/TransactionSetting";
16
17
  import NotificationSetting from "../../../core/model/NotificationSetting";
17
18
  import LogSetting from "../../../core/model/LogSetting";
18
19
  import { NamespaceServerType } from "../enums/NamespaceServerType";
@@ -20,6 +21,7 @@ import { NamespaceServerSpec } from "../enums/NamespaceServerSpec";
20
21
 
21
22
  export interface NamespaceOptions {
22
23
  description?: string|null;
24
+ transactionSetting?: TransactionSetting|null;
23
25
  createNotification?: NotificationSetting|null;
24
26
  logSetting?: LogSetting|null;
25
27
  }
@@ -7,6 +7,7 @@ export default class Namespace extends CdkResource {
7
7
  private readonly stack;
8
8
  private readonly name;
9
9
  private readonly description;
10
+ private readonly transactionSetting;
10
11
  private readonly logSetting;
11
12
  constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
12
13
  alternateKeys(): string;
@@ -22,14 +22,16 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
23
23
  class Namespace extends model_1.CdkResource {
24
24
  constructor(stack, name, options = null) {
25
- var _a, _b;
25
+ var _a, _b, _c;
26
26
  super("Schedule_Namespace_" + name);
27
27
  this.description = null;
28
+ this.transactionSetting = null;
28
29
  this.logSetting = null;
29
30
  this.stack = stack;
30
31
  this.name = name;
31
32
  this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
32
- this.logSetting = (_b = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _b !== void 0 ? _b : null;
33
+ this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
34
+ this.logSetting = (_c = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _c !== void 0 ? _c : null;
33
35
  stack.addResource(this);
34
36
  }
35
37
  alternateKeys() {
@@ -39,7 +41,7 @@ class Namespace extends model_1.CdkResource {
39
41
  return "GS2::Schedule::Namespace";
40
42
  }
41
43
  properties() {
42
- var _a;
44
+ var _a, _b;
43
45
  let properties = {};
44
46
  if (this.name != null) {
45
47
  properties["Name"] = this.name;
@@ -47,8 +49,11 @@ class Namespace extends model_1.CdkResource {
47
49
  if (this.description != null) {
48
50
  properties["Description"] = this.description;
49
51
  }
52
+ if (this.transactionSetting != null) {
53
+ properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
54
+ }
50
55
  if (this.logSetting != null) {
51
- properties["LogSetting"] = (_a = this.logSetting) === null || _a === void 0 ? void 0 : _a.properties();
56
+ properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
52
57
  }
53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,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,YAAY;QAEf,OAAO,0BAA0B,CAAC;IACtC,CAAC;IAEM,UAAU;;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,MAAe;QAEf,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,MAAM,CACT,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAvFD,4BAuFC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {CdkResource, Stack} from "../../core/model";
18
18
  import {GetAttr} from "../../core/func";
19
+ import TransactionSetting from "../../core/model/TransactionSetting";
19
20
  import LogSetting from "../../core/model/LogSetting";
20
21
 
21
22
  import NamespaceRef from "../ref/NamespaceRef";
@@ -28,6 +29,7 @@ export default class Namespace extends CdkResource {
28
29
  private readonly stack: Stack;
29
30
  private readonly name: string;
30
31
  private readonly description: string|null = null;
32
+ private readonly transactionSetting: TransactionSetting|null = null;
31
33
  private readonly logSetting: LogSetting|null = null;
32
34
 
33
35
  public constructor(
@@ -42,6 +44,7 @@ export default class Namespace extends CdkResource {
42
44
  this.stack = stack;
43
45
  this.name = name;
44
46
  this.description = options?.description ?? null;
47
+ this.transactionSetting = options?.transactionSetting ?? null;
45
48
  this.logSetting = options?.logSetting ?? null;
46
49
  stack.addResource(
47
50
  this,
@@ -69,6 +72,10 @@ export default class Namespace extends CdkResource {
69
72
  if (this.description != null) {
70
73
  properties["Description"] = this.description;
71
74
  }
75
+ if (this.transactionSetting != null) {
76
+ properties["TransactionSetting"] = this.transactionSetting?.properties(
77
+ );
78
+ }
72
79
  if (this.logSetting != null) {
73
80
  properties["LogSetting"] = this.logSetting?.properties(
74
81
  );
@@ -1,5 +1,7 @@
1
+ import TransactionSetting from "../../../core/model/TransactionSetting";
1
2
  import LogSetting from "../../../core/model/LogSetting";
2
3
  export interface NamespaceOptions {
3
4
  description?: string | null;
5
+ transactionSetting?: TransactionSetting | null;
4
6
  logSetting?: LogSetting | null;
5
7
  }
@@ -13,10 +13,12 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import TransactionSetting from "../../../core/model/TransactionSetting";
16
17
  import LogSetting from "../../../core/model/LogSetting";
17
18
 
18
19
  export interface NamespaceOptions {
19
20
  description?: string|null;
21
+ transactionSetting?: TransactionSetting|null;
20
22
  logSetting?: LogSetting|null;
21
23
  }
22
24
 
@@ -7,6 +7,7 @@ export default class Namespace extends CdkResource {
7
7
  private readonly stack;
8
8
  private readonly name;
9
9
  private readonly description;
10
+ private readonly transactionSetting;
10
11
  private readonly logSetting;
11
12
  constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
12
13
  alternateKeys(): string;
@@ -22,14 +22,16 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
23
23
  class Namespace extends model_1.CdkResource {
24
24
  constructor(stack, name, options = null) {
25
- var _a, _b;
25
+ var _a, _b, _c;
26
26
  super("SerialKey_Namespace_" + name);
27
27
  this.description = null;
28
+ this.transactionSetting = null;
28
29
  this.logSetting = null;
29
30
  this.stack = stack;
30
31
  this.name = name;
31
32
  this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
32
- this.logSetting = (_b = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _b !== void 0 ? _b : null;
33
+ this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
34
+ this.logSetting = (_c = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _c !== void 0 ? _c : null;
33
35
  stack.addResource(this);
34
36
  }
35
37
  alternateKeys() {
@@ -39,7 +41,7 @@ class Namespace extends model_1.CdkResource {
39
41
  return "GS2::SerialKey::Namespace";
40
42
  }
41
43
  properties() {
42
- var _a;
44
+ var _a, _b;
43
45
  let properties = {};
44
46
  if (this.name != null) {
45
47
  properties["Name"] = this.name;
@@ -47,8 +49,11 @@ class Namespace extends model_1.CdkResource {
47
49
  if (this.description != null) {
48
50
  properties["Description"] = this.description;
49
51
  }
52
+ if (this.transactionSetting != null) {
53
+ properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
54
+ }
50
55
  if (this.logSetting != null) {
51
- properties["LogSetting"] = (_a = this.logSetting) === null || _a === void 0 ? void 0 : _a.properties();
56
+ properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
52
57
  }
53
58
  return properties;
54
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":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,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,YAAY;QAEf,OAAO,2BAA2B,CAAC;IACvC,CAAC;IAEM,UAAU;;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,cAA+B;QAE/B,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,cAAc,CACjB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAvFD,4BAuFC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {CdkResource, Stack} from "../../core/model";
18
18
  import {GetAttr} from "../../core/func";
19
+ import TransactionSetting from "../../core/model/TransactionSetting";
19
20
  import LogSetting from "../../core/model/LogSetting";
20
21
 
21
22
  import NamespaceRef from "../ref/NamespaceRef";
@@ -28,6 +29,7 @@ export default class Namespace extends CdkResource {
28
29
  private readonly stack: Stack;
29
30
  private readonly name: string;
30
31
  private readonly description: string|null = null;
32
+ private readonly transactionSetting: TransactionSetting|null = null;
31
33
  private readonly logSetting: LogSetting|null = null;
32
34
 
33
35
  public constructor(
@@ -42,6 +44,7 @@ export default class Namespace extends CdkResource {
42
44
  this.stack = stack;
43
45
  this.name = name;
44
46
  this.description = options?.description ?? null;
47
+ this.transactionSetting = options?.transactionSetting ?? null;
45
48
  this.logSetting = options?.logSetting ?? null;
46
49
  stack.addResource(
47
50
  this,
@@ -69,6 +72,10 @@ export default class Namespace extends CdkResource {
69
72
  if (this.description != null) {
70
73
  properties["Description"] = this.description;
71
74
  }
75
+ if (this.transactionSetting != null) {
76
+ properties["TransactionSetting"] = this.transactionSetting?.properties(
77
+ );
78
+ }
72
79
  if (this.logSetting != null) {
73
80
  properties["LogSetting"] = this.logSetting?.properties(
74
81
  );
@@ -1,5 +1,7 @@
1
+ import TransactionSetting from "../../../core/model/TransactionSetting";
1
2
  import LogSetting from "../../../core/model/LogSetting";
2
3
  export interface NamespaceOptions {
3
4
  description?: string | null;
5
+ transactionSetting?: TransactionSetting | null;
4
6
  logSetting?: LogSetting | null;
5
7
  }
@@ -13,10 +13,12 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import TransactionSetting from "../../../core/model/TransactionSetting";
16
17
  import LogSetting from "../../../core/model/LogSetting";
17
18
 
18
19
  export interface NamespaceOptions {
19
20
  description?: string|null;
21
+ transactionSetting?: TransactionSetting|null;
20
22
  logSetting?: LogSetting|null;
21
23
  }
22
24
 
@@ -7,6 +7,7 @@ export default class Namespace extends CdkResource {
7
7
  private readonly stack;
8
8
  private readonly name;
9
9
  private readonly description;
10
+ private readonly transactionSetting;
10
11
  private readonly overflowTriggerScript;
11
12
  private readonly logSetting;
12
13
  constructor(stack: Stack, name: string, options?: NamespaceOptions | null);