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.
- package/account/model/Namespace.d.ts +1 -0
- package/account/model/Namespace.js +23 -18
- package/account/model/Namespace.js.map +1 -1
- package/account/model/Namespace.ts +7 -0
- package/account/model/options/NamespaceOptions.d.ts +2 -0
- package/account/model/options/NamespaceOptions.ts +2 -0
- package/adReward/model/Namespace.d.ts +2 -1
- package/adReward/model/Namespace.js +25 -20
- package/adReward/model/Namespace.js.map +1 -1
- package/adReward/model/Namespace.ts +12 -5
- package/adReward/model/options/NamespaceOptions.d.ts +3 -1
- package/adReward/model/options/NamespaceOptions.ts +3 -1
- package/buff/model/Namespace.d.ts +1 -0
- package/buff/model/Namespace.js +11 -6
- package/buff/model/Namespace.js.map +1 -1
- package/buff/model/Namespace.ts +7 -0
- package/buff/model/options/NamespaceOptions.d.ts +2 -0
- package/buff/model/options/NamespaceOptions.ts +2 -0
- package/chat/model/Namespace.d.ts +1 -0
- package/chat/model/Namespace.js +23 -18
- package/chat/model/Namespace.js.map +1 -1
- package/chat/model/Namespace.ts +7 -0
- package/chat/model/options/NamespaceOptions.d.ts +2 -0
- package/chat/model/options/NamespaceOptions.ts +2 -0
- package/datastore/model/Namespace.d.ts +1 -0
- package/datastore/model/Namespace.js +11 -6
- package/datastore/model/Namespace.js.map +1 -1
- package/datastore/model/Namespace.ts +7 -0
- package/datastore/model/options/NamespaceOptions.d.ts +2 -0
- package/datastore/model/options/NamespaceOptions.ts +2 -0
- package/dictionary/model/Namespace.d.ts +1 -0
- package/dictionary/model/Namespace.js +12 -7
- package/dictionary/model/Namespace.js.map +1 -1
- package/dictionary/model/Namespace.ts +7 -0
- package/dictionary/model/options/NamespaceOptions.d.ts +2 -0
- package/dictionary/model/options/NamespaceOptions.ts +2 -0
- package/distributor/model/Namespace.d.ts +1 -0
- package/distributor/model/Namespace.js +14 -9
- package/distributor/model/Namespace.js.map +1 -1
- package/distributor/model/Namespace.ts +7 -0
- package/distributor/model/options/NamespaceOptions.d.ts +2 -0
- package/distributor/model/options/NamespaceOptions.ts +2 -0
- package/friend/model/Namespace.d.ts +1 -0
- package/friend/model/Namespace.js +37 -32
- package/friend/model/Namespace.js.map +1 -1
- package/friend/model/Namespace.ts +7 -0
- package/friend/model/options/NamespaceOptions.d.ts +2 -0
- package/friend/model/options/NamespaceOptions.ts +2 -0
- package/gateway/model/Namespace.d.ts +1 -0
- package/gateway/model/Namespace.js +10 -5
- package/gateway/model/Namespace.js.map +1 -1
- package/gateway/model/Namespace.ts +7 -0
- package/gateway/model/options/NamespaceOptions.d.ts +2 -0
- package/gateway/model/options/NamespaceOptions.ts +2 -0
- package/guild/model/Namespace.d.ts +1 -0
- package/guild/model/Namespace.js +35 -30
- package/guild/model/Namespace.js.map +1 -1
- package/guild/model/Namespace.ts +7 -0
- package/guild/model/options/NamespaceOptions.d.ts +2 -0
- package/guild/model/options/NamespaceOptions.ts +2 -0
- package/inventory/model/Namespace.d.ts +1 -0
- package/inventory/model/Namespace.js +23 -18
- package/inventory/model/Namespace.js.map +1 -1
- package/inventory/model/Namespace.ts +7 -0
- package/inventory/model/options/NamespaceOptions.d.ts +2 -0
- package/inventory/model/options/NamespaceOptions.ts +2 -0
- package/jobQueue/model/Namespace.d.ts +1 -0
- package/jobQueue/model/Namespace.js +13 -8
- package/jobQueue/model/Namespace.js.map +1 -1
- package/jobQueue/model/Namespace.ts +7 -0
- package/jobQueue/model/options/NamespaceOptions.d.ts +2 -0
- package/jobQueue/model/options/NamespaceOptions.ts +2 -0
- package/limit/model/Namespace.d.ts +1 -0
- package/limit/model/Namespace.js +9 -4
- package/limit/model/Namespace.js.map +1 -1
- package/limit/model/Namespace.ts +7 -0
- package/limit/model/options/NamespaceOptions.d.ts +2 -0
- package/limit/model/options/NamespaceOptions.ts +2 -0
- package/matchmaking/model/Namespace.d.ts +1 -0
- package/matchmaking/model/Namespace.js +29 -24
- package/matchmaking/model/Namespace.js.map +1 -1
- package/matchmaking/model/Namespace.ts +7 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.ts +2 -0
- package/matchmaking/model/options/NamespaceOptions.d.ts +2 -0
- package/matchmaking/model/options/NamespaceOptions.ts +2 -0
- package/money/model/Namespace.d.ts +1 -0
- package/money/model/Namespace.js +18 -13
- package/money/model/Namespace.js.map +1 -1
- package/money/model/Namespace.ts +7 -0
- package/money/model/options/NamespaceOptions.d.ts +2 -0
- package/money/model/options/NamespaceOptions.ts +2 -0
- package/money2/model/Namespace.d.ts +2 -0
- package/money2/model/Namespace.js +26 -16
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +13 -0
- package/money2/model/options/NamespaceOptions.d.ts +3 -0
- package/money2/model/options/NamespaceOptions.ts +3 -0
- package/package.json +1 -1
- package/ranking/model/Namespace.d.ts +1 -0
- package/ranking/model/Namespace.js +9 -4
- package/ranking/model/Namespace.js.map +1 -1
- package/ranking/model/Namespace.ts +7 -0
- package/ranking/model/options/NamespaceOptions.d.ts +2 -0
- package/ranking/model/options/NamespaceOptions.ts +2 -0
- package/realtime/model/Namespace.d.ts +1 -0
- package/realtime/model/Namespace.js +11 -6
- package/realtime/model/Namespace.js.map +1 -1
- package/realtime/model/Namespace.ts +7 -0
- package/realtime/model/options/NamespaceOptions.d.ts +2 -0
- package/realtime/model/options/NamespaceOptions.ts +2 -0
- package/schedule/model/Namespace.d.ts +1 -0
- package/schedule/model/Namespace.js +9 -4
- package/schedule/model/Namespace.js.map +1 -1
- package/schedule/model/Namespace.ts +7 -0
- package/schedule/model/options/NamespaceOptions.d.ts +2 -0
- package/schedule/model/options/NamespaceOptions.ts +2 -0
- package/serialKey/model/Namespace.d.ts +1 -0
- package/serialKey/model/Namespace.js +9 -4
- package/serialKey/model/Namespace.js.map +1 -1
- package/serialKey/model/Namespace.ts +7 -0
- package/serialKey/model/options/NamespaceOptions.d.ts +2 -0
- package/serialKey/model/options/NamespaceOptions.ts +2 -0
- package/stamina/model/Namespace.d.ts +1 -0
- package/stamina/model/Namespace.js +10 -5
- package/stamina/model/Namespace.js.map +1 -1
- package/stamina/model/Namespace.ts +7 -0
- package/stamina/model/options/NamespaceOptions.d.ts +2 -0
- package/stamina/model/options/NamespaceOptions.ts +2 -0
- package/version/model/Namespace.d.ts +1 -0
- package/version/model/Namespace.js +12 -7
- package/version/model/Namespace.js.map +1 -1
- package/version/model/Namespace.ts +7 -0
- package/version/model/options/NamespaceOptions.d.ts +2 -0
- package/version/model/options/NamespaceOptions.ts +2 -0
|
@@ -22,16 +22,18 @@ 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, _c;
|
|
25
|
+
var _a, _b, _c, _d;
|
|
26
26
|
super("Stamina_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.overflowTriggerScript = null;
|
|
29
30
|
this.logSetting = null;
|
|
30
31
|
this.stack = stack;
|
|
31
32
|
this.name = name;
|
|
32
33
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
34
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
35
|
+
this.overflowTriggerScript = (_c = options === null || options === void 0 ? void 0 : options.overflowTriggerScript) !== null && _c !== void 0 ? _c : null;
|
|
36
|
+
this.logSetting = (_d = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _d !== void 0 ? _d : null;
|
|
35
37
|
stack.addResource(this);
|
|
36
38
|
}
|
|
37
39
|
alternateKeys() {
|
|
@@ -41,7 +43,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
41
43
|
return "GS2::Stamina::Namespace";
|
|
42
44
|
}
|
|
43
45
|
properties() {
|
|
44
|
-
var _a;
|
|
46
|
+
var _a, _b;
|
|
45
47
|
let properties = {};
|
|
46
48
|
if (this.name != null) {
|
|
47
49
|
properties["Name"] = this.name;
|
|
@@ -49,11 +51,14 @@ class Namespace extends model_1.CdkResource {
|
|
|
49
51
|
if (this.description != null) {
|
|
50
52
|
properties["Description"] = this.description;
|
|
51
53
|
}
|
|
54
|
+
if (this.transactionSetting != null) {
|
|
55
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
56
|
+
}
|
|
52
57
|
if (this.overflowTriggerScript != null) {
|
|
53
58
|
properties["OverflowTriggerScript"] = this.overflowTriggerScript;
|
|
54
59
|
}
|
|
55
60
|
if (this.logSetting != null) {
|
|
56
|
-
properties["LogSetting"] = (
|
|
61
|
+
properties["LogSetting"] = (_b = this.logSetting) === null || _b === void 0 ? void 0 : _b.properties();
|
|
57
62
|
}
|
|
58
63
|
return properties;
|
|
59
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAQ9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAZW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA4B,IAAI,CAAC;QACnD,0BAAqB,GAAgB,IAAI,CAAC;QAC1C,eAAU,GA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,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,aAA6B;QAE7B,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,aAAa,CAChB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,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 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 overflowTriggerScript: string|null = null;
|
|
32
34
|
private readonly logSetting: LogSetting|null = null;
|
|
33
35
|
|
|
@@ -43,6 +45,7 @@ export default class Namespace extends CdkResource {
|
|
|
43
45
|
this.stack = stack;
|
|
44
46
|
this.name = name;
|
|
45
47
|
this.description = options?.description ?? null;
|
|
48
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
46
49
|
this.overflowTriggerScript = options?.overflowTriggerScript ?? null;
|
|
47
50
|
this.logSetting = options?.logSetting ?? null;
|
|
48
51
|
stack.addResource(
|
|
@@ -71,6 +74,10 @@ export default class Namespace extends CdkResource {
|
|
|
71
74
|
if (this.description != null) {
|
|
72
75
|
properties["Description"] = this.description;
|
|
73
76
|
}
|
|
77
|
+
if (this.transactionSetting != null) {
|
|
78
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
79
|
+
);
|
|
80
|
+
}
|
|
74
81
|
if (this.overflowTriggerScript != null) {
|
|
75
82
|
properties["OverflowTriggerScript"] = this.overflowTriggerScript;
|
|
76
83
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
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
|
overflowTriggerScript?: string | null;
|
|
5
7
|
logSetting?: LogSetting | null;
|
|
6
8
|
}
|
|
@@ -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
|
overflowTriggerScript?: string|null;
|
|
21
23
|
logSetting?: LogSetting|null;
|
|
22
24
|
}
|
|
@@ -8,6 +8,7 @@ export default class Namespace extends CdkResource {
|
|
|
8
8
|
private readonly name;
|
|
9
9
|
private readonly assumeUserId;
|
|
10
10
|
private readonly description;
|
|
11
|
+
private readonly transactionSetting;
|
|
11
12
|
private readonly acceptVersionScript;
|
|
12
13
|
private readonly checkVersionTriggerScriptId;
|
|
13
14
|
private readonly logSetting;
|
|
@@ -22,9 +22,10 @@ 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, assumeUserId, options = null) {
|
|
25
|
-
var _a, _b, _c, _d;
|
|
25
|
+
var _a, _b, _c, _d, _e;
|
|
26
26
|
super("Version_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
+
this.transactionSetting = null;
|
|
28
29
|
this.acceptVersionScript = null;
|
|
29
30
|
this.checkVersionTriggerScriptId = null;
|
|
30
31
|
this.logSetting = null;
|
|
@@ -32,9 +33,10 @@ class Namespace extends model_1.CdkResource {
|
|
|
32
33
|
this.name = name;
|
|
33
34
|
this.assumeUserId = assumeUserId;
|
|
34
35
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
36
|
+
this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
|
|
37
|
+
this.acceptVersionScript = (_c = options === null || options === void 0 ? void 0 : options.acceptVersionScript) !== null && _c !== void 0 ? _c : null;
|
|
38
|
+
this.checkVersionTriggerScriptId = (_d = options === null || options === void 0 ? void 0 : options.checkVersionTriggerScriptId) !== null && _d !== void 0 ? _d : null;
|
|
39
|
+
this.logSetting = (_e = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _e !== void 0 ? _e : null;
|
|
38
40
|
stack.addResource(this);
|
|
39
41
|
}
|
|
40
42
|
alternateKeys() {
|
|
@@ -44,7 +46,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
44
46
|
return "GS2::Version::Namespace";
|
|
45
47
|
}
|
|
46
48
|
properties() {
|
|
47
|
-
var _a, _b;
|
|
49
|
+
var _a, _b, _c;
|
|
48
50
|
let properties = {};
|
|
49
51
|
if (this.name != null) {
|
|
50
52
|
properties["Name"] = this.name;
|
|
@@ -52,17 +54,20 @@ class Namespace extends model_1.CdkResource {
|
|
|
52
54
|
if (this.description != null) {
|
|
53
55
|
properties["Description"] = this.description;
|
|
54
56
|
}
|
|
57
|
+
if (this.transactionSetting != null) {
|
|
58
|
+
properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
59
|
+
}
|
|
55
60
|
if (this.assumeUserId != null) {
|
|
56
61
|
properties["AssumeUserId"] = this.assumeUserId;
|
|
57
62
|
}
|
|
58
63
|
if (this.acceptVersionScript != null) {
|
|
59
|
-
properties["AcceptVersionScript"] = (
|
|
64
|
+
properties["AcceptVersionScript"] = (_b = this.acceptVersionScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
60
65
|
}
|
|
61
66
|
if (this.checkVersionTriggerScriptId != null) {
|
|
62
67
|
properties["CheckVersionTriggerScriptId"] = this.checkVersionTriggerScriptId;
|
|
63
68
|
}
|
|
64
69
|
if (this.logSetting != null) {
|
|
65
|
-
properties["LogSetting"] = (
|
|
70
|
+
properties["LogSetting"] = (_c = this.logSetting) === null || _c === void 0 ? void 0 : _c.properties();
|
|
66
71
|
}
|
|
67
72
|
return properties;
|
|
68
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAU9C,YACI,KAAY,EACZ,IAAY,EACZ,YAAoB,EACpB,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAo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
+
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
19
20
|
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
20
21
|
import LogSetting from "../../core/model/LogSetting";
|
|
21
22
|
|
|
@@ -30,6 +31,7 @@ export default class Namespace extends CdkResource {
|
|
|
30
31
|
private readonly name: string;
|
|
31
32
|
private readonly assumeUserId: string;
|
|
32
33
|
private readonly description: string|null = null;
|
|
34
|
+
private readonly transactionSetting: TransactionSetting|null = null;
|
|
33
35
|
private readonly acceptVersionScript: ScriptSetting|null = null;
|
|
34
36
|
private readonly checkVersionTriggerScriptId: string|null = null;
|
|
35
37
|
private readonly logSetting: LogSetting|null = null;
|
|
@@ -48,6 +50,7 @@ export default class Namespace extends CdkResource {
|
|
|
48
50
|
this.name = name;
|
|
49
51
|
this.assumeUserId = assumeUserId;
|
|
50
52
|
this.description = options?.description ?? null;
|
|
53
|
+
this.transactionSetting = options?.transactionSetting ?? null;
|
|
51
54
|
this.acceptVersionScript = options?.acceptVersionScript ?? null;
|
|
52
55
|
this.checkVersionTriggerScriptId = options?.checkVersionTriggerScriptId ?? null;
|
|
53
56
|
this.logSetting = options?.logSetting ?? null;
|
|
@@ -77,6 +80,10 @@ export default class Namespace extends CdkResource {
|
|
|
77
80
|
if (this.description != null) {
|
|
78
81
|
properties["Description"] = this.description;
|
|
79
82
|
}
|
|
83
|
+
if (this.transactionSetting != null) {
|
|
84
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
85
|
+
);
|
|
86
|
+
}
|
|
80
87
|
if (this.assumeUserId != null) {
|
|
81
88
|
properties["AssumeUserId"] = this.assumeUserId;
|
|
82
89
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
1
2
|
import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
2
3
|
import LogSetting from "../../../core/model/LogSetting";
|
|
3
4
|
export interface NamespaceOptions {
|
|
4
5
|
description?: string | null;
|
|
6
|
+
transactionSetting?: TransactionSetting | null;
|
|
5
7
|
acceptVersionScript?: ScriptSetting | null;
|
|
6
8
|
checkVersionTriggerScriptId?: string | null;
|
|
7
9
|
logSetting?: LogSetting | null;
|
|
@@ -13,11 +13,13 @@
|
|
|
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 ScriptSetting from "../../../core/model/ScriptSetting";
|
|
17
18
|
import LogSetting from "../../../core/model/LogSetting";
|
|
18
19
|
|
|
19
20
|
export interface NamespaceOptions {
|
|
20
21
|
description?: string|null;
|
|
22
|
+
transactionSetting?: TransactionSetting|null;
|
|
21
23
|
acceptVersionScript?: ScriptSetting|null;
|
|
22
24
|
checkVersionTriggerScriptId?: string|null;
|
|
23
25
|
logSetting?: LogSetting|null;
|