@gradientedge/cdk-utils 8.89.0 → 8.90.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.
Files changed (368) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/lib/common/construct.d.ts +4 -4
  4. package/dist/src/lib/common/construct.js +1 -1
  5. package/dist/src/lib/common/index.d.ts +1 -0
  6. package/dist/src/lib/common/index.js +1 -0
  7. package/dist/src/lib/common/stack.d.ts +1 -1
  8. package/dist/src/lib/common/types.d.ts +22 -0
  9. package/dist/src/lib/common/types.js +2 -0
  10. package/dist/src/lib/{helper/api-to-eventbridge-target-rest-api.d.ts → construct/api-to-eventbridge-target/api.d.ts} +2 -2
  11. package/dist/src/lib/{helper/api-to-eventbridge-target-event.d.ts → construct/api-to-eventbridge-target/event.d.ts} +2 -2
  12. package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts +3 -0
  13. package/dist/src/lib/construct/api-to-eventbridge-target/index.js +3 -0
  14. package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +5 -5
  15. package/dist/src/lib/construct/api-to-eventbridge-target/main.js +4 -3
  16. package/dist/src/lib/construct/api-to-eventbridge-target/types.d.ts +112 -0
  17. package/dist/src/lib/construct/api-to-eventbridge-target/types.js +2 -0
  18. package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.d.ts +3 -3
  19. package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/index.d.ts +1 -0
  20. package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/index.js +1 -0
  21. package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/main.d.ts +7 -6
  22. package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/main.js +3 -3
  23. package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/types.d.ts +26 -0
  24. package/dist/src/lib/construct/api-to-eventbridge-target-with-sns/types.js +2 -0
  25. package/dist/src/lib/{helper/api-to-lambda-target-rest-api.d.ts → construct/api-to-lambda-target/api.d.ts} +2 -2
  26. package/dist/src/lib/construct/api-to-lambda-target/index.d.ts +2 -0
  27. package/dist/src/lib/construct/api-to-lambda-target/index.js +2 -0
  28. package/dist/src/lib/construct/api-to-lambda-target/main.d.ts +4 -4
  29. package/dist/src/lib/construct/api-to-lambda-target/main.js +2 -2
  30. package/dist/src/lib/construct/api-to-lambda-target/types.d.ts +68 -0
  31. package/dist/src/lib/construct/api-to-lambda-target/types.js +2 -0
  32. package/dist/src/lib/construct/graphql-api-lambda/index.d.ts +1 -0
  33. package/dist/src/lib/construct/graphql-api-lambda/index.js +1 -0
  34. package/dist/src/lib/construct/graphql-api-lambda/main.d.ts +1 -1
  35. package/dist/src/lib/construct/graphql-api-lambda/types.d.ts +30 -0
  36. package/dist/src/lib/construct/graphql-api-lambda/types.js +2 -0
  37. package/dist/src/lib/construct/graphql-api-lambda-with-cache/index.d.ts +1 -0
  38. package/dist/src/lib/construct/graphql-api-lambda-with-cache/index.js +1 -0
  39. package/dist/src/lib/construct/graphql-api-lambda-with-cache/main.d.ts +1 -1
  40. package/dist/src/lib/construct/graphql-api-lambda-with-cache/types.d.ts +15 -0
  41. package/dist/src/lib/construct/graphql-api-lambda-with-cache/types.js +2 -0
  42. package/dist/src/lib/construct/lambda-with-iam-access/types.d.ts +2 -1
  43. package/dist/src/lib/construct/rest-api-lambda/index.d.ts +1 -0
  44. package/dist/src/lib/construct/rest-api-lambda/index.js +1 -0
  45. package/dist/src/lib/construct/rest-api-lambda/main.d.ts +1 -1
  46. package/dist/src/lib/construct/rest-api-lambda/types.d.ts +28 -0
  47. package/dist/src/lib/construct/rest-api-lambda/types.js +2 -0
  48. package/dist/src/lib/construct/rest-api-lambda-with-cache/index.d.ts +1 -0
  49. package/dist/src/lib/construct/rest-api-lambda-with-cache/index.js +1 -0
  50. package/dist/src/lib/construct/rest-api-lambda-with-cache/main.d.ts +1 -1
  51. package/dist/src/lib/construct/rest-api-lambda-with-cache/types.d.ts +14 -0
  52. package/dist/src/lib/construct/rest-api-lambda-with-cache/types.js +2 -0
  53. package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts +1 -0
  54. package/dist/src/lib/construct/site-with-ecs-backend/index.js +1 -0
  55. package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts +1 -1
  56. package/dist/src/lib/construct/site-with-ecs-backend/types.d.ts +30 -0
  57. package/dist/src/lib/construct/site-with-ecs-backend/types.js +2 -0
  58. package/dist/src/lib/construct/static-asset-deployment/types.d.ts +2 -1
  59. package/dist/src/lib/construct/static-site/index.d.ts +1 -0
  60. package/dist/src/lib/construct/static-site/index.js +1 -0
  61. package/dist/src/lib/construct/static-site/main.d.ts +1 -1
  62. package/dist/src/lib/construct/static-site/types.d.ts +26 -0
  63. package/dist/src/lib/construct/static-site/types.js +2 -0
  64. package/dist/src/lib/index.d.ts +5 -0
  65. package/dist/src/lib/index.js +21 -0
  66. package/dist/src/lib/services/aws/api-gateway/index.d.ts +2 -0
  67. package/dist/src/lib/{helper → services/aws/api-gateway}/index.js +2 -3
  68. package/dist/src/lib/{manager/aws/api-manager.d.ts → services/aws/api-gateway/main.d.ts} +14 -14
  69. package/dist/src/lib/{manager/aws/api-manager.js → services/aws/api-gateway/main.js} +13 -10
  70. package/dist/src/lib/services/aws/api-gateway/types.d.ts +9 -0
  71. package/dist/src/lib/services/aws/api-gateway/types.js +2 -0
  72. package/dist/src/lib/services/aws/appconfig/constants.d.ts +18 -0
  73. package/dist/src/lib/services/aws/appconfig/constants.js +60 -0
  74. package/dist/src/lib/services/aws/appconfig/index.d.ts +3 -0
  75. package/dist/src/lib/services/aws/appconfig/index.js +19 -0
  76. package/dist/src/lib/{manager/aws/app-config-manager.d.ts → services/aws/appconfig/main.d.ts} +18 -18
  77. package/dist/src/lib/services/aws/appconfig/main.js +135 -0
  78. package/dist/src/lib/services/aws/appconfig/types.d.ts +13 -0
  79. package/dist/src/lib/services/aws/appconfig/types.js +2 -0
  80. package/dist/src/lib/services/aws/certificate-manager/index.d.ts +2 -0
  81. package/dist/src/lib/services/aws/certificate-manager/index.js +18 -0
  82. package/dist/src/lib/{manager/aws/acm-manager.d.ts → services/aws/certificate-manager/main.d.ts} +7 -7
  83. package/dist/src/lib/{manager/aws/acm-manager.js → services/aws/certificate-manager/main.js} +5 -5
  84. package/dist/src/lib/services/aws/certificate-manager/types.d.ts +13 -0
  85. package/dist/src/lib/services/aws/certificate-manager/types.js +2 -0
  86. package/dist/src/lib/services/aws/cloudfront/index.d.ts +2 -0
  87. package/dist/src/lib/services/aws/cloudfront/index.js +18 -0
  88. package/dist/src/lib/{manager/aws/cloudfront-manager.d.ts → services/aws/cloudfront/main.d.ts} +24 -23
  89. package/dist/src/lib/{manager/aws/cloudfront-manager.js → services/aws/cloudfront/main.js} +16 -16
  90. package/dist/src/lib/services/aws/cloudfront/types.d.ts +25 -0
  91. package/dist/src/lib/services/aws/cloudfront/types.js +2 -0
  92. package/dist/src/lib/services/aws/cloudtrail/index.d.ts +2 -0
  93. package/dist/src/lib/services/aws/cloudtrail/index.js +18 -0
  94. package/dist/src/lib/{manager/aws/cloudtrail-manager.d.ts → services/aws/cloudtrail/main.d.ts} +9 -9
  95. package/dist/src/lib/{manager/aws/cloudtrail-manager.js → services/aws/cloudtrail/main.js} +7 -7
  96. package/dist/src/lib/services/aws/cloudtrail/types.d.ts +7 -0
  97. package/dist/src/lib/services/aws/cloudtrail/types.js +2 -0
  98. package/dist/src/lib/services/aws/cloudwatch/index.d.ts +3 -0
  99. package/dist/src/lib/services/aws/cloudwatch/index.js +19 -0
  100. package/dist/src/lib/{manager/aws/log-manager.d.ts → services/aws/cloudwatch/logs.d.ts} +15 -15
  101. package/dist/src/lib/{manager/aws/log-manager.js → services/aws/cloudwatch/logs.js} +11 -11
  102. package/dist/src/lib/services/aws/cloudwatch/main.d.ts +211 -0
  103. package/dist/src/lib/{manager/aws/cloudwatch-manager.js → services/aws/cloudwatch/main.js} +48 -48
  104. package/dist/src/lib/services/aws/cloudwatch/types.d.ts +111 -0
  105. package/dist/src/lib/services/aws/cloudwatch/types.js +2 -0
  106. package/dist/src/lib/services/aws/codebuild/index.d.ts +1 -0
  107. package/dist/src/lib/services/aws/codebuild/index.js +17 -0
  108. package/dist/src/lib/{manager/aws/codebuild-manager.d.ts → services/aws/codebuild/main.d.ts} +7 -7
  109. package/dist/src/lib/{manager/aws/codebuild-manager.js → services/aws/codebuild/main.js} +4 -4
  110. package/dist/src/lib/services/aws/dynamodb/index.d.ts +2 -0
  111. package/dist/src/lib/services/aws/dynamodb/index.js +18 -0
  112. package/dist/src/lib/{manager/aws/dynamodb-manager.d.ts → services/aws/dynamodb/main.d.ts} +7 -7
  113. package/dist/src/lib/{manager/aws/dynamodb-manager.js → services/aws/dynamodb/main.js} +5 -5
  114. package/dist/src/lib/services/aws/dynamodb/types.d.ts +9 -0
  115. package/dist/src/lib/services/aws/dynamodb/types.js +2 -0
  116. package/dist/src/lib/services/aws/elastic-container-registry/index.d.ts +1 -0
  117. package/dist/src/lib/services/aws/elastic-container-registry/index.js +17 -0
  118. package/dist/src/lib/{manager/aws/ecr-manager.d.ts → services/aws/elastic-container-registry/main.d.ts} +7 -7
  119. package/dist/src/lib/{manager/aws/ecr-manager.js → services/aws/elastic-container-registry/main.js} +6 -6
  120. package/dist/src/lib/services/aws/elastic-container-service/index.d.ts +2 -0
  121. package/dist/src/lib/services/aws/elastic-container-service/index.js +18 -0
  122. package/dist/src/lib/{manager/aws/ecs-manager.d.ts → services/aws/elastic-container-service/main.d.ts} +15 -15
  123. package/dist/src/lib/{manager/aws/ecs-manager.js → services/aws/elastic-container-service/main.js} +11 -11
  124. package/dist/src/lib/services/aws/elastic-container-service/types.d.ts +46 -0
  125. package/dist/src/lib/services/aws/elastic-container-service/types.js +2 -0
  126. package/dist/src/lib/services/aws/elastic-file-system/index.d.ts +2 -0
  127. package/dist/src/lib/services/aws/elastic-file-system/index.js +18 -0
  128. package/dist/src/lib/{manager/aws/efs-manager.d.ts → services/aws/elastic-file-system/main.d.ts} +10 -10
  129. package/dist/src/lib/{manager/aws/efs-manager.js → services/aws/elastic-file-system/main.js} +8 -8
  130. package/dist/src/lib/services/aws/elastic-file-system/types.d.ts +19 -0
  131. package/dist/src/lib/services/aws/elastic-file-system/types.js +2 -0
  132. package/dist/src/lib/services/aws/elastic-kubernetes-service/index.d.ts +2 -0
  133. package/dist/src/lib/services/aws/elastic-kubernetes-service/index.js +18 -0
  134. package/dist/src/lib/{manager/aws/eks-manager.d.ts → services/aws/elastic-kubernetes-service/main.d.ts} +9 -9
  135. package/dist/src/lib/{manager/aws/eks-manager.js → services/aws/elastic-kubernetes-service/main.js} +7 -7
  136. package/dist/src/lib/services/aws/elastic-kubernetes-service/types.d.ts +9 -0
  137. package/dist/src/lib/services/aws/elastic-kubernetes-service/types.js +2 -0
  138. package/dist/src/lib/services/aws/elasticache/index.d.ts +2 -0
  139. package/dist/src/lib/services/aws/elasticache/index.js +18 -0
  140. package/dist/src/lib/services/aws/elasticache/main.d.ts +51 -0
  141. package/dist/src/lib/{manager/aws/elasticache-manager.js → services/aws/elasticache/main.js} +11 -12
  142. package/dist/src/lib/services/aws/elasticache/types.d.ts +13 -0
  143. package/dist/src/lib/services/aws/elasticache/types.js +2 -0
  144. package/dist/src/lib/services/aws/eventbridge/index.d.ts +3 -0
  145. package/dist/src/lib/services/aws/eventbridge/index.js +19 -0
  146. package/dist/src/lib/{manager/aws/event-manager.d.ts → services/aws/eventbridge/main.d.ts} +20 -20
  147. package/dist/src/lib/{manager/aws/event-manager.js → services/aws/eventbridge/main.js} +21 -15
  148. package/dist/src/lib/{manager/aws/event-target-manager.d.ts → services/aws/eventbridge/target.d.ts} +7 -7
  149. package/dist/src/lib/{manager/aws/event-target-manager.js → services/aws/eventbridge/target.js} +5 -5
  150. package/dist/src/lib/services/aws/eventbridge/types.d.ts +35 -0
  151. package/dist/src/lib/services/aws/eventbridge/types.js +2 -0
  152. package/dist/src/lib/services/aws/evidently/index.d.ts +2 -0
  153. package/dist/src/lib/services/aws/evidently/index.js +18 -0
  154. package/dist/src/lib/{manager/aws/evidently-manager.d.ts → services/aws/evidently/main.d.ts} +16 -16
  155. package/dist/src/lib/{manager/aws/evidently-manager.js → services/aws/evidently/main.js} +10 -10
  156. package/dist/src/lib/services/aws/evidently/types.d.ts +31 -0
  157. package/dist/src/lib/services/aws/evidently/types.js +2 -0
  158. package/dist/src/lib/services/aws/identity-access-management/index.d.ts +1 -0
  159. package/dist/src/lib/services/aws/identity-access-management/index.js +17 -0
  160. package/dist/src/lib/{manager/aws/iam-manager.d.ts → services/aws/identity-access-management/main.d.ts} +39 -40
  161. package/dist/src/lib/{manager/aws/iam-manager.js → services/aws/identity-access-management/main.js} +22 -23
  162. package/dist/src/lib/services/aws/index.d.ts +28 -0
  163. package/dist/src/lib/services/aws/index.js +44 -0
  164. package/dist/src/lib/services/aws/key-management-service/index.d.ts +2 -0
  165. package/dist/src/lib/services/aws/key-management-service/index.js +18 -0
  166. package/dist/src/lib/{manager/aws/kms-manager.d.ts → services/aws/key-management-service/main.d.ts} +7 -7
  167. package/dist/src/lib/{manager/aws/kms-manager.js → services/aws/key-management-service/main.js} +5 -5
  168. package/dist/src/lib/services/aws/key-management-service/types.d.ts +7 -0
  169. package/dist/src/lib/services/aws/key-management-service/types.js +2 -0
  170. package/dist/src/lib/services/aws/lambda/index.d.ts +2 -0
  171. package/dist/src/lib/services/aws/lambda/index.js +18 -0
  172. package/dist/src/lib/{manager/aws/lambda-manager.d.ts → services/aws/lambda/main.d.ts} +22 -21
  173. package/dist/src/lib/{manager/aws/lambda-manager.js → services/aws/lambda/main.js} +21 -21
  174. package/dist/src/lib/services/aws/lambda/types.d.ts +52 -0
  175. package/dist/src/lib/services/aws/lambda/types.js +2 -0
  176. package/dist/src/lib/services/aws/route53/index.d.ts +2 -0
  177. package/dist/src/lib/services/aws/route53/index.js +18 -0
  178. package/dist/src/lib/{manager/aws/route53-manager.d.ts → services/aws/route53/main.d.ts} +17 -17
  179. package/dist/src/lib/{manager/aws/route53-manager.js → services/aws/route53/main.js} +11 -11
  180. package/dist/src/lib/services/aws/route53/types.d.ts +8 -0
  181. package/dist/src/lib/services/aws/route53/types.js +2 -0
  182. package/dist/src/lib/services/aws/secrets-manager/index.d.ts +1 -0
  183. package/dist/src/lib/services/aws/secrets-manager/index.js +17 -0
  184. package/dist/src/lib/{manager/aws/secrets-manager.d.ts → services/aws/secrets-manager/main.d.ts} +8 -8
  185. package/dist/src/lib/{manager/aws/secrets-manager.js → services/aws/secrets-manager/main.js} +6 -6
  186. package/dist/src/lib/services/aws/simple-notification-service/index.d.ts +2 -0
  187. package/dist/src/lib/services/aws/simple-notification-service/index.js +18 -0
  188. package/dist/src/lib/{manager/aws/sns-manager.d.ts → services/aws/simple-notification-service/main.d.ts} +13 -13
  189. package/dist/src/lib/{manager/aws/sns-manager.js → services/aws/simple-notification-service/main.js} +10 -10
  190. package/dist/src/lib/services/aws/simple-notification-service/types.d.ts +7 -0
  191. package/dist/src/lib/services/aws/simple-notification-service/types.js +2 -0
  192. package/dist/src/lib/services/aws/simple-queue-service/index.d.ts +2 -0
  193. package/dist/src/lib/services/aws/simple-queue-service/index.js +18 -0
  194. package/dist/src/lib/services/aws/simple-queue-service/main.d.ts +50 -0
  195. package/dist/src/lib/{manager/aws/sqs-manager.js → services/aws/simple-queue-service/main.js} +11 -11
  196. package/dist/src/lib/services/aws/simple-queue-service/types.d.ts +17 -0
  197. package/dist/src/lib/services/aws/simple-queue-service/types.js +2 -0
  198. package/dist/src/lib/services/aws/simple-storage-service/index.d.ts +2 -0
  199. package/dist/src/lib/services/aws/simple-storage-service/index.js +18 -0
  200. package/dist/src/lib/{manager/aws/s3-manager.d.ts → services/aws/simple-storage-service/main.d.ts} +23 -23
  201. package/dist/src/lib/{manager/aws/s3-manager.js → services/aws/simple-storage-service/main.js} +15 -16
  202. package/dist/src/lib/services/aws/simple-storage-service/types.d.ts +31 -0
  203. package/dist/src/lib/services/aws/simple-storage-service/types.js +2 -0
  204. package/dist/src/lib/services/aws/step-function/index.d.ts +2 -0
  205. package/dist/src/lib/services/aws/step-function/index.js +18 -0
  206. package/dist/src/lib/services/aws/step-function/main.d.ts +157 -0
  207. package/dist/src/lib/{manager/aws/sfn-manager.js → services/aws/step-function/main.js} +35 -35
  208. package/dist/src/lib/services/aws/step-function/types.d.ts +120 -0
  209. package/dist/src/lib/services/aws/step-function/types.js +2 -0
  210. package/dist/src/lib/services/aws/systems-manager/index.d.ts +2 -0
  211. package/dist/src/lib/services/aws/systems-manager/index.js +18 -0
  212. package/dist/src/lib/{manager/aws/ssm-manager.d.ts → services/aws/systems-manager/main.d.ts} +13 -13
  213. package/dist/src/lib/{manager/aws/ssm-manager.js → services/aws/systems-manager/main.js} +8 -8
  214. package/dist/src/lib/services/aws/systems-manager/types.d.ts +8 -0
  215. package/dist/src/lib/services/aws/systems-manager/types.js +2 -0
  216. package/dist/src/lib/services/aws/virtual-private-cloud/index.d.ts +1 -0
  217. package/dist/src/lib/services/aws/virtual-private-cloud/index.js +17 -0
  218. package/dist/src/lib/{manager/aws/vpc-manager.d.ts → services/aws/virtual-private-cloud/main.d.ts} +11 -11
  219. package/dist/src/lib/{manager/aws/vpc-manager.js → services/aws/virtual-private-cloud/main.js} +8 -8
  220. package/dist/src/lib/services/aws/web-application-firewall/index.d.ts +1 -0
  221. package/dist/src/lib/services/aws/web-application-firewall/index.js +17 -0
  222. package/dist/src/lib/services/aws/web-application-firewall/main.d.ts +39 -0
  223. package/dist/src/lib/{manager/aws/waf-manager.js → services/aws/web-application-firewall/main.js} +9 -9
  224. package/dist/src/lib/services/aws/web-application-firewall/types.d.ts +13 -0
  225. package/dist/src/lib/services/aws/web-application-firewall/types.js +2 -0
  226. package/dist/src/lib/types/aws/index.d.ts +0 -921
  227. package/index.ts +1 -1
  228. package/package.json +1 -1
  229. package/src/lib/common/construct.ts +4 -4
  230. package/src/lib/common/index.ts +1 -0
  231. package/src/lib/common/stack.ts +1 -1
  232. package/src/lib/common/types.ts +23 -0
  233. package/src/lib/{helper/api-to-eventbridge-target-rest-api.ts → construct/api-to-eventbridge-target/api.ts} +2 -2
  234. package/src/lib/{helper/api-to-eventbridge-target-event.ts → construct/api-to-eventbridge-target/event.ts} +2 -2
  235. package/src/lib/construct/api-to-eventbridge-target/index.ts +3 -0
  236. package/src/lib/construct/api-to-eventbridge-target/main.ts +13 -8
  237. package/src/lib/construct/api-to-eventbridge-target/types.ts +126 -0
  238. package/src/lib/construct/api-to-eventbridge-target-with-sns/api-destined-lambda.ts +3 -3
  239. package/src/lib/construct/api-to-eventbridge-target-with-sns/index.ts +1 -0
  240. package/src/lib/construct/api-to-eventbridge-target-with-sns/main.ts +15 -9
  241. package/src/lib/construct/api-to-eventbridge-target-with-sns/types.ts +28 -0
  242. package/src/lib/{helper/api-to-lambda-target-rest-api.ts → construct/api-to-lambda-target/api.ts} +2 -2
  243. package/src/lib/construct/api-to-lambda-target/index.ts +2 -0
  244. package/src/lib/construct/api-to-lambda-target/main.ts +6 -6
  245. package/src/lib/construct/api-to-lambda-target/types.ts +78 -0
  246. package/src/lib/construct/graphql-api-lambda/index.ts +1 -0
  247. package/src/lib/construct/graphql-api-lambda/main.ts +1 -1
  248. package/src/lib/construct/graphql-api-lambda/types.ts +31 -0
  249. package/src/lib/construct/graphql-api-lambda-with-cache/index.ts +1 -0
  250. package/src/lib/construct/graphql-api-lambda-with-cache/main.ts +1 -1
  251. package/src/lib/construct/graphql-api-lambda-with-cache/types.ts +16 -0
  252. package/src/lib/construct/lambda-with-iam-access/types.ts +2 -1
  253. package/src/lib/construct/rest-api-lambda/index.ts +1 -0
  254. package/src/lib/construct/rest-api-lambda/main.ts +1 -1
  255. package/src/lib/construct/rest-api-lambda/types.ts +29 -0
  256. package/src/lib/construct/rest-api-lambda-with-cache/index.ts +1 -0
  257. package/src/lib/construct/rest-api-lambda-with-cache/main.ts +1 -1
  258. package/src/lib/construct/rest-api-lambda-with-cache/types.ts +15 -0
  259. package/src/lib/construct/site-with-ecs-backend/index.ts +1 -0
  260. package/src/lib/construct/site-with-ecs-backend/main.ts +1 -1
  261. package/src/lib/construct/site-with-ecs-backend/types.ts +42 -0
  262. package/src/lib/construct/static-asset-deployment/types.ts +2 -1
  263. package/src/lib/construct/static-site/index.ts +1 -0
  264. package/src/lib/construct/static-site/main.ts +1 -1
  265. package/src/lib/construct/static-site/types.ts +27 -0
  266. package/src/lib/index.ts +5 -0
  267. package/src/lib/services/aws/api-gateway/index.ts +2 -0
  268. package/src/lib/{manager/aws/api-manager.ts → services/aws/api-gateway/main.ts} +20 -17
  269. package/src/lib/services/aws/api-gateway/types.ts +10 -0
  270. package/src/lib/services/aws/appconfig/constants.ts +58 -0
  271. package/src/lib/services/aws/appconfig/index.ts +3 -0
  272. package/src/lib/services/aws/appconfig/main.ts +130 -0
  273. package/src/lib/services/aws/appconfig/types.ts +20 -0
  274. package/src/lib/services/aws/certificate-manager/index.ts +2 -0
  275. package/src/lib/{manager/aws/acm-manager.ts → services/aws/certificate-manager/main.ts} +9 -9
  276. package/src/lib/services/aws/certificate-manager/types.ts +14 -0
  277. package/src/lib/services/aws/cloudfront/index.ts +2 -0
  278. package/src/lib/{manager/aws/cloudfront-manager.ts → services/aws/cloudfront/main.ts} +29 -29
  279. package/src/lib/services/aws/cloudfront/types.ts +28 -0
  280. package/src/lib/services/aws/cloudtrail/index.ts +2 -0
  281. package/src/lib/{manager/aws/cloudtrail-manager.ts → services/aws/cloudtrail/main.ts} +11 -11
  282. package/src/lib/services/aws/cloudtrail/types.ts +7 -0
  283. package/src/lib/services/aws/cloudwatch/index.ts +3 -0
  284. package/src/lib/{manager/aws/log-manager.ts → services/aws/cloudwatch/logs.ts} +16 -21
  285. package/src/lib/{manager/aws/cloudwatch-manager.ts → services/aws/cloudwatch/main.ts} +86 -112
  286. package/src/lib/services/aws/cloudwatch/types.ts +121 -0
  287. package/src/lib/services/aws/codebuild/index.ts +1 -0
  288. package/src/lib/{manager/aws/codebuild-manager.ts → services/aws/codebuild/main.ts} +7 -7
  289. package/src/lib/services/aws/dynamodb/index.ts +2 -0
  290. package/src/lib/{manager/aws/dynamodb-manager.ts → services/aws/dynamodb/main.ts} +8 -8
  291. package/src/lib/services/aws/dynamodb/types.ts +10 -0
  292. package/src/lib/services/aws/elastic-container-registry/index.ts +1 -0
  293. package/src/lib/{manager/aws/ecr-manager.ts → services/aws/elastic-container-registry/main.ts} +8 -8
  294. package/src/lib/services/aws/elastic-container-service/index.ts +2 -0
  295. package/src/lib/{manager/aws/ecs-manager.ts → services/aws/elastic-container-service/main.ts} +18 -18
  296. package/src/lib/services/aws/elastic-container-service/types.ts +51 -0
  297. package/src/lib/services/aws/elastic-file-system/index.ts +2 -0
  298. package/src/lib/{manager/aws/efs-manager.ts → services/aws/elastic-file-system/main.ts} +13 -13
  299. package/src/lib/services/aws/elastic-file-system/types.ts +20 -0
  300. package/src/lib/services/aws/elastic-kubernetes-service/index.ts +2 -0
  301. package/src/lib/{manager/aws/eks-manager.ts → services/aws/elastic-kubernetes-service/main.ts} +11 -11
  302. package/src/lib/services/aws/elastic-kubernetes-service/types.ts +10 -0
  303. package/src/lib/services/aws/elasticache/index.ts +2 -0
  304. package/src/lib/{manager/aws/elasticache-manager.ts → services/aws/elasticache/main.ts} +18 -20
  305. package/src/lib/services/aws/elasticache/types.ts +13 -0
  306. package/src/lib/services/aws/eventbridge/index.ts +3 -0
  307. package/src/lib/{manager/aws/event-manager.ts → services/aws/eventbridge/main.ts} +32 -26
  308. package/src/lib/{manager/aws/event-target-manager.ts → services/aws/eventbridge/target.ts} +7 -7
  309. package/src/lib/services/aws/eventbridge/types.ts +38 -0
  310. package/src/lib/services/aws/evidently/index.ts +2 -0
  311. package/src/lib/{manager/aws/evidently-manager.ts → services/aws/evidently/main.ts} +23 -18
  312. package/src/lib/services/aws/evidently/types.ts +37 -0
  313. package/src/lib/services/aws/identity-access-management/index.ts +1 -0
  314. package/src/lib/{manager/aws/iam-manager.ts → services/aws/identity-access-management/main.ts} +40 -51
  315. package/src/lib/services/aws/index.ts +28 -0
  316. package/src/lib/services/aws/key-management-service/index.ts +2 -0
  317. package/src/lib/{manager/aws/kms-manager.ts → services/aws/key-management-service/main.ts} +8 -8
  318. package/src/lib/services/aws/key-management-service/types.ts +7 -0
  319. package/src/lib/services/aws/lambda/index.ts +2 -0
  320. package/src/lib/{manager/aws/lambda-manager.ts → services/aws/lambda/main.ts} +30 -30
  321. package/src/lib/services/aws/lambda/types.ts +57 -0
  322. package/src/lib/services/aws/route53/index.ts +2 -0
  323. package/src/lib/{manager/aws/route53-manager.ts → services/aws/route53/main.ts} +18 -18
  324. package/src/lib/services/aws/route53/types.ts +9 -0
  325. package/src/lib/services/aws/secrets-manager/index.ts +1 -0
  326. package/src/lib/{manager/aws/secrets-manager.ts → services/aws/secrets-manager/main.ts} +9 -14
  327. package/src/lib/services/aws/simple-notification-service/index.ts +2 -0
  328. package/src/lib/{manager/aws/sns-manager.ts → services/aws/simple-notification-service/main.ts} +16 -16
  329. package/src/lib/services/aws/simple-notification-service/types.ts +7 -0
  330. package/src/lib/services/aws/simple-queue-service/index.ts +2 -0
  331. package/src/lib/{manager/aws/sqs-manager.ts → services/aws/simple-queue-service/main.ts} +18 -17
  332. package/src/lib/services/aws/simple-queue-service/types.ts +18 -0
  333. package/src/lib/services/aws/simple-storage-service/index.ts +2 -0
  334. package/src/lib/{manager/aws/s3-manager.ts → services/aws/simple-storage-service/main.ts} +26 -27
  335. package/src/lib/services/aws/simple-storage-service/types.ts +34 -0
  336. package/src/lib/services/aws/step-function/index.ts +2 -0
  337. package/src/lib/{manager/aws/sfn-manager.ts → services/aws/step-function/main.ts} +76 -61
  338. package/src/lib/services/aws/step-function/types.ts +152 -0
  339. package/src/lib/services/aws/systems-manager/index.ts +2 -0
  340. package/src/lib/{manager/aws/ssm-manager.ts → services/aws/systems-manager/main.ts} +15 -19
  341. package/src/lib/services/aws/systems-manager/types.ts +8 -0
  342. package/src/lib/services/aws/virtual-private-cloud/index.ts +1 -0
  343. package/src/lib/{manager/aws/vpc-manager.ts → services/aws/virtual-private-cloud/main.ts} +12 -12
  344. package/src/lib/services/aws/web-application-firewall/index.ts +1 -0
  345. package/src/lib/{manager/aws/waf-manager.ts → services/aws/web-application-firewall/main.ts} +13 -13
  346. package/src/lib/services/aws/web-application-firewall/types.ts +13 -0
  347. package/src/lib/types/aws/index.ts +0 -984
  348. package/dist/src/lib/helper/index.d.ts +0 -3
  349. package/dist/src/lib/manager/aws/app-config-manager.js +0 -191
  350. package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts +0 -211
  351. package/dist/src/lib/manager/aws/elasticache-manager.d.ts +0 -52
  352. package/dist/src/lib/manager/aws/index.d.ts +0 -30
  353. package/dist/src/lib/manager/aws/index.js +0 -46
  354. package/dist/src/lib/manager/aws/sfn-manager.d.ts +0 -157
  355. package/dist/src/lib/manager/aws/sqs-manager.d.ts +0 -49
  356. package/dist/src/lib/manager/aws/waf-manager.d.ts +0 -39
  357. package/src/lib/helper/index.ts +0 -3
  358. package/src/lib/manager/aws/app-config-manager.ts +0 -192
  359. package/src/lib/manager/aws/index.ts +0 -30
  360. /package/dist/src/lib/{helper/api-to-eventbridge-target-rest-api.js → construct/api-to-eventbridge-target/api.js} +0 -0
  361. /package/dist/src/lib/{helper/api-to-eventbridge-target-event.js → construct/api-to-eventbridge-target/event.js} +0 -0
  362. /package/dist/src/lib/{helper/api-to-lambda-target-rest-api.js → construct/api-to-lambda-target/api.js} +0 -0
  363. /package/dist/src/lib/{manager → services}/aws/constants.d.ts +0 -0
  364. /package/dist/src/lib/{manager → services}/aws/constants.js +0 -0
  365. /package/dist/src/lib/{manager → services}/index.d.ts +0 -0
  366. /package/dist/src/lib/{manager → services}/index.js +0 -0
  367. /package/src/lib/{manager → services}/aws/constants.ts +0 -0
  368. /package/src/lib/{manager → services}/index.ts +0 -0
@@ -1,777 +1,3 @@
1
- import * as cdk from 'aws-cdk-lib';
2
- import * as apig from 'aws-cdk-lib/aws-apigateway';
3
- import * as appconfig from 'aws-cdk-lib/aws-appconfig';
4
- import * as acm from 'aws-cdk-lib/aws-certificatemanager';
5
- import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
6
- import * as cloudtrail from 'aws-cdk-lib/aws-cloudtrail';
7
- import * as watch from 'aws-cdk-lib/aws-cloudwatch';
8
- import * as dynamodb from 'aws-cdk-lib/aws-dynamodb';
9
- import * as ec2 from 'aws-cdk-lib/aws-ec2';
10
- import * as ecs from 'aws-cdk-lib/aws-ecs';
11
- import * as ecsPatterns from 'aws-cdk-lib/aws-ecs-patterns';
12
- import * as eks from 'aws-cdk-lib/aws-eks';
13
- import * as elasticache from 'aws-cdk-lib/aws-elasticache';
14
- import * as elb from 'aws-cdk-lib/aws-elasticloadbalancingv2';
15
- import * as efs from 'aws-cdk-lib/aws-efs';
16
- import * as events from 'aws-cdk-lib/aws-events';
17
- import * as iam from 'aws-cdk-lib/aws-iam';
18
- import * as kms from 'aws-cdk-lib/aws-kms';
19
- import * as lambda from 'aws-cdk-lib/aws-lambda';
20
- import * as destinations from 'aws-cdk-lib/aws-lambda-destinations';
21
- import * as logs from 'aws-cdk-lib/aws-logs';
22
- import * as route53 from 'aws-cdk-lib/aws-route53';
23
- import * as s3 from 'aws-cdk-lib/aws-s3';
24
- import * as s3deploy from 'aws-cdk-lib/aws-s3-deployment';
25
- import * as sns from 'aws-cdk-lib/aws-sns';
26
- import * as sqs from 'aws-cdk-lib/aws-sqs';
27
- import * as sfn from 'aws-cdk-lib/aws-stepfunctions';
28
- import * as tasks from 'aws-cdk-lib/aws-stepfunctions-tasks';
29
- import * as wafv2 from 'aws-cdk-lib/aws-wafv2';
30
- import * as types from '../index';
31
- import * as appAutoscaling from 'aws-cdk-lib/aws-applicationautoscaling';
32
- import * as pipes from 'aws-cdk-lib/aws-pipes';
33
- import * as evidently from 'aws-cdk-lib/aws-evidently';
34
- /**
35
- * @category cdk-utils.app-config-manager
36
- * @subcategory Properties
37
- */
38
- export interface AppConfigProps {
39
- id: string;
40
- application: appconfig.CfnApplicationProps;
41
- configurationProfile: appconfig.CfnConfigurationProfileProps;
42
- deployment: appconfig.CfnDeploymentProps;
43
- deploymentStrategy: appconfig.CfnDeploymentStrategyProps;
44
- environment: appconfig.CfnEnvironmentProps;
45
- }
46
- /**
47
- * @category cdk-utils.common-stack
48
- * @subcategory Properties
49
- */
50
- export interface CommonStackProps extends cdk.StackProps {
51
- name: string;
52
- region: string;
53
- stage: string;
54
- domainName: string;
55
- subDomain?: string;
56
- extraContexts?: string[];
57
- stageContextPath?: string;
58
- skipStageForARecords: boolean;
59
- logRetention?: logs.RetentionDays;
60
- defaultReservedLambdaConcurrentExecutions?: number;
61
- defaultTracing?: lambda.Tracing;
62
- excludeDomainNameForBuckets?: boolean;
63
- nodejsRuntime?: lambda.Runtime;
64
- }
65
- /**
66
- * @category cdk-utils.site-with-ecs-backend
67
- * @subcategory Properties
68
- */
69
- export interface SiteWithEcsBackendProps extends CommonStackProps {
70
- siteCacheInvalidationDockerFilePath?: string;
71
- siteHealthCheck: HealthCheck;
72
- siteCertificate: AcmProps;
73
- siteRegionalCertificate: AcmProps;
74
- siteCluster: EcsClusterProps;
75
- siteDistribution: DistributionProps;
76
- siteCloudfrontFunctionProps?: CloudfrontFunctionProps;
77
- siteFunctionFilePath?: string;
78
- siteEcsContainerImagePath: string;
79
- siteLog: LogProps;
80
- siteLogBucket: S3BucketProps;
81
- siteRecordName?: string;
82
- siteSubDomain: string;
83
- siteTask: EcsApplicationLoadBalancedFargateServiceProps;
84
- siteVpc: ec2.VpcProps;
85
- siteFileSystem?: EfsFileSystemProps;
86
- siteFileSystemAccessPoints?: EfsAccessPointOptions[];
87
- useExistingHostedZone: boolean;
88
- nodeEnv: string;
89
- logLevel: string;
90
- timezone: string;
91
- }
92
- /**
93
- * @category cdk-utils.static-site
94
- * @subcategory Properties
95
- */
96
- export interface StaticSiteProps extends CommonStackProps {
97
- siteCacheInvalidationDockerFilePath?: string;
98
- siteCreateAltARecord: boolean;
99
- siteCertificate: AcmProps;
100
- siteBucket: S3BucketProps;
101
- siteLogBucket: S3BucketProps;
102
- siteDistribution?: DistributionProps;
103
- siteCloudfrontFunctionProps?: CloudfrontFunctionProps;
104
- siteFunctionFilePath?: string;
105
- siteSource: s3deploy.ISource;
106
- siteHostedZoneDomainName?: string;
107
- siteRecordName?: string;
108
- siteSubDomain?: string;
109
- siteAliases?: string[];
110
- useExistingHostedZone: boolean;
111
- nodeEnv: string;
112
- logLevel: string;
113
- timezone: string;
114
- }
115
- /**
116
- * @category cdk-utils.site-with-ecs-backend
117
- * @subcategory Properties
118
- */
119
- export interface HealthCheck extends elb.HealthCheck {
120
- intervalInSecs: number;
121
- timeoutInSecs: number;
122
- }
123
- /**
124
- * @category cdk-utils.kms-manager
125
- * @subcategory Properties
126
- */
127
- export interface KmsKeyProps extends kms.KeyProps {
128
- }
129
- /**
130
- * @category cdk-utils.step-functions-manager
131
- * @subcategory Properties
132
- */
133
- export interface SfnSucceedProps extends sfn.SucceedProps {
134
- name: string;
135
- }
136
- /**
137
- * @category cdk-utils.step-functions-manager
138
- * @subcategory Properties
139
- */
140
- export interface SfnRetryProps extends sfn.RetryProps {
141
- intervalInSecs: number;
142
- }
143
- /**
144
- * @category cdk-utils.step-functions-manager
145
- * @subcategory Properties
146
- */
147
- export interface SfnFailProps extends sfn.FailProps {
148
- name: string;
149
- }
150
- /**
151
- * @category cdk-utils.step-functions-manager
152
- * @subcategory Properties
153
- */
154
- export interface SfnPassProps extends sfn.PassProps {
155
- name: string;
156
- }
157
- /**
158
- * @category cdk-utils.step-functions-manager
159
- * @subcategory Properties
160
- */
161
- export interface SfnDynamoGetItemProps extends tasks.DynamoGetItemProps {
162
- name: string;
163
- retries?: SfnRetryProps[];
164
- }
165
- /**
166
- * @category cdk-utils.step-functions-manager
167
- * @subcategory Properties
168
- */
169
- export interface SfnDynamoPutItemProps extends tasks.DynamoPutItemProps {
170
- name: string;
171
- retries?: SfnRetryProps[];
172
- }
173
- /**
174
- * @category cdk-utils.step-functions-manager
175
- * @subcategory Properties
176
- */
177
- export interface SfnDynamoDeleteItemProps extends tasks.DynamoDeleteItemProps {
178
- name: string;
179
- retries?: SfnRetryProps[];
180
- }
181
- /**
182
- * @category cdk-utils.step-functions-manager
183
- * @subcategory Properties
184
- */
185
- export interface SfnSqsSendMessageProps extends tasks.SqsSendMessageProps {
186
- name: string;
187
- retries?: SfnRetryProps[];
188
- }
189
- /**
190
- * @category cdk-utils.step-functions-manager
191
- * @subcategory Properties
192
- */
193
- export interface SfnParallelProps extends sfn.ParallelProps {
194
- name: string;
195
- retries?: SfnRetryProps[];
196
- }
197
- /**
198
- * @category cdk-utils.step-functions-manager
199
- * @subcategory Properties
200
- */
201
- export interface SfnChoiceProps extends sfn.ChoiceProps {
202
- name: string;
203
- }
204
- /**
205
- * @category cdk-utils.step-functions-manager
206
- * @subcategory Properties
207
- */
208
- export interface SfnWaitProps extends sfn.WaitProps {
209
- name: string;
210
- delayInSeconds: number;
211
- }
212
- /**
213
- * @category cdk-utils.step-functions-manager
214
- * @subcategory Properties
215
- */
216
- export interface SfnLambdaInvokeProps extends tasks.LambdaInvokeProps {
217
- name: string;
218
- retries?: SfnRetryProps[];
219
- }
220
- /**
221
- * @category cdk-utils.step-functions-manager
222
- * @subcategory Properties
223
- */
224
- export interface SfnCallApiGatewayRestApiEndpointProps extends tasks.CallApiGatewayRestApiEndpointProps {
225
- name: string;
226
- retries?: SfnRetryProps[];
227
- }
228
- /**
229
- * @category cdk-utils.step-functions-manager
230
- * @subcategory Properties
231
- */
232
- export interface SfnStateMachineProps extends sfn.StateMachineProps {
233
- }
234
- /**
235
- * @category cdk-utils.lambda-manager
236
- * @subcategory Types
237
- */
238
- export interface LambdaEnvironment {
239
- NODE_ENV: string;
240
- LOG_LEVEL: string;
241
- REGION?: string;
242
- STAGE?: string;
243
- TZ: string;
244
- }
245
- /**
246
- * @category cdk-utils.api-to-eventbridge-target
247
- * @subcategory Types
248
- */
249
- export interface ApiDestinedLambdaEnvironment extends LambdaEnvironment {
250
- SOURCE_ID: string;
251
- }
252
- /**
253
- * @deprecated Use RestApiLambdaEnvironment instead. This will be removed in a future release.
254
- * @category cdk-utils.graphql-api-lambda
255
- * @subcategory Types
256
- */
257
- export interface GraphQlApiLambdaEnvironment extends LambdaEnvironment {
258
- }
259
- /**
260
- * @category cdk-utils.rest-api-lambda
261
- * @subcategory Types
262
- */
263
- export interface RestApiLambdaEnvironment extends LambdaEnvironment {
264
- }
265
- /**
266
- * @deprecated Use RestApiLambdaProps instead. This will be removed in a future release.
267
- * @category cdk-utils.graphql-api-lambda
268
- * @subcategory Properties
269
- */
270
- export interface GraphQlApiLambdaProps extends CommonStackProps {
271
- apiRootPaths?: string[];
272
- apiSubDomain: string;
273
- graphQLApiCertificate: AcmProps;
274
- graphqlRestApi: apig.LambdaRestApiProps;
275
- graphqlApiLambdaLayerSources?: lambda.AssetCode[];
276
- graphQLApiHandler: string;
277
- graphQLApiSource: lambda.AssetCode;
278
- graphqlApi: LambdaProps;
279
- useExistingHostedZone: boolean;
280
- nodeEnv: string;
281
- logLevel: string;
282
- timezone: string;
283
- }
284
- /**
285
- * @category cdk-utils.rest-api-lambda
286
- * @subcategory Properties
287
- */
288
- export interface RestApiLambdaProps extends CommonStackProps {
289
- apiRootPaths?: string[];
290
- apiSubDomain: string;
291
- restApiCertificate: AcmProps;
292
- restApi: apig.LambdaRestApiProps;
293
- restApiLambdaLayerSources?: lambda.AssetCode[];
294
- restApiHandler: string;
295
- restApiSource: lambda.AssetCode;
296
- restApiLambda: LambdaProps;
297
- useExistingHostedZone: boolean;
298
- nodeEnv: string;
299
- logLevel: string;
300
- timezone: string;
301
- }
302
- /**
303
- * @deprecated Use RestApiLambdaWithCacheProps instead. This will be removed in a future release.
304
- * @category cdk-utils.graphql-api-lambda-with-cache
305
- * @subcategory Properties
306
- */
307
- export interface GraphQlApiLambdaWithCacheProps extends GraphQlApiLambdaProps {
308
- graphQLVpc: ec2.VpcProps;
309
- graphQLElastiCache: ReplicatedElastiCacheProps;
310
- securityGroupExportName: string;
311
- useExistingVpc: boolean;
312
- vpcName?: string;
313
- }
314
- /**
315
- * @category cdk-utils.rest-api-lambda-with-cache
316
- * @subcategory Properties
317
- */
318
- export interface RestApiLambdaWithCacheProps extends RestApiLambdaProps {
319
- restApiVpc: ec2.VpcProps;
320
- restApiCache: ReplicatedElastiCacheProps;
321
- securityGroupExportName: string;
322
- useExistingVpc: boolean;
323
- vpcName?: string;
324
- }
325
- /**
326
- * @category cdk-utils.api-to-eventbridge-target
327
- * @subcategory Types
328
- */
329
- export interface ApiToEventBridgeTargetEventType {
330
- eventBus: events.IEventBus;
331
- logGroup: logs.LogGroup;
332
- logGroupFailure: logs.LogGroup;
333
- logGroupSuccess: logs.LogGroup;
334
- rule: events.Rule;
335
- ruleFailure: events.Rule;
336
- ruleSuccess: events.Rule;
337
- }
338
- /**
339
- * @category cdk-utils.api-to-eventbridge-target
340
- * @subcategory Types
341
- */
342
- export interface ApiToEventBridgeTargetRestApiType {
343
- accessLogGroup: logs.LogGroup;
344
- api: apig.IRestApi;
345
- authoriser?: apig.IAuthorizer;
346
- certificate: acm.ICertificate;
347
- domain: apig.DomainName;
348
- errorResponseModel: apig.Model;
349
- hostedZone: route53.IHostedZone;
350
- integration: apig.Integration;
351
- integrationErrorResponse: apig.IntegrationResponse;
352
- integrationRequestParameters: {
353
- [p: string]: string;
354
- };
355
- integrationRequestTemplates: {
356
- [p: string]: string;
357
- };
358
- integrationResponse: apig.IntegrationResponse;
359
- method: apig.Method;
360
- methodErrorResponse: apig.MethodResponse;
361
- methodResponse: apig.MethodResponse;
362
- resource: apig.Resource;
363
- responseModel: apig.Model;
364
- topic?: sns.ITopic;
365
- role?: iam.Role;
366
- policy?: iam.PolicyDocument;
367
- }
368
- /**
369
- * @category cdk-utils.api-to-lambda-target
370
- * @subcategory Types
371
- */
372
- export interface ApiToLambdaTargetRestApiType {
373
- api: apig.IRestApi;
374
- authoriser?: apig.IAuthorizer;
375
- basePathMappings: apig.BasePathMapping[];
376
- certificate: acm.ICertificate;
377
- domain: apig.DomainName;
378
- errorResponseModel: apig.Model;
379
- hostedZone: route53.IHostedZone;
380
- integration: apig.Integration;
381
- integrationErrorResponse: apig.IntegrationResponse;
382
- integrationRequestParameters: {
383
- [p: string]: string;
384
- };
385
- integrationRequestTemplates: {
386
- [p: string]: string;
387
- };
388
- integrationResponse: apig.IntegrationResponse;
389
- lambda: lambda.IFunction;
390
- method: apig.Method;
391
- methodErrorResponse: apig.MethodResponse;
392
- methodResponse: apig.MethodResponse;
393
- resource: apig.Resource;
394
- responseModel: apig.Model;
395
- topic?: sns.ITopic;
396
- role?: iam.Role;
397
- policy?: iam.PolicyDocument;
398
- }
399
- /**
400
- * @category cdk-utils.api-to-eventbridge-target
401
- * @subcategory Types
402
- */
403
- export interface ApiDestinedLambdaType {
404
- destinationFailure: destinations.EventBridgeDestination;
405
- destinationSuccess: destinations.EventBridgeDestination;
406
- environment: types.ApiDestinedLambdaEnvironment;
407
- function: lambda.IFunction;
408
- layers: lambda.LayerVersion[];
409
- layerSource?: lambda.AssetCode;
410
- policy: iam.PolicyDocument;
411
- role: iam.Role;
412
- source?: lambda.AssetCode;
413
- }
414
- /**
415
- * @category cdk-utils.api-to-eventbridge-target
416
- * @subcategory Properties
417
- */
418
- export interface ApiToEventBridgeTargetRestApiProps {
419
- certificate: AcmProps;
420
- integrationResponse?: apig.IntegrationResponse;
421
- integrationErrorResponse?: apig.IntegrationResponse;
422
- methodResponse?: apig.MethodResponse;
423
- methodErrorResponse?: apig.MethodResponse;
424
- integrationOptions?: apig.IntegrationOptions;
425
- resource: string;
426
- errorResponseModel?: apig.ModelOptions;
427
- responseModel?: apig.ModelOptions;
428
- restApi?: apig.RestApiProps;
429
- importedRestApiRef?: string;
430
- importedRestApiRootResourceRef?: string;
431
- useExisting: boolean;
432
- withResource?: boolean;
433
- }
434
- /**
435
- * @category cdk-utils.api-to-eventbridge-target
436
- * @subcategory Properties
437
- */
438
- interface ApiToEventBridgeTargetLambdaProps {
439
- handler?: string;
440
- function: LambdaProps;
441
- source?: lambda.AssetCode;
442
- layerSource?: lambda.AssetCode;
443
- }
444
- /**
445
- * @category cdk-utils.api-to-eventbridge-target
446
- * @subcategory Properties
447
- */
448
- interface ApiToEventBridgeTargetEventProps {
449
- eventBusName?: string;
450
- logGroup?: LogProps;
451
- logGroupSuccess?: LogProps;
452
- logGroupFailure?: LogProps;
453
- rule: EventRuleProps;
454
- ruleSuccess: EventRuleProps;
455
- ruleFailure: EventRuleProps;
456
- }
457
- /**
458
- * @category cdk-utils.api-to-eventbridge-target
459
- * @subcategory Properties
460
- */
461
- export interface ApiToEventBridgeTargetProps extends CommonStackProps {
462
- apiRootPaths?: string[];
463
- apiSubDomain: string;
464
- api: ApiToEventBridgeTargetRestApiProps;
465
- event: ApiToEventBridgeTargetEventProps;
466
- lambda?: ApiToEventBridgeTargetLambdaProps;
467
- logLevel: string;
468
- nodeEnv: string;
469
- timezone: string;
470
- useExistingHostedZone: boolean;
471
- }
472
- /**
473
- * @category cdk-utils.api-to-lambda-target
474
- * @subcategory Properties
475
- */
476
- export interface ApiToLambdaTargetRestApiProps {
477
- resource: string;
478
- certificate: AcmProps;
479
- restApi: apig.LambdaRestApiProps;
480
- importedRestApiRef?: string;
481
- importedRestApiRootResourceRef?: string;
482
- useExisting: boolean;
483
- withResource?: boolean;
484
- methodErrorResponse: apig.MethodResponse;
485
- methodResponse: apig.MethodResponse;
486
- }
487
- /**
488
- * @category cdk-utils.api-to-lambda-target
489
- * @subcategory Properties
490
- */
491
- export interface ApiToLambdaTargetProps extends CommonStackProps {
492
- apiRootPaths?: string[];
493
- apiSubDomain: string;
494
- api: ApiToLambdaTargetRestApiProps;
495
- lambdaFunctionName: string;
496
- logLevel: string;
497
- nodeEnv: string;
498
- timezone: string;
499
- useExistingHostedZone: boolean;
500
- }
501
- /**
502
- * @category cdk-utils.acm-manager
503
- * @subcategory Properties
504
- */
505
- export interface AcmProps extends acm.CertificateProps {
506
- certificateSsmName?: string;
507
- certificateAccount?: string;
508
- certificateRegion?: string;
509
- certificateId?: string;
510
- certificateArn?: string;
511
- useExistingCertificate: boolean;
512
- }
513
- /**
514
- * @category cdk-utils.ssm-manager
515
- * @subcategory Properties
516
- */
517
- export interface SSMParameterReaderProps {
518
- parameterName: string;
519
- region: string;
520
- }
521
- /**
522
- * @category cdk-utils.cloudfront-manager
523
- * @subcategory Properties
524
- */
525
- export interface CloudFrontProps extends cloudfront.CloudFrontWebDistributionProps {
526
- tags?: TagProps[];
527
- }
528
- /**
529
- * @category cdk-utils.cloudfront-manager
530
- * @subcategory Properties
531
- */
532
- export interface CloudfrontFunctionProps extends cloudfront.FunctionProps {
533
- functionFilePath: string;
534
- eventType: string;
535
- }
536
- /**
537
- * @category cdk-utils.cloudfront-manager
538
- * @subcategory Properties
539
- */
540
- export interface DistributionProps extends cloudfront.DistributionProps {
541
- tags?: TagProps[];
542
- }
543
- /**
544
- * @category cdk-utils.cloudtrail-manager
545
- * @subcategory Properties
546
- */
547
- export interface CloudTrailProps extends cloudtrail.CfnTrailProps {
548
- }
549
- /**
550
- * @category cdk-utils.cloudwatch-manager
551
- * @subcategory Properties
552
- */
553
- export interface DashboardProps extends watch.DashboardProps {
554
- }
555
- /**
556
- * @category cdk-utils.cloudwatch-manager
557
- * @subcategory Properties
558
- */
559
- export interface AlarmProps extends watch.AlarmProps {
560
- expression?: string;
561
- metricProps?: MetricProps[];
562
- periodInSecs?: number;
563
- }
564
- /**
565
- * @category cdk-utils.cloudwatch-manager
566
- * @subcategory Properties
567
- */
568
- export interface MetricProps extends watch.MetricProps {
569
- stageSuffix: boolean;
570
- periodInSecs?: number;
571
- functionName?: string;
572
- dbClusterIdentifier?: string;
573
- distributionId?: string;
574
- loadBalancer?: string;
575
- serviceName?: string;
576
- clusterName?: string;
577
- apiName?: string;
578
- cacheClusterId?: string;
579
- stateMachineArn?: string;
580
- eventBusName?: string;
581
- ruleName?: string;
582
- service?: string;
583
- }
584
- /**
585
- * @category cdk-utils.cloudwatch-manager
586
- * @subcategory Properties
587
- */
588
- export interface TextWidgetProps extends watch.TextWidgetProps {
589
- type: string;
590
- positionX: number;
591
- positionY: number;
592
- }
593
- /**
594
- * @category cdk-utils.cloudwatch-manager
595
- * @subcategory Properties
596
- */
597
- export interface NumericWidgetProps extends watch.SingleValueWidgetProps {
598
- type: string;
599
- positionX: number;
600
- positionY: number;
601
- metricProps: watch.MetricProps[];
602
- }
603
- /**
604
- * @category cdk-utils.cloudwatch-manager
605
- * @subcategory Properties
606
- */
607
- export interface GuageWidgetProps extends watch.GaugeWidgetProps {
608
- type: string;
609
- positionX: number;
610
- positionY: number;
611
- metricProps: watch.MetricProps[];
612
- }
613
- /**
614
- * @category cdk-utils.cloudwatch-manager
615
- * @subcategory Properties
616
- */
617
- export interface GraphWidgetProps extends watch.GraphWidgetProps {
618
- type: string;
619
- positionX: number;
620
- positionY: number;
621
- metricProps: MetricProps[];
622
- }
623
- /**
624
- * @category cdk-utils.cloudwatch-manager
625
- * @subcategory Properties
626
- */
627
- export interface AlarmStatusWidgetProps extends watch.AlarmStatusWidgetProps {
628
- type: string;
629
- positionX: number;
630
- positionY: number;
631
- alarmProps: watch.AlarmProps[];
632
- }
633
- /**
634
- * @category cdk-utils.cloudwatch-manager
635
- * @subcategory Properties
636
- */
637
- export interface LogQueryWidgetProps extends watch.LogQueryWidgetProps {
638
- type: string;
639
- positionX: number;
640
- positionY: number;
641
- }
642
- /**
643
- * @category cdk-utils.efs-manager
644
- * @subcategory Properties
645
- */
646
- export interface EfsFileSystemProps extends efs.FileSystemProps {
647
- provisionNewOnDeployment?: boolean;
648
- rootDirectory?: string;
649
- transitEncryption?: string;
650
- transitEncryptionPort?: number;
651
- authorizationConfig?: ecs.AuthorizationConfig;
652
- }
653
- /**
654
- * @category cdk-utils.efs-manager
655
- * @subcategory Properties
656
- */
657
- export interface EfsAccessPointOptions extends efs.AccessPointOptions {
658
- }
659
- /**
660
- * @category cdk-utils.ecs-manager
661
- * @subcategory Properties
662
- */
663
- export interface EcsClusterProps extends ecs.ClusterProps {
664
- tags?: TagProps[];
665
- }
666
- /**
667
- * @category cdk-utils.ecs-manager
668
- * @subcategory Properties
669
- */
670
- export interface EcsTaskProps extends ecs.TaskDefinitionProps {
671
- logging?: ecs.AwsLogDriverProps;
672
- tags?: TagProps[];
673
- }
674
- export interface EcsScalingProps {
675
- minCapacity?: number;
676
- maxCapacity?: number;
677
- scaleOnCpuUtilization?: number;
678
- scaleOnMemoryUtilization?: number;
679
- scaleOnRequestsPerTarget?: number;
680
- scaleOnSchedule?: appAutoscaling.ScalingSchedule;
681
- }
682
- /**
683
- * @category cdk-utils.ecs-manager
684
- * @subcategory Properties
685
- */
686
- export interface EcsApplicationLoadBalancedFargateServiceProps extends ecsPatterns.ApplicationLoadBalancedFargateServiceProps {
687
- healthCheck?: HealthCheck;
688
- logging?: ecs.AwsLogDriverProps;
689
- mountPoints?: ecs.MountPoint[];
690
- siteScaling?: EcsScalingProps;
691
- }
692
- /**
693
- * @category cdk-utils.eks-manager
694
- * @subcategory Properties
695
- */
696
- export interface EksClusterProps extends eks.ClusterProps {
697
- appContainerPort: number;
698
- appCapacity: number;
699
- }
700
- /**
701
- * @category cdk-utils.event-manager
702
- * @subcategory Properties
703
- */
704
- export interface RuleProps extends events.CfnRuleProps {
705
- input?: string;
706
- }
707
- /**
708
- * @category cdk-utils.sfn-manager
709
- * @subcategory Properties
710
- */
711
- export interface SfnMapProps extends sfn.MapProps {
712
- }
713
- /**
714
- * @category cdk-utils.sfn-manager
715
- * @subcategory Properties
716
- */
717
- export interface SfnStartExecutionProps extends tasks.StepFunctionsStartExecutionProps {
718
- retries?: SfnRetryProps[];
719
- }
720
- /**
721
- }
722
- * @category cdk-utils.event-manager
723
- * @subcategory Properties
724
- */
725
- export interface SqsToSfnPipeProps extends pipes.CfnPipeProps {
726
- pipeFilterPattern?: any;
727
- sqsBatchSize?: number;
728
- sqsMaximumBatchingWindowInSeconds?: number;
729
- sfnInvocationType?: string;
730
- sfnInputTemplate?: string;
731
- }
732
- /**
733
- * @category cdk-utils.event-manager
734
- * @subcategory Properties
735
- */
736
- export interface EventRuleProps extends events.RuleProps {
737
- tags?: TagProps[];
738
- }
739
- /**
740
- * @category cdk-utils.event-manager
741
- * @subcategory Properties
742
- */
743
- export interface EventBusProps extends events.EventBusProps {
744
- }
745
- /**
746
- * @category cdk-utils.evidently-manager
747
- * @subcategory Properties
748
- */
749
- export interface EvidentlyProjectProps extends evidently.CfnProjectProps {
750
- }
751
- /**
752
- * @category cdk-utils.evidently-manager
753
- * @subcategory Properties
754
- */
755
- export interface EvidentlyFeatureProps extends evidently.CfnFeatureProps {
756
- }
757
- /**
758
- * @category cdk-utils.evidently-manager
759
- * @subcategory Properties
760
- */
761
- export interface EvidentlyLaunchProps extends evidently.CfnLaunchProps {
762
- }
763
- /**
764
- * @category cdk-utils.evidently-manager
765
- * @subcategory Properties
766
- */
767
- export interface EvidentlyExperimentProps extends evidently.CfnExperimentProps {
768
- }
769
- /**
770
- * @category cdk-utils.evidently-manager
771
- * @subcategory Properties
772
- */
773
- export interface EvidentlySegmentProps extends evidently.CfnSegmentProps {
774
- }
775
1
  /**
776
2
  * @category cdk-utils.common-stack
777
3
  * @subcategory Properties
@@ -780,150 +6,3 @@ export interface TagProps {
780
6
  key: string;
781
7
  value: string;
782
8
  }
783
- /**
784
- * @category cdk-utils.lambda-manager
785
- * @subcategory Properties
786
- */
787
- export interface ProvisionedConcurrencyProps {
788
- minCapacity: number;
789
- maxCapacity: number;
790
- utilizationTarget: number;
791
- }
792
- /**
793
- * @category cdk-utils.lambda-manager
794
- * @subcategory Properties
795
- */
796
- export interface LambdaProps extends lambda.FunctionProps {
797
- dlq?: QueueProps;
798
- redriveq?: QueueProps;
799
- timeoutInSecs?: number;
800
- excludeLastModifiedTimestamp?: boolean;
801
- tags?: TagProps[];
802
- lambdaAliases?: LambdaAliasProps[];
803
- }
804
- /**
805
- * @category cdk-utils.lambda-manager
806
- * @subcategory Properties
807
- */
808
- export interface LambdaAliasProps extends lambda.AliasProps {
809
- id?: string;
810
- provisionedConcurrency?: ProvisionedConcurrencyProps;
811
- }
812
- /**
813
- * @category cdk-utils.lambda-manager
814
- * @subcategory Properties
815
- */
816
- export interface LambdaEdgeProps extends cloudfront.experimental.EdgeFunctionProps {
817
- timeoutInSecs?: number;
818
- tags?: TagProps[];
819
- }
820
- /**
821
- * @category cdk-utils.api-manager
822
- * @subcategory Properties
823
- */
824
- export interface LambdaRestApiProps extends apig.LambdaRestApiProps {
825
- tags?: TagProps[];
826
- }
827
- /**
828
- * @category cdk-utils.cloudwatch-manager
829
- * @subcategory Properties
830
- */
831
- export interface LogProps extends logs.LogGroupProps {
832
- tags?: TagProps[];
833
- }
834
- /**
835
- * @category cdk-utils.cloudwatch-manager
836
- * @subcategory Properties
837
- */
838
- export interface MetricFilterProps extends logs.MetricFilterProps {
839
- periodInSecs: number;
840
- options: watch.MetricOptions;
841
- }
842
- /**
843
- * @category cdk-utils.route53-manager
844
- * @subcategory Properties
845
- */
846
- export interface Route53Props extends route53.HostedZoneProps {
847
- useExistingHostedZone?: boolean;
848
- }
849
- /**
850
- * @category cdk-utils.s3-manager
851
- * @subcategory Properties
852
- */
853
- export interface LifecycleRule extends s3.LifecycleRule {
854
- expirationInDays?: number;
855
- noncurrentVersionExpirationInDays?: number;
856
- }
857
- /**
858
- * @category cdk-utils.s3-manager
859
- * @subcategory Properties
860
- */
861
- export interface BucketDeploymentProps extends s3deploy.BucketDeploymentProps {
862
- expirationInDays?: number;
863
- noncurrentVersionExpirationInDays?: number;
864
- }
865
- /**
866
- * @category cdk-utils.dynamodb-manager
867
- * @subcategory Properties
868
- */
869
- export interface TableProps extends dynamodb.TableProps {
870
- tags?: TagProps[];
871
- }
872
- /**
873
- * @category cdk-utils.s3-manager
874
- * @subcategory Properties
875
- */
876
- export interface S3BucketProps extends s3.BucketProps {
877
- enableEventBridge?: boolean;
878
- lifecycleRules?: LifecycleRule[];
879
- bucketName: string;
880
- logBucketName?: string;
881
- existingBucket?: boolean;
882
- tags?: TagProps[];
883
- }
884
- /**
885
- * @category cdk-utils.sns-manager
886
- * @subcategory Properties
887
- */
888
- export interface SubscriptionProps extends sns.TopicProps {
889
- }
890
- /**
891
- * @category cdk-utils.waf-manager
892
- * @subcategory Properties
893
- */
894
- export interface WafIPSetProps extends wafv2.CfnIPSetProps {
895
- }
896
- /**
897
- * @category cdk-utils.waf-manager
898
- * @subcategory Properties
899
- */
900
- export interface WafWebACLProps extends wafv2.CfnWebACLProps {
901
- }
902
- /**
903
- * @category cdk-utils.elasticache-manager
904
- * @category Compute
905
- */
906
- export interface ElastiCacheProps extends elasticache.CfnCacheClusterProps {
907
- }
908
- /**
909
- * @category cdk-utils.elasticache-manager
910
- * @category Compute
911
- */
912
- export interface ReplicatedElastiCacheProps extends elasticache.CfnReplicationGroupProps {
913
- }
914
- /**
915
- * @category cdk-utils.sqs-manager
916
- * @subcategory Properties
917
- */
918
- export interface QueueProps extends sqs.QueueProps {
919
- maxReceiveCount?: number;
920
- visibilityTimeoutInSecs?: number;
921
- receiveMessageWaitTimeInSecs?: number;
922
- dataKeyReuseInSecs?: number;
923
- deliveryDelayInSecs?: number;
924
- retentionInDays?: number;
925
- tags?: TagProps[];
926
- retriesEnabled?: boolean;
927
- retryBatchSize?: number;
928
- }
929
- export {};