gs2-cdk 1.0.0
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/core/func/Func.d.ts +2 -0
- package/core/func/Func.js +3 -0
- package/core/func/Func.js.map +1 -0
- package/core/func/Func.ts +18 -0
- package/core/func/GetAttr.d.ts +9 -0
- package/core/func/GetAttr.js +38 -0
- package/core/func/GetAttr.js.map +1 -0
- package/core/func/GetAttr.ts +55 -0
- package/core/func/Join.d.ts +7 -0
- package/core/func/Join.js +28 -0
- package/core/func/Join.js.map +1 -0
- package/core/func/Join.ts +35 -0
- package/core/func/index.d.ts +4 -0
- package/core/func/index.js +24 -0
- package/core/func/index.js.map +1 -0
- package/core/func/index.ts +25 -0
- package/core/index.d.ts +4 -0
- package/core/index.js +22 -0
- package/core/index.js.map +1 -0
- package/core/index.ts +23 -0
- package/core/model/AcquireAction.d.ts +12 -0
- package/core/model/AcquireAction.js +31 -0
- package/core/model/AcquireAction.js.map +1 -0
- package/core/model/AcquireAction.ts +36 -0
- package/core/model/CdkResource.d.ts +13 -0
- package/core/model/CdkResource.js +36 -0
- package/core/model/CdkResource.js.map +1 -0
- package/core/model/CdkResource.ts +47 -0
- package/core/model/Config.d.ts +8 -0
- package/core/model/Config.js +31 -0
- package/core/model/Config.js.map +1 -0
- package/core/model/Config.ts +36 -0
- package/core/model/ConsumeAction.d.ts +12 -0
- package/core/model/ConsumeAction.js +31 -0
- package/core/model/ConsumeAction.js.map +1 -0
- package/core/model/ConsumeAction.ts +36 -0
- package/core/model/LogSetting.d.ts +7 -0
- package/core/model/LogSetting.js +29 -0
- package/core/model/LogSetting.js.map +1 -0
- package/core/model/LogSetting.ts +32 -0
- package/core/model/NotificationSetting.d.ts +9 -0
- package/core/model/NotificationSetting.js +33 -0
- package/core/model/NotificationSetting.js.map +1 -0
- package/core/model/NotificationSetting.ts +40 -0
- package/core/model/ScriptSetting.d.ts +10 -0
- package/core/model/ScriptSetting.js +35 -0
- package/core/model/ScriptSetting.js.map +1 -0
- package/core/model/ScriptSetting.ts +45 -0
- package/core/model/Stack.d.ts +14 -0
- package/core/model/Stack.js +47 -0
- package/core/model/Stack.js.map +1 -0
- package/core/model/Stack.ts +60 -0
- package/core/model/TransactionSetting.d.ts +10 -0
- package/core/model/TransactionSetting.js +35 -0
- package/core/model/TransactionSetting.js.map +1 -0
- package/core/model/TransactionSetting.ts +44 -0
- package/core/model/index.d.ts +10 -0
- package/core/model/index.js +38 -0
- package/core/model/index.js.map +1 -0
- package/core/model/index.ts +37 -0
- package/distributor/index.d.ts +11 -0
- package/distributor/index.js +31 -0
- package/distributor/index.js.map +1 -0
- package/distributor/index.ts +34 -0
- package/distributor/model/CurrentMasterData.d.ts +12 -0
- package/distributor/model/CurrentMasterData.js +41 -0
- package/distributor/model/CurrentMasterData.js.map +1 -0
- package/distributor/model/CurrentMasterData.ts +52 -0
- package/distributor/model/DistributeResource.d.ts +10 -0
- package/distributor/model/DistributeResource.js +35 -0
- package/distributor/model/DistributeResource.js.map +1 -0
- package/distributor/model/DistributeResource.ts +43 -0
- package/distributor/model/DistributorModel.d.ts +17 -0
- package/distributor/model/DistributorModel.js +52 -0
- package/distributor/model/DistributorModel.js.map +1 -0
- package/distributor/model/DistributorModel.ts +67 -0
- package/distributor/model/DistributorModelMaster.d.ts +26 -0
- package/distributor/model/DistributorModelMaster.js +72 -0
- package/distributor/model/DistributorModelMaster.js.map +1 -0
- package/distributor/model/DistributorModelMaster.ts +102 -0
- package/distributor/model/Namespace.d.ts +29 -0
- package/distributor/model/Namespace.js +73 -0
- package/distributor/model/Namespace.js.map +1 -0
- package/distributor/model/Namespace.ts +111 -0
- package/distributor/model/index.d.ts +6 -0
- package/distributor/model/index.js +30 -0
- package/distributor/model/index.js.map +1 -0
- package/distributor/model/index.ts +28 -0
- package/distributor/ref/CurrentDistributorMasterRef.d.ts +5 -0
- package/distributor/ref/CurrentDistributorMasterRef.js +35 -0
- package/distributor/ref/CurrentDistributorMasterRef.js.map +1 -0
- package/distributor/ref/CurrentDistributorMasterRef.ts +42 -0
- package/distributor/ref/DistributorModelMasterRef.d.ts +6 -0
- package/distributor/ref/DistributorModelMasterRef.js +38 -0
- package/distributor/ref/DistributorModelMasterRef.js.map +1 -0
- package/distributor/ref/DistributorModelMasterRef.ts +47 -0
- package/distributor/ref/DistributorModelRef.d.ts +6 -0
- package/distributor/ref/DistributorModelRef.js +38 -0
- package/distributor/ref/DistributorModelRef.js.map +1 -0
- package/distributor/ref/DistributorModelRef.ts +47 -0
- package/distributor/ref/NamespaceRef.d.ts +11 -0
- package/distributor/ref/NamespaceRef.js +48 -0
- package/distributor/ref/NamespaceRef.js.map +1 -0
- package/distributor/ref/NamespaceRef.ts +70 -0
- package/distributor/ref/index.d.ts +5 -0
- package/distributor/ref/index.js +28 -0
- package/distributor/ref/index.js.map +1 -0
- package/distributor/ref/index.ts +26 -0
- package/distributor/stampSheet/index.d.ts +1 -0
- package/distributor/stampSheet/index.js +18 -0
- package/distributor/stampSheet/index.js.map +1 -0
- package/distributor/stampSheet/index.ts +18 -0
- package/identifier/index.d.ts +13 -0
- package/identifier/index.js +35 -0
- package/identifier/index.js.map +1 -0
- package/identifier/index.ts +43 -0
- package/identifier/model/AttachSecurityPolicy.d.ts +11 -0
- package/identifier/model/AttachSecurityPolicy.js +43 -0
- package/identifier/model/AttachSecurityPolicy.js.map +1 -0
- package/identifier/model/AttachSecurityPolicy.ts +54 -0
- package/identifier/model/Identifier.d.ts +14 -0
- package/identifier/model/Identifier.js +47 -0
- package/identifier/model/Identifier.js.map +1 -0
- package/identifier/model/Identifier.ts +70 -0
- package/identifier/model/Password.d.ts +15 -0
- package/identifier/model/Password.js +53 -0
- package/identifier/model/Password.js.map +1 -0
- package/identifier/model/Password.ts +74 -0
- package/identifier/model/Policy.d.ts +9 -0
- package/identifier/model/Policy.js +31 -0
- package/identifier/model/Policy.js.map +1 -0
- package/identifier/model/Policy.ts +36 -0
- package/identifier/model/ProjectToken.d.ts +10 -0
- package/identifier/model/ProjectToken.js +33 -0
- package/identifier/model/ProjectToken.js.map +1 -0
- package/identifier/model/ProjectToken.ts +37 -0
- package/identifier/model/SecurityPolicy.d.ts +17 -0
- package/identifier/model/SecurityPolicy.js +57 -0
- package/identifier/model/SecurityPolicy.js.map +1 -0
- package/identifier/model/SecurityPolicy.ts +77 -0
- package/identifier/model/Statement.d.ts +13 -0
- package/identifier/model/Statement.js +48 -0
- package/identifier/model/Statement.js.map +1 -0
- package/identifier/model/Statement.ts +74 -0
- package/identifier/model/User.d.ts +20 -0
- package/identifier/model/User.js +64 -0
- package/identifier/model/User.js.map +1 -0
- package/identifier/model/User.ts +102 -0
- package/identifier/model/index.d.ts +8 -0
- package/identifier/model/index.js +36 -0
- package/identifier/model/index.js.map +1 -0
- package/identifier/model/index.ts +34 -0
- package/identifier/ref/AttachSecurityPolicyRef.d.ts +5 -0
- package/identifier/ref/AttachSecurityPolicyRef.js +36 -0
- package/identifier/ref/AttachSecurityPolicyRef.js.map +1 -0
- package/identifier/ref/AttachSecurityPolicyRef.ts +43 -0
- package/identifier/ref/IdentifierRef.d.ts +5 -0
- package/identifier/ref/IdentifierRef.js +25 -0
- package/identifier/ref/IdentifierRef.js.map +1 -0
- package/identifier/ref/IdentifierRef.ts +31 -0
- package/identifier/ref/PasswordRef.d.ts +5 -0
- package/identifier/ref/PasswordRef.js +36 -0
- package/identifier/ref/PasswordRef.js.map +1 -0
- package/identifier/ref/PasswordRef.ts +43 -0
- package/identifier/ref/SecurityPolicyRef.d.ts +5 -0
- package/identifier/ref/SecurityPolicyRef.js +36 -0
- package/identifier/ref/SecurityPolicyRef.js.map +1 -0
- package/identifier/ref/SecurityPolicyRef.ts +43 -0
- package/identifier/ref/UserRef.d.ts +7 -0
- package/identifier/ref/UserRef.js +41 -0
- package/identifier/ref/UserRef.js.map +1 -0
- package/identifier/ref/UserRef.ts +53 -0
- package/identifier/ref/index.d.ts +6 -0
- package/identifier/ref/index.js +30 -0
- package/identifier/ref/index.js.map +1 -0
- package/identifier/ref/index.ts +28 -0
- package/identifier/stampSheet/index.d.ts +1 -0
- package/identifier/stampSheet/index.js +18 -0
- package/identifier/stampSheet/index.js.map +1 -0
- package/identifier/stampSheet/index.ts +18 -0
- package/inbox/index.d.ts +11 -0
- package/inbox/index.js +31 -0
- package/inbox/index.js.map +1 -0
- package/inbox/index.ts +34 -0
- package/inbox/model/CurrentMasterData.d.ts +12 -0
- package/inbox/model/CurrentMasterData.js +41 -0
- package/inbox/model/CurrentMasterData.js.map +1 -0
- package/inbox/model/CurrentMasterData.ts +52 -0
- package/inbox/model/GlobalMessage.d.ts +20 -0
- package/inbox/model/GlobalMessage.js +41 -0
- package/inbox/model/GlobalMessage.js.map +1 -0
- package/inbox/model/GlobalMessage.ts +75 -0
- package/inbox/model/GlobalMessageMaster.d.ts +27 -0
- package/inbox/model/GlobalMessageMaster.js +71 -0
- package/inbox/model/GlobalMessageMaster.js.map +1 -0
- package/inbox/model/GlobalMessageMaster.ts +104 -0
- package/inbox/model/Namespace.d.ts +39 -0
- package/inbox/model/Namespace.js +93 -0
- package/inbox/model/Namespace.js.map +1 -0
- package/inbox/model/Namespace.ts +137 -0
- package/inbox/model/TimeSpan.d.ts +11 -0
- package/inbox/model/TimeSpan.js +39 -0
- package/inbox/model/TimeSpan.js.map +1 -0
- package/inbox/model/TimeSpan.ts +49 -0
- package/inbox/model/index.d.ts +6 -0
- package/inbox/model/index.js +30 -0
- package/inbox/model/index.js.map +1 -0
- package/inbox/model/index.ts +28 -0
- package/inbox/ref/CurrentMessageMasterRef.d.ts +5 -0
- package/inbox/ref/CurrentMessageMasterRef.js +35 -0
- package/inbox/ref/CurrentMessageMasterRef.js.map +1 -0
- package/inbox/ref/CurrentMessageMasterRef.ts +42 -0
- package/inbox/ref/GlobalMessageMasterRef.d.ts +6 -0
- package/inbox/ref/GlobalMessageMasterRef.js +39 -0
- package/inbox/ref/GlobalMessageMasterRef.js.map +1 -0
- package/inbox/ref/GlobalMessageMasterRef.ts +48 -0
- package/inbox/ref/GlobalMessageRef.d.ts +6 -0
- package/inbox/ref/GlobalMessageRef.js +38 -0
- package/inbox/ref/GlobalMessageRef.js.map +1 -0
- package/inbox/ref/GlobalMessageRef.ts +47 -0
- package/inbox/ref/NamespaceRef.d.ts +15 -0
- package/inbox/ref/NamespaceRef.js +52 -0
- package/inbox/ref/NamespaceRef.js.map +1 -0
- package/inbox/ref/NamespaceRef.ts +90 -0
- package/inbox/ref/index.d.ts +5 -0
- package/inbox/ref/index.js +28 -0
- package/inbox/ref/index.js.map +1 -0
- package/inbox/ref/index.ts +26 -0
- package/inbox/stampSheet/OpenMessageByUserId.d.ts +4 -0
- package/inbox/stampSheet/OpenMessageByUserId.js +35 -0
- package/inbox/stampSheet/OpenMessageByUserId.js.map +1 -0
- package/inbox/stampSheet/OpenMessageByUserId.ts +41 -0
- package/inbox/stampSheet/SendMessageByUserId.d.ts +5 -0
- package/inbox/stampSheet/SendMessageByUserId.js +44 -0
- package/inbox/stampSheet/SendMessageByUserId.js.map +1 -0
- package/inbox/stampSheet/SendMessageByUserId.ts +54 -0
- package/inbox/stampSheet/index.d.ts +2 -0
- package/inbox/stampSheet/index.js +22 -0
- package/inbox/stampSheet/index.js.map +1 -0
- package/inbox/stampSheet/index.ts +20 -0
- package/inventory/index.d.ts +11 -0
- package/inventory/index.js +31 -0
- package/inventory/index.js.map +1 -0
- package/inventory/index.ts +34 -0
- package/inventory/model/CurrentMasterData.d.ts +12 -0
- package/inventory/model/CurrentMasterData.js +41 -0
- package/inventory/model/CurrentMasterData.js.map +1 -0
- package/inventory/model/CurrentMasterData.ts +52 -0
- package/inventory/model/InventoryModel.d.ts +20 -0
- package/inventory/model/InventoryModel.js +45 -0
- package/inventory/model/InventoryModel.js.map +1 -0
- package/inventory/model/InventoryModel.ts +80 -0
- package/inventory/model/InventoryModelMaster.d.ts +25 -0
- package/inventory/model/InventoryModelMaster.js +74 -0
- package/inventory/model/InventoryModelMaster.js.map +1 -0
- package/inventory/model/InventoryModelMaster.ts +108 -0
- package/inventory/model/ItemModel.d.ts +16 -0
- package/inventory/model/ItemModel.js +54 -0
- package/inventory/model/ItemModel.js.map +1 -0
- package/inventory/model/ItemModel.ts +75 -0
- package/inventory/model/ItemModelMaster.d.ts +26 -0
- package/inventory/model/ItemModelMaster.js +78 -0
- package/inventory/model/ItemModelMaster.js.map +1 -0
- package/inventory/model/ItemModelMaster.ts +116 -0
- package/inventory/model/Namespace.d.ts +31 -0
- package/inventory/model/Namespace.js +78 -0
- package/inventory/model/Namespace.js.map +1 -0
- package/inventory/model/Namespace.ts +117 -0
- package/inventory/model/index.d.ts +7 -0
- package/inventory/model/index.js +32 -0
- package/inventory/model/index.js.map +1 -0
- package/inventory/model/index.ts +30 -0
- package/inventory/ref/CurrentItemModelMasterRef.d.ts +5 -0
- package/inventory/ref/CurrentItemModelMasterRef.js +35 -0
- package/inventory/ref/CurrentItemModelMasterRef.js.map +1 -0
- package/inventory/ref/CurrentItemModelMasterRef.ts +42 -0
- package/inventory/ref/InventoryModelMasterRef.d.ts +8 -0
- package/inventory/ref/InventoryModelMasterRef.js +43 -0
- package/inventory/ref/InventoryModelMasterRef.js.map +1 -0
- package/inventory/ref/InventoryModelMasterRef.ts +58 -0
- package/inventory/ref/InventoryModelRef.d.ts +12 -0
- package/inventory/ref/InventoryModelRef.js +51 -0
- package/inventory/ref/InventoryModelRef.js.map +1 -0
- package/inventory/ref/InventoryModelRef.ts +84 -0
- package/inventory/ref/ItemModelMasterRef.d.ts +7 -0
- package/inventory/ref/ItemModelMasterRef.js +41 -0
- package/inventory/ref/ItemModelMasterRef.js.map +1 -0
- package/inventory/ref/ItemModelMasterRef.ts +52 -0
- package/inventory/ref/ItemModelRef.d.ts +13 -0
- package/inventory/ref/ItemModelRef.js +54 -0
- package/inventory/ref/ItemModelRef.js.map +1 -0
- package/inventory/ref/ItemModelRef.ts +104 -0
- package/inventory/ref/NamespaceRef.d.ts +11 -0
- package/inventory/ref/NamespaceRef.js +48 -0
- package/inventory/ref/NamespaceRef.js.map +1 -0
- package/inventory/ref/NamespaceRef.ts +70 -0
- package/inventory/ref/index.d.ts +7 -0
- package/inventory/ref/index.js +32 -0
- package/inventory/ref/index.js.map +1 -0
- package/inventory/ref/index.ts +30 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.d.ts +4 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.js +50 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.js.map +1 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.ts +61 -0
- package/inventory/stampSheet/AddCapacityByUserId.d.ts +4 -0
- package/inventory/stampSheet/AddCapacityByUserId.js +38 -0
- package/inventory/stampSheet/AddCapacityByUserId.js.map +1 -0
- package/inventory/stampSheet/AddCapacityByUserId.ts +45 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.js +44 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.ts +53 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.d.ts +4 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.js +44 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.js.map +1 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.ts +53 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.js +44 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.ts +53 -0
- package/inventory/stampSheet/SetCapacityByUserId.d.ts +4 -0
- package/inventory/stampSheet/SetCapacityByUserId.js +38 -0
- package/inventory/stampSheet/SetCapacityByUserId.js.map +1 -0
- package/inventory/stampSheet/SetCapacityByUserId.ts +45 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.js +47 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.ts +57 -0
- package/inventory/stampSheet/index.d.ts +3 -0
- package/inventory/stampSheet/index.js +24 -0
- package/inventory/stampSheet/index.js.map +1 -0
- package/inventory/stampSheet/index.ts +22 -0
- package/jobQueue/index.d.ts +11 -0
- package/jobQueue/index.js +31 -0
- package/jobQueue/index.js.map +1 -0
- package/jobQueue/index.ts +34 -0
- package/jobQueue/model/JobEntry.d.ts +11 -0
- package/jobQueue/model/JobEntry.js +39 -0
- package/jobQueue/model/JobEntry.js.map +1 -0
- package/jobQueue/model/JobEntry.ts +49 -0
- package/jobQueue/model/JobResultBody.d.ts +12 -0
- package/jobQueue/model/JobResultBody.js +43 -0
- package/jobQueue/model/JobResultBody.js.map +1 -0
- package/jobQueue/model/JobResultBody.ts +55 -0
- package/jobQueue/model/Namespace.d.ts +28 -0
- package/jobQueue/model/Namespace.js +72 -0
- package/jobQueue/model/Namespace.js.map +1 -0
- package/jobQueue/model/Namespace.ts +102 -0
- package/jobQueue/model/index.d.ts +4 -0
- package/jobQueue/model/index.js +26 -0
- package/jobQueue/model/index.js.map +1 -0
- package/jobQueue/model/index.ts +24 -0
- package/jobQueue/ref/NamespaceRef.d.ts +8 -0
- package/jobQueue/ref/NamespaceRef.js +40 -0
- package/jobQueue/ref/NamespaceRef.js.map +1 -0
- package/jobQueue/ref/NamespaceRef.ts +55 -0
- package/jobQueue/ref/index.d.ts +2 -0
- package/jobQueue/ref/index.js +22 -0
- package/jobQueue/ref/index.js.map +1 -0
- package/jobQueue/ref/index.ts +20 -0
- package/jobQueue/stampSheet/PushByUserId.d.ts +5 -0
- package/jobQueue/stampSheet/PushByUserId.js +35 -0
- package/jobQueue/stampSheet/PushByUserId.js.map +1 -0
- package/jobQueue/stampSheet/PushByUserId.ts +42 -0
- package/jobQueue/stampSheet/index.d.ts +1 -0
- package/jobQueue/stampSheet/index.js +18 -0
- package/jobQueue/stampSheet/index.js.map +1 -0
- package/jobQueue/stampSheet/index.ts +18 -0
- package/log/index.d.ts +11 -0
- package/log/index.js +31 -0
- package/log/index.js.map +1 -0
- package/log/index.ts +34 -0
- package/log/model/AccessLog.d.ts +16 -0
- package/log/model/AccessLog.js +57 -0
- package/log/model/AccessLog.js.map +1 -0
- package/log/model/AccessLog.ts +73 -0
- package/log/model/AccessLogCount.d.ts +15 -0
- package/log/model/AccessLogCount.js +47 -0
- package/log/model/AccessLogCount.js.map +1 -0
- package/log/model/AccessLogCount.ts +55 -0
- package/log/model/ExecuteStampSheetLog.d.ts +15 -0
- package/log/model/ExecuteStampSheetLog.js +55 -0
- package/log/model/ExecuteStampSheetLog.js.map +1 -0
- package/log/model/ExecuteStampSheetLog.ts +73 -0
- package/log/model/ExecuteStampSheetLogCount.d.ts +17 -0
- package/log/model/ExecuteStampSheetLogCount.js +52 -0
- package/log/model/ExecuteStampSheetLogCount.js.map +1 -0
- package/log/model/ExecuteStampSheetLogCount.ts +61 -0
- package/log/model/ExecuteStampTaskLog.d.ts +15 -0
- package/log/model/ExecuteStampTaskLog.js +55 -0
- package/log/model/ExecuteStampTaskLog.js.map +1 -0
- package/log/model/ExecuteStampTaskLog.ts +73 -0
- package/log/model/ExecuteStampTaskLogCount.d.ts +17 -0
- package/log/model/ExecuteStampTaskLogCount.js +52 -0
- package/log/model/ExecuteStampTaskLogCount.js.map +1 -0
- package/log/model/ExecuteStampTaskLogCount.ts +61 -0
- package/log/model/Insight.d.ts +22 -0
- package/log/model/Insight.js +56 -0
- package/log/model/Insight.js.map +1 -0
- package/log/model/Insight.ts +78 -0
- package/log/model/IssueStampSheetLog.d.ts +17 -0
- package/log/model/IssueStampSheetLog.js +61 -0
- package/log/model/IssueStampSheetLog.js.map +1 -0
- package/log/model/IssueStampSheetLog.ts +79 -0
- package/log/model/IssueStampSheetLogCount.d.ts +17 -0
- package/log/model/IssueStampSheetLogCount.js +52 -0
- package/log/model/IssueStampSheetLogCount.js.map +1 -0
- package/log/model/IssueStampSheetLogCount.ts +61 -0
- package/log/model/Namespace.d.ts +46 -0
- package/log/model/Namespace.js +98 -0
- package/log/model/Namespace.js.map +1 -0
- package/log/model/Namespace.ts +140 -0
- package/log/model/index.d.ts +13 -0
- package/log/model/index.js +44 -0
- package/log/model/index.js.map +1 -0
- package/log/model/index.ts +42 -0
- package/log/ref/InsightRef.d.ts +6 -0
- package/log/ref/InsightRef.js +38 -0
- package/log/ref/InsightRef.js.map +1 -0
- package/log/ref/InsightRef.ts +47 -0
- package/log/ref/NamespaceRef.d.ts +7 -0
- package/log/ref/NamespaceRef.js +40 -0
- package/log/ref/NamespaceRef.js.map +1 -0
- package/log/ref/NamespaceRef.ts +52 -0
- package/log/ref/index.d.ts +3 -0
- package/log/ref/index.js +24 -0
- package/log/ref/index.js.map +1 -0
- package/log/ref/index.ts +22 -0
- package/log/stampSheet/index.d.ts +1 -0
- package/log/stampSheet/index.js +18 -0
- package/log/stampSheet/index.js.map +1 -0
- package/log/stampSheet/index.ts +18 -0
- package/lottery/index.d.ts +11 -0
- package/lottery/index.js +31 -0
- package/lottery/index.js.map +1 -0
- package/lottery/index.ts +34 -0
- package/lottery/model/BoxItem.d.ts +13 -0
- package/lottery/model/BoxItem.js +26 -0
- package/lottery/model/BoxItem.js.map +1 -0
- package/lottery/model/BoxItem.ts +50 -0
- package/lottery/model/BoxItems.d.ts +14 -0
- package/lottery/model/BoxItems.js +30 -0
- package/lottery/model/BoxItems.js.map +1 -0
- package/lottery/model/BoxItems.ts +56 -0
- package/lottery/model/CurrentMasterData.d.ts +14 -0
- package/lottery/model/CurrentMasterData.js +43 -0
- package/lottery/model/CurrentMasterData.js.map +1 -0
- package/lottery/model/CurrentMasterData.ts +57 -0
- package/lottery/model/DrawnPrize.d.ts +12 -0
- package/lottery/model/DrawnPrize.js +22 -0
- package/lottery/model/DrawnPrize.js.map +1 -0
- package/lottery/model/DrawnPrize.ts +44 -0
- package/lottery/model/LotteryModel.d.ts +39 -0
- package/lottery/model/LotteryModel.js +83 -0
- package/lottery/model/LotteryModel.js.map +1 -0
- package/lottery/model/LotteryModel.ts +135 -0
- package/lottery/model/LotteryModelMaster.d.ts +42 -0
- package/lottery/model/LotteryModelMaster.js +89 -0
- package/lottery/model/LotteryModelMaster.js.map +1 -0
- package/lottery/model/LotteryModelMaster.ts +132 -0
- package/lottery/model/Namespace.d.ts +31 -0
- package/lottery/model/Namespace.js +77 -0
- package/lottery/model/Namespace.js.map +1 -0
- package/lottery/model/Namespace.ts +120 -0
- package/lottery/model/Prize.d.ts +27 -0
- package/lottery/model/Prize.js +63 -0
- package/lottery/model/Prize.js.map +1 -0
- package/lottery/model/Prize.ts +117 -0
- package/lottery/model/PrizeLimit.d.ts +1 -0
- package/lottery/model/PrizeLimit.js +18 -0
- package/lottery/model/PrizeLimit.js.map +1 -0
- package/lottery/model/PrizeLimit.ts +19 -0
- package/lottery/model/PrizeTable.d.ts +15 -0
- package/lottery/model/PrizeTable.js +31 -0
- package/lottery/model/PrizeTable.js.map +1 -0
- package/lottery/model/PrizeTable.ts +62 -0
- package/lottery/model/PrizeTableMaster.d.ts +24 -0
- package/lottery/model/PrizeTableMaster.js +66 -0
- package/lottery/model/PrizeTableMaster.js.map +1 -0
- package/lottery/model/PrizeTableMaster.ts +97 -0
- package/lottery/model/Probability.d.ts +11 -0
- package/lottery/model/Probability.js +20 -0
- package/lottery/model/Probability.js.map +1 -0
- package/lottery/model/Probability.ts +44 -0
- package/lottery/model/index.d.ts +17 -0
- package/lottery/model/index.js +52 -0
- package/lottery/model/index.js.map +1 -0
- package/lottery/model/index.ts +50 -0
- package/lottery/ref/CurrentLotteryMasterRef.d.ts +5 -0
- package/lottery/ref/CurrentLotteryMasterRef.js +35 -0
- package/lottery/ref/CurrentLotteryMasterRef.js.map +1 -0
- package/lottery/ref/CurrentLotteryMasterRef.ts +42 -0
- package/lottery/ref/LotteryModelMasterRef.d.ts +6 -0
- package/lottery/ref/LotteryModelMasterRef.js +38 -0
- package/lottery/ref/LotteryModelMasterRef.js.map +1 -0
- package/lottery/ref/LotteryModelMasterRef.ts +47 -0
- package/lottery/ref/LotteryModelRef.d.ts +9 -0
- package/lottery/ref/LotteryModelRef.js +43 -0
- package/lottery/ref/LotteryModelRef.js.map +1 -0
- package/lottery/ref/LotteryModelRef.ts +63 -0
- package/lottery/ref/NamespaceRef.d.ts +15 -0
- package/lottery/ref/NamespaceRef.js +56 -0
- package/lottery/ref/NamespaceRef.js.map +1 -0
- package/lottery/ref/NamespaceRef.ts +90 -0
- package/lottery/ref/PrizeLimitRef.d.ts +7 -0
- package/lottery/ref/PrizeLimitRef.js +41 -0
- package/lottery/ref/PrizeLimitRef.js.map +1 -0
- package/lottery/ref/PrizeLimitRef.ts +52 -0
- package/lottery/ref/PrizeTableMasterRef.d.ts +6 -0
- package/lottery/ref/PrizeTableMasterRef.js +38 -0
- package/lottery/ref/PrizeTableMasterRef.js.map +1 -0
- package/lottery/ref/PrizeTableMasterRef.ts +47 -0
- package/lottery/ref/PrizeTableRef.d.ts +8 -0
- package/lottery/ref/PrizeTableRef.js +43 -0
- package/lottery/ref/PrizeTableRef.js.map +1 -0
- package/lottery/ref/PrizeTableRef.ts +58 -0
- package/lottery/ref/index.d.ts +8 -0
- package/lottery/ref/index.js +34 -0
- package/lottery/ref/index.js.map +1 -0
- package/lottery/ref/index.ts +32 -0
- package/lottery/stampSheet/DrawByUserId.d.ts +5 -0
- package/lottery/stampSheet/DrawByUserId.js +41 -0
- package/lottery/stampSheet/DrawByUserId.js.map +1 -0
- package/lottery/stampSheet/DrawByUserId.ts +50 -0
- package/lottery/stampSheet/index.d.ts +1 -0
- package/lottery/stampSheet/index.js +18 -0
- package/lottery/stampSheet/index.js.map +1 -0
- package/lottery/stampSheet/index.ts +18 -0
- package/package.json +58 -0
- package/showcase/index.d.ts +11 -0
- package/showcase/index.js +31 -0
- package/showcase/index.js.map +1 -0
- package/showcase/index.ts +34 -0
- package/showcase/model/CurrentMasterData.d.ts +12 -0
- package/showcase/model/CurrentMasterData.js +41 -0
- package/showcase/model/CurrentMasterData.js.map +1 -0
- package/showcase/model/CurrentMasterData.ts +52 -0
- package/showcase/model/DisplayItem.d.ts +35 -0
- package/showcase/model/DisplayItem.js +60 -0
- package/showcase/model/DisplayItem.js.map +1 -0
- package/showcase/model/DisplayItem.ts +120 -0
- package/showcase/model/DisplayItemMaster.d.ts +23 -0
- package/showcase/model/DisplayItemMaster.js +68 -0
- package/showcase/model/DisplayItemMaster.js.map +1 -0
- package/showcase/model/DisplayItemMaster.ts +97 -0
- package/showcase/model/Namespace.d.ts +29 -0
- package/showcase/model/Namespace.js +72 -0
- package/showcase/model/Namespace.js.map +1 -0
- package/showcase/model/Namespace.ts +112 -0
- package/showcase/model/SalesItem.d.ts +15 -0
- package/showcase/model/SalesItem.js +30 -0
- package/showcase/model/SalesItem.js.map +1 -0
- package/showcase/model/SalesItem.ts +57 -0
- package/showcase/model/SalesItemGroup.d.ts +13 -0
- package/showcase/model/SalesItemGroup.js +26 -0
- package/showcase/model/SalesItemGroup.js.map +1 -0
- package/showcase/model/SalesItemGroup.ts +50 -0
- package/showcase/model/SalesItemGroupMaster.d.ts +23 -0
- package/showcase/model/SalesItemGroupMaster.js +66 -0
- package/showcase/model/SalesItemGroupMaster.js.map +1 -0
- package/showcase/model/SalesItemGroupMaster.ts +96 -0
- package/showcase/model/SalesItemMaster.d.ts +26 -0
- package/showcase/model/SalesItemMaster.js +70 -0
- package/showcase/model/SalesItemMaster.js.map +1 -0
- package/showcase/model/SalesItemMaster.ts +104 -0
- package/showcase/model/Showcase.d.ts +17 -0
- package/showcase/model/Showcase.js +36 -0
- package/showcase/model/Showcase.js.map +1 -0
- package/showcase/model/Showcase.ts +68 -0
- package/showcase/model/ShowcaseMaster.d.ts +26 -0
- package/showcase/model/ShowcaseMaster.js +71 -0
- package/showcase/model/ShowcaseMaster.js.map +1 -0
- package/showcase/model/ShowcaseMaster.ts +103 -0
- package/showcase/model/index.d.ts +13 -0
- package/showcase/model/index.js +44 -0
- package/showcase/model/index.js.map +1 -0
- package/showcase/model/index.ts +42 -0
- package/showcase/ref/CurrentShowcaseMasterRef.d.ts +5 -0
- package/showcase/ref/CurrentShowcaseMasterRef.js +35 -0
- package/showcase/ref/CurrentShowcaseMasterRef.js.map +1 -0
- package/showcase/ref/CurrentShowcaseMasterRef.ts +42 -0
- package/showcase/ref/DisplayItemRef.d.ts +4 -0
- package/showcase/ref/DisplayItemRef.js +24 -0
- package/showcase/ref/DisplayItemRef.js.map +1 -0
- package/showcase/ref/DisplayItemRef.ts +28 -0
- package/showcase/ref/NamespaceRef.d.ts +15 -0
- package/showcase/ref/NamespaceRef.js +56 -0
- package/showcase/ref/NamespaceRef.js.map +1 -0
- package/showcase/ref/NamespaceRef.ts +88 -0
- package/showcase/ref/SalesItemGroupMasterRef.d.ts +6 -0
- package/showcase/ref/SalesItemGroupMasterRef.js +38 -0
- package/showcase/ref/SalesItemGroupMasterRef.js.map +1 -0
- package/showcase/ref/SalesItemGroupMasterRef.ts +47 -0
- package/showcase/ref/SalesItemMasterRef.d.ts +6 -0
- package/showcase/ref/SalesItemMasterRef.js +38 -0
- package/showcase/ref/SalesItemMasterRef.js.map +1 -0
- package/showcase/ref/SalesItemMasterRef.ts +47 -0
- package/showcase/ref/ShowcaseMasterRef.d.ts +6 -0
- package/showcase/ref/ShowcaseMasterRef.js +38 -0
- package/showcase/ref/ShowcaseMasterRef.js.map +1 -0
- package/showcase/ref/ShowcaseMasterRef.ts +47 -0
- package/showcase/ref/ShowcaseRef.d.ts +6 -0
- package/showcase/ref/ShowcaseRef.js +38 -0
- package/showcase/ref/ShowcaseRef.js.map +1 -0
- package/showcase/ref/ShowcaseRef.ts +47 -0
- package/showcase/ref/index.d.ts +8 -0
- package/showcase/ref/index.js +34 -0
- package/showcase/ref/index.js.map +1 -0
- package/showcase/ref/index.ts +32 -0
- package/showcase/stampSheet/index.d.ts +1 -0
- package/showcase/stampSheet/index.js +18 -0
- package/showcase/stampSheet/index.js.map +1 -0
- package/showcase/stampSheet/index.ts +18 -0
- package/stamina/index.d.ts +11 -0
- package/stamina/index.js +31 -0
- package/stamina/index.js.map +1 -0
- package/stamina/index.ts +34 -0
- package/stamina/model/CurrentMasterData.d.ts +12 -0
- package/stamina/model/CurrentMasterData.js +41 -0
- package/stamina/model/CurrentMasterData.js.map +1 -0
- package/stamina/model/CurrentMasterData.ts +52 -0
- package/stamina/model/MaxStaminaTable.d.ts +15 -0
- package/stamina/model/MaxStaminaTable.js +50 -0
- package/stamina/model/MaxStaminaTable.js.map +1 -0
- package/stamina/model/MaxStaminaTable.ts +67 -0
- package/stamina/model/MaxStaminaTableMaster.d.ts +24 -0
- package/stamina/model/MaxStaminaTableMaster.js +70 -0
- package/stamina/model/MaxStaminaTableMaster.js.map +1 -0
- package/stamina/model/MaxStaminaTableMaster.ts +102 -0
- package/stamina/model/Namespace.d.ts +27 -0
- package/stamina/model/Namespace.js +68 -0
- package/stamina/model/Namespace.js.map +1 -0
- package/stamina/model/Namespace.ts +105 -0
- package/stamina/model/RecoverIntervalTable.d.ts +15 -0
- package/stamina/model/RecoverIntervalTable.js +50 -0
- package/stamina/model/RecoverIntervalTable.js.map +1 -0
- package/stamina/model/RecoverIntervalTable.ts +67 -0
- package/stamina/model/RecoverIntervalTableMaster.d.ts +24 -0
- package/stamina/model/RecoverIntervalTableMaster.js +70 -0
- package/stamina/model/RecoverIntervalTableMaster.js.map +1 -0
- package/stamina/model/RecoverIntervalTableMaster.ts +102 -0
- package/stamina/model/RecoverValueTable.d.ts +15 -0
- package/stamina/model/RecoverValueTable.js +50 -0
- package/stamina/model/RecoverValueTable.js.map +1 -0
- package/stamina/model/RecoverValueTable.ts +67 -0
- package/stamina/model/RecoverValueTableMaster.d.ts +24 -0
- package/stamina/model/RecoverValueTableMaster.js +70 -0
- package/stamina/model/RecoverValueTableMaster.js.map +1 -0
- package/stamina/model/RecoverValueTableMaster.ts +102 -0
- package/stamina/model/StaminaModel.d.ts +28 -0
- package/stamina/model/StaminaModel.js +63 -0
- package/stamina/model/StaminaModel.js.map +1 -0
- package/stamina/model/StaminaModel.ts +106 -0
- package/stamina/model/StaminaModelMaster.d.ts +34 -0
- package/stamina/model/StaminaModelMaster.js +98 -0
- package/stamina/model/StaminaModelMaster.js.map +1 -0
- package/stamina/model/StaminaModelMaster.ts +138 -0
- package/stamina/model/index.d.ts +11 -0
- package/stamina/model/index.js +40 -0
- package/stamina/model/index.js.map +1 -0
- package/stamina/model/index.ts +38 -0
- package/stamina/ref/CurrentStaminaMasterRef.d.ts +5 -0
- package/stamina/ref/CurrentStaminaMasterRef.js +35 -0
- package/stamina/ref/CurrentStaminaMasterRef.js.map +1 -0
- package/stamina/ref/CurrentStaminaMasterRef.ts +42 -0
- package/stamina/ref/MaxStaminaTableMasterRef.d.ts +6 -0
- package/stamina/ref/MaxStaminaTableMasterRef.js +38 -0
- package/stamina/ref/MaxStaminaTableMasterRef.js.map +1 -0
- package/stamina/ref/MaxStaminaTableMasterRef.ts +47 -0
- package/stamina/ref/MaxStaminaTableRef.d.ts +6 -0
- package/stamina/ref/MaxStaminaTableRef.js +38 -0
- package/stamina/ref/MaxStaminaTableRef.js.map +1 -0
- package/stamina/ref/MaxStaminaTableRef.ts +47 -0
- package/stamina/ref/NamespaceRef.d.ts +23 -0
- package/stamina/ref/NamespaceRef.js +72 -0
- package/stamina/ref/NamespaceRef.js.map +1 -0
- package/stamina/ref/NamespaceRef.ts +130 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.d.ts +6 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.js +38 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.js.map +1 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.ts +47 -0
- package/stamina/ref/RecoverIntervalTableRef.d.ts +6 -0
- package/stamina/ref/RecoverIntervalTableRef.js +38 -0
- package/stamina/ref/RecoverIntervalTableRef.js.map +1 -0
- package/stamina/ref/RecoverIntervalTableRef.ts +47 -0
- package/stamina/ref/RecoverValueTableMasterRef.d.ts +6 -0
- package/stamina/ref/RecoverValueTableMasterRef.js +38 -0
- package/stamina/ref/RecoverValueTableMasterRef.js.map +1 -0
- package/stamina/ref/RecoverValueTableMasterRef.ts +47 -0
- package/stamina/ref/RecoverValueTableRef.d.ts +6 -0
- package/stamina/ref/RecoverValueTableRef.js +38 -0
- package/stamina/ref/RecoverValueTableRef.js.map +1 -0
- package/stamina/ref/RecoverValueTableRef.ts +47 -0
- package/stamina/ref/StaminaModelMasterRef.d.ts +6 -0
- package/stamina/ref/StaminaModelMasterRef.js +38 -0
- package/stamina/ref/StaminaModelMasterRef.js.map +1 -0
- package/stamina/ref/StaminaModelMasterRef.ts +47 -0
- package/stamina/ref/StaminaModelRef.d.ts +18 -0
- package/stamina/ref/StaminaModelRef.js +63 -0
- package/stamina/ref/StaminaModelRef.js.map +1 -0
- package/stamina/ref/StaminaModelRef.ts +125 -0
- package/stamina/ref/index.d.ts +11 -0
- package/stamina/ref/index.js +40 -0
- package/stamina/ref/index.js.map +1 -0
- package/stamina/ref/index.ts +38 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.d.ts +4 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.js +38 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.js.map +1 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.ts +45 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.js +38 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.ts +45 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.d.ts +4 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.js +38 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.js.map +1 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.ts +45 -0
- package/stamina/stampSheet/SetMaxValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetMaxValueByUserId.js +38 -0
- package/stamina/stampSheet/SetMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/SetMaxValueByUserId.ts +45 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.js +38 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.js.map +1 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.ts +45 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.js +38 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.js.map +1 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.ts +45 -0
- package/stamina/stampSheet/index.d.ts +2 -0
- package/stamina/stampSheet/index.js +22 -0
- package/stamina/stampSheet/index.js.map +1 -0
- package/stamina/stampSheet/index.ts +20 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import {CdkResource, Stack} from "../../core/model";
|
|
20
|
+
import {GetAttr} from "../../core/func";
|
|
21
|
+
|
|
22
|
+
import PasswordRef from "../ref/PasswordRef";
|
|
23
|
+
|
|
24
|
+
export default class Password extends CdkResource {
|
|
25
|
+
|
|
26
|
+
private stack: Stack;
|
|
27
|
+
private readonly userName: string;
|
|
28
|
+
private readonly password: string;
|
|
29
|
+
|
|
30
|
+
public constructor(
|
|
31
|
+
stack: Stack,
|
|
32
|
+
userName: string,
|
|
33
|
+
password: string,
|
|
34
|
+
) {
|
|
35
|
+
super("Identifier_Password_" + name);
|
|
36
|
+
|
|
37
|
+
this.stack = stack;
|
|
38
|
+
this.userName = userName;
|
|
39
|
+
this.password = password;
|
|
40
|
+
|
|
41
|
+
stack.addResource(this);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public resourceType(): string {
|
|
45
|
+
return "GS2::Identifier::Password";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public properties(): {[name: string]: any} {
|
|
49
|
+
let properties: {[name: string]: any} = {};
|
|
50
|
+
if (this.userName != null) {
|
|
51
|
+
properties["UserName"] = this.userName;
|
|
52
|
+
}
|
|
53
|
+
if (this.password != null) {
|
|
54
|
+
properties["Password"] = this.password;
|
|
55
|
+
}
|
|
56
|
+
return properties;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public ref(
|
|
60
|
+
userName: string,
|
|
61
|
+
): PasswordRef {
|
|
62
|
+
return new PasswordRef(
|
|
63
|
+
userName,
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public getAttrUserId(): GetAttr {
|
|
68
|
+
return new GetAttr(
|
|
69
|
+
null,
|
|
70
|
+
null,
|
|
71
|
+
"Item.UserId"
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
class Policy {
|
|
19
|
+
constructor(statements) {
|
|
20
|
+
this.version = "2016-04-01";
|
|
21
|
+
this.statements = statements;
|
|
22
|
+
}
|
|
23
|
+
properties() {
|
|
24
|
+
return {
|
|
25
|
+
"Version": this.version,
|
|
26
|
+
"Statements": this.statements.map(v => v.properties()),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.default = Policy;
|
|
31
|
+
//# sourceMappingURL=Policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Policy.js","sourceRoot":"","sources":["Policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,MAAM;IAIvB,YACI,UAAuB;QAJnB,YAAO,GAAW,YAAY,CAAC;QAMnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAEM,UAAU;QACb,OAAO;YACH,SAAS,EAAE,IAAI,CAAC,OAAO;YACvB,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;SACzD,CAAC;IACN,CAAC;CAEJ;AAjBD,yBAiBC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import Statement from "./Statement";
|
|
18
|
+
|
|
19
|
+
export default class Policy {
|
|
20
|
+
private version: string = "2016-04-01";
|
|
21
|
+
private statements: Statement[];
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
statements: Statement[]
|
|
25
|
+
) {
|
|
26
|
+
this.statements = statements;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public properties(): {[name: string]: any} {
|
|
30
|
+
return {
|
|
31
|
+
"Version": this.version,
|
|
32
|
+
"Statements": this.statements.map(v => v.properties()),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
class ProjectToken {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
var _a;
|
|
21
|
+
this.token = null;
|
|
22
|
+
this.token = (_a = options === null || options === void 0 ? void 0 : options.token) !== null && _a !== void 0 ? _a : null;
|
|
23
|
+
}
|
|
24
|
+
properties() {
|
|
25
|
+
let properties = {};
|
|
26
|
+
if (this.token != null) {
|
|
27
|
+
properties["Token"] = this.token;
|
|
28
|
+
}
|
|
29
|
+
return properties;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.default = ProjectToken;
|
|
33
|
+
//# sourceMappingURL=ProjectToken.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectToken.js","sourceRoot":"","sources":["ProjectToken.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH,MAAqB,YAAY;IAG7B,YACQ,OAA6B;;QAHpB,UAAK,GAAgB,IAAI,CAAC;QAKvC,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;IACxC,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAhBD,+BAgBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
export interface ProjectTokenOptions {
|
|
18
|
+
token?: string|null|undefined;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default class ProjectToken {
|
|
22
|
+
private readonly token: string|null = null;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
options?: ProjectTokenOptions,
|
|
26
|
+
) {
|
|
27
|
+
this.token = options?.token ?? null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public properties(): {[name: string]: any} {
|
|
31
|
+
let properties: {[name: string]: any} = {};
|
|
32
|
+
if (this.token != null) {
|
|
33
|
+
properties["Token"] = this.token;
|
|
34
|
+
}
|
|
35
|
+
return properties;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import Policy from "../model/Policy";
|
|
2
|
+
import SecurityPolicyRef from "../ref/SecurityPolicyRef";
|
|
3
|
+
import { CdkResource, Stack } from "../../core/model";
|
|
4
|
+
import { GetAttr } from "../../core/func";
|
|
5
|
+
export default class SecurityPolicy extends CdkResource {
|
|
6
|
+
private stack;
|
|
7
|
+
private readonly name;
|
|
8
|
+
private readonly description;
|
|
9
|
+
private readonly policy;
|
|
10
|
+
constructor(stack: Stack, name: string, policy: Policy);
|
|
11
|
+
resourceType(): string;
|
|
12
|
+
properties(): {
|
|
13
|
+
[name: string]: any;
|
|
14
|
+
};
|
|
15
|
+
ref(): SecurityPolicyRef;
|
|
16
|
+
getAttrSecurityPolicyId(): GetAttr;
|
|
17
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*
|
|
17
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const tslib_1 = require("tslib");
|
|
21
|
+
const SecurityPolicyRef_1 = tslib_1.__importDefault(require("../ref/SecurityPolicyRef"));
|
|
22
|
+
const model_1 = require("../../core/model");
|
|
23
|
+
const func_1 = require("../../core/func");
|
|
24
|
+
class SecurityPolicy extends model_1.CdkResource {
|
|
25
|
+
constructor(stack, name, policy) {
|
|
26
|
+
super("Identifier_SecurityPolicy_" + name);
|
|
27
|
+
this.description = null;
|
|
28
|
+
this.stack = stack;
|
|
29
|
+
this.name = name;
|
|
30
|
+
this.policy = policy;
|
|
31
|
+
stack.addResource(this);
|
|
32
|
+
}
|
|
33
|
+
resourceType() {
|
|
34
|
+
return "GS2::Identifier::SecurityPolicy";
|
|
35
|
+
}
|
|
36
|
+
properties() {
|
|
37
|
+
let properties = {};
|
|
38
|
+
if (this.name != null) {
|
|
39
|
+
properties["Name"] = this.name;
|
|
40
|
+
}
|
|
41
|
+
if (this.description != null) {
|
|
42
|
+
properties["Description"] = this.description;
|
|
43
|
+
}
|
|
44
|
+
if (this.policy != null) {
|
|
45
|
+
properties["Policy"] = this.policy.properties();
|
|
46
|
+
}
|
|
47
|
+
return properties;
|
|
48
|
+
}
|
|
49
|
+
ref() {
|
|
50
|
+
return new SecurityPolicyRef_1.default(this.name);
|
|
51
|
+
}
|
|
52
|
+
getAttrSecurityPolicyId() {
|
|
53
|
+
return new func_1.GetAttr(null, null, "Item.SecurityPolicyId");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.default = SecurityPolicy;
|
|
57
|
+
//# sourceMappingURL=SecurityPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecurityPolicy.js","sourceRoot":"","sources":["SecurityPolicy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAGH,yFAAyD;AACzD,4CAAoD;AACpD,0CAAwC;AAExC,MAAqB,cAAe,SAAQ,mBAAW;IAOnD,YACI,KAAY,EACZ,IAAY,EACZ,MAAc;QAEd,KAAK,CAAC,4BAA4B,GAAG,IAAI,CAAC,CAAC;QAR9B,gBAAW,GAAgB,IAAI,CAAC;QAU7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,YAAY;QACf,OAAO,iCAAiC,CAAC;IAC7C,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,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,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;SACnD;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,2BAAiB,CACxB,IAAI,CAAC,IAAI,CACZ,CAAC;IACN,CAAC;IAEM,uBAAuB;QAC1B,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,IAAI,EACJ,uBAAuB,CAC1B,CAAC;IACN,CAAC;CACJ;AArDD,iCAqDC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import Policy from "../model/Policy";
|
|
20
|
+
import SecurityPolicyRef from "../ref/SecurityPolicyRef";
|
|
21
|
+
import {CdkResource, Stack} from "../../core/model";
|
|
22
|
+
import {GetAttr} from "../../core/func";
|
|
23
|
+
|
|
24
|
+
export default class SecurityPolicy extends CdkResource {
|
|
25
|
+
|
|
26
|
+
private stack: Stack;
|
|
27
|
+
private readonly name: string;
|
|
28
|
+
private readonly description: string|null = null;
|
|
29
|
+
private readonly policy: Policy;
|
|
30
|
+
|
|
31
|
+
public constructor(
|
|
32
|
+
stack: Stack,
|
|
33
|
+
name: string,
|
|
34
|
+
policy: Policy,
|
|
35
|
+
) {
|
|
36
|
+
super("Identifier_SecurityPolicy_" + name);
|
|
37
|
+
|
|
38
|
+
this.stack = stack;
|
|
39
|
+
this.name = name;
|
|
40
|
+
this.policy = policy;
|
|
41
|
+
|
|
42
|
+
stack.addResource(this);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public resourceType(): string {
|
|
46
|
+
return "GS2::Identifier::SecurityPolicy";
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public properties(): {[name: string]: any} {
|
|
50
|
+
let properties: {[name: string]: any} = {};
|
|
51
|
+
if (this.name != null) {
|
|
52
|
+
properties["Name"] = this.name;
|
|
53
|
+
}
|
|
54
|
+
if (this.description != null) {
|
|
55
|
+
properties["Description"] = this.description;
|
|
56
|
+
}
|
|
57
|
+
if (this.policy != null) {
|
|
58
|
+
properties["Policy"] = this.policy.properties();
|
|
59
|
+
}
|
|
60
|
+
return properties;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public ref(
|
|
64
|
+
): SecurityPolicyRef {
|
|
65
|
+
return new SecurityPolicyRef(
|
|
66
|
+
this.name,
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getAttrSecurityPolicyId(): GetAttr {
|
|
71
|
+
return new GetAttr(
|
|
72
|
+
null,
|
|
73
|
+
null,
|
|
74
|
+
"Item.SecurityPolicyId"
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default class Statement {
|
|
2
|
+
private effect;
|
|
3
|
+
private actions;
|
|
4
|
+
constructor(effect: string, actions: string[]);
|
|
5
|
+
static allow(actions: string[]): Statement;
|
|
6
|
+
static allowAll(): Statement;
|
|
7
|
+
static deny(actions: string[]): Statement;
|
|
8
|
+
static denyAll(): Statement;
|
|
9
|
+
action(action: string): Statement;
|
|
10
|
+
properties(): {
|
|
11
|
+
[name: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
class Statement {
|
|
19
|
+
constructor(effect, actions) {
|
|
20
|
+
this.effect = effect;
|
|
21
|
+
this.actions = actions;
|
|
22
|
+
}
|
|
23
|
+
static allow(actions) {
|
|
24
|
+
return new Statement("Allow", actions);
|
|
25
|
+
}
|
|
26
|
+
static allowAll() {
|
|
27
|
+
return new Statement("Allow", ["*"]);
|
|
28
|
+
}
|
|
29
|
+
static deny(actions) {
|
|
30
|
+
return new Statement("Deny", actions);
|
|
31
|
+
}
|
|
32
|
+
static denyAll() {
|
|
33
|
+
return new Statement("Deny", ["*"]);
|
|
34
|
+
}
|
|
35
|
+
action(action) {
|
|
36
|
+
this.actions.push(action);
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
properties() {
|
|
40
|
+
return {
|
|
41
|
+
"Effect": this.effect,
|
|
42
|
+
"Actions": this.actions,
|
|
43
|
+
"Resources": ["*"],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.default = Statement;
|
|
48
|
+
//# sourceMappingURL=Statement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Statement.js","sourceRoot":"","sources":["Statement.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,SAAS;IAK1B,YACI,MAAc,EACd,OAAiB;QAEjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAEM,MAAM,CAAC,KAAK,CACf,OAAiB;QAEjB,OAAQ,IAAI,SAAS,CACjB,OAAO,EACP,OAAO,CACV,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,QAAQ;QAClB,OAAQ,IAAI,SAAS,CACjB,OAAO,EACP,CAAC,GAAG,CAAC,CACR,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CACd,OAAiB;QAEjB,OAAQ,IAAI,SAAS,CACjB,MAAM,EACN,OAAO,CACV,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,OAAO;QACjB,OAAQ,IAAI,SAAS,CACjB,MAAM,EACN,CAAC,GAAG,CAAC,CACR,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,MAAc;QACxB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,UAAU;QACb,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,MAAM;YACrB,SAAS,EAAE,IAAI,CAAC,OAAO;YACvB,WAAW,EAAE,CAAC,GAAG,CAAC;SACrB,CAAC;IACN,CAAC;CACJ;AAzDD,4BAyDC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
export default class Statement {
|
|
18
|
+
|
|
19
|
+
private effect: string;
|
|
20
|
+
private actions: string[];
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
effect: string,
|
|
24
|
+
actions: string[]
|
|
25
|
+
) {
|
|
26
|
+
this.effect = effect;
|
|
27
|
+
this.actions = actions;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public static allow(
|
|
31
|
+
actions: string[]
|
|
32
|
+
): Statement {
|
|
33
|
+
return new Statement(
|
|
34
|
+
"Allow",
|
|
35
|
+
actions,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public static allowAll(): Statement {
|
|
40
|
+
return new Statement(
|
|
41
|
+
"Allow",
|
|
42
|
+
["*"],
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static deny(
|
|
47
|
+
actions: string[],
|
|
48
|
+
): Statement {
|
|
49
|
+
return new Statement(
|
|
50
|
+
"Deny",
|
|
51
|
+
actions,
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public static denyAll(): Statement {
|
|
56
|
+
return new Statement(
|
|
57
|
+
"Deny",
|
|
58
|
+
["*"],
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public action(action: string): Statement {
|
|
63
|
+
this.actions.push(action);
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public properties(): {[name: string]: any} {
|
|
68
|
+
return {
|
|
69
|
+
"Effect": this.effect,
|
|
70
|
+
"Actions": this.actions,
|
|
71
|
+
"Resources": ["*"],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import core from "../../core";
|
|
2
|
+
import { Stack } from "../../core/model";
|
|
3
|
+
import { GetAttr } from "../../core/func";
|
|
4
|
+
import UserRef from "../ref/UserRef";
|
|
5
|
+
import Identifier from "./Identifier";
|
|
6
|
+
import SecurityPolicy from "./SecurityPolicy";
|
|
7
|
+
export default class User extends core.CdkResource {
|
|
8
|
+
private stack;
|
|
9
|
+
private readonly name;
|
|
10
|
+
private readonly description;
|
|
11
|
+
constructor(stack: Stack, name: string);
|
|
12
|
+
resourceType(): string;
|
|
13
|
+
properties(): {
|
|
14
|
+
[name: string]: any;
|
|
15
|
+
};
|
|
16
|
+
ref(): UserRef;
|
|
17
|
+
attach(securityPolicy: SecurityPolicy): User;
|
|
18
|
+
identifier(): Identifier;
|
|
19
|
+
getAttrUserId(): GetAttr;
|
|
20
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*
|
|
17
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const tslib_1 = require("tslib");
|
|
21
|
+
const core_1 = tslib_1.__importDefault(require("../../core"));
|
|
22
|
+
const func_1 = require("../../core/func");
|
|
23
|
+
const UserRef_1 = tslib_1.__importDefault(require("../ref/UserRef"));
|
|
24
|
+
const Identifier_1 = tslib_1.__importDefault(require("./Identifier"));
|
|
25
|
+
const AttachSecurityPolicy_1 = tslib_1.__importDefault(require("./AttachSecurityPolicy"));
|
|
26
|
+
class User extends core_1.default.CdkResource {
|
|
27
|
+
constructor(stack, name) {
|
|
28
|
+
super("Identifier_User_" + name);
|
|
29
|
+
this.description = null;
|
|
30
|
+
this.stack = stack;
|
|
31
|
+
this.name = name;
|
|
32
|
+
stack.addResource(this);
|
|
33
|
+
}
|
|
34
|
+
resourceType() {
|
|
35
|
+
return "GS2::Identifier::User";
|
|
36
|
+
}
|
|
37
|
+
properties() {
|
|
38
|
+
let properties = {};
|
|
39
|
+
if (this.name != null) {
|
|
40
|
+
properties["Name"] = this.name;
|
|
41
|
+
}
|
|
42
|
+
if (this.description != null) {
|
|
43
|
+
properties["Description"] = this.description;
|
|
44
|
+
}
|
|
45
|
+
return properties;
|
|
46
|
+
}
|
|
47
|
+
ref() {
|
|
48
|
+
return new UserRef_1.default(this.name);
|
|
49
|
+
}
|
|
50
|
+
attach(securityPolicy) {
|
|
51
|
+
new AttachSecurityPolicy_1.default(this.stack, this.name, securityPolicy.getAttrSecurityPolicyId().str()).addDependsOn(this).addDependsOn(securityPolicy);
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
identifier() {
|
|
55
|
+
let identifier = new Identifier_1.default(this.stack, this.name);
|
|
56
|
+
identifier.addDependsOn(this);
|
|
57
|
+
return identifier;
|
|
58
|
+
}
|
|
59
|
+
getAttrUserId() {
|
|
60
|
+
return new func_1.GetAttr(null, null, "Item.UserId");
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.default = User;
|
|
64
|
+
//# sourceMappingURL=User.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["User.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,8DAA8B;AAE9B,0CAAwC;AAExC,qEAAqC;AAErC,sEAAsC;AACtC,0FAA0D;AAG1D,MAAqB,IAAK,SAAQ,cAAI,CAAC,WAAW;IAM9C,YACI,KAAY,EACZ,IAAY;QAEZ,KAAK,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;QANpB,gBAAW,GAAgB,IAAI,CAAC;QAQ7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAEjB,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,YAAY;QACf,OAAO,uBAAuB,CAAC;IACnC,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,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,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,iBAAO,CACd,IAAI,CAAC,IAAI,CACZ,CAAC;IACN,CAAC;IAEM,MAAM,CACT,cAA8B;QAE9B,IAAI,8BAAoB,CACpB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,cAAc,CAAC,uBAAuB,EAAE,CAAC,GAAG,EAAE,CACjD,CAAC,YAAY,CACV,IAAI,CACP,CAAC,YAAY,CACV,cAAc,CACjB,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAAG,IAAI,oBAAU,CAC3B,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,CACZ,CAAC;QACF,UAAU,CAAC,YAAY,CACnB,IAAI,CACP,CAAC;QACF,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,aAAa;QAChB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,IAAI,EACJ,aAAa,CAChB,CAAC;IACN,CAAC;CACJ;AAzED,uBAyEC"}
|