terraconstructs 0.0.11 → 0.0.12

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 (410) hide show
  1. package/.jsii +104486 -34582
  2. package/lib/aws/arn.js +1 -1
  3. package/lib/aws/aws-construct.d.ts +1 -1
  4. package/lib/aws/aws-construct.js +28 -2
  5. package/lib/aws/aws-stack.d.ts +2 -4
  6. package/lib/aws/aws-stack.js +21 -8
  7. package/lib/aws/aws-tags.d.ts +58 -0
  8. package/lib/aws/aws-tags.js +77 -0
  9. package/lib/aws/cloudwatch/actions/ec2.js +1 -1
  10. package/lib/aws/cloudwatch/actions/lambda.js +1 -1
  11. package/lib/aws/cloudwatch/alarm-base.js +1 -1
  12. package/lib/aws/cloudwatch/alarm-rule.js +1 -1
  13. package/lib/aws/cloudwatch/alarm-status-widget.js +1 -1
  14. package/lib/aws/cloudwatch/alarm.js +1 -1
  15. package/lib/aws/cloudwatch/composite-alarm.js +1 -1
  16. package/lib/aws/cloudwatch/dashboard.js +1 -1
  17. package/lib/aws/cloudwatch/data-protection-policy.js +3 -3
  18. package/lib/aws/cloudwatch/graph.js +8 -8
  19. package/lib/aws/cloudwatch/layout.js +3 -3
  20. package/lib/aws/cloudwatch/log-destinations/kinesis.js +1 -1
  21. package/lib/aws/cloudwatch/log-destinations/lambda.js +1 -1
  22. package/lib/aws/cloudwatch/log-group.js +1 -1
  23. package/lib/aws/cloudwatch/log-query.js +1 -1
  24. package/lib/aws/cloudwatch/log-stream.js +1 -1
  25. package/lib/aws/cloudwatch/metric-filter.d.ts +1 -1
  26. package/lib/aws/cloudwatch/metric-filter.js +4 -4
  27. package/lib/aws/cloudwatch/metric.js +2 -2
  28. package/lib/aws/cloudwatch/pattern.js +3 -3
  29. package/lib/aws/cloudwatch/policy.js +1 -1
  30. package/lib/aws/cloudwatch/private/env-tokens.js +5 -6
  31. package/lib/aws/cloudwatch/private/metric-util.js +4 -5
  32. package/lib/aws/cloudwatch/private/object.js +2 -3
  33. package/lib/aws/cloudwatch/private/rendering.js +3 -3
  34. package/lib/aws/cloudwatch/private/statistic.js +6 -7
  35. package/lib/aws/cloudwatch/query-definition.js +2 -2
  36. package/lib/aws/cloudwatch/stats.js +1 -1
  37. package/lib/aws/cloudwatch/subscription-filter.d.ts +1 -1
  38. package/lib/aws/cloudwatch/subscription-filter.js +4 -4
  39. package/lib/aws/cloudwatch/text.js +1 -1
  40. package/lib/aws/cloudwatch/variable.js +3 -3
  41. package/lib/aws/cloudwatch/widget.d.ts +1 -1
  42. package/lib/aws/cloudwatch/widget.js +4 -4
  43. package/lib/aws/compute/activity.js +3 -2
  44. package/lib/aws/compute/alb/application-listener-action.d.ts +334 -0
  45. package/lib/aws/compute/alb/application-listener-action.js +281 -0
  46. package/lib/aws/compute/alb/application-listener-certificate.d.ts +35 -0
  47. package/lib/aws/compute/alb/application-listener-certificate.js +35 -0
  48. package/lib/aws/compute/alb/application-listener-rule.d.ts +233 -0
  49. package/lib/aws/compute/alb/application-listener-rule.js +220 -0
  50. package/lib/aws/compute/alb/application-listener.d.ts +574 -0
  51. package/lib/aws/compute/alb/application-listener.js +538 -0
  52. package/lib/aws/compute/alb/application-load-balancer.d.ts +715 -0
  53. package/lib/aws/compute/alb/application-load-balancer.js +780 -0
  54. package/lib/aws/compute/alb/application-target-group.d.ts +339 -0
  55. package/lib/aws/compute/alb/application-target-group.js +427 -0
  56. package/lib/aws/compute/alb/conditions.d.ts +61 -0
  57. package/lib/aws/compute/alb/conditions.js +164 -0
  58. package/lib/aws/compute/alb/trust-store-revocation.d.ts +59 -0
  59. package/lib/aws/compute/alb/trust-store-revocation.js +46 -0
  60. package/lib/aws/compute/alb/trust-store.d.ts +86 -0
  61. package/lib/aws/compute/alb/trust-store.js +79 -0
  62. package/lib/aws/compute/architecture.js +1 -1
  63. package/lib/aws/compute/aspects/require-imdsv2-aspect.d.ts +75 -0
  64. package/lib/aws/compute/aspects/require-imdsv2-aspect.js +106 -0
  65. package/lib/aws/compute/bastion-host.d.ts +172 -0
  66. package/lib/aws/compute/bastion-host.js +114 -0
  67. package/lib/aws/compute/chain.js +1 -1
  68. package/lib/aws/compute/cidr-splits.d.ts +49 -0
  69. package/lib/aws/compute/cidr-splits.js +59 -0
  70. package/lib/aws/compute/client-vpn-authorization-rule.d.ts +43 -0
  71. package/lib/aws/compute/client-vpn-authorization-rule.js +30 -0
  72. package/lib/aws/compute/client-vpn-endpoint-types.d.ts +62 -0
  73. package/lib/aws/compute/client-vpn-endpoint-types.js +25 -0
  74. package/lib/aws/compute/client-vpn-endpoint.d.ts +239 -0
  75. package/lib/aws/compute/client-vpn-endpoint.js +259 -0
  76. package/lib/aws/compute/client-vpn-route.d.ts +67 -0
  77. package/lib/aws/compute/client-vpn-route.js +57 -0
  78. package/lib/aws/compute/condition.js +1 -1
  79. package/lib/aws/compute/connections.d.ts +137 -0
  80. package/lib/aws/compute/connections.js +208 -0
  81. package/lib/aws/compute/ec2-augmentations.generated.d.ts +53 -0
  82. package/lib/aws/compute/ec2-augmentations.generated.js +35 -0
  83. package/lib/aws/compute/ec2-canned-metrics.generated.d.ts +555 -0
  84. package/lib/aws/compute/ec2-canned-metrics.generated.js +681 -0
  85. package/lib/aws/compute/ec2-util-v2.d.ts +141 -0
  86. package/lib/aws/compute/ec2-util-v2.js +286 -0
  87. package/lib/aws/compute/ec2-util.d.ts +52 -0
  88. package/lib/aws/compute/ec2-util.js +138 -0
  89. package/lib/aws/compute/elasticloadbalancing-canned-metrics.generated.d.ts +176 -0
  90. package/lib/aws/compute/elasticloadbalancing-canned-metrics.generated.js +119 -0
  91. package/lib/aws/compute/elasticloadbalancingv2-canned-metrics.generated.d.ts +860 -0
  92. package/lib/aws/compute/elasticloadbalancingv2-canned-metrics.generated.js +597 -0
  93. package/lib/aws/compute/event-invoke-config.js +1 -1
  94. package/lib/aws/compute/event-source-filter.js +2 -2
  95. package/lib/aws/compute/event-source-mapping.js +1 -1
  96. package/lib/aws/compute/event-sources/s3-onfailure-destination.js +1 -1
  97. package/lib/aws/compute/event-sources/s3.js +1 -1
  98. package/lib/aws/compute/event-sources/sqs-dlq.js +1 -1
  99. package/lib/aws/compute/event-sources/sqs.js +1 -1
  100. package/lib/aws/compute/fields.js +4 -4
  101. package/lib/aws/compute/function-alias.js +1 -1
  102. package/lib/aws/compute/function-base.js +2 -2
  103. package/lib/aws/compute/function-destinations/event-bridge.js +1 -1
  104. package/lib/aws/compute/function-destinations/function.js +1 -1
  105. package/lib/aws/compute/function-destinations/sqs.js +1 -1
  106. package/lib/aws/compute/function-nodejs.js +1 -1
  107. package/lib/aws/compute/function-url.js +1 -1
  108. package/lib/aws/compute/function-vpc-config.generated.d.ts +3 -3
  109. package/lib/aws/compute/function-vpc-config.generated.js +1 -1
  110. package/lib/aws/compute/function.d.ts +1 -1
  111. package/lib/aws/compute/function.js +5 -5
  112. package/lib/aws/compute/index-alpha.d.ts +5 -0
  113. package/lib/aws/compute/index-alpha.js +22 -0
  114. package/lib/aws/compute/index.d.ts +60 -0
  115. package/lib/aws/compute/index.js +70 -2
  116. package/lib/aws/compute/instance-types.d.ts +1354 -0
  117. package/lib/aws/compute/instance-types.js +1683 -0
  118. package/lib/aws/compute/instance.d.ts +436 -0
  119. package/lib/aws/compute/instance.js +262 -0
  120. package/lib/aws/compute/ip-addresses.d.ts +249 -0
  121. package/lib/aws/compute/ip-addresses.js +248 -0
  122. package/lib/aws/compute/ipam.d.ts +309 -0
  123. package/lib/aws/compute/ipam.js +306 -0
  124. package/lib/aws/compute/key-pair.d.ts +178 -0
  125. package/lib/aws/compute/key-pair.js +194 -0
  126. package/lib/aws/compute/lambda-augmentations.generated.d.ts +65 -0
  127. package/lib/aws/compute/lambda-augmentations.generated.js +41 -0
  128. package/lib/aws/compute/lambda-canned-metrics.generated.d.ts +316 -0
  129. package/lib/aws/compute/lambda-canned-metrics.generated.js +119 -0
  130. package/lib/aws/compute/launch-template.d.ts +540 -0
  131. package/lib/aws/compute/launch-template.js +468 -0
  132. package/lib/aws/compute/lb-shared/access-logs-accounts.d.ts +7 -0
  133. package/lib/aws/compute/lb-shared/access-logs-accounts.js +46 -0
  134. package/lib/aws/compute/lb-shared/base-listener.d.ts +113 -0
  135. package/lib/aws/compute/lb-shared/base-listener.js +181 -0
  136. package/lib/aws/compute/lb-shared/base-load-balancer.d.ts +212 -0
  137. package/lib/aws/compute/lb-shared/base-load-balancer.js +290 -0
  138. package/lib/aws/compute/lb-shared/base-target-group.d.ts +382 -0
  139. package/lib/aws/compute/lb-shared/base-target-group.js +364 -0
  140. package/lib/aws/compute/lb-shared/enums.d.ts +282 -0
  141. package/lib/aws/compute/lb-shared/enums.js +301 -0
  142. package/lib/aws/compute/lb-shared/grid-lookup-types.d.ts +42 -0
  143. package/lib/aws/compute/lb-shared/grid-lookup-types.js +53 -0
  144. package/lib/aws/compute/lb-shared/imported.d.ts +24 -0
  145. package/lib/aws/compute/lb-shared/imported.js +27 -0
  146. package/lib/aws/compute/lb-shared/lb-listener-config.generated.d.ts +194 -0
  147. package/lib/aws/compute/lb-shared/lb-listener-config.generated.js +3 -0
  148. package/lib/aws/compute/lb-shared/lb-target-group-attachment-config.generated.d.ts +56 -0
  149. package/lib/aws/compute/lb-shared/lb-target-group-attachment-config.generated.js +3 -0
  150. package/lib/aws/compute/lb-shared/listener-action.d.ts +14 -0
  151. package/lib/aws/compute/lb-shared/listener-action.js +4 -0
  152. package/lib/aws/compute/lb-shared/listener-certificate.d.ts +28 -0
  153. package/lib/aws/compute/lb-shared/listener-certificate.js +29 -0
  154. package/lib/aws/compute/lb-shared/load-balancer-targets.d.ts +93 -0
  155. package/lib/aws/compute/lb-shared/load-balancer-targets.js +127 -0
  156. package/lib/aws/compute/lb-shared/util.d.ts +113 -0
  157. package/lib/aws/compute/lb-shared/util.js +264 -0
  158. package/lib/aws/compute/lb-targets/alb-target.d.ts +67 -0
  159. package/lib/aws/compute/lb-targets/alb-target.js +100 -0
  160. package/lib/aws/compute/lb-targets/index.d.ts +4 -0
  161. package/lib/aws/compute/lb-targets/index.js +22 -0
  162. package/lib/aws/compute/lb-targets/instance-target.d.ts +42 -0
  163. package/lib/aws/compute/lb-targets/instance-target.js +67 -0
  164. package/lib/aws/compute/lb-targets/ip-target.d.ts +55 -0
  165. package/lib/aws/compute/lb-targets/ip-target.js +79 -0
  166. package/lib/aws/compute/lb-targets/lambda-target.d.ts +25 -0
  167. package/lib/aws/compute/lb-targets/lambda-target.js +50 -0
  168. package/lib/aws/compute/load-balancer.d.ts +336 -0
  169. package/lib/aws/compute/load-balancer.js +287 -0
  170. package/lib/aws/compute/machine-image/amazon-linux-2022.d.ts +63 -0
  171. package/lib/aws/compute/machine-image/amazon-linux-2022.js +84 -0
  172. package/lib/aws/compute/machine-image/amazon-linux-2023.d.ts +63 -0
  173. package/lib/aws/compute/machine-image/amazon-linux-2023.js +84 -0
  174. package/lib/aws/compute/machine-image/amazon-linux2.d.ts +76 -0
  175. package/lib/aws/compute/machine-image/amazon-linux2.js +87 -0
  176. package/lib/aws/compute/machine-image/common.d.ts +181 -0
  177. package/lib/aws/compute/machine-image/common.js +122 -0
  178. package/lib/aws/compute/machine-image/index.d.ts +5 -0
  179. package/lib/aws/compute/machine-image/index.js +22 -0
  180. package/lib/aws/compute/machine-image/machine-image.d.ts +463 -0
  181. package/lib/aws/compute/machine-image/machine-image.js +566 -0
  182. package/lib/aws/compute/machine-image/utils.d.ts +2 -0
  183. package/lib/aws/compute/machine-image/utils.js +17 -0
  184. package/lib/aws/compute/nat.d.ts +325 -0
  185. package/lib/aws/compute/nat.js +455 -0
  186. package/lib/aws/compute/network-acl-types.d.ts +152 -0
  187. package/lib/aws/compute/network-acl-types.js +156 -0
  188. package/lib/aws/compute/network-acl.d.ts +285 -0
  189. package/lib/aws/compute/network-acl.js +207 -0
  190. package/lib/aws/compute/network-util.d.ts +116 -0
  191. package/lib/aws/compute/network-util.js +241 -0
  192. package/lib/aws/compute/nlb/network-listener-action.d.ts +92 -0
  193. package/lib/aws/compute/nlb/network-listener-action.js +146 -0
  194. package/lib/aws/compute/nlb/network-listener-certificate.d.ts +24 -0
  195. package/lib/aws/compute/nlb/network-listener-certificate.js +25 -0
  196. package/lib/aws/compute/nlb/network-listener.d.ts +248 -0
  197. package/lib/aws/compute/nlb/network-listener.js +217 -0
  198. package/lib/aws/compute/nlb/network-load-balancer.d.ts +315 -0
  199. package/lib/aws/compute/nlb/network-load-balancer.js +360 -0
  200. package/lib/aws/compute/nlb/network-target-group.d.ts +153 -0
  201. package/lib/aws/compute/nlb/network-target-group.js +223 -0
  202. package/lib/aws/compute/peer.d.ts +64 -0
  203. package/lib/aws/compute/peer.js +235 -0
  204. package/lib/aws/compute/placement-group.d.ts +161 -0
  205. package/lib/aws/compute/placement-group.js +133 -0
  206. package/lib/aws/compute/port.d.ts +287 -0
  207. package/lib/aws/compute/port.js +390 -0
  208. package/lib/aws/compute/prefix-list.d.ts +131 -0
  209. package/lib/aws/compute/prefix-list.js +114 -0
  210. package/lib/aws/compute/private/context-stub.d.ts +7 -0
  211. package/lib/aws/compute/private/context-stub.js +43 -0
  212. package/lib/aws/compute/private/ebs-util.d.ts +14 -0
  213. package/lib/aws/compute/private/ebs-util.js +145 -0
  214. package/lib/aws/compute/private/intrinstics.js +2 -1
  215. package/lib/aws/compute/private/json-path.js +8 -8
  216. package/lib/aws/compute/private/util.js +2 -3
  217. package/lib/aws/compute/route.d.ts +547 -0
  218. package/lib/aws/compute/route.js +469 -0
  219. package/lib/aws/compute/security-group.d.ts +414 -0
  220. package/lib/aws/compute/security-group.js +538 -0
  221. package/lib/aws/compute/state-graph.js +1 -1
  222. package/lib/aws/compute/state-machine-fragment.js +1 -1
  223. package/lib/aws/compute/state-machine.d.ts +2 -2
  224. package/lib/aws/compute/state-machine.js +14 -12
  225. package/lib/aws/compute/states/choice.js +1 -1
  226. package/lib/aws/compute/states/custom-state.js +1 -1
  227. package/lib/aws/compute/states/distributed-map/item-batcher.js +1 -1
  228. package/lib/aws/compute/states/distributed-map/item-reader.js +5 -5
  229. package/lib/aws/compute/states/distributed-map/result-writer.js +1 -1
  230. package/lib/aws/compute/states/distributed-map.js +1 -1
  231. package/lib/aws/compute/states/fail.js +1 -1
  232. package/lib/aws/compute/states/map-base.js +1 -1
  233. package/lib/aws/compute/states/map.js +1 -1
  234. package/lib/aws/compute/states/parallel.js +1 -1
  235. package/lib/aws/compute/states/pass.js +2 -2
  236. package/lib/aws/compute/states/state.js +5 -5
  237. package/lib/aws/compute/states/succeed.js +1 -1
  238. package/lib/aws/compute/states/task-base.js +2 -2
  239. package/lib/aws/compute/states/task.js +1 -1
  240. package/lib/aws/compute/states/wait.js +2 -2
  241. package/lib/aws/compute/stepfunctions-canned-metrics.generated.d.ts +83 -0
  242. package/lib/aws/compute/stepfunctions-canned-metrics.generated.js +127 -0
  243. package/lib/aws/compute/subnet-v2.d.ts +213 -0
  244. package/lib/aws/compute/subnet-v2.js +405 -0
  245. package/lib/aws/compute/subnet.d.ts +37 -0
  246. package/lib/aws/compute/subnet.js +181 -0
  247. package/lib/aws/compute/task-credentials.js +1 -1
  248. package/lib/aws/compute/task-input.js +1 -1
  249. package/lib/aws/compute/tasks/aws-sdk/call-aws-service.js +1 -1
  250. package/lib/aws/compute/tasks/eventbridge/put-events.js +1 -1
  251. package/lib/aws/compute/tasks/http/invoke.js +1 -1
  252. package/lib/aws/compute/tasks/lambda/invoke.js +1 -1
  253. package/lib/aws/compute/tasks/private/task-utils.js +3 -4
  254. package/lib/aws/compute/tasks/resource-arn-suffix.js +2 -3
  255. package/lib/aws/compute/tasks/sqs/send-message.js +1 -1
  256. package/lib/aws/compute/tasks/stepfunctions/invoke-activity.js +1 -1
  257. package/lib/aws/compute/tasks/stepfunctions/start-execution.js +1 -1
  258. package/lib/aws/compute/types.js +2 -2
  259. package/lib/aws/compute/user-data.d.ts +270 -0
  260. package/lib/aws/compute/user-data.js +487 -0
  261. package/lib/aws/compute/util.d.ts +1 -1
  262. package/lib/aws/compute/util.js +4 -5
  263. package/lib/aws/compute/volume.d.ts +480 -0
  264. package/lib/aws/compute/volume.js +426 -0
  265. package/lib/aws/compute/vpc-endpoint-service.d.ts +149 -0
  266. package/lib/aws/compute/vpc-endpoint-service.js +90 -0
  267. package/lib/aws/compute/vpc-endpoint.d.ts +742 -0
  268. package/lib/aws/compute/vpc-endpoint.js +811 -0
  269. package/lib/aws/compute/vpc-flow-logs.d.ts +551 -0
  270. package/lib/aws/compute/vpc-flow-logs.js +693 -0
  271. package/lib/aws/compute/vpc-lookup.d.ts +73 -0
  272. package/lib/aws/compute/vpc-lookup.js +3 -0
  273. package/lib/aws/compute/vpc-v2-base.d.ts +353 -0
  274. package/lib/aws/compute/vpc-v2-base.js +493 -0
  275. package/lib/aws/compute/vpc-v2.d.ts +385 -0
  276. package/lib/aws/compute/vpc-v2.js +408 -0
  277. package/lib/aws/compute/vpc.d.ts +1448 -0
  278. package/lib/aws/compute/vpc.js +1495 -0
  279. package/lib/aws/compute/vpn.d.ts +443 -0
  280. package/lib/aws/compute/vpn.js +397 -0
  281. package/lib/aws/compute/windows-versions.d.ts +418 -0
  282. package/lib/aws/compute/windows-versions.js +426 -0
  283. package/lib/aws/edge/certificate-base.d.ts +20 -0
  284. package/lib/aws/edge/certificate-base.js +28 -0
  285. package/lib/aws/edge/certificate.d.ts +23 -2
  286. package/lib/aws/edge/certificate.js +54 -4
  287. package/lib/aws/edge/distribution.js +3 -3
  288. package/lib/aws/edge/dns-alias-record-targets.js +2 -2
  289. package/lib/aws/edge/dns-record.js +16 -16
  290. package/lib/aws/edge/dns-zone.d.ts +20 -2
  291. package/lib/aws/edge/dns-zone.js +25 -10
  292. package/lib/aws/edge/function.js +2 -2
  293. package/lib/aws/edge/index.d.ts +1 -0
  294. package/lib/aws/edge/index.js +2 -1
  295. package/lib/aws/edge/key-value-store.js +4 -4
  296. package/lib/aws/edge/origin.js +7 -5
  297. package/lib/aws/edge/response-headers-policy.js +1 -1
  298. package/lib/aws/encryption/alias.js +1 -1
  299. package/lib/aws/encryption/key.js +1 -1
  300. package/lib/aws/encryption/via-service-principal.js +1 -1
  301. package/lib/aws/iam/grant.js +2 -2
  302. package/lib/aws/iam/index.d.ts +1 -0
  303. package/lib/aws/iam/index.js +2 -1
  304. package/lib/aws/iam/instance-profile.d.ts +155 -0
  305. package/lib/aws/iam/instance-profile.js +124 -0
  306. package/lib/aws/iam/managed-policy.js +1 -1
  307. package/lib/aws/iam/oidc-provider.js +1 -1
  308. package/lib/aws/iam/policy-document-config.generated.d.ts +8 -8
  309. package/lib/aws/iam/policy-document-config.generated.js +1 -1
  310. package/lib/aws/iam/policy-document.js +1 -1
  311. package/lib/aws/iam/policy-statement-props.generated.d.ts +8 -8
  312. package/lib/aws/iam/policy-statement-props.generated.js +1 -1
  313. package/lib/aws/iam/policy-statement.js +9 -9
  314. package/lib/aws/iam/policy.js +1 -1
  315. package/lib/aws/iam/principals.js +26 -26
  316. package/lib/aws/iam/private/assume-role-policy.js +2 -3
  317. package/lib/aws/iam/private/comparable-principal.js +2 -3
  318. package/lib/aws/iam/private/immutable-role.d.ts +2 -1
  319. package/lib/aws/iam/private/immutable-role.js +3 -3
  320. package/lib/aws/iam/private/imported-role.d.ts +1 -1
  321. package/lib/aws/iam/private/imported-role.js +3 -3
  322. package/lib/aws/iam/private/merge-statements.js +2 -3
  323. package/lib/aws/iam/private/util.js +4 -4
  324. package/lib/aws/iam/role.js +1 -1
  325. package/lib/aws/iam/saml-provider.d.ts +1 -1
  326. package/lib/aws/iam/saml-provider.js +6 -6
  327. package/lib/aws/iam/unknown-principal.js +1 -1
  328. package/lib/aws/iam/utils.js +2 -3
  329. package/lib/aws/index.d.ts +1 -0
  330. package/lib/aws/index.js +4 -1
  331. package/lib/aws/network/simple-ipv4-vpc.js +5 -5
  332. package/lib/aws/network/subnet-group.js +3 -3
  333. package/lib/aws/network/subnet.d.ts +1 -1
  334. package/lib/aws/network/subnet.js +7 -7
  335. package/lib/aws/notify/archive.js +3 -2
  336. package/lib/aws/notify/connection.js +5 -4
  337. package/lib/aws/notify/event-bus.js +5 -4
  338. package/lib/aws/notify/event-pattern.js +3 -3
  339. package/lib/aws/notify/index.js +3 -1
  340. package/lib/aws/notify/input.js +4 -3
  341. package/lib/aws/notify/kinesis-stream.js +3 -2
  342. package/lib/aws/notify/on-event-options.js +2 -1
  343. package/lib/aws/notify/queue-config.generated.d.ts +18 -11
  344. package/lib/aws/notify/queue-config.generated.js +1 -1
  345. package/lib/aws/notify/queue-policy.js +1 -1
  346. package/lib/aws/notify/queue.js +1 -1
  347. package/lib/aws/notify/resource-policy.js +1 -1
  348. package/lib/aws/notify/rule.js +3 -2
  349. package/lib/aws/notify/schedule.js +2 -2
  350. package/lib/aws/notify/sqs-augmentations.generated.d.ts +125 -0
  351. package/lib/aws/notify/sqs-augmentations.generated.js +74 -0
  352. package/lib/aws/notify/target.js +2 -1
  353. package/lib/aws/notify/targets/event-bus.js +1 -1
  354. package/lib/aws/notify/targets/function.js +1 -1
  355. package/lib/aws/notify/targets/log-group.js +2 -2
  356. package/lib/aws/notify/targets/sqs.js +1 -1
  357. package/lib/aws/notify/targets/state-machine.js +1 -1
  358. package/lib/aws/notify/targets/util.d.ts +1 -1
  359. package/lib/aws/notify/targets/util.js +10 -11
  360. package/lib/aws/notify/util.js +4 -4
  361. package/lib/aws/provider-config.generated.d.ts +33 -33
  362. package/lib/aws/provider-config.generated.js +1 -1
  363. package/lib/aws/storage/bucket-notifications.js +1 -1
  364. package/lib/aws/storage/bucket-policy.js +1 -1
  365. package/lib/aws/storage/bucket-source.js +1 -1
  366. package/lib/aws/storage/bucket.d.ts +298 -65
  367. package/lib/aws/storage/bucket.js +548 -225
  368. package/lib/aws/storage/cors-config.generated.d.ts +3 -3
  369. package/lib/aws/storage/cors-config.generated.js +1 -1
  370. package/lib/aws/storage/cors-rule-config.generated.d.ts +5 -5
  371. package/lib/aws/storage/cors-rule-config.generated.js +1 -1
  372. package/lib/aws/storage/index.d.ts +1 -0
  373. package/lib/aws/storage/index.js +2 -1
  374. package/lib/aws/storage/lifecycle-config.generated.d.ts +11 -11
  375. package/lib/aws/storage/lifecycle-config.generated.js +1 -1
  376. package/lib/aws/storage/notification-targets/function.js +6 -6
  377. package/lib/aws/storage/notification-targets/queue.js +1 -1
  378. package/lib/aws/storage/origin-access-identity.d.ts +1 -1
  379. package/lib/aws/storage/origin-access-identity.js +5 -4
  380. package/lib/aws/storage/parameter-util.d.ts +12 -0
  381. package/lib/aws/storage/parameter-util.js +65 -0
  382. package/lib/aws/storage/parameter.d.ts +526 -0
  383. package/lib/aws/storage/parameter.js +606 -0
  384. package/lib/aws/storage/s3-canned-metrics.generated.d.ts +22 -0
  385. package/lib/aws/storage/s3-canned-metrics.generated.js +23 -0
  386. package/lib/aws/storage/util.d.ts +25 -3
  387. package/lib/aws/storage/util.js +84 -17
  388. package/lib/aws/storage/website-config.generated.d.ts +5 -5
  389. package/lib/aws/storage/website-config.generated.js +1 -1
  390. package/lib/aws/util.js +2 -3
  391. package/lib/construct-base.d.ts +10 -1
  392. package/lib/construct-base.js +9 -6
  393. package/lib/duration.js +1 -1
  394. package/lib/expiration.d.ts +48 -0
  395. package/lib/expiration.js +68 -0
  396. package/lib/helpers-internal/index.d.ts +1 -0
  397. package/lib/helpers-internal/index.js +7 -0
  398. package/lib/index.d.ts +2 -0
  399. package/lib/index.js +3 -1
  400. package/lib/private/md5.d.ts +4 -0
  401. package/lib/private/md5.js +14 -0
  402. package/lib/private/unique-resource-name.js +3 -4
  403. package/lib/size.js +2 -2
  404. package/lib/stack-base.d.ts +4 -23
  405. package/lib/stack-base.js +9 -30
  406. package/lib/terra-func.d.ts +103 -0
  407. package/lib/terra-func.js +170 -0
  408. package/lib/token.js +5 -5
  409. package/package.json +15 -8
  410. package/bun.lockb +0 -0
@@ -0,0 +1,742 @@
1
+ import { vpcEndpoint } from "@cdktf/provider-aws";
2
+ import { Construct } from "constructs";
3
+ import { Connections, IConnectable } from "./connections";
4
+ import { ISecurityGroup } from "./security-group";
5
+ import { IVpc, SubnetSelection } from "./vpc";
6
+ import { IAwsConstruct, AwsConstructBase, AwsConstructProps } from "../aws-construct";
7
+ import * as iam from "../iam";
8
+ /**
9
+ * Outputs which may be registered for output via the Grid.
10
+ */
11
+ export interface VpcEndpointOutputs {
12
+ /**
13
+ * The VPC endpoint identifier.
14
+ * @attribute
15
+ */
16
+ readonly vpcEndpointId: string;
17
+ }
18
+ /**
19
+ * A VPC endpoint.
20
+ */
21
+ export interface IVpcEndpoint extends IAwsConstruct {
22
+ /** Strongly typed outputs */
23
+ readonly vpcEndpointOutputs: VpcEndpointOutputs;
24
+ /**
25
+ * The VPC endpoint identifier.
26
+ * @attribute
27
+ */
28
+ readonly vpcEndpointId: string;
29
+ }
30
+ export declare abstract class VpcEndpoint extends AwsConstructBase implements IVpcEndpoint {
31
+ abstract readonly vpcEndpointId: string;
32
+ get vpcEndpointOutputs(): VpcEndpointOutputs;
33
+ get outputs(): Record<string, any>;
34
+ protected policyDocument?: iam.PolicyDocument;
35
+ /**
36
+ * Adds a statement to the policy document of the VPC endpoint. The statement
37
+ * must have a Principal.
38
+ *
39
+ * Not all interface VPC endpoints support policy. For more information
40
+ * see https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html
41
+ *
42
+ * @param statement the IAM statement to add
43
+ */
44
+ addToPolicy(statement: iam.PolicyStatement): void;
45
+ }
46
+ /**
47
+ * A gateway VPC endpoint.
48
+ */
49
+ export interface IGatewayVpcEndpoint extends IVpcEndpoint {
50
+ }
51
+ /**
52
+ * The type of VPC endpoint.
53
+ */
54
+ export declare enum VpcEndpointType {
55
+ /**
56
+ * Interface
57
+ *
58
+ * An interface endpoint is an elastic network interface with a private IP
59
+ * address that serves as an entry point for traffic destined to a supported
60
+ * service.
61
+ */
62
+ INTERFACE = "Interface",
63
+ /**
64
+ * Gateway
65
+ *
66
+ * A gateway endpoint is a gateway that is a target for a specified route in
67
+ * your route table, used for traffic destined to a supported AWS service.
68
+ */
69
+ GATEWAY = "Gateway"
70
+ }
71
+ /**
72
+ * A service for a gateway VPC endpoint.
73
+ */
74
+ export interface IGatewayVpcEndpointService {
75
+ /**
76
+ * The name of the service.
77
+ */
78
+ readonly name: string;
79
+ }
80
+ /**
81
+ * An AWS service for a gateway VPC endpoint.
82
+ */
83
+ export declare class GatewayVpcEndpointAwsService implements IGatewayVpcEndpointService {
84
+ static readonly DYNAMODB: GatewayVpcEndpointAwsService;
85
+ static readonly S3: GatewayVpcEndpointAwsService;
86
+ static readonly S3_EXPRESS: GatewayVpcEndpointAwsService;
87
+ /**
88
+ * The name of the service.
89
+ */
90
+ readonly name: string;
91
+ /**
92
+ * The short name of the service. e.g. ecs
93
+ */
94
+ readonly shortName: string;
95
+ constructor(name: string, prefix?: string);
96
+ }
97
+ /**
98
+ * Options to add a gateway endpoint to a VPC.
99
+ */
100
+ export interface GatewayVpcEndpointOptions {
101
+ /**
102
+ * The service to use for this gateway VPC endpoint.
103
+ */
104
+ readonly service: IGatewayVpcEndpointService;
105
+ /**
106
+ * Where to add endpoint routing.
107
+ *
108
+ * By default, this endpoint will be routable from all subnets in the VPC.
109
+ * Specify a list of subnet selection objects here to be more specific.
110
+ *
111
+ * @default - All subnets in the VPC
112
+ * @example
113
+ *
114
+ * declare const vpc: compute.Vpc;
115
+ *
116
+ * vpc.addGatewayEndpoint('DynamoDbEndpoint', {
117
+ * service: ec2.GatewayVpcEndpointAwsService.DYNAMODB,
118
+ * // Add only to ISOLATED subnets
119
+ * subnets: [
120
+ * { subnetType: ec2.SubnetType.PRIVATE_ISOLATED }
121
+ * ]
122
+ * });
123
+ *
124
+ *
125
+ */
126
+ readonly subnets?: SubnetSelection[];
127
+ }
128
+ /**
129
+ * Construction properties for a GatewayVpcEndpoint.
130
+ */
131
+ export interface GatewayVpcEndpointProps extends GatewayVpcEndpointOptions, AwsConstructProps {
132
+ /**
133
+ * The VPC network in which the gateway endpoint will be used.
134
+ */
135
+ readonly vpc: IVpc;
136
+ }
137
+ /**
138
+ * A gateway VPC endpoint.
139
+ * @resource aws_vpc_endpoint
140
+ */
141
+ export declare class GatewayVpcEndpoint extends VpcEndpoint implements IGatewayVpcEndpoint {
142
+ static fromGatewayVpcEndpointId(scope: Construct, id: string, gatewayVpcEndpointId: string): IGatewayVpcEndpoint;
143
+ /**
144
+ * The gateway VPC endpoint identifier.
145
+ */
146
+ readonly vpcEndpointId: string;
147
+ /**
148
+ * @attribute
149
+ */
150
+ readonly vpcEndpointNetworkInterfaceIds: string[];
151
+ /**
152
+ * @attribute
153
+ */
154
+ readonly vpcEndpointDnsEntries: vpcEndpoint.VpcEndpointDnsEntryList;
155
+ constructor(scope: Construct, id: string, props: GatewayVpcEndpointProps);
156
+ }
157
+ /**
158
+ * A service for an interface VPC endpoint.
159
+ */
160
+ export interface IInterfaceVpcEndpointService {
161
+ /**
162
+ * The name of the service.
163
+ */
164
+ readonly name: string;
165
+ /**
166
+ * The port of the service.
167
+ */
168
+ readonly port: number;
169
+ /**
170
+ * Whether Private DNS is supported by default.
171
+ */
172
+ readonly privateDnsDefault?: boolean;
173
+ }
174
+ /**
175
+ * A custom-hosted service for an interface VPC endpoint.
176
+ */
177
+ export declare class InterfaceVpcEndpointService implements IInterfaceVpcEndpointService {
178
+ /**
179
+ * The name of the service.
180
+ */
181
+ readonly name: string;
182
+ /**
183
+ * The port of the service.
184
+ */
185
+ readonly port: number;
186
+ /**
187
+ * Whether Private DNS is supported by default.
188
+ */
189
+ readonly privateDnsDefault?: boolean;
190
+ constructor(name: string, port?: number);
191
+ }
192
+ /**
193
+ * Optional properties for the InterfaceVpcEndpointAwsService class
194
+ */
195
+ export interface InterfaceVpcEndpointAwsServiceProps {
196
+ /**
197
+ * If true, the service is a global endpoint and
198
+ * its name will not be prefixed with the stack's region.
199
+ *
200
+ * @default false
201
+ */
202
+ readonly global?: boolean;
203
+ }
204
+ /**
205
+ * An AWS service for an interface VPC endpoint.
206
+ */
207
+ export declare class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointService {
208
+ static readonly ACCESS_ANALYZER: InterfaceVpcEndpointAwsService;
209
+ static readonly ACCOUNT_MANAGEMENT: InterfaceVpcEndpointAwsService;
210
+ static readonly AIRFLOW_API: InterfaceVpcEndpointAwsService;
211
+ static readonly AIRFLOW_API_FIPS: InterfaceVpcEndpointAwsService;
212
+ static readonly AIRFLOW_ENV: InterfaceVpcEndpointAwsService;
213
+ static readonly AIRFLOW_ENV_FIPS: InterfaceVpcEndpointAwsService;
214
+ static readonly AIRFLOW_OPS: InterfaceVpcEndpointAwsService;
215
+ static readonly APIGATEWAY: InterfaceVpcEndpointAwsService;
216
+ /** @deprecated - Use InterfaceVpcEndpointAwsService.APP_MESH_ENVOY_MANAGEMENT instead. */
217
+ static readonly APP_MESH: InterfaceVpcEndpointAwsService;
218
+ static readonly APP_MESH_ENVOY_MANAGEMENT: InterfaceVpcEndpointAwsService;
219
+ static readonly APP_MESH_OPS: InterfaceVpcEndpointAwsService;
220
+ static readonly APP_RUNNER: InterfaceVpcEndpointAwsService;
221
+ static readonly APP_RUNNER_REQUESTS: InterfaceVpcEndpointAwsService;
222
+ static readonly APP_SYNC: InterfaceVpcEndpointAwsService;
223
+ static readonly APPCONFIG: InterfaceVpcEndpointAwsService;
224
+ static readonly APPCONFIGDATA: InterfaceVpcEndpointAwsService;
225
+ static readonly APPLICATION_AUTOSCALING: InterfaceVpcEndpointAwsService;
226
+ static readonly APPLICATION_DISCOVERY_ARSENAL: InterfaceVpcEndpointAwsService;
227
+ static readonly APPLICATION_DISCOVERY_SERVICE: InterfaceVpcEndpointAwsService;
228
+ static readonly APPLICATION_MIGRATION_SERVICE: InterfaceVpcEndpointAwsService;
229
+ static readonly APPSTREAM_API: InterfaceVpcEndpointAwsService;
230
+ static readonly APPSTREAM_STREAMING: InterfaceVpcEndpointAwsService;
231
+ static readonly ATHENA: InterfaceVpcEndpointAwsService;
232
+ static readonly AUDIT_MANAGER: InterfaceVpcEndpointAwsService;
233
+ static readonly AUTOSCALING: InterfaceVpcEndpointAwsService;
234
+ static readonly AUTOSCALING_PLANS: InterfaceVpcEndpointAwsService;
235
+ static readonly B2B_DATA_INTERCHANGE: InterfaceVpcEndpointAwsService;
236
+ static readonly BACKUP: InterfaceVpcEndpointAwsService;
237
+ static readonly BACKUP_GATEWAY: InterfaceVpcEndpointAwsService;
238
+ static readonly BATCH: InterfaceVpcEndpointAwsService;
239
+ static readonly BEDROCK: InterfaceVpcEndpointAwsService;
240
+ static readonly BEDROCK_AGENT: InterfaceVpcEndpointAwsService;
241
+ static readonly BEDROCK_AGENT_RUNTIME: InterfaceVpcEndpointAwsService;
242
+ static readonly BEDROCK_RUNTIME: InterfaceVpcEndpointAwsService;
243
+ static readonly BILLING: InterfaceVpcEndpointAwsService;
244
+ static readonly BILLING_AND_COST_MANAGEMENT_FREETIER: InterfaceVpcEndpointAwsService;
245
+ static readonly BILLING_AND_COST_MANAGEMENT_TAX: InterfaceVpcEndpointAwsService;
246
+ static readonly BILLING_CONDUCTOR: InterfaceVpcEndpointAwsService;
247
+ static readonly BRAKET: InterfaceVpcEndpointAwsService;
248
+ static readonly CLEAN_ROOMS: InterfaceVpcEndpointAwsService;
249
+ static readonly CLEAN_ROOMS_ML: InterfaceVpcEndpointAwsService;
250
+ static readonly CLOUD_CONTROL_API: InterfaceVpcEndpointAwsService;
251
+ static readonly CLOUD_CONTROL_API_FIPS: InterfaceVpcEndpointAwsService;
252
+ static readonly CLOUD_DIRECTORY: InterfaceVpcEndpointAwsService;
253
+ static readonly CLOUD_MAP_DATA_SERVICE_DISCOVERY: InterfaceVpcEndpointAwsService;
254
+ static readonly CLOUD_MAP_DATA_SERVICE_DISCOVERY_FIPS: InterfaceVpcEndpointAwsService;
255
+ static readonly CLOUD_MAP_SERVICE_DISCOVERY: InterfaceVpcEndpointAwsService;
256
+ static readonly CLOUD_MAP_SERVICE_DISCOVERY_FIPS: InterfaceVpcEndpointAwsService;
257
+ static readonly CLOUDFORMATION: InterfaceVpcEndpointAwsService;
258
+ static readonly CLOUDHSM: InterfaceVpcEndpointAwsService;
259
+ static readonly CLOUDTRAIL: InterfaceVpcEndpointAwsService;
260
+ /** @deprecated Use InterfaceVpcEndpointAwsService.Q_DEVELOPER_CODE_WHISPERER instead.*/
261
+ static readonly CODEWHISPERER: InterfaceVpcEndpointAwsService;
262
+ /** @deprecated - Use InterfaceVpcEndpointAwsService.CLOUDWATCH_MONITORING instead. */
263
+ static readonly CLOUDWATCH: InterfaceVpcEndpointAwsService;
264
+ static readonly CLOUDWATCH_APPLICATION_INSIGHTS: InterfaceVpcEndpointAwsService;
265
+ static readonly CLOUDWATCH_APPLICATION_SIGNALS: InterfaceVpcEndpointAwsService;
266
+ /** @deprecated - Use InterfaceVpcEndpointAwsService.EVENTBRIDGE instead. */
267
+ static readonly CLOUDWATCH_EVENTS: InterfaceVpcEndpointAwsService;
268
+ static readonly CLOUDWATCH_EVIDENTLY: InterfaceVpcEndpointAwsService;
269
+ static readonly CLOUDWATCH_EVIDENTLY_DATAPLANE: InterfaceVpcEndpointAwsService;
270
+ static readonly CLOUDWATCH_LOGS: InterfaceVpcEndpointAwsService;
271
+ static readonly CLOUDWATCH_MONITORING: InterfaceVpcEndpointAwsService;
272
+ static readonly CLOUDWATCH_NETWORK_MONITOR: InterfaceVpcEndpointAwsService;
273
+ static readonly CLOUDWATCH_RUM: InterfaceVpcEndpointAwsService;
274
+ static readonly CLOUDWATCH_RUM_DATAPLANE: InterfaceVpcEndpointAwsService;
275
+ static readonly CLOUDWATCH_SYNTHETICS: InterfaceVpcEndpointAwsService;
276
+ static readonly CLOUDWATCH_SYNTHETICS_FIPS: InterfaceVpcEndpointAwsService;
277
+ static readonly CODEARTIFACT_API: InterfaceVpcEndpointAwsService;
278
+ static readonly CODEARTIFACT_REPOSITORIES: InterfaceVpcEndpointAwsService;
279
+ static readonly CODEBUILD: InterfaceVpcEndpointAwsService;
280
+ static readonly CODEBUILD_FIPS: InterfaceVpcEndpointAwsService;
281
+ static readonly CODECATALYST: InterfaceVpcEndpointAwsService;
282
+ static readonly CODECATALYST_GIT: InterfaceVpcEndpointAwsService;
283
+ static readonly CODECATALYST_PACKAGES: InterfaceVpcEndpointAwsService;
284
+ static readonly CODECOMMIT: InterfaceVpcEndpointAwsService;
285
+ static readonly CODECOMMIT_FIPS: InterfaceVpcEndpointAwsService;
286
+ static readonly CODEDEPLOY: InterfaceVpcEndpointAwsService;
287
+ static readonly CODEDEPLOY_COMMANDS_SECURE: InterfaceVpcEndpointAwsService;
288
+ static readonly CODEGURU_PROFILER: InterfaceVpcEndpointAwsService;
289
+ static readonly CODEGURU_REVIEWER: InterfaceVpcEndpointAwsService;
290
+ static readonly CODEPIPELINE: InterfaceVpcEndpointAwsService;
291
+ static readonly CODESTAR_CONNECTIONS: InterfaceVpcEndpointAwsService;
292
+ static readonly CODE_CONNECTIONS: InterfaceVpcEndpointAwsService;
293
+ static readonly COMPREHEND: InterfaceVpcEndpointAwsService;
294
+ static readonly COMPREHEND_MEDICAL: InterfaceVpcEndpointAwsService;
295
+ static readonly COMPUTE_OPTIMIZER: InterfaceVpcEndpointAwsService;
296
+ static readonly CONFIG: InterfaceVpcEndpointAwsService;
297
+ static readonly CONNECT_APP_INTEGRATIONS: InterfaceVpcEndpointAwsService;
298
+ static readonly CONNECT_CASES: InterfaceVpcEndpointAwsService;
299
+ static readonly CONNECT_CONNECT_CAMPAIGNS: InterfaceVpcEndpointAwsService;
300
+ static readonly CONNECT_PROFILE: InterfaceVpcEndpointAwsService;
301
+ static readonly CONNECT_VOICEID: InterfaceVpcEndpointAwsService;
302
+ static readonly CONNECT_WISDOM: InterfaceVpcEndpointAwsService;
303
+ static readonly CONTROL_CATALOG: InterfaceVpcEndpointAwsService;
304
+ static readonly COST_EXPLORER: InterfaceVpcEndpointAwsService;
305
+ static readonly COST_OPTIMIZATION_HUB: InterfaceVpcEndpointAwsService;
306
+ static readonly DATA_EXCHANGE: InterfaceVpcEndpointAwsService;
307
+ static readonly DATA_EXPORTS: InterfaceVpcEndpointAwsService;
308
+ static readonly DATASYNC: InterfaceVpcEndpointAwsService;
309
+ static readonly DATAZONE: InterfaceVpcEndpointAwsService;
310
+ static readonly DATABASE_MIGRATION_SERVICE: InterfaceVpcEndpointAwsService;
311
+ static readonly DATABASE_MIGRATION_SERVICE_FIPS: InterfaceVpcEndpointAwsService;
312
+ static readonly DEADLINE_CLOUD_MANAGEMENT: InterfaceVpcEndpointAwsService;
313
+ static readonly DEADLINE_CLOUD_SCHEDULING: InterfaceVpcEndpointAwsService;
314
+ static readonly DEVOPS_GURU: InterfaceVpcEndpointAwsService;
315
+ static readonly DIRECTORY_SERVICE: InterfaceVpcEndpointAwsService;
316
+ static readonly DIRECTORY_SERVICE_DATA: InterfaceVpcEndpointAwsService;
317
+ static readonly DYNAMODB: InterfaceVpcEndpointAwsService;
318
+ static readonly DYNAMODB_FIPS: InterfaceVpcEndpointAwsService;
319
+ static readonly EBS_DIRECT: InterfaceVpcEndpointAwsService;
320
+ static readonly EC2: InterfaceVpcEndpointAwsService;
321
+ static readonly EC2_MESSAGES: InterfaceVpcEndpointAwsService;
322
+ static readonly ECR: InterfaceVpcEndpointAwsService;
323
+ static readonly ECR_DOCKER: InterfaceVpcEndpointAwsService;
324
+ static readonly ECS: InterfaceVpcEndpointAwsService;
325
+ static readonly ECS_AGENT: InterfaceVpcEndpointAwsService;
326
+ static readonly ECS_TELEMETRY: InterfaceVpcEndpointAwsService;
327
+ static readonly EKS: InterfaceVpcEndpointAwsService;
328
+ static readonly EKS_AUTH: InterfaceVpcEndpointAwsService;
329
+ static readonly ELASTIC_BEANSTALK: InterfaceVpcEndpointAwsService;
330
+ static readonly ELASTIC_BEANSTALK_HEALTH: InterfaceVpcEndpointAwsService;
331
+ static readonly ELASTIC_DISASTER_RECOVERY: InterfaceVpcEndpointAwsService;
332
+ static readonly ELASTIC_FILESYSTEM: InterfaceVpcEndpointAwsService;
333
+ static readonly ELASTIC_FILESYSTEM_FIPS: InterfaceVpcEndpointAwsService;
334
+ static readonly ELASTIC_INFERENCE_RUNTIME: InterfaceVpcEndpointAwsService;
335
+ static readonly ELASTIC_LOAD_BALANCING: InterfaceVpcEndpointAwsService;
336
+ static readonly ELASTICACHE: InterfaceVpcEndpointAwsService;
337
+ static readonly ELASTICACHE_FIPS: InterfaceVpcEndpointAwsService;
338
+ static readonly ELEMENTAL_MEDIACONNECT: InterfaceVpcEndpointAwsService;
339
+ static readonly EMAIL_SMTP: InterfaceVpcEndpointAwsService;
340
+ static readonly EMR: InterfaceVpcEndpointAwsService;
341
+ static readonly EMR_EKS: InterfaceVpcEndpointAwsService;
342
+ static readonly EMR_SERVERLESS: InterfaceVpcEndpointAwsService;
343
+ static readonly EMR_SERVERLESS_LIVY: InterfaceVpcEndpointAwsService;
344
+ static readonly EMR_WAL: InterfaceVpcEndpointAwsService;
345
+ static readonly END_USER_MESSAGING_SOCIAL: InterfaceVpcEndpointAwsService;
346
+ static readonly ENTITY_RESOLUTION: InterfaceVpcEndpointAwsService;
347
+ static readonly EVENTBRIDGE: InterfaceVpcEndpointAwsService;
348
+ static readonly EVENTBRIDGE_SCHEMA_REGISTRY: InterfaceVpcEndpointAwsService;
349
+ static readonly FAULT_INJECTION_SIMULATOR: InterfaceVpcEndpointAwsService;
350
+ static readonly FINSPACE: InterfaceVpcEndpointAwsService;
351
+ static readonly FINSPACE_API: InterfaceVpcEndpointAwsService;
352
+ static readonly FORECAST: InterfaceVpcEndpointAwsService;
353
+ static readonly FORECAST_QUERY: InterfaceVpcEndpointAwsService;
354
+ static readonly FORECAST_FIPS: InterfaceVpcEndpointAwsService;
355
+ static readonly FORECAST_QUERY_FIPS: InterfaceVpcEndpointAwsService;
356
+ static readonly FRAUD_DETECTOR: InterfaceVpcEndpointAwsService;
357
+ static readonly FSX: InterfaceVpcEndpointAwsService;
358
+ static readonly FSX_FIPS: InterfaceVpcEndpointAwsService;
359
+ static readonly CODECOMMIT_GIT: InterfaceVpcEndpointAwsService;
360
+ static readonly CODECOMMIT_GIT_FIPS: InterfaceVpcEndpointAwsService;
361
+ static readonly GLUE: InterfaceVpcEndpointAwsService;
362
+ static readonly GLUE_DATABREW: InterfaceVpcEndpointAwsService;
363
+ static readonly GLUE_DASHBOARD: InterfaceVpcEndpointAwsService;
364
+ static readonly GRAFANA: InterfaceVpcEndpointAwsService;
365
+ static readonly GRAFANA_WORKSPACE: InterfaceVpcEndpointAwsService;
366
+ static readonly GROUNDSTATION: InterfaceVpcEndpointAwsService;
367
+ static readonly GUARDDUTY: InterfaceVpcEndpointAwsService;
368
+ static readonly GUARDDUTY_FIPS: InterfaceVpcEndpointAwsService;
369
+ static readonly GUARDDUTY_DATA: InterfaceVpcEndpointAwsService;
370
+ static readonly GUARDDUTY_DATA_FIPS: InterfaceVpcEndpointAwsService;
371
+ static readonly HEALTH_IMAGING: InterfaceVpcEndpointAwsService;
372
+ static readonly HEALTH_IMAGING_RUNTIME: InterfaceVpcEndpointAwsService;
373
+ static readonly HEALTH_IMAGING_DICOM: InterfaceVpcEndpointAwsService;
374
+ static readonly HEALTHLAKE: InterfaceVpcEndpointAwsService;
375
+ static readonly IAM: InterfaceVpcEndpointAwsService;
376
+ static readonly IAM_IDENTITY_CENTER: InterfaceVpcEndpointAwsService;
377
+ static readonly IAM_ROLES_ANYWHERE: InterfaceVpcEndpointAwsService;
378
+ static readonly IMAGE_BUILDER: InterfaceVpcEndpointAwsService;
379
+ static readonly INSPECTOR: InterfaceVpcEndpointAwsService;
380
+ static readonly INSPECTOR_SCAN: InterfaceVpcEndpointAwsService;
381
+ static readonly INTERNET_MONITOR: InterfaceVpcEndpointAwsService;
382
+ static readonly INTERNET_MONITOR_FIPS: InterfaceVpcEndpointAwsService;
383
+ static readonly INVOICING: InterfaceVpcEndpointAwsService;
384
+ static readonly IOT_CORE: InterfaceVpcEndpointAwsService;
385
+ static readonly IOT_CORE_CREDENTIALS: InterfaceVpcEndpointAwsService;
386
+ static readonly IOT_CORE_DEVICE_ADVISOR: InterfaceVpcEndpointAwsService;
387
+ static readonly IOT_CORE_FLEETHUB_API: InterfaceVpcEndpointAwsService;
388
+ static readonly IOT_CORE_FOR_LORAWAN: InterfaceVpcEndpointAwsService;
389
+ static readonly IOT_FLEETWISE: InterfaceVpcEndpointAwsService;
390
+ static readonly IOT_LORAWAN_CUPS: InterfaceVpcEndpointAwsService;
391
+ static readonly IOT_LORAWAN_LNS: InterfaceVpcEndpointAwsService;
392
+ static readonly IOT_GREENGRASS: InterfaceVpcEndpointAwsService;
393
+ static readonly IOT_ROBORUNNER: InterfaceVpcEndpointAwsService;
394
+ static readonly IOT_SITEWISE_API: InterfaceVpcEndpointAwsService;
395
+ static readonly IOT_SITEWISE_DATA: InterfaceVpcEndpointAwsService;
396
+ static readonly IOT_TWINMAKER_API: InterfaceVpcEndpointAwsService;
397
+ static readonly IOT_TWINMAKER_DATA: InterfaceVpcEndpointAwsService;
398
+ static readonly KAFKA: InterfaceVpcEndpointAwsService;
399
+ static readonly KAFKA_FIPS: InterfaceVpcEndpointAwsService;
400
+ static readonly KAFKA_CONNECT: InterfaceVpcEndpointAwsService;
401
+ static readonly KENDRA: InterfaceVpcEndpointAwsService;
402
+ static readonly KENDRA_RANKING: InterfaceVpcEndpointAwsService;
403
+ static readonly KEYSPACES: InterfaceVpcEndpointAwsService;
404
+ static readonly KEYSPACES_FIPS: InterfaceVpcEndpointAwsService;
405
+ static readonly KINESIS_STREAMS: InterfaceVpcEndpointAwsService;
406
+ static readonly KINESIS_STREAMS_FIPS: InterfaceVpcEndpointAwsService;
407
+ static readonly KINESIS_FIREHOSE: InterfaceVpcEndpointAwsService;
408
+ static readonly KMS: InterfaceVpcEndpointAwsService;
409
+ static readonly KMS_FIPS: InterfaceVpcEndpointAwsService;
410
+ static readonly LAKE_FORMATION: InterfaceVpcEndpointAwsService;
411
+ static readonly LAUNCH_WIZARD: InterfaceVpcEndpointAwsService;
412
+ static readonly LAMBDA: InterfaceVpcEndpointAwsService;
413
+ static readonly LEX_MODELS: InterfaceVpcEndpointAwsService;
414
+ static readonly LEX_RUNTIME: InterfaceVpcEndpointAwsService;
415
+ static readonly LICENSE_MANAGER: InterfaceVpcEndpointAwsService;
416
+ static readonly LICENSE_MANAGER_FIPS: InterfaceVpcEndpointAwsService;
417
+ static readonly LICENSE_MANAGER_LINUX_SUBSCRIPTIONS: InterfaceVpcEndpointAwsService;
418
+ static readonly LICENSE_MANAGER_LINUX_SUBSCRIPTIONS_FIPS: InterfaceVpcEndpointAwsService;
419
+ static readonly LICENSE_MANAGER_USER_SUBSCRIPTIONS: InterfaceVpcEndpointAwsService;
420
+ static readonly LOOKOUT_EQUIPMENT: InterfaceVpcEndpointAwsService;
421
+ static readonly LOOKOUT_METRICS: InterfaceVpcEndpointAwsService;
422
+ static readonly LOOKOUT_VISION: InterfaceVpcEndpointAwsService;
423
+ static readonly MAINFRAME_MODERNIZATION: InterfaceVpcEndpointAwsService;
424
+ static readonly MAINFRAME_MODERNIZATION_APP_TEST: InterfaceVpcEndpointAwsService;
425
+ static readonly MACIE: InterfaceVpcEndpointAwsService;
426
+ static readonly MANAGEMENT_CONSOLE: InterfaceVpcEndpointAwsService;
427
+ static readonly MANAGEMENT_CONSOLE_SIGNIN: InterfaceVpcEndpointAwsService;
428
+ static readonly MANAGED_BLOCKCHAIN_QUERY: InterfaceVpcEndpointAwsService;
429
+ static readonly MANAGED_BLOCKCHAIN_BITCOIN_MAINNET: InterfaceVpcEndpointAwsService;
430
+ static readonly MANAGED_BLOCKCHAIN_BITCOIN_TESTNET: InterfaceVpcEndpointAwsService;
431
+ static readonly MEMORY_DB: InterfaceVpcEndpointAwsService;
432
+ static readonly MEMORY_DB_FIPS: InterfaceVpcEndpointAwsService;
433
+ static readonly MIGRATIONHUB_ORCHESTRATOR: InterfaceVpcEndpointAwsService;
434
+ static readonly MIGRATIONHUB_REFACTOR_SPACES: InterfaceVpcEndpointAwsService;
435
+ static readonly MIGRATIONHUB_STRATEGY: InterfaceVpcEndpointAwsService;
436
+ static readonly MQ: InterfaceVpcEndpointAwsService;
437
+ static readonly NEPTUNE_ANALYTICS: InterfaceVpcEndpointAwsService;
438
+ static readonly NEPTUNE_ANALYTICS_DATA: InterfaceVpcEndpointAwsService;
439
+ static readonly NEPTUNE_ANALYTICS_FIPS: InterfaceVpcEndpointAwsService;
440
+ static readonly NETWORK_FIREWALL: InterfaceVpcEndpointAwsService;
441
+ static readonly NETWORK_FIREWALL_FIPS: InterfaceVpcEndpointAwsService;
442
+ static readonly NETWORK_FLOW_MONITOR: InterfaceVpcEndpointAwsService;
443
+ static readonly NETWORK_FLOW_MONITOR_REPORTS: InterfaceVpcEndpointAwsService;
444
+ static readonly NIMBLE_STUDIO: InterfaceVpcEndpointAwsService;
445
+ static readonly OBSERVABILITY_ADMIN: InterfaceVpcEndpointAwsService;
446
+ static readonly OUTPOSTS: InterfaceVpcEndpointAwsService;
447
+ static readonly ORGANIZATIONS: InterfaceVpcEndpointAwsService;
448
+ static readonly ORGANIZATIONS_FIPS: InterfaceVpcEndpointAwsService;
449
+ static readonly OMICS_ANALYTICS: InterfaceVpcEndpointAwsService;
450
+ static readonly OMICS_CONTROL_STORAGE: InterfaceVpcEndpointAwsService;
451
+ static readonly OMICS_STORAGE: InterfaceVpcEndpointAwsService;
452
+ static readonly OMICS_TAGS: InterfaceVpcEndpointAwsService;
453
+ static readonly OMICS_WORKFLOWS: InterfaceVpcEndpointAwsService;
454
+ static readonly PANORAMA: InterfaceVpcEndpointAwsService;
455
+ static readonly PARALLEL_COMPUTING_SERVICE: InterfaceVpcEndpointAwsService;
456
+ static readonly PARALLEL_COMPUTING_SERVICE_FIPS: InterfaceVpcEndpointAwsService;
457
+ static readonly PAYMENT_CRYPTOGRAPHY_CONTROLPLANE: InterfaceVpcEndpointAwsService;
458
+ static readonly PAYMENT_CRYPTOGRAPHY_DATAPLANE: InterfaceVpcEndpointAwsService;
459
+ static readonly PERSONALIZE: InterfaceVpcEndpointAwsService;
460
+ static readonly PERSONALIZE_EVENTS: InterfaceVpcEndpointAwsService;
461
+ static readonly PERSONALIZE_RUNTIME: InterfaceVpcEndpointAwsService;
462
+ static readonly PINPOINT_V1: InterfaceVpcEndpointAwsService;
463
+ /** @deprecated - Use InterfaceVpcEndpointAwsService.PINPOINT_SMS_VOICE_V2 instead. */
464
+ static readonly PINPOINT: InterfaceVpcEndpointAwsService;
465
+ static readonly PINPOINT_SMS_VOICE_V2: InterfaceVpcEndpointAwsService;
466
+ static readonly PIPES: InterfaceVpcEndpointAwsService;
467
+ static readonly PIPES_DATA: InterfaceVpcEndpointAwsService;
468
+ static readonly PIPES_FIPS: InterfaceVpcEndpointAwsService;
469
+ static readonly PRICE_LIST: InterfaceVpcEndpointAwsService;
470
+ static readonly PRICING_CALCULATOR: InterfaceVpcEndpointAwsService;
471
+ static readonly POLLY: InterfaceVpcEndpointAwsService;
472
+ static readonly PRIVATE_5G: InterfaceVpcEndpointAwsService;
473
+ static readonly PRIVATE_CERTIFICATE_AUTHORITY: InterfaceVpcEndpointAwsService;
474
+ static readonly PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_AD: InterfaceVpcEndpointAwsService;
475
+ static readonly PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_SCEP: InterfaceVpcEndpointAwsService;
476
+ static readonly PROMETHEUS: InterfaceVpcEndpointAwsService;
477
+ static readonly PROMETHEUS_WORKSPACES: InterfaceVpcEndpointAwsService;
478
+ static readonly PROTON: InterfaceVpcEndpointAwsService;
479
+ static readonly Q_BUSSINESS: InterfaceVpcEndpointAwsService;
480
+ static readonly Q_DEVELOPER: InterfaceVpcEndpointAwsService;
481
+ static readonly Q_DEVELOPER_CODE_WHISPERER: InterfaceVpcEndpointAwsService;
482
+ static readonly Q_DEVELOPER_QAPPS: InterfaceVpcEndpointAwsService;
483
+ static readonly Q_USER_SUBSCRIPTIONS: InterfaceVpcEndpointAwsService;
484
+ static readonly QLDB: InterfaceVpcEndpointAwsService;
485
+ static readonly QUICKSIGHT_WEBSITE: InterfaceVpcEndpointAwsService;
486
+ static readonly RDS: InterfaceVpcEndpointAwsService;
487
+ static readonly RDS_DATA: InterfaceVpcEndpointAwsService;
488
+ static readonly RDS_PERFORMANCE_INSIGHTS: InterfaceVpcEndpointAwsService;
489
+ static readonly RDS_PERFORMANCE_INSIGHTS_FIPS: InterfaceVpcEndpointAwsService;
490
+ static readonly REDSHIFT: InterfaceVpcEndpointAwsService;
491
+ static readonly REDSHIFT_FIPS: InterfaceVpcEndpointAwsService;
492
+ static readonly REDSHIFT_DATA: InterfaceVpcEndpointAwsService;
493
+ static readonly REDSHIFT_DATA_FIPS: InterfaceVpcEndpointAwsService;
494
+ static readonly REDSHIFT_SERVERLESS: InterfaceVpcEndpointAwsService;
495
+ static readonly REDSHIFT_SERVERLESS_FIPS: InterfaceVpcEndpointAwsService;
496
+ static readonly REKOGNITION: InterfaceVpcEndpointAwsService;
497
+ static readonly REKOGNITION_FIPS: InterfaceVpcEndpointAwsService;
498
+ static readonly REKOGNITION_STREAMING: InterfaceVpcEndpointAwsService;
499
+ static readonly REKOGNITION_STREAMING_FIPS: InterfaceVpcEndpointAwsService;
500
+ static readonly REPOST_SPACE: InterfaceVpcEndpointAwsService;
501
+ static readonly RESOURCE_ACCESS_MANAGER: InterfaceVpcEndpointAwsService;
502
+ static readonly RESOURCE_GROUPS: InterfaceVpcEndpointAwsService;
503
+ static readonly RESOURCE_GROUPS_FIPS: InterfaceVpcEndpointAwsService;
504
+ static readonly ROBOMAKER: InterfaceVpcEndpointAwsService;
505
+ static readonly RECYCLE_BIN: InterfaceVpcEndpointAwsService;
506
+ static readonly S3: InterfaceVpcEndpointAwsService;
507
+ static readonly S3_OUTPOSTS: InterfaceVpcEndpointAwsService;
508
+ static readonly S3_MULTI_REGION_ACCESS_POINTS: InterfaceVpcEndpointAwsService;
509
+ static readonly S3_TABLES: InterfaceVpcEndpointAwsService;
510
+ static readonly SAVINGS_PLANS: InterfaceVpcEndpointAwsService;
511
+ static readonly SAGEMAKER_API: InterfaceVpcEndpointAwsService;
512
+ static readonly SAGEMAKER_API_FIPS: InterfaceVpcEndpointAwsService;
513
+ static readonly SAGEMAKER_DATA_SCIENCE_ASSISTANT: InterfaceVpcEndpointAwsService;
514
+ static readonly SAGEMAKER_EXPERIMENTS: InterfaceVpcEndpointAwsService;
515
+ static readonly SAGEMAKER_FEATURESTORE_RUNTIME: InterfaceVpcEndpointAwsService;
516
+ static readonly SAGEMAKER_GEOSPATIAL: InterfaceVpcEndpointAwsService;
517
+ static readonly SAGEMAKER_METRICS: InterfaceVpcEndpointAwsService;
518
+ static readonly SAGEMAKER_NOTEBOOK: InterfaceVpcEndpointAwsService;
519
+ static readonly SAGEMAKER_PARTNER_APP: InterfaceVpcEndpointAwsService;
520
+ static readonly SAGEMAKER_RUNTIME: InterfaceVpcEndpointAwsService;
521
+ static readonly SAGEMAKER_RUNTIME_FIPS: InterfaceVpcEndpointAwsService;
522
+ static readonly SAGEMAKER_STUDIO: InterfaceVpcEndpointAwsService;
523
+ static readonly SECRETS_MANAGER: InterfaceVpcEndpointAwsService;
524
+ static readonly SECURITYHUB: InterfaceVpcEndpointAwsService;
525
+ static readonly SERVICE_CATALOG: InterfaceVpcEndpointAwsService;
526
+ static readonly SERVICE_CATALOG_APPREGISTRY: InterfaceVpcEndpointAwsService;
527
+ static readonly SERVER_MIGRATION_SERVICE: InterfaceVpcEndpointAwsService;
528
+ static readonly SERVER_MIGRATION_SERVICE_FIPS: InterfaceVpcEndpointAwsService;
529
+ static readonly SERVER_MIGRATION_SERVICE_AWSCONNECTOR: InterfaceVpcEndpointAwsService;
530
+ static readonly SERVERLESS_APPLICATION_REPOSITORY: InterfaceVpcEndpointAwsService;
531
+ /** @deprecated - Use InterfaceVpcEndpointAwsService.EMAIL_SMTP instead. */
532
+ static readonly SES: InterfaceVpcEndpointAwsService;
533
+ static readonly SIMSPACE_WEAVER: InterfaceVpcEndpointAwsService;
534
+ static readonly SNOW_DEVICE_MANAGEMENT: InterfaceVpcEndpointAwsService;
535
+ static readonly SNS: InterfaceVpcEndpointAwsService;
536
+ static readonly SQS: InterfaceVpcEndpointAwsService;
537
+ static readonly SSM: InterfaceVpcEndpointAwsService;
538
+ static readonly SSM_FIPS: InterfaceVpcEndpointAwsService;
539
+ static readonly SSM_MESSAGES: InterfaceVpcEndpointAwsService;
540
+ static readonly SSM_CONTACTS: InterfaceVpcEndpointAwsService;
541
+ static readonly SSM_INCIDENTS: InterfaceVpcEndpointAwsService;
542
+ static readonly SSM_QUICK_SETUP: InterfaceVpcEndpointAwsService;
543
+ static readonly STEP_FUNCTIONS: InterfaceVpcEndpointAwsService;
544
+ static readonly STEP_FUNCTIONS_SYNC: InterfaceVpcEndpointAwsService;
545
+ static readonly STORAGE_GATEWAY: InterfaceVpcEndpointAwsService;
546
+ static readonly STS: InterfaceVpcEndpointAwsService;
547
+ static readonly SUPPLY_CHAIN: InterfaceVpcEndpointAwsService;
548
+ static readonly SWF: InterfaceVpcEndpointAwsService;
549
+ static readonly SWF_FIPS: InterfaceVpcEndpointAwsService;
550
+ static readonly TAGGING: InterfaceVpcEndpointAwsService;
551
+ static readonly TELCO_NETWORK_BUILDER: InterfaceVpcEndpointAwsService;
552
+ static readonly TEXTRACT: InterfaceVpcEndpointAwsService;
553
+ static readonly TEXTRACT_FIPS: InterfaceVpcEndpointAwsService;
554
+ static readonly TIMESTREAM_INFLUXDB: InterfaceVpcEndpointAwsService;
555
+ static readonly TIMESTREAM_INFLUXDB_FIPS: InterfaceVpcEndpointAwsService;
556
+ static readonly TRANSCRIBE: InterfaceVpcEndpointAwsService;
557
+ static readonly TRANSCRIBE_STREAMING: InterfaceVpcEndpointAwsService;
558
+ static readonly TRANSFER: InterfaceVpcEndpointAwsService;
559
+ static readonly TRANSFER_SERVER: InterfaceVpcEndpointAwsService;
560
+ static readonly TRANSLATE: InterfaceVpcEndpointAwsService;
561
+ static readonly TRUSTED_ADVISOR: InterfaceVpcEndpointAwsService;
562
+ static readonly WELL_ARCHITECTED_TOOL: InterfaceVpcEndpointAwsService;
563
+ static readonly WORKMAIL: InterfaceVpcEndpointAwsService;
564
+ static readonly WORKSPACES: InterfaceVpcEndpointAwsService;
565
+ static readonly WORKSPACES_THIN_CLIENT: InterfaceVpcEndpointAwsService;
566
+ static readonly WORKSPACES_WEB: InterfaceVpcEndpointAwsService;
567
+ static readonly WORKSPACES_WEB_FIPS: InterfaceVpcEndpointAwsService;
568
+ static readonly XRAY: InterfaceVpcEndpointAwsService;
569
+ static readonly VERIFIED_PERMISSIONS: InterfaceVpcEndpointAwsService;
570
+ static readonly VPC_LATTICE: InterfaceVpcEndpointAwsService;
571
+ /**
572
+ * The name of the service. e.g. com.amazonaws.us-east-1.ecs
573
+ */
574
+ readonly name: string;
575
+ /**
576
+ * The short name of the service. e.g. ecs
577
+ */
578
+ readonly shortName: string;
579
+ /**
580
+ * The port of the service.
581
+ */
582
+ readonly port: number;
583
+ /**
584
+ * Whether Private DNS is supported by default.
585
+ */
586
+ readonly privateDnsDefault?: boolean;
587
+ constructor(name: string, prefix?: string, port?: number, props?: InterfaceVpcEndpointAwsServiceProps);
588
+ /**
589
+ * Get the endpoint prefix for the service in the specified region
590
+ * because the prefix for some of the services in cn-north-1 and cn-northwest-1 are different
591
+ *
592
+ * For future maintenance, the vpc endpoint services could be fetched using AWS CLI Commmand:
593
+ * aws ec2 describe-vpc-endpoint-services
594
+ */
595
+ private getDefaultEndpointPrefix;
596
+ /**
597
+ * Get the endpoint suffix for the service in the specified region.
598
+ * In cn-north-1 and cn-northwest-1, the vpc endpoint of transcribe is:
599
+ * cn.com.amazonaws.cn-north-1.transcribe.cn
600
+ * cn.com.amazonaws.cn-northwest-1.transcribe.cn
601
+ * so suffix '.cn' should be return in these scenarios.
602
+ *
603
+ * For future maintenance, the vpc endpoint services could be fetched using AWS CLI Commmand:
604
+ * aws ec2 describe-vpc-endpoint-services
605
+ */
606
+ private getDefaultEndpointSuffix;
607
+ }
608
+ /**
609
+ * Options to add an interface endpoint to a VPC.
610
+ */
611
+ export interface InterfaceVpcEndpointOptions {
612
+ /**
613
+ * The service to use for this interface VPC endpoint.
614
+ */
615
+ readonly service: IInterfaceVpcEndpointService;
616
+ /**
617
+ * Whether to associate a private hosted zone with the specified VPC. This
618
+ * allows you to make requests to the service using its default DNS hostname.
619
+ *
620
+ * @default set by the instance of IInterfaceVpcEndpointService, or true if
621
+ * not defined by the instance of IInterfaceVpcEndpointService
622
+ */
623
+ readonly privateDnsEnabled?: boolean;
624
+ /**
625
+ * The subnets in which to create an endpoint network interface. At most one
626
+ * per availability zone.
627
+ *
628
+ * @default - private subnets
629
+ */
630
+ readonly subnets?: SubnetSelection;
631
+ /**
632
+ * The security groups to associate with this interface VPC endpoint.
633
+ *
634
+ * @default - a new security group is created
635
+ */
636
+ readonly securityGroups?: ISecurityGroup[];
637
+ /**
638
+ * Whether to automatically allow VPC traffic to the endpoint
639
+ *
640
+ * If enabled, all traffic to the endpoint from within the VPC will be
641
+ * automatically allowed. This is done based on the VPC's CIDR range.
642
+ *
643
+ * @default true
644
+ */
645
+ readonly open?: boolean;
646
+ }
647
+ /**
648
+ * Construction properties for an InterfaceVpcEndpoint.
649
+ */
650
+ export interface InterfaceVpcEndpointProps extends InterfaceVpcEndpointOptions {
651
+ /**
652
+ * The VPC network in which the interface endpoint will be used.
653
+ */
654
+ readonly vpc: IVpc;
655
+ }
656
+ /**
657
+ * An interface VPC endpoint.
658
+ */
659
+ export interface IInterfaceVpcEndpoint extends IVpcEndpoint, IConnectable {
660
+ }
661
+ /**
662
+ * A interface VPC endpoint.
663
+ * @resource AWS::EC2::VPCEndpoint
664
+ */
665
+ export declare class InterfaceVpcEndpoint extends VpcEndpoint implements IInterfaceVpcEndpoint {
666
+ /**
667
+ * Imports an existing interface VPC endpoint.
668
+ */
669
+ static fromInterfaceVpcEndpointAttributes(scope: Construct, id: string, attrs: InterfaceVpcEndpointAttributes): IInterfaceVpcEndpoint;
670
+ /**
671
+ * The interface VPC endpoint identifier.
672
+ */
673
+ readonly vpcEndpointId: string;
674
+ /**
675
+ * The DNS entries for the interface VPC endpoint.
676
+ * Each entry is a combination of the hosted zone ID and the DNS name.
677
+ * The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS.
678
+ * This order is not enforced for AWS Marketplace services.
679
+ *
680
+ * The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV
681
+ * and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com.
682
+ *
683
+ * [
684
+ * { hostedZoneId: "Z1HUB23UULQXV", "dnsName": "vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com" },
685
+ * { hostedZoneId: "Z1HUB23UULQXV, "dnsName": "vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com" },
686
+ * { hostedZoneId: "Z1C12344VYDITB0, "dnsName": "ec2.us-east-1.amazonaws.com" }
687
+ * ]
688
+ *
689
+ * If you update the PrivateDnsEnabled or SubnetIds properties, the DNS entries in the list will change.
690
+ * @attribute
691
+ */
692
+ readonly vpcEndpointDnsEntries: vpcEndpoint.VpcEndpointDnsEntryList;
693
+ /**
694
+ * One or more network interfaces for the interface VPC endpoint.
695
+ * @attribute
696
+ */
697
+ readonly vpcEndpointNetworkInterfaceIds: string[];
698
+ /**
699
+ * The identifier of the first security group associated with this interface
700
+ * VPC endpoint.
701
+ *
702
+ * @deprecated use the `connections` object
703
+ */
704
+ readonly securityGroupId: string;
705
+ /**
706
+ * Access to network connections.
707
+ */
708
+ readonly connections: Connections;
709
+ resource: vpcEndpoint.VpcEndpoint;
710
+ constructor(scope: Construct, id: string, props: InterfaceVpcEndpointProps);
711
+ /**
712
+ * Determine which subnets to place the endpoint in. This is in its own function
713
+ * because there's a lot of code.
714
+ */
715
+ private endpointSubnets;
716
+ }
717
+ /**
718
+ * Construction properties for an ImportedInterfaceVpcEndpoint.
719
+ */
720
+ export interface InterfaceVpcEndpointAttributes {
721
+ /**
722
+ * The interface VPC endpoint identifier.
723
+ */
724
+ readonly vpcEndpointId: string;
725
+ /**
726
+ * The identifier of the security group associated with the interface VPC endpoint.
727
+ *
728
+ * @deprecated use `securityGroups` instead
729
+ */
730
+ readonly securityGroupId?: string;
731
+ /**
732
+ * The security groups associated with the interface VPC endpoint.
733
+ *
734
+ * If you wish to manage the network connections associated with this endpoint,
735
+ * you will need to specify its security groups.
736
+ */
737
+ readonly securityGroups?: ISecurityGroup[];
738
+ /**
739
+ * The port of the service of the interface VPC endpoint.
740
+ */
741
+ readonly port: number;
742
+ }