nomoss 0.0.5 → 0.0.6

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 (635) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +3 -1
  3. package/ROADMAP.md +1 -1
  4. package/docs/README.md +2 -0
  5. package/docs/application/aws-resource-coverage.md +111 -20
  6. package/docs/application/designs/awsRequestBodyEncoding.ts +91 -0
  7. package/docs/application/designs/createBucketModeledErrors.ts +164 -0
  8. package/docs/application/designs/describeSubnetsEc2Query.ts +186 -0
  9. package/docs/application/designs/getBucketTaggingResponseDecoding.ts +136 -0
  10. package/docs/application/designs/lambdaGetPolicyRequest.ts +85 -0
  11. package/docs/application/designs/s3GetObjectDownload.ts +97 -0
  12. package/docs/application/designs/s3ObjectMetadata.ts +154 -0
  13. package/docs/application/designs/selectObjectContentEvents.ts +185 -0
  14. package/docs/application/generation-architecture.md +38 -0
  15. package/docs/application/resource-operations.md +4 -2
  16. package/docs/development/code-documentation.md +2 -0
  17. package/docs/development/design-walkthroughs.md +49 -0
  18. package/docs/development/effect-native-development.md +31 -2
  19. package/docs/development/review-code.md +1 -1
  20. package/docs/development/review-remediation-spec.md +1 -0
  21. package/docs/development/testing.md +20 -0
  22. package/docs/operations/releasing.md +4 -2
  23. package/examples/queue/application.ts +1 -1
  24. package/media/nomoss-logo.svg +16 -0
  25. package/package.json +8 -14
  26. package/providers/aws/README.md +7 -7
  27. package/providers/aws/awsEnvironment.ts +3 -3
  28. package/providers/aws/generated/resources/apigateway/apikey.ts +335 -0
  29. package/providers/aws/generated/resources/apigateway/authorizer.ts +329 -0
  30. package/providers/aws/generated/resources/apigateway/basepathmapping.ts +265 -0
  31. package/providers/aws/generated/resources/apigateway/deployment.ts +515 -0
  32. package/providers/aws/generated/resources/apigateway/domainname.ts +354 -0
  33. package/providers/aws/generated/resources/apigateway/gatewayresponse.ts +222 -0
  34. package/providers/aws/generated/resources/apigateway/method.ts +819 -0
  35. package/providers/aws/generated/resources/apigateway/model.ts +248 -0
  36. package/providers/aws/generated/resources/apigateway/requestvalidator.ts +224 -0
  37. package/providers/aws/generated/resources/apigateway/resource.ts +235 -0
  38. package/providers/aws/generated/resources/apigateway/restapi.ts +583 -0
  39. package/providers/aws/generated/resources/apigateway/stage.ts +656 -0
  40. package/providers/aws/generated/resources/apigateway/usageplan.ts +394 -0
  41. package/providers/aws/generated/resources/apigateway/usageplankey.ts +228 -0
  42. package/providers/aws/generated/resources/apigatewayv2/api.ts +40 -60
  43. package/providers/aws/generated/resources/apigatewayv2/apimapping.ts +284 -0
  44. package/providers/aws/generated/resources/apigatewayv2/authorizer.ts +333 -0
  45. package/providers/aws/generated/resources/apigatewayv2/deployment.ts +226 -0
  46. package/providers/aws/generated/resources/apigatewayv2/domainname.ts +333 -0
  47. package/providers/aws/generated/resources/apigatewayv2/integration.ts +70 -103
  48. package/providers/aws/generated/resources/apigatewayv2/integrationresponse.ts +323 -0
  49. package/providers/aws/generated/resources/apigatewayv2/model.ts +241 -0
  50. package/providers/aws/generated/resources/apigatewayv2/route.ts +59 -63
  51. package/providers/aws/generated/resources/apigatewayv2/routeresponse.ts +330 -0
  52. package/providers/aws/generated/resources/apigatewayv2/routingrule.ts +349 -0
  53. package/providers/aws/generated/resources/apigatewayv2/stage.ts +45 -66
  54. package/providers/aws/generated/resources/apigatewayv2/vpclink.ts +256 -0
  55. package/providers/aws/generated/resources/appsync/api.ts +486 -0
  56. package/providers/aws/generated/resources/appsync/apicache.ts +169 -0
  57. package/providers/aws/generated/resources/appsync/apikey.ts +245 -0
  58. package/providers/aws/generated/resources/appsync/channelnamespace.ts +444 -0
  59. package/providers/aws/generated/resources/appsync/datasource.ts +757 -0
  60. package/providers/aws/generated/resources/appsync/domainname.ts +355 -0
  61. package/providers/aws/generated/resources/appsync/domainnameapiassociation.ts +284 -0
  62. package/providers/aws/generated/resources/appsync/functionconfiguration.ts +448 -0
  63. package/providers/aws/generated/resources/appsync/graphqlapi.ts +1028 -0
  64. package/providers/aws/generated/resources/appsync/graphqlschema.ts +188 -0
  65. package/providers/aws/generated/resources/appsync/resolver.ts +514 -0
  66. package/providers/aws/generated/resources/appsync/sourceapiassociation.ts +429 -0
  67. package/providers/aws/generated/resources/certificatemanager/certificate.ts +211 -0
  68. package/providers/aws/generated/resources/cloudfront/cachepolicy.ts +352 -0
  69. package/providers/aws/generated/resources/cloudfront/distribution.ts +2477 -0
  70. package/providers/aws/generated/resources/cloudfront/function.ts +313 -0
  71. package/providers/aws/generated/resources/cloudfront/originaccesscontrol.ts +204 -0
  72. package/providers/aws/generated/resources/cloudfront/originrequestpolicy.ts +285 -0
  73. package/providers/aws/generated/resources/cloudfront/responseheaderspolicy.ts +591 -0
  74. package/providers/aws/generated/resources/cloudwatch/alarm.ts +4545 -0
  75. package/providers/aws/generated/resources/cloudwatch/compositealarm.ts +678 -0
  76. package/providers/aws/generated/resources/cloudwatch/dashboard.ts +229 -0
  77. package/providers/aws/generated/resources/cognito/identitypool.ts +419 -0
  78. package/providers/aws/generated/resources/cognito/identitypoolroleattachment.ts +288 -0
  79. package/providers/aws/generated/resources/cognito/userpool.ts +1372 -0
  80. package/providers/aws/generated/resources/cognito/userpoolclient.ts +555 -0
  81. package/providers/aws/generated/resources/cognito/userpooldomain.ts +223 -0
  82. package/providers/aws/generated/resources/cognito/userpoolgroup.ts +265 -0
  83. package/providers/aws/generated/resources/cognito/userpoolidentityprovider.ts +216 -0
  84. package/providers/aws/generated/resources/cognito/userpoolresourceserver.ts +233 -0
  85. package/providers/aws/generated/resources/dynamodb/globaltable.ts +1002 -0
  86. package/providers/aws/generated/resources/dynamodb/table.ts +1058 -0
  87. package/providers/aws/generated/resources/ec2/eip.ts +303 -0
  88. package/providers/aws/generated/resources/ec2/instance.ts +1756 -0
  89. package/providers/aws/generated/resources/ec2/internetgateway.ts +185 -0
  90. package/providers/aws/generated/resources/ec2/launchtemplate.ts +2218 -0
  91. package/providers/aws/generated/resources/ec2/natgateway.ts +509 -0
  92. package/providers/aws/generated/resources/ec2/route.ts +595 -0
  93. package/providers/aws/generated/resources/ec2/routetable.ts +207 -0
  94. package/providers/aws/generated/resources/ec2/securitygroup.ts +460 -0
  95. package/providers/aws/generated/resources/ec2/securitygroupegress.ts +332 -0
  96. package/providers/aws/generated/resources/ec2/securitygroupingress.ts +488 -0
  97. package/providers/aws/generated/resources/ec2/subnet.ts +492 -0
  98. package/providers/aws/generated/resources/ec2/subnetroutetableassociation.ts +228 -0
  99. package/providers/aws/generated/resources/ec2/volume.ts +267 -0
  100. package/providers/aws/generated/resources/ec2/volumeattachment.ts +268 -0
  101. package/providers/aws/generated/resources/ec2/vpc.ts +288 -0
  102. package/providers/aws/generated/resources/ec2/vpcendpoint.ts +660 -0
  103. package/providers/aws/generated/resources/ec2/vpcgatewayattachment.ts +290 -0
  104. package/providers/aws/generated/resources/ec2/vpcpeeringconnection.ts +310 -0
  105. package/providers/aws/generated/resources/ecr/repository.ts +627 -0
  106. package/providers/aws/generated/resources/ecs/cluster.ts +616 -0
  107. package/providers/aws/generated/resources/ecs/service.ts +2065 -0
  108. package/providers/aws/generated/resources/ecs/taskdefinition.ts +1848 -0
  109. package/providers/aws/generated/resources/elasticloadbalancingv2/listener.ts +1166 -0
  110. package/providers/aws/generated/resources/elasticloadbalancingv2/listenercertificate.ts +168 -0
  111. package/providers/aws/generated/resources/elasticloadbalancingv2/listenerrule.ts +1219 -0
  112. package/providers/aws/generated/resources/elasticloadbalancingv2/loadbalancer.ts +706 -0
  113. package/providers/aws/generated/resources/elasticloadbalancingv2/targetgroup.ts +699 -0
  114. package/providers/aws/generated/resources/events/apidestination.ts +314 -0
  115. package/providers/aws/generated/resources/events/archive.ts +316 -0
  116. package/providers/aws/generated/resources/events/connection.ts +609 -0
  117. package/providers/aws/generated/resources/events/endpoint.ts +551 -0
  118. package/providers/aws/generated/resources/events/eventbus.ts +261 -0
  119. package/providers/aws/generated/resources/events/eventbuspolicy.ts +343 -0
  120. package/providers/aws/generated/resources/events/rule.ts +1253 -0
  121. package/providers/aws/generated/resources/eventschemas/discoverer.ts +273 -0
  122. package/providers/aws/generated/resources/eventschemas/registry.ts +183 -0
  123. package/providers/aws/generated/resources/eventschemas/registrypolicy.ts +193 -0
  124. package/providers/aws/generated/resources/eventschemas/schema.ts +305 -0
  125. package/providers/aws/generated/resources/iam/accesskey.ts +12 -16
  126. package/providers/aws/generated/resources/iam/group.ts +13 -16
  127. package/providers/aws/generated/resources/iam/grouppolicy.ts +16 -20
  128. package/providers/aws/generated/resources/iam/instanceprofile.ts +2 -2
  129. package/providers/aws/generated/resources/iam/managedpolicy.ts +27 -36
  130. package/providers/aws/generated/resources/iam/oidcprovider.ts +52 -104
  131. package/providers/aws/generated/resources/iam/policy.ts +33 -90
  132. package/providers/aws/generated/resources/iam/role.ts +45 -60
  133. package/providers/aws/generated/resources/iam/rolepolicy.ts +16 -20
  134. package/providers/aws/generated/resources/iam/samlprovider.ts +72 -164
  135. package/providers/aws/generated/resources/iam/servercertificate.ts +73 -187
  136. package/providers/aws/generated/resources/iam/servicelinkedrole.ts +24 -40
  137. package/providers/aws/generated/resources/iam/user.ts +26 -32
  138. package/providers/aws/generated/resources/iam/userpolicy.ts +16 -20
  139. package/providers/aws/generated/resources/iam/usertogroupaddition.ts +2 -2
  140. package/providers/aws/generated/resources/iam/virtualmfadevice.ts +53 -97
  141. package/providers/aws/generated/resources/kms/alias.ts +225 -0
  142. package/providers/aws/generated/resources/kms/key.ts +33 -207
  143. package/providers/aws/generated/resources/kms/replicakey.ts +292 -0
  144. package/providers/aws/generated/resources/lambda/alias.ts +301 -0
  145. package/providers/aws/generated/resources/lambda/codesigningconfig.ts +414 -0
  146. package/providers/aws/generated/resources/lambda/eventinvokeconfig.ts +677 -0
  147. package/providers/aws/generated/resources/lambda/eventsourcemapping.ts +1798 -0
  148. package/providers/aws/generated/resources/lambda/function.ts +135 -181
  149. package/providers/aws/generated/resources/lambda/layerversion.ts +298 -0
  150. package/providers/aws/generated/resources/lambda/layerversionpermission.ts +233 -0
  151. package/providers/aws/generated/resources/lambda/permission.ts +13 -14
  152. package/providers/aws/generated/resources/lambda/url.ts +452 -0
  153. package/providers/aws/generated/resources/lambda/version.ts +349 -0
  154. package/providers/aws/generated/resources/pipes/pipe.ts +3801 -0
  155. package/providers/aws/generated/resources/rds/dbcluster.ts +1710 -0
  156. package/providers/aws/generated/resources/rds/dbinstance.ts +2248 -0
  157. package/providers/aws/generated/resources/rds/dbsubnetgroup.ts +270 -0
  158. package/providers/aws/generated/resources/route53/healthcheck.ts +648 -0
  159. package/providers/aws/generated/resources/route53/hostedzone.ts +430 -0
  160. package/providers/aws/generated/resources/route53/recordset.ts +249 -0
  161. package/providers/aws/generated/resources/route53/recordsetgroup.ts +263 -0
  162. package/providers/aws/generated/resources/s3/accesspoint.ts +616 -0
  163. package/providers/aws/generated/resources/s3/bucket.ts +1733 -1831
  164. package/providers/aws/generated/resources/s3/bucketpolicy.ts +214 -0
  165. package/providers/aws/generated/resources/scheduler/schedule.ts +1563 -0
  166. package/providers/aws/generated/resources/scheduler/schedulegroup.ts +351 -0
  167. package/providers/aws/generated/resources/secretsmanager/resourcepolicy.ts +242 -0
  168. package/providers/aws/generated/resources/secretsmanager/rotationschedule.ts +314 -0
  169. package/providers/aws/generated/resources/secretsmanager/secret.ts +327 -0
  170. package/providers/aws/generated/resources/secretsmanager/secrettargetattachment.ts +167 -0
  171. package/providers/aws/generated/resources/sns/subscription.ts +488 -0
  172. package/providers/aws/generated/resources/sns/topic.ts +60 -88
  173. package/providers/aws/generated/resources/sns/topicinlinepolicy.ts +169 -0
  174. package/providers/aws/generated/resources/sns/topicpolicy.ts +172 -0
  175. package/providers/aws/generated/resources/sqs/queue.ts +53 -82
  176. package/providers/aws/generated/resources/sqs/queueinlinepolicy.ts +163 -0
  177. package/providers/aws/generated/resources/sqs/queuepolicy.ts +172 -0
  178. package/providers/aws/generated/resources/ssm/association.ts +906 -0
  179. package/providers/aws/generated/resources/ssm/document.ts +472 -0
  180. package/providers/aws/generated/resources/ssm/maintenancewindow.ts +225 -0
  181. package/providers/aws/generated/resources/ssm/maintenancewindowtarget.ts +289 -0
  182. package/providers/aws/generated/resources/ssm/maintenancewindowtask.ts +497 -0
  183. package/providers/aws/generated/resources/ssm/parameter.ts +258 -0
  184. package/providers/aws/generated/resources/ssm/patchbaseline.ts +668 -0
  185. package/providers/aws/generated/resources/ssm/resourcedatasync.ts +465 -0
  186. package/providers/aws/generated/resources/ssm/resourcepolicy.ts +211 -0
  187. package/providers/aws/generated/resources/stepfunctions/activity.ts +237 -0
  188. package/providers/aws/generated/resources/stepfunctions/statemachine.ts +54 -41
  189. package/providers/aws/generated/resources/stepfunctions/statemachinealias.ts +361 -0
  190. package/providers/aws/generated/resources/stepfunctions/statemachineversion.ts +202 -0
  191. package/providers/aws/management/ec2/internetGateway.ts +129 -0
  192. package/providers/aws/management/ec2/resourceTags.ts +89 -0
  193. package/providers/aws/management/ec2/route.ts +254 -0
  194. package/providers/aws/management/ec2/routeTable.ts +138 -0
  195. package/providers/aws/management/ec2/subnet.ts +511 -0
  196. package/providers/aws/management/ec2/subnetRouteTableAssociation.ts +129 -0
  197. package/providers/aws/management/ec2/vpc.ts +466 -0
  198. package/providers/aws/management/ec2/vpcGatewayAttachment.ts +238 -0
  199. package/providers/aws/management/iam/role.ts +520 -0
  200. package/providers/aws/management/lambda/function.ts +651 -0
  201. package/providers/aws/management/resourcePolicies.ts +102 -0
  202. package/providers/aws/management/s3/bucket.ts +315 -0
  203. package/providers/aws/management/s3/bucketConfiguration.ts +1102 -0
  204. package/providers/aws/runtime.ts +17 -19
  205. package/src/core/resource/model.ts +13 -3
  206. package/src/core/resource/resourceCommandPolicy.ts +5 -1
  207. package/src/core/resource/resourceEntries.ts +193 -0
  208. package/src/core/resource/resourceLifecycle.ts +39 -23
  209. package/src/core/stack/planner.ts +78 -40
  210. package/src/core/stack/resourceStackLifecycle.ts +112 -18
  211. package/src/core/stack/resourceStackOperations.ts +18 -0
  212. package/src/core/stack/stackWorkflowRenderer.ts +12 -3
  213. package/src/core/state/stateStore.ts +47 -10
  214. package/src/providers/providerRuntimeLayer.ts +1 -1
  215. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5 -5055
  216. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5 -5055
  217. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsValidators.ts +5058 -0
  218. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +5 -2443
  219. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +5 -2443
  220. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsValidators.ts +2446 -0
  221. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +5 -23
  222. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +5 -23
  223. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsValidators.ts +26 -0
  224. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +5 -63
  225. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +5 -63
  226. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsValidators.ts +66 -0
  227. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +11 -121
  228. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +11 -121
  229. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsValidators.ts +130 -0
  230. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +17 -21
  231. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +4 -12
  232. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsValidators.ts +109 -0
  233. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +3 -2
  234. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +3 -2
  235. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsValidators.ts +11 -0
  236. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +18 -108
  237. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +18 -108
  238. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsValidators.ts +122 -0
  239. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +5 -30
  240. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +5 -30
  241. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsValidators.ts +34 -0
  242. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +5 -110
  243. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +5 -110
  244. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsValidators.ts +113 -0
  245. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +42 -218
  246. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +63 -336
  247. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsValidators.ts +604 -0
  248. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +11 -123
  249. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +11 -123
  250. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsValidators.ts +133 -0
  251. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +25 -322
  252. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +20 -317
  253. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsValidators.ts +359 -0
  254. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +139 -4161
  255. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +181 -4265
  256. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsValidators.ts +4529 -0
  257. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +5 -86
  258. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +5 -86
  259. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsValidators.ts +89 -0
  260. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +5 -151
  261. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +5 -151
  262. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsValidators.ts +154 -0
  263. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +34 -169
  264. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +24 -159
  265. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsValidators.ts +235 -0
  266. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +46 -644
  267. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +41 -639
  268. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsValidators.ts +691 -0
  269. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +5 -46
  270. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +5 -46
  271. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsValidators.ts +49 -0
  272. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +5 -160
  273. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +5 -160
  274. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsValidators.ts +163 -0
  275. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +8 -19
  276. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +8 -19
  277. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsValidators.ts +28 -0
  278. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +5 -55
  279. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +5 -55
  280. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsValidators.ts +58 -0
  281. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +36 -121
  282. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +24 -111
  283. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsValidators.ts +183 -0
  284. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +5 -119
  285. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +5 -119
  286. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsValidators.ts +122 -0
  287. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +5 -45
  288. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +5 -45
  289. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsValidators.ts +48 -0
  290. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +5 -195
  291. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +5 -195
  292. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsValidators.ts +198 -0
  293. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +5 -97
  294. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +5 -97
  295. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsValidators.ts +100 -0
  296. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +69 -1282
  297. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +43 -1259
  298. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsValidators.ts +1417 -0
  299. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +32 -126
  300. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +27 -121
  301. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsValidators.ts +172 -0
  302. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +32 -2103
  303. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +32 -2103
  304. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsValidators.ts +2134 -0
  305. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +37 -2065
  306. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +32 -2060
  307. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsValidators.ts +2196 -0
  308. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +56 -97
  309. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +98 -251
  310. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsValidators.ts +1024 -0
  311. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +14 -89
  312. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +14 -89
  313. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsValidators.ts +100 -0
  314. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +5 -246
  315. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +5 -246
  316. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsValidators.ts +249 -0
  317. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +5 -115
  318. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +5 -115
  319. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsValidators.ts +118 -0
  320. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +65 -5205
  321. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +59 -5200
  322. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsValidators.ts +5124 -0
  323. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +101 -1508
  324. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +95 -1598
  325. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsValidators.ts +2039 -0
  326. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +5 -2272
  327. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +5 -2272
  328. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsValidators.ts +2276 -0
  329. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +5 -37
  330. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +5 -37
  331. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsValidators.ts +40 -0
  332. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +194 -1425
  333. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +194 -1425
  334. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsValidators.ts +1580 -0
  335. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +5 -265
  336. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +5 -265
  337. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsValidators.ts +268 -0
  338. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +14 -28
  339. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +14 -28
  340. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsValidators.ts +42 -0
  341. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +26 -96
  342. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +26 -96
  343. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsValidators.ts +117 -0
  344. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +35 -314
  345. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +35 -314
  346. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsValidators.ts +330 -0
  347. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +5 -33
  348. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +5 -33
  349. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsValidators.ts +37 -0
  350. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +16 -43
  351. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +9 -39
  352. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsValidators.ts +105 -0
  353. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +5 -358
  354. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +5 -358
  355. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsValidators.ts +361 -0
  356. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +18 -66
  357. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +11 -61
  358. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsValidators.ts +100 -0
  359. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +73 -366
  360. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +49 -345
  361. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsValidators.ts +569 -0
  362. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +5 -39
  363. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +5 -39
  364. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsValidators.ts +42 -0
  365. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +5 -76
  366. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +5 -76
  367. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsValidators.ts +79 -0
  368. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +5 -27
  369. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +5 -27
  370. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsValidators.ts +30 -0
  371. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +11 -30
  372. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +11 -30
  373. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsValidators.ts +41 -0
  374. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +5 -1356
  375. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +5 -1356
  376. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsValidators.ts +1359 -0
  377. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +35 -2767
  378. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +35 -2767
  379. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsValidators.ts +2761 -0
  380. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +5 -170
  381. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +5 -170
  382. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsValidators.ts +173 -0
  383. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +5 -549
  384. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +5 -549
  385. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsValidators.ts +552 -0
  386. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +32 -143
  387. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +27 -138
  388. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsValidators.ts +187 -0
  389. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +99 -1668
  390. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +70 -1644
  391. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsValidators.ts +1872 -0
  392. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +123 -497
  393. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +118 -755
  394. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsValidators.ts +1902 -0
  395. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +23 -301
  396. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +11 -291
  397. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsValidators.ts +359 -0
  398. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +5 -113
  399. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +5 -113
  400. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsValidators.ts +116 -0
  401. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +5 -159
  402. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +5 -159
  403. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsValidators.ts +162 -0
  404. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +5 -3321
  405. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +5 -3321
  406. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsValidators.ts +3324 -0
  407. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +73 -698
  408. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +23 -646
  409. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsValidators.ts +931 -0
  410. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +5 -292
  411. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +5 -292
  412. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsValidators.ts +295 -0
  413. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +8 -19
  414. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +8 -19
  415. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsValidators.ts +29 -0
  416. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +5 -47
  417. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +5 -47
  418. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsValidators.ts +51 -0
  419. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +40 -629
  420. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +40 -629
  421. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsValidators.ts +655 -0
  422. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +5 -2387
  423. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +5 -2387
  424. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsValidators.ts +2391 -0
  425. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +11 -50
  426. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +11 -50
  427. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsValidators.ts +58 -0
  428. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +11 -21
  429. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +11 -21
  430. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsValidators.ts +34 -0
  431. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +5 -36
  432. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +5 -36
  433. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsValidators.ts +40 -0
  434. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +5 -36
  435. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +5 -36
  436. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsValidators.ts +40 -0
  437. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +5 -276
  438. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +5 -275
  439. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsValidators.ts +279 -0
  440. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +5 -73
  441. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +5 -73
  442. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsValidators.ts +77 -0
  443. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +5 -340
  444. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +5 -340
  445. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsValidators.ts +344 -0
  446. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +5 -137
  447. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +5 -137
  448. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsValidators.ts +141 -0
  449. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +5 -45
  450. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +5 -45
  451. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsValidators.ts +48 -0
  452. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +144 -3036
  453. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +279 -3175
  454. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsValidators.ts +3457 -0
  455. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +5 -883
  456. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +5 -882
  457. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsValidators.ts +886 -0
  458. package/src/providers/stripe/client/stripeClient.ts +11 -15
  459. package/providers/aws/generated/managementRegistry.ts +0 -136
  460. package/providers/aws/management/mappings/iam/group.ts +0 -63
  461. package/providers/aws/management/mappings/iam/iamIdentity.ts +0 -41
  462. package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +0 -8
  463. package/providers/aws/management/mappings/iam/inlinePolicies.ts +0 -159
  464. package/providers/aws/management/mappings/iam/instanceProfile.ts +0 -77
  465. package/providers/aws/management/mappings/iam/oidcProvider.ts +0 -94
  466. package/providers/aws/management/mappings/iam/role.ts +0 -74
  467. package/providers/aws/management/mappings/iam/samlProvider.ts +0 -98
  468. package/providers/aws/management/mappings/iam/serverCertificate.ts +0 -72
  469. package/providers/aws/management/mappings/iam/user.ts +0 -61
  470. package/providers/aws/management/mappings/iam/userToGroupAddition.ts +0 -75
  471. package/providers/aws/management/operations/iam/accessKey.ts +0 -206
  472. package/providers/aws/management/operations/iam/managedPolicy.ts +0 -491
  473. package/providers/aws/management/operations/iam/policy.ts +0 -476
  474. package/providers/aws/management/operations/iam/serviceLinkedRole.ts +0 -172
  475. package/providers/aws/management/operations/iam/virtualMfaDevice.ts +0 -253
  476. package/providers/aws/management/resourceAssociationConfiguration.ts +0 -112
  477. package/providers/aws/management/resourceAssociationRegistration.ts +0 -349
  478. package/providers/aws/management/resourceAssociations.ts +0 -168
  479. package/providers/aws/management/resourceConfiguration.ts +0 -119
  480. package/providers/aws/management/resourceLifecycleRegistration.ts +0 -540
  481. package/providers/aws/management/resourceManagementModule.ts +0 -31
  482. package/providers/aws/management/resourceManagementRegistry.ts +0 -62
  483. package/providers/aws/management/resourceMapping.ts +0 -84
  484. package/providers/aws/management/resourceOperation.ts +0 -134
  485. package/providers/aws/management/resourceTagOperations.ts +0 -108
  486. package/providers/aws/management/resourceTiming.ts +0 -4
  487. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +0 -35
  488. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +0 -35
  489. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +0 -44
  490. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +0 -35
  491. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +0 -35
  492. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +0 -35
  493. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +0 -35
  494. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +0 -35
  495. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +0 -35
  496. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +0 -35
  497. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +0 -35
  498. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +0 -35
  499. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +0 -68
  500. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +0 -35
  501. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +0 -35
  502. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +0 -35
  503. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +0 -35
  504. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +0 -35
  505. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +0 -44
  506. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +0 -35
  507. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +0 -35
  508. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +0 -35
  509. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +0 -35
  510. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +0 -35
  511. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +0 -35
  512. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +0 -35
  513. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +0 -35
  514. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +0 -35
  515. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +0 -44
  516. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +0 -35
  517. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +0 -35
  518. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +0 -35
  519. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +0 -35
  520. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +0 -35
  521. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +0 -35
  522. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +0 -35
  523. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +0 -35
  524. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +0 -35
  525. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +0 -59
  526. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +0 -35
  527. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +0 -35
  528. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +0 -35
  529. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +0 -35
  530. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +0 -35
  531. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +0 -35
  532. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +0 -111
  533. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +0 -35
  534. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +0 -77
  535. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +0 -35
  536. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +0 -35
  537. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +0 -35
  538. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +0 -35
  539. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +0 -50
  540. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +0 -35
  541. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +0 -35
  542. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +0 -83
  543. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +0 -35
  544. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +0 -50
  545. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +0 -35
  546. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +0 -74
  547. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +0 -35
  548. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +0 -65
  549. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +0 -35
  550. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +0 -79
  551. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +0 -35
  552. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +0 -35
  553. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +0 -35
  554. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +0 -35
  555. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +0 -44
  556. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +0 -35
  557. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +0 -35
  558. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +0 -44
  559. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +0 -35
  560. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +0 -35
  561. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +0 -35
  562. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +0 -35
  563. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +0 -35
  564. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +0 -35
  565. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +0 -35
  566. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +0 -35
  567. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +0 -35
  568. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +0 -35
  569. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +0 -35
  570. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +0 -35
  571. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +0 -35
  572. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +0 -44
  573. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +0 -35
  574. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +0 -35
  575. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +0 -35
  576. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +0 -39
  577. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +0 -35
  578. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +0 -35
  579. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +0 -35
  580. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +0 -35
  581. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +0 -35
  582. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +0 -35
  583. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +0 -56
  584. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +0 -35
  585. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +0 -35
  586. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +0 -35
  587. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +0 -44
  588. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +0 -35
  589. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +0 -56
  590. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +0 -35
  591. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +0 -35
  592. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +0 -35
  593. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +0 -35
  594. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +0 -35
  595. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +0 -35
  596. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +0 -38
  597. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +0 -39
  598. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +0 -38
  599. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +0 -154
  600. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +0 -51
  601. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +0 -120
  602. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +0 -32
  603. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +0 -37
  604. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +0 -125
  605. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +0 -34
  606. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +0 -34
  607. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +0 -34
  608. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +0 -34
  609. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +0 -32
  610. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +0 -37
  611. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +0 -34
  612. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +0 -130
  613. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +0 -34
  614. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +0 -39
  615. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +0 -89
  616. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +0 -34
  617. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +0 -30
  618. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +0 -34
  619. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +0 -34
  620. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +0 -34
  621. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +0 -34
  622. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +0 -97
  623. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +0 -34
  624. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +0 -34
  625. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +0 -37
  626. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +0 -34
  627. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +0 -97
  628. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +0 -34
  629. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +0 -34
  630. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +0 -37
  631. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +0 -53
  632. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +0 -42
  633. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +0 -63
  634. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +0 -94
  635. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +0 -34
@@ -0,0 +1,4545 @@
1
+ // Generated from the CloudFormation Registry resource schema. Do not edit.
2
+ // biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's generated regular expressions.
3
+ import { Effect, Schema } from "effect";
4
+ import {
5
+ annotateResourceSchema,
6
+ ResourceEntity,
7
+ ResourceGraphBuilder,
8
+ type ResourceKey,
9
+ ResourceReferenceSchema,
10
+ ResourceSchemaAnnotationSchema,
11
+ } from "nomoss/core";
12
+ import { ResourceOutputBinding } from "../../../../../src/core/resource/resourceOutputBinding.js";
13
+
14
+ interface Dimension {
15
+ readonly Value:
16
+ | ResourceEntity<{
17
+ readonly provider: "aws";
18
+ readonly service: "synthetics";
19
+ readonly resource: "canary";
20
+ }>
21
+ | ResourceEntity<{
22
+ readonly provider: "aws";
23
+ readonly service: "sns";
24
+ readonly resource: "topic";
25
+ }>
26
+ | ResourceEntity<{
27
+ readonly provider: "aws";
28
+ readonly service: "lambda";
29
+ readonly resource: "version";
30
+ }>
31
+ | ResourceEntity<{
32
+ readonly provider: "aws";
33
+ readonly service: "ecs";
34
+ readonly resource: "cluster";
35
+ }>
36
+ | ResourceEntity<{
37
+ readonly provider: "aws";
38
+ readonly service: "ecs";
39
+ readonly resource: "service";
40
+ }>
41
+ | ResourceEntity<{
42
+ readonly provider: "aws";
43
+ readonly service: "events";
44
+ readonly resource: "rule";
45
+ }>
46
+ | ResourceEntity<{
47
+ readonly provider: "aws";
48
+ readonly service: "route53";
49
+ readonly resource: "hostedzone";
50
+ }>
51
+ | ResourceEntity<{
52
+ readonly provider: "aws";
53
+ readonly service: "dynamodb";
54
+ readonly resource: "table";
55
+ }>
56
+ | ResourceEntity<{
57
+ readonly provider: "aws";
58
+ readonly service: "elasticloadbalancingv2";
59
+ readonly resource: "loadbalancer";
60
+ }>
61
+ | ResourceEntity<{
62
+ readonly provider: "aws";
63
+ readonly service: "elasticloadbalancingv2";
64
+ readonly resource: "targetgroup";
65
+ }>
66
+ | ResourceEntity<{
67
+ readonly provider: "aws";
68
+ readonly service: "autoscaling";
69
+ readonly resource: "autoscalinggroup";
70
+ }>
71
+ | ResourceEntity<{
72
+ readonly provider: "aws";
73
+ readonly service: "ec2";
74
+ readonly resource: "natgateway";
75
+ }>
76
+ | ResourceEntity<{
77
+ readonly provider: "aws";
78
+ readonly service: "apigatewayv2";
79
+ readonly resource: "api";
80
+ }>
81
+ | ResourceEntity<{
82
+ readonly provider: "aws";
83
+ readonly service: "s3";
84
+ readonly resource: "bucket";
85
+ }>
86
+ | ResourceEntity<{
87
+ readonly provider: "aws";
88
+ readonly service: "opensearchservice";
89
+ readonly resource: "domain";
90
+ }>
91
+ | ResourceEntity<{
92
+ readonly provider: "aws";
93
+ readonly service: "elasticloadbalancing";
94
+ readonly resource: "loadbalancer";
95
+ }>
96
+ | ResourceEntity<{
97
+ readonly provider: "aws";
98
+ readonly service: "logs";
99
+ readonly resource: "loggroup";
100
+ }>
101
+ | ResourceEntity<{
102
+ readonly provider: "aws";
103
+ readonly service: "kinesis";
104
+ readonly resource: "stream";
105
+ }>
106
+ | ResourceEntity<{
107
+ readonly provider: "aws";
108
+ readonly service: "route53";
109
+ readonly resource: "healthcheck";
110
+ }>
111
+ | ResourceEntity<{
112
+ readonly provider: "aws";
113
+ readonly service: "cloudfront";
114
+ readonly resource: "distribution";
115
+ }>
116
+ | ResourceEntity<{
117
+ readonly provider: "aws";
118
+ readonly service: "kinesisfirehose";
119
+ readonly resource: "deliverystream";
120
+ }>
121
+ | ResourceEntity<{
122
+ readonly provider: "aws";
123
+ readonly service: "stepfunctions";
124
+ readonly resource: "activity";
125
+ }>
126
+ | ResourceEntity<{
127
+ readonly provider: "aws";
128
+ readonly service: "rds";
129
+ readonly resource: "dbcluster";
130
+ }>
131
+ | ResourceEntity<{
132
+ readonly provider: "aws";
133
+ readonly service: "ec2";
134
+ readonly resource: "instance";
135
+ }>
136
+ | ResourceEntity<{
137
+ readonly provider: "aws";
138
+ readonly service: "apigateway";
139
+ readonly resource: "restapi";
140
+ }>
141
+ | ResourceEntity<{
142
+ readonly provider: "aws";
143
+ readonly service: "redshift";
144
+ readonly resource: "cluster";
145
+ }>
146
+ | ResourceEntity<{
147
+ readonly provider: "aws";
148
+ readonly service: "glue";
149
+ readonly resource: "database";
150
+ }>
151
+ | ResourceEntity<{
152
+ readonly provider: "aws";
153
+ readonly service: "cognito";
154
+ readonly resource: "userpool";
155
+ }>
156
+ | ResourceEntity<{
157
+ readonly provider: "aws";
158
+ readonly service: "appsync";
159
+ readonly resource: "graphqlapi";
160
+ }>
161
+ | ResourceEntity<{
162
+ readonly provider: "aws";
163
+ readonly service: "globalaccelerator";
164
+ readonly resource: "accelerator";
165
+ }>
166
+ | ResourceEntity<{
167
+ readonly provider: "aws";
168
+ readonly service: "glue";
169
+ readonly resource: "job";
170
+ }>
171
+ | ResourceEntity<{
172
+ readonly provider: "aws";
173
+ readonly service: "rds";
174
+ readonly resource: "dbinstance";
175
+ }>
176
+ | ResourceEntity<{
177
+ readonly provider: "aws";
178
+ readonly service: "events";
179
+ readonly resource: "eventbus";
180
+ }>
181
+ | ResourceEntity<{
182
+ readonly provider: "aws";
183
+ readonly service: "neptune";
184
+ readonly resource: "dbcluster";
185
+ }>
186
+ | ResourceEntity<{
187
+ readonly provider: "aws";
188
+ readonly service: "ec2";
189
+ readonly resource: "vpcendpointservice";
190
+ }>
191
+ | ResourceEntity<{
192
+ readonly provider: "aws";
193
+ readonly service: "rum";
194
+ readonly resource: "appmonitor";
195
+ }>
196
+ | ResourceEntity<{
197
+ readonly provider: "aws";
198
+ readonly service: "kinesisanalyticsv2";
199
+ readonly resource: "application";
200
+ }>
201
+ | ResourceEntity<{
202
+ readonly provider: "aws";
203
+ readonly service: "kms";
204
+ readonly resource: "key";
205
+ }>
206
+ | ResourceEntity<{
207
+ readonly provider: "aws";
208
+ readonly service: "kendra";
209
+ readonly resource: "index";
210
+ }>
211
+ | ResourceEntity<{
212
+ readonly provider: "aws";
213
+ readonly service: "kendra";
214
+ readonly resource: "datasource";
215
+ }>
216
+ | ResourceEntity<{
217
+ readonly provider: "aws";
218
+ readonly service: "eks";
219
+ readonly resource: "cluster";
220
+ }>
221
+ | ResourceEntity<{
222
+ readonly provider: "aws";
223
+ readonly service: "athena";
224
+ readonly resource: "capacityreservation";
225
+ }>
226
+ | ResourceEntity<{
227
+ readonly provider: "aws";
228
+ readonly service: "athena";
229
+ readonly resource: "workgroup";
230
+ }>
231
+ | ResourceEntity<{
232
+ readonly provider: "aws";
233
+ readonly service: "backup";
234
+ readonly resource: "backupvault";
235
+ }>
236
+ | ResourceEntity<{
237
+ readonly provider: "aws";
238
+ readonly service: "cloudwatch";
239
+ readonly resource: "metricstream";
240
+ }>
241
+ | ResourceEntity<{
242
+ readonly provider: "aws";
243
+ readonly service: "connect";
244
+ readonly resource: "instance";
245
+ }>
246
+ | ResourceEntity<{
247
+ readonly provider: "aws";
248
+ readonly service: "datasync";
249
+ readonly resource: "agent";
250
+ }>
251
+ | ResourceEntity<{
252
+ readonly provider: "aws";
253
+ readonly service: "datasync";
254
+ readonly resource: "task";
255
+ }>
256
+ | ResourceEntity<{
257
+ readonly provider: "aws";
258
+ readonly service: "docdbelastic";
259
+ readonly resource: "cluster";
260
+ }>
261
+ | ResourceEntity<{
262
+ readonly provider: "aws";
263
+ readonly service: "dynamodb";
264
+ readonly resource: "globaltable";
265
+ }>
266
+ | ResourceEntity<{
267
+ readonly provider: "aws";
268
+ readonly service: "ec2";
269
+ readonly resource: "volume";
270
+ }>
271
+ | ResourceEntity<{
272
+ readonly provider: "aws";
273
+ readonly service: "ec2";
274
+ readonly resource: "host";
275
+ }>
276
+ | ResourceEntity<{
277
+ readonly provider: "aws";
278
+ readonly service: "ec2";
279
+ readonly resource: "vpc";
280
+ }>
281
+ | ResourceEntity<{
282
+ readonly provider: "aws";
283
+ readonly service: "ec2";
284
+ readonly resource: "capacityreservation";
285
+ }>
286
+ | ResourceEntity<{
287
+ readonly provider: "aws";
288
+ readonly service: "efs";
289
+ readonly resource: "filesystem";
290
+ }>
291
+ | ResourceEntity<{
292
+ readonly provider: "aws";
293
+ readonly service: "pipes";
294
+ readonly resource: "pipe";
295
+ }>
296
+ | ResourceEntity<{
297
+ readonly provider: "aws";
298
+ readonly service: "ivschat";
299
+ readonly resource: "loggingconfiguration";
300
+ }>
301
+ | ResourceEntity<{
302
+ readonly provider: "aws";
303
+ readonly service: "iot";
304
+ readonly resource: "cacertificate";
305
+ }>
306
+ | ResourceEntity<{
307
+ readonly provider: "aws";
308
+ readonly service: "iot";
309
+ readonly resource: "scheduledaudit";
310
+ }>
311
+ | ResourceEntity<{
312
+ readonly provider: "aws";
313
+ readonly service: "iot";
314
+ readonly resource: "securityprofile";
315
+ }>
316
+ | ResourceEntity<{
317
+ readonly provider: "aws";
318
+ readonly service: "iot";
319
+ readonly resource: "topicrule";
320
+ }>
321
+ | ResourceEntity<{
322
+ readonly provider: "aws";
323
+ readonly service: "m2";
324
+ readonly resource: "application";
325
+ }>
326
+ | ResourceEntity<{
327
+ readonly provider: "aws";
328
+ readonly service: "mediatailor";
329
+ readonly resource: "channel";
330
+ }>
331
+ | ResourceEntity<{
332
+ readonly provider: "aws";
333
+ readonly service: "networkfirewall";
334
+ readonly resource: "firewall";
335
+ }>
336
+ | ResourceEntity<{
337
+ readonly provider: "aws";
338
+ readonly service: "redshiftserverless";
339
+ readonly resource: "namespace";
340
+ }>
341
+ | ResourceEntity<{
342
+ readonly provider: "aws";
343
+ readonly service: "redshiftserverless";
344
+ readonly resource: "workgroup";
345
+ }>
346
+ | ResourceEntity<{
347
+ readonly provider: "aws";
348
+ readonly service: "sagemaker";
349
+ readonly resource: "inferencecomponent";
350
+ }>
351
+ | ResourceEntity<{
352
+ readonly provider: "aws";
353
+ readonly service: "transfer";
354
+ readonly resource: "connector";
355
+ }>
356
+ | ResourceEntity<{
357
+ readonly provider: "aws";
358
+ readonly service: "ec2";
359
+ readonly resource: "transitgateway";
360
+ }>
361
+ | ResourceEntity<{
362
+ readonly provider: "aws";
363
+ readonly service: "ec2";
364
+ readonly resource: "vpnconnection";
365
+ }>
366
+ | ResourceEntity<{
367
+ readonly provider: "aws";
368
+ readonly service: "vpclattice";
369
+ readonly resource: "service";
370
+ }>
371
+ | ResourceEntity<{
372
+ readonly provider: "aws";
373
+ readonly service: "amplify";
374
+ readonly resource: "app";
375
+ }>
376
+ | ResourceEntity<{
377
+ readonly provider: "aws";
378
+ readonly service: "appflow";
379
+ readonly resource: "flow";
380
+ }>
381
+ | ResourceEntity<{
382
+ readonly provider: "aws";
383
+ readonly service: "appsync";
384
+ readonly resource: "datasource";
385
+ }>
386
+ | ResourceEntity<{
387
+ readonly provider: "aws";
388
+ readonly service: "appsync";
389
+ readonly resource: "resolver";
390
+ }>
391
+ | ResourceEntity<{
392
+ readonly provider: "aws";
393
+ readonly service: "autoscaling";
394
+ readonly resource: "scalingpolicy";
395
+ }>
396
+ | ResourceEntity<{
397
+ readonly provider: "aws";
398
+ readonly service: "bedrock";
399
+ readonly resource: "guardrail";
400
+ }>
401
+ | ResourceEntity<{
402
+ readonly provider: "aws";
403
+ readonly service: "cloudfront";
404
+ readonly resource: "function";
405
+ }>
406
+ | ResourceEntity<{
407
+ readonly provider: "aws";
408
+ readonly service: "ecr";
409
+ readonly resource: "repository";
410
+ }>
411
+ | ResourceEntity<{
412
+ readonly provider: "aws";
413
+ readonly service: "lambda";
414
+ readonly resource: "eventsourcemapping";
415
+ }>
416
+ | ResourceEntity<{
417
+ readonly provider: "aws";
418
+ readonly service: "ec2";
419
+ readonly resource: "transitgatewayattachment";
420
+ }>
421
+ | string;
422
+ readonly Name: string;
423
+ }
424
+
425
+ const Dimension = Schema.Struct({
426
+ Value: Schema.Union([
427
+ Schema.Union([
428
+ ResourceReferenceSchema(
429
+ Schema.Struct({
430
+ provider: Schema.Literal("aws"),
431
+ service: Schema.Literal("synthetics"),
432
+ resource: Schema.Literal("canary"),
433
+ }),
434
+ {
435
+ value: null,
436
+ outputs: [
437
+ {
438
+ source: ["Name"],
439
+ target: [],
440
+ },
441
+ ],
442
+ },
443
+ ).annotate({ expected: "ResourceEntity" }),
444
+ ResourceReferenceSchema(
445
+ Schema.Struct({
446
+ provider: Schema.Literal("aws"),
447
+ service: Schema.Literal("sns"),
448
+ resource: Schema.Literal("topic"),
449
+ }),
450
+ {
451
+ value: null,
452
+ outputs: [
453
+ {
454
+ source: ["TopicName"],
455
+ target: [],
456
+ },
457
+ ],
458
+ },
459
+ ).annotate({ expected: "ResourceEntity" }),
460
+ ResourceReferenceSchema(
461
+ Schema.Struct({
462
+ provider: Schema.Literal("aws"),
463
+ service: Schema.Literal("lambda"),
464
+ resource: Schema.Literal("version"),
465
+ }),
466
+ {
467
+ value: null,
468
+ outputs: [
469
+ {
470
+ source: ["ExecutedVersion"],
471
+ target: [],
472
+ },
473
+ ],
474
+ },
475
+ ).annotate({ expected: "ResourceEntity" }),
476
+ ResourceReferenceSchema(
477
+ Schema.Struct({
478
+ provider: Schema.Literal("aws"),
479
+ service: Schema.Literal("ecs"),
480
+ resource: Schema.Literal("cluster"),
481
+ }),
482
+ {
483
+ value: null,
484
+ outputs: [
485
+ {
486
+ source: ["ClusterName"],
487
+ target: [],
488
+ },
489
+ ],
490
+ },
491
+ ).annotate({ expected: "ResourceEntity" }),
492
+ ResourceReferenceSchema(
493
+ Schema.Struct({
494
+ provider: Schema.Literal("aws"),
495
+ service: Schema.Literal("ecs"),
496
+ resource: Schema.Literal("service"),
497
+ }),
498
+ {
499
+ value: null,
500
+ outputs: [
501
+ {
502
+ source: ["Name"],
503
+ target: [],
504
+ },
505
+ ],
506
+ },
507
+ ).annotate({ expected: "ResourceEntity" }),
508
+ ResourceReferenceSchema(
509
+ Schema.Struct({
510
+ provider: Schema.Literal("aws"),
511
+ service: Schema.Literal("events"),
512
+ resource: Schema.Literal("rule"),
513
+ }),
514
+ {
515
+ value: null,
516
+ outputs: [
517
+ {
518
+ source: ["RuleName"],
519
+ target: [],
520
+ },
521
+ ],
522
+ },
523
+ ).annotate({ expected: "ResourceEntity" }),
524
+ ResourceReferenceSchema(
525
+ Schema.Struct({
526
+ provider: Schema.Literal("aws"),
527
+ service: Schema.Literal("route53"),
528
+ resource: Schema.Literal("hostedzone"),
529
+ }),
530
+ {
531
+ value: null,
532
+ outputs: [
533
+ {
534
+ source: ["Id"],
535
+ target: [],
536
+ },
537
+ ],
538
+ },
539
+ ).annotate({ expected: "ResourceEntity" }),
540
+ ResourceReferenceSchema(
541
+ Schema.Struct({
542
+ provider: Schema.Literal("aws"),
543
+ service: Schema.Literal("dynamodb"),
544
+ resource: Schema.Literal("table"),
545
+ }),
546
+ {
547
+ value: null,
548
+ outputs: [
549
+ {
550
+ source: ["TableName"],
551
+ target: [],
552
+ },
553
+ ],
554
+ },
555
+ ).annotate({ expected: "ResourceEntity" }),
556
+ ResourceReferenceSchema(
557
+ Schema.Struct({
558
+ provider: Schema.Literal("aws"),
559
+ service: Schema.Literal("elasticloadbalancingv2"),
560
+ resource: Schema.Literal("loadbalancer"),
561
+ }),
562
+ {
563
+ value: null,
564
+ outputs: [
565
+ {
566
+ source: ["LoadBalancer"],
567
+ target: [],
568
+ },
569
+ ],
570
+ },
571
+ ).annotate({ expected: "ResourceEntity" }),
572
+ ResourceReferenceSchema(
573
+ Schema.Struct({
574
+ provider: Schema.Literal("aws"),
575
+ service: Schema.Literal("elasticloadbalancingv2"),
576
+ resource: Schema.Literal("targetgroup"),
577
+ }),
578
+ {
579
+ value: null,
580
+ outputs: [
581
+ {
582
+ source: ["TargetGroup"],
583
+ target: [],
584
+ },
585
+ ],
586
+ },
587
+ ).annotate({ expected: "ResourceEntity" }),
588
+ ResourceReferenceSchema(
589
+ Schema.Struct({
590
+ provider: Schema.Literal("aws"),
591
+ service: Schema.Literal("autoscaling"),
592
+ resource: Schema.Literal("autoscalinggroup"),
593
+ }),
594
+ {
595
+ value: null,
596
+ outputs: [
597
+ {
598
+ source: ["AutoScalingGroupName"],
599
+ target: [],
600
+ },
601
+ ],
602
+ },
603
+ ).annotate({ expected: "ResourceEntity" }),
604
+ ResourceReferenceSchema(
605
+ Schema.Struct({
606
+ provider: Schema.Literal("aws"),
607
+ service: Schema.Literal("ec2"),
608
+ resource: Schema.Literal("natgateway"),
609
+ }),
610
+ {
611
+ value: null,
612
+ outputs: [
613
+ {
614
+ source: ["NatGatewayId"],
615
+ target: [],
616
+ },
617
+ ],
618
+ },
619
+ ).annotate({ expected: "ResourceEntity" }),
620
+ ResourceReferenceSchema(
621
+ Schema.Struct({
622
+ provider: Schema.Literal("aws"),
623
+ service: Schema.Literal("apigatewayv2"),
624
+ resource: Schema.Literal("api"),
625
+ }),
626
+ {
627
+ value: null,
628
+ outputs: [
629
+ {
630
+ source: ["ApiId"],
631
+ target: [],
632
+ },
633
+ ],
634
+ },
635
+ ).annotate({ expected: "ResourceEntity" }),
636
+ ResourceReferenceSchema(
637
+ Schema.Struct({
638
+ provider: Schema.Literal("aws"),
639
+ service: Schema.Literal("s3"),
640
+ resource: Schema.Literal("bucket"),
641
+ }),
642
+ {
643
+ value: null,
644
+ outputs: [
645
+ {
646
+ source: ["BucketName"],
647
+ target: [],
648
+ },
649
+ ],
650
+ },
651
+ ).annotate({ expected: "ResourceEntity" }),
652
+ ResourceReferenceSchema(
653
+ Schema.Struct({
654
+ provider: Schema.Literal("aws"),
655
+ service: Schema.Literal("opensearchservice"),
656
+ resource: Schema.Literal("domain"),
657
+ }),
658
+ {
659
+ value: null,
660
+ outputs: [
661
+ {
662
+ source: ["DomainName"],
663
+ target: [],
664
+ },
665
+ ],
666
+ },
667
+ ).annotate({ expected: "ResourceEntity" }),
668
+ ResourceReferenceSchema(
669
+ Schema.Struct({
670
+ provider: Schema.Literal("aws"),
671
+ service: Schema.Literal("elasticloadbalancing"),
672
+ resource: Schema.Literal("loadbalancer"),
673
+ }),
674
+ {
675
+ value: null,
676
+ outputs: [
677
+ {
678
+ source: ["Id"],
679
+ target: [],
680
+ },
681
+ ],
682
+ },
683
+ ).annotate({ expected: "ResourceEntity" }),
684
+ ResourceReferenceSchema(
685
+ Schema.Struct({
686
+ provider: Schema.Literal("aws"),
687
+ service: Schema.Literal("logs"),
688
+ resource: Schema.Literal("loggroup"),
689
+ }),
690
+ {
691
+ value: null,
692
+ outputs: [
693
+ {
694
+ source: ["LogGroupName"],
695
+ target: [],
696
+ },
697
+ ],
698
+ },
699
+ ).annotate({ expected: "ResourceEntity" }),
700
+ ResourceReferenceSchema(
701
+ Schema.Struct({
702
+ provider: Schema.Literal("aws"),
703
+ service: Schema.Literal("kinesis"),
704
+ resource: Schema.Literal("stream"),
705
+ }),
706
+ {
707
+ value: null,
708
+ outputs: [
709
+ {
710
+ source: ["Name"],
711
+ target: [],
712
+ },
713
+ ],
714
+ },
715
+ ).annotate({ expected: "ResourceEntity" }),
716
+ ResourceReferenceSchema(
717
+ Schema.Struct({
718
+ provider: Schema.Literal("aws"),
719
+ service: Schema.Literal("route53"),
720
+ resource: Schema.Literal("healthcheck"),
721
+ }),
722
+ {
723
+ value: null,
724
+ outputs: [
725
+ {
726
+ source: ["HealthCheckId"],
727
+ target: [],
728
+ },
729
+ ],
730
+ },
731
+ ).annotate({ expected: "ResourceEntity" }),
732
+ ResourceReferenceSchema(
733
+ Schema.Struct({
734
+ provider: Schema.Literal("aws"),
735
+ service: Schema.Literal("cloudfront"),
736
+ resource: Schema.Literal("distribution"),
737
+ }),
738
+ {
739
+ value: null,
740
+ outputs: [
741
+ {
742
+ source: ["Id"],
743
+ target: [],
744
+ },
745
+ ],
746
+ },
747
+ ).annotate({ expected: "ResourceEntity" }),
748
+ ResourceReferenceSchema(
749
+ Schema.Struct({
750
+ provider: Schema.Literal("aws"),
751
+ service: Schema.Literal("kinesisfirehose"),
752
+ resource: Schema.Literal("deliverystream"),
753
+ }),
754
+ {
755
+ value: null,
756
+ outputs: [
757
+ {
758
+ source: ["DeliveryStreamName"],
759
+ target: [],
760
+ },
761
+ ],
762
+ },
763
+ ).annotate({ expected: "ResourceEntity" }),
764
+ ResourceReferenceSchema(
765
+ Schema.Struct({
766
+ provider: Schema.Literal("aws"),
767
+ service: Schema.Literal("stepfunctions"),
768
+ resource: Schema.Literal("activity"),
769
+ }),
770
+ {
771
+ value: null,
772
+ outputs: [
773
+ {
774
+ source: ["Arn"],
775
+ target: [],
776
+ },
777
+ ],
778
+ },
779
+ ).annotate({ expected: "ResourceEntity" }),
780
+ ResourceReferenceSchema(
781
+ Schema.Struct({
782
+ provider: Schema.Literal("aws"),
783
+ service: Schema.Literal("rds"),
784
+ resource: Schema.Literal("dbcluster"),
785
+ }),
786
+ {
787
+ value: null,
788
+ outputs: [
789
+ {
790
+ source: ["DBClusterIdentifier"],
791
+ target: [],
792
+ },
793
+ ],
794
+ },
795
+ ).annotate({ expected: "ResourceEntity" }),
796
+ ResourceReferenceSchema(
797
+ Schema.Struct({
798
+ provider: Schema.Literal("aws"),
799
+ service: Schema.Literal("ec2"),
800
+ resource: Schema.Literal("instance"),
801
+ }),
802
+ {
803
+ value: null,
804
+ outputs: [
805
+ {
806
+ source: ["InstanceId"],
807
+ target: [],
808
+ },
809
+ ],
810
+ },
811
+ ).annotate({ expected: "ResourceEntity" }),
812
+ ResourceReferenceSchema(
813
+ Schema.Struct({
814
+ provider: Schema.Literal("aws"),
815
+ service: Schema.Literal("apigateway"),
816
+ resource: Schema.Literal("restapi"),
817
+ }),
818
+ {
819
+ value: null,
820
+ outputs: [
821
+ {
822
+ source: ["RestApiName"],
823
+ target: [],
824
+ },
825
+ ],
826
+ },
827
+ ).annotate({ expected: "ResourceEntity" }),
828
+ ResourceReferenceSchema(
829
+ Schema.Struct({
830
+ provider: Schema.Literal("aws"),
831
+ service: Schema.Literal("redshift"),
832
+ resource: Schema.Literal("cluster"),
833
+ }),
834
+ {
835
+ value: null,
836
+ outputs: [
837
+ {
838
+ source: ["ClusterIdentifier"],
839
+ target: [],
840
+ },
841
+ ],
842
+ },
843
+ ).annotate({ expected: "ResourceEntity" }),
844
+ ResourceReferenceSchema(
845
+ Schema.Struct({
846
+ provider: Schema.Literal("aws"),
847
+ service: Schema.Literal("glue"),
848
+ resource: Schema.Literal("database"),
849
+ }),
850
+ {
851
+ value: null,
852
+ outputs: [
853
+ {
854
+ source: ["Id"],
855
+ target: [],
856
+ },
857
+ ],
858
+ },
859
+ ).annotate({ expected: "ResourceEntity" }),
860
+ ResourceReferenceSchema(
861
+ Schema.Struct({
862
+ provider: Schema.Literal("aws"),
863
+ service: Schema.Literal("cognito"),
864
+ resource: Schema.Literal("userpool"),
865
+ }),
866
+ {
867
+ value: null,
868
+ outputs: [
869
+ {
870
+ source: ["UserPoolId"],
871
+ target: [],
872
+ },
873
+ ],
874
+ },
875
+ ).annotate({ expected: "ResourceEntity" }),
876
+ ResourceReferenceSchema(
877
+ Schema.Struct({
878
+ provider: Schema.Literal("aws"),
879
+ service: Schema.Literal("appsync"),
880
+ resource: Schema.Literal("graphqlapi"),
881
+ }),
882
+ {
883
+ value: null,
884
+ outputs: [
885
+ {
886
+ source: ["ApiId"],
887
+ target: [],
888
+ },
889
+ ],
890
+ },
891
+ ).annotate({ expected: "ResourceEntity" }),
892
+ ResourceReferenceSchema(
893
+ Schema.Struct({
894
+ provider: Schema.Literal("aws"),
895
+ service: Schema.Literal("globalaccelerator"),
896
+ resource: Schema.Literal("accelerator"),
897
+ }),
898
+ {
899
+ value: null,
900
+ outputs: [
901
+ {
902
+ source: ["Accelerator"],
903
+ target: [],
904
+ },
905
+ ],
906
+ },
907
+ ).annotate({ expected: "ResourceEntity" }),
908
+ ResourceReferenceSchema(
909
+ Schema.Struct({
910
+ provider: Schema.Literal("aws"),
911
+ service: Schema.Literal("glue"),
912
+ resource: Schema.Literal("job"),
913
+ }),
914
+ {
915
+ value: null,
916
+ outputs: [
917
+ {
918
+ source: ["Id"],
919
+ target: [],
920
+ },
921
+ ],
922
+ },
923
+ ).annotate({ expected: "ResourceEntity" }),
924
+ ResourceReferenceSchema(
925
+ Schema.Struct({
926
+ provider: Schema.Literal("aws"),
927
+ service: Schema.Literal("rds"),
928
+ resource: Schema.Literal("dbinstance"),
929
+ }),
930
+ {
931
+ value: null,
932
+ outputs: [
933
+ {
934
+ source: ["DBInstanceIdentifier"],
935
+ target: [],
936
+ },
937
+ ],
938
+ },
939
+ ).annotate({ expected: "ResourceEntity" }),
940
+ ResourceReferenceSchema(
941
+ Schema.Struct({
942
+ provider: Schema.Literal("aws"),
943
+ service: Schema.Literal("events"),
944
+ resource: Schema.Literal("eventbus"),
945
+ }),
946
+ {
947
+ value: null,
948
+ outputs: [
949
+ {
950
+ source: ["Name"],
951
+ target: [],
952
+ },
953
+ ],
954
+ },
955
+ ).annotate({ expected: "ResourceEntity" }),
956
+ ResourceReferenceSchema(
957
+ Schema.Struct({
958
+ provider: Schema.Literal("aws"),
959
+ service: Schema.Literal("neptune"),
960
+ resource: Schema.Literal("dbcluster"),
961
+ }),
962
+ {
963
+ value: null,
964
+ outputs: [
965
+ {
966
+ source: ["DBClusterIdentifier"],
967
+ target: [],
968
+ },
969
+ ],
970
+ },
971
+ ).annotate({ expected: "ResourceEntity" }),
972
+ ResourceReferenceSchema(
973
+ Schema.Struct({
974
+ provider: Schema.Literal("aws"),
975
+ service: Schema.Literal("ec2"),
976
+ resource: Schema.Literal("vpcendpointservice"),
977
+ }),
978
+ {
979
+ value: null,
980
+ outputs: [
981
+ {
982
+ source: ["ServiceId"],
983
+ target: [],
984
+ },
985
+ ],
986
+ },
987
+ ).annotate({ expected: "ResourceEntity" }),
988
+ ResourceReferenceSchema(
989
+ Schema.Struct({
990
+ provider: Schema.Literal("aws"),
991
+ service: Schema.Literal("rum"),
992
+ resource: Schema.Literal("appmonitor"),
993
+ }),
994
+ {
995
+ value: null,
996
+ outputs: [
997
+ {
998
+ source: ["Name"],
999
+ target: [],
1000
+ },
1001
+ ],
1002
+ },
1003
+ ).annotate({ expected: "ResourceEntity" }),
1004
+ ResourceReferenceSchema(
1005
+ Schema.Struct({
1006
+ provider: Schema.Literal("aws"),
1007
+ service: Schema.Literal("kinesisanalyticsv2"),
1008
+ resource: Schema.Literal("application"),
1009
+ }),
1010
+ {
1011
+ value: null,
1012
+ outputs: [
1013
+ {
1014
+ source: ["ApplicationName"],
1015
+ target: [],
1016
+ },
1017
+ ],
1018
+ },
1019
+ ).annotate({ expected: "ResourceEntity" }),
1020
+ ResourceReferenceSchema(
1021
+ Schema.Struct({
1022
+ provider: Schema.Literal("aws"),
1023
+ service: Schema.Literal("kms"),
1024
+ resource: Schema.Literal("key"),
1025
+ }),
1026
+ {
1027
+ value: null,
1028
+ outputs: [
1029
+ {
1030
+ source: ["KeyId"],
1031
+ target: [],
1032
+ },
1033
+ ],
1034
+ },
1035
+ ).annotate({ expected: "ResourceEntity" }),
1036
+ ResourceReferenceSchema(
1037
+ Schema.Struct({
1038
+ provider: Schema.Literal("aws"),
1039
+ service: Schema.Literal("kendra"),
1040
+ resource: Schema.Literal("index"),
1041
+ }),
1042
+ {
1043
+ value: null,
1044
+ outputs: [
1045
+ {
1046
+ source: ["Id"],
1047
+ target: [],
1048
+ },
1049
+ ],
1050
+ },
1051
+ ).annotate({ expected: "ResourceEntity" }),
1052
+ ResourceReferenceSchema(
1053
+ Schema.Struct({
1054
+ provider: Schema.Literal("aws"),
1055
+ service: Schema.Literal("kendra"),
1056
+ resource: Schema.Literal("datasource"),
1057
+ }),
1058
+ {
1059
+ value: null,
1060
+ outputs: [
1061
+ {
1062
+ source: ["Id"],
1063
+ target: [],
1064
+ },
1065
+ ],
1066
+ },
1067
+ ).annotate({ expected: "ResourceEntity" }),
1068
+ ResourceReferenceSchema(
1069
+ Schema.Struct({
1070
+ provider: Schema.Literal("aws"),
1071
+ service: Schema.Literal("eks"),
1072
+ resource: Schema.Literal("cluster"),
1073
+ }),
1074
+ {
1075
+ value: null,
1076
+ outputs: [
1077
+ {
1078
+ source: ["Name"],
1079
+ target: [],
1080
+ },
1081
+ ],
1082
+ },
1083
+ ).annotate({ expected: "ResourceEntity" }),
1084
+ ResourceReferenceSchema(
1085
+ Schema.Struct({
1086
+ provider: Schema.Literal("aws"),
1087
+ service: Schema.Literal("athena"),
1088
+ resource: Schema.Literal("capacityreservation"),
1089
+ }),
1090
+ {
1091
+ value: null,
1092
+ outputs: [
1093
+ {
1094
+ source: ["CapacityReservationName"],
1095
+ target: [],
1096
+ },
1097
+ ],
1098
+ },
1099
+ ).annotate({ expected: "ResourceEntity" }),
1100
+ ResourceReferenceSchema(
1101
+ Schema.Struct({
1102
+ provider: Schema.Literal("aws"),
1103
+ service: Schema.Literal("athena"),
1104
+ resource: Schema.Literal("workgroup"),
1105
+ }),
1106
+ {
1107
+ value: null,
1108
+ outputs: [
1109
+ {
1110
+ source: ["Name"],
1111
+ target: [],
1112
+ },
1113
+ ],
1114
+ },
1115
+ ).annotate({ expected: "ResourceEntity" }),
1116
+ ResourceReferenceSchema(
1117
+ Schema.Struct({
1118
+ provider: Schema.Literal("aws"),
1119
+ service: Schema.Literal("backup"),
1120
+ resource: Schema.Literal("backupvault"),
1121
+ }),
1122
+ {
1123
+ value: null,
1124
+ outputs: [
1125
+ {
1126
+ source: ["BackupVaultName"],
1127
+ target: [],
1128
+ },
1129
+ ],
1130
+ },
1131
+ ).annotate({ expected: "ResourceEntity" }),
1132
+ ResourceReferenceSchema(
1133
+ Schema.Struct({
1134
+ provider: Schema.Literal("aws"),
1135
+ service: Schema.Literal("cloudwatch"),
1136
+ resource: Schema.Literal("metricstream"),
1137
+ }),
1138
+ {
1139
+ value: null,
1140
+ outputs: [
1141
+ {
1142
+ source: ["Name"],
1143
+ target: [],
1144
+ },
1145
+ ],
1146
+ },
1147
+ ).annotate({ expected: "ResourceEntity" }),
1148
+ ResourceReferenceSchema(
1149
+ Schema.Struct({
1150
+ provider: Schema.Literal("aws"),
1151
+ service: Schema.Literal("connect"),
1152
+ resource: Schema.Literal("instance"),
1153
+ }),
1154
+ {
1155
+ value: null,
1156
+ outputs: [
1157
+ {
1158
+ source: ["InstanceId"],
1159
+ target: [],
1160
+ },
1161
+ ],
1162
+ },
1163
+ ).annotate({ expected: "ResourceEntity" }),
1164
+ ResourceReferenceSchema(
1165
+ Schema.Struct({
1166
+ provider: Schema.Literal("aws"),
1167
+ service: Schema.Literal("datasync"),
1168
+ resource: Schema.Literal("agent"),
1169
+ }),
1170
+ {
1171
+ value: null,
1172
+ outputs: [
1173
+ {
1174
+ source: ["AgentId"],
1175
+ target: [],
1176
+ },
1177
+ ],
1178
+ },
1179
+ ).annotate({ expected: "ResourceEntity" }),
1180
+ ResourceReferenceSchema(
1181
+ Schema.Struct({
1182
+ provider: Schema.Literal("aws"),
1183
+ service: Schema.Literal("datasync"),
1184
+ resource: Schema.Literal("task"),
1185
+ }),
1186
+ {
1187
+ value: null,
1188
+ outputs: [
1189
+ {
1190
+ source: ["TaskId"],
1191
+ target: [],
1192
+ },
1193
+ ],
1194
+ },
1195
+ ).annotate({ expected: "ResourceEntity" }),
1196
+ ResourceReferenceSchema(
1197
+ Schema.Struct({
1198
+ provider: Schema.Literal("aws"),
1199
+ service: Schema.Literal("docdbelastic"),
1200
+ resource: Schema.Literal("cluster"),
1201
+ }),
1202
+ {
1203
+ value: null,
1204
+ outputs: [
1205
+ {
1206
+ source: ["ResourceId"],
1207
+ target: [],
1208
+ },
1209
+ ],
1210
+ },
1211
+ ).annotate({ expected: "ResourceEntity" }),
1212
+ ResourceReferenceSchema(
1213
+ Schema.Struct({
1214
+ provider: Schema.Literal("aws"),
1215
+ service: Schema.Literal("dynamodb"),
1216
+ resource: Schema.Literal("globaltable"),
1217
+ }),
1218
+ {
1219
+ value: null,
1220
+ outputs: [
1221
+ {
1222
+ source: ["TableName"],
1223
+ target: [],
1224
+ },
1225
+ ],
1226
+ },
1227
+ ).annotate({ expected: "ResourceEntity" }),
1228
+ ResourceReferenceSchema(
1229
+ Schema.Struct({
1230
+ provider: Schema.Literal("aws"),
1231
+ service: Schema.Literal("ec2"),
1232
+ resource: Schema.Literal("volume"),
1233
+ }),
1234
+ {
1235
+ value: null,
1236
+ outputs: [
1237
+ {
1238
+ source: ["VolumeId"],
1239
+ target: [],
1240
+ },
1241
+ ],
1242
+ },
1243
+ ).annotate({ expected: "ResourceEntity" }),
1244
+ ResourceReferenceSchema(
1245
+ Schema.Struct({
1246
+ provider: Schema.Literal("aws"),
1247
+ service: Schema.Literal("ec2"),
1248
+ resource: Schema.Literal("host"),
1249
+ }),
1250
+ {
1251
+ value: null,
1252
+ outputs: [
1253
+ {
1254
+ source: ["HostId"],
1255
+ target: [],
1256
+ },
1257
+ ],
1258
+ },
1259
+ ).annotate({ expected: "ResourceEntity" }),
1260
+ ResourceReferenceSchema(
1261
+ Schema.Struct({
1262
+ provider: Schema.Literal("aws"),
1263
+ service: Schema.Literal("ec2"),
1264
+ resource: Schema.Literal("vpc"),
1265
+ }),
1266
+ {
1267
+ value: null,
1268
+ outputs: [
1269
+ {
1270
+ source: ["VpcId"],
1271
+ target: [],
1272
+ },
1273
+ ],
1274
+ },
1275
+ ).annotate({ expected: "ResourceEntity" }),
1276
+ ResourceReferenceSchema(
1277
+ Schema.Struct({
1278
+ provider: Schema.Literal("aws"),
1279
+ service: Schema.Literal("ec2"),
1280
+ resource: Schema.Literal("capacityreservation"),
1281
+ }),
1282
+ {
1283
+ value: null,
1284
+ outputs: [
1285
+ {
1286
+ source: ["Id"],
1287
+ target: [],
1288
+ },
1289
+ ],
1290
+ },
1291
+ ).annotate({ expected: "ResourceEntity" }),
1292
+ ResourceReferenceSchema(
1293
+ Schema.Struct({
1294
+ provider: Schema.Literal("aws"),
1295
+ service: Schema.Literal("efs"),
1296
+ resource: Schema.Literal("filesystem"),
1297
+ }),
1298
+ {
1299
+ value: null,
1300
+ outputs: [
1301
+ {
1302
+ source: ["FileSystemId"],
1303
+ target: [],
1304
+ },
1305
+ ],
1306
+ },
1307
+ ).annotate({ expected: "ResourceEntity" }),
1308
+ ResourceReferenceSchema(
1309
+ Schema.Struct({
1310
+ provider: Schema.Literal("aws"),
1311
+ service: Schema.Literal("pipes"),
1312
+ resource: Schema.Literal("pipe"),
1313
+ }),
1314
+ {
1315
+ value: null,
1316
+ outputs: [
1317
+ {
1318
+ source: ["Name"],
1319
+ target: [],
1320
+ },
1321
+ ],
1322
+ },
1323
+ ).annotate({ expected: "ResourceEntity" }),
1324
+ ResourceReferenceSchema(
1325
+ Schema.Struct({
1326
+ provider: Schema.Literal("aws"),
1327
+ service: Schema.Literal("ivschat"),
1328
+ resource: Schema.Literal("loggingconfiguration"),
1329
+ }),
1330
+ {
1331
+ value: null,
1332
+ outputs: [
1333
+ {
1334
+ source: ["ResourceId"],
1335
+ target: [],
1336
+ },
1337
+ ],
1338
+ },
1339
+ ).annotate({ expected: "ResourceEntity" }),
1340
+ ResourceReferenceSchema(
1341
+ Schema.Struct({
1342
+ provider: Schema.Literal("aws"),
1343
+ service: Schema.Literal("iot"),
1344
+ resource: Schema.Literal("cacertificate"),
1345
+ }),
1346
+ {
1347
+ value: null,
1348
+ outputs: [
1349
+ {
1350
+ source: ["Id"],
1351
+ target: [],
1352
+ },
1353
+ ],
1354
+ },
1355
+ ).annotate({ expected: "ResourceEntity" }),
1356
+ ResourceReferenceSchema(
1357
+ Schema.Struct({
1358
+ provider: Schema.Literal("aws"),
1359
+ service: Schema.Literal("iot"),
1360
+ resource: Schema.Literal("scheduledaudit"),
1361
+ }),
1362
+ {
1363
+ value: null,
1364
+ outputs: [
1365
+ {
1366
+ source: ["ScheduledAuditName"],
1367
+ target: [],
1368
+ },
1369
+ ],
1370
+ },
1371
+ ).annotate({ expected: "ResourceEntity" }),
1372
+ ResourceReferenceSchema(
1373
+ Schema.Struct({
1374
+ provider: Schema.Literal("aws"),
1375
+ service: Schema.Literal("iot"),
1376
+ resource: Schema.Literal("securityprofile"),
1377
+ }),
1378
+ {
1379
+ value: null,
1380
+ outputs: [
1381
+ {
1382
+ source: ["SecurityProfileName"],
1383
+ target: [],
1384
+ },
1385
+ ],
1386
+ },
1387
+ ).annotate({ expected: "ResourceEntity" }),
1388
+ ResourceReferenceSchema(
1389
+ Schema.Struct({
1390
+ provider: Schema.Literal("aws"),
1391
+ service: Schema.Literal("iot"),
1392
+ resource: Schema.Literal("topicrule"),
1393
+ }),
1394
+ {
1395
+ value: null,
1396
+ outputs: [
1397
+ {
1398
+ source: ["RuleName"],
1399
+ target: [],
1400
+ },
1401
+ ],
1402
+ },
1403
+ ).annotate({ expected: "ResourceEntity" }),
1404
+ ResourceReferenceSchema(
1405
+ Schema.Struct({
1406
+ provider: Schema.Literal("aws"),
1407
+ service: Schema.Literal("m2"),
1408
+ resource: Schema.Literal("application"),
1409
+ }),
1410
+ {
1411
+ value: null,
1412
+ outputs: [
1413
+ {
1414
+ source: ["ApplicationId"],
1415
+ target: [],
1416
+ },
1417
+ ],
1418
+ },
1419
+ ).annotate({ expected: "ResourceEntity" }),
1420
+ ResourceReferenceSchema(
1421
+ Schema.Struct({
1422
+ provider: Schema.Literal("aws"),
1423
+ service: Schema.Literal("mediatailor"),
1424
+ resource: Schema.Literal("channel"),
1425
+ }),
1426
+ {
1427
+ value: null,
1428
+ outputs: [
1429
+ {
1430
+ source: ["ChannelName"],
1431
+ target: [],
1432
+ },
1433
+ ],
1434
+ },
1435
+ ).annotate({ expected: "ResourceEntity" }),
1436
+ ResourceReferenceSchema(
1437
+ Schema.Struct({
1438
+ provider: Schema.Literal("aws"),
1439
+ service: Schema.Literal("networkfirewall"),
1440
+ resource: Schema.Literal("firewall"),
1441
+ }),
1442
+ {
1443
+ value: null,
1444
+ outputs: [
1445
+ {
1446
+ source: ["Name"],
1447
+ target: [],
1448
+ },
1449
+ ],
1450
+ },
1451
+ ).annotate({ expected: "ResourceEntity" }),
1452
+ ResourceReferenceSchema(
1453
+ Schema.Struct({
1454
+ provider: Schema.Literal("aws"),
1455
+ service: Schema.Literal("redshiftserverless"),
1456
+ resource: Schema.Literal("namespace"),
1457
+ }),
1458
+ {
1459
+ value: null,
1460
+ outputs: [
1461
+ {
1462
+ source: ["NamespaceName"],
1463
+ target: [],
1464
+ },
1465
+ ],
1466
+ },
1467
+ ).annotate({ expected: "ResourceEntity" }),
1468
+ ResourceReferenceSchema(
1469
+ Schema.Struct({
1470
+ provider: Schema.Literal("aws"),
1471
+ service: Schema.Literal("redshiftserverless"),
1472
+ resource: Schema.Literal("workgroup"),
1473
+ }),
1474
+ {
1475
+ value: null,
1476
+ outputs: [
1477
+ {
1478
+ source: ["WorkgroupName"],
1479
+ target: [],
1480
+ },
1481
+ ],
1482
+ },
1483
+ ).annotate({ expected: "ResourceEntity" }),
1484
+ ResourceReferenceSchema(
1485
+ Schema.Struct({
1486
+ provider: Schema.Literal("aws"),
1487
+ service: Schema.Literal("sagemaker"),
1488
+ resource: Schema.Literal("inferencecomponent"),
1489
+ }),
1490
+ {
1491
+ value: null,
1492
+ outputs: [
1493
+ {
1494
+ source: ["InferenceComponentName"],
1495
+ target: [],
1496
+ },
1497
+ ],
1498
+ },
1499
+ ).annotate({ expected: "ResourceEntity" }),
1500
+ ResourceReferenceSchema(
1501
+ Schema.Struct({
1502
+ provider: Schema.Literal("aws"),
1503
+ service: Schema.Literal("transfer"),
1504
+ resource: Schema.Literal("connector"),
1505
+ }),
1506
+ {
1507
+ value: null,
1508
+ outputs: [
1509
+ {
1510
+ source: ["ConnectorId"],
1511
+ target: [],
1512
+ },
1513
+ ],
1514
+ },
1515
+ ).annotate({ expected: "ResourceEntity" }),
1516
+ ResourceReferenceSchema(
1517
+ Schema.Struct({
1518
+ provider: Schema.Literal("aws"),
1519
+ service: Schema.Literal("ec2"),
1520
+ resource: Schema.Literal("transitgateway"),
1521
+ }),
1522
+ {
1523
+ value: null,
1524
+ outputs: [
1525
+ {
1526
+ source: ["TransitGateway"],
1527
+ target: [],
1528
+ },
1529
+ ],
1530
+ },
1531
+ ).annotate({ expected: "ResourceEntity" }),
1532
+ ResourceReferenceSchema(
1533
+ Schema.Struct({
1534
+ provider: Schema.Literal("aws"),
1535
+ service: Schema.Literal("ec2"),
1536
+ resource: Schema.Literal("vpnconnection"),
1537
+ }),
1538
+ {
1539
+ value: null,
1540
+ outputs: [
1541
+ {
1542
+ source: ["VpnConnectionId"],
1543
+ target: [],
1544
+ },
1545
+ ],
1546
+ },
1547
+ ).annotate({ expected: "ResourceEntity" }),
1548
+ ResourceReferenceSchema(
1549
+ Schema.Struct({
1550
+ provider: Schema.Literal("aws"),
1551
+ service: Schema.Literal("vpclattice"),
1552
+ resource: Schema.Literal("service"),
1553
+ }),
1554
+ {
1555
+ value: null,
1556
+ outputs: [
1557
+ {
1558
+ source: ["ServiceId"],
1559
+ target: [],
1560
+ },
1561
+ ],
1562
+ },
1563
+ ).annotate({ expected: "ResourceEntity" }),
1564
+ ResourceReferenceSchema(
1565
+ Schema.Struct({
1566
+ provider: Schema.Literal("aws"),
1567
+ service: Schema.Literal("amplify"),
1568
+ resource: Schema.Literal("app"),
1569
+ }),
1570
+ {
1571
+ value: null,
1572
+ outputs: [
1573
+ {
1574
+ source: ["Arn"],
1575
+ target: [],
1576
+ },
1577
+ ],
1578
+ },
1579
+ ).annotate({ expected: "ResourceEntity" }),
1580
+ ResourceReferenceSchema(
1581
+ Schema.Struct({
1582
+ provider: Schema.Literal("aws"),
1583
+ service: Schema.Literal("appflow"),
1584
+ resource: Schema.Literal("flow"),
1585
+ }),
1586
+ {
1587
+ value: null,
1588
+ outputs: [
1589
+ {
1590
+ source: ["FlowName"],
1591
+ target: [],
1592
+ },
1593
+ ],
1594
+ },
1595
+ ).annotate({ expected: "ResourceEntity" }),
1596
+ ResourceReferenceSchema(
1597
+ Schema.Struct({
1598
+ provider: Schema.Literal("aws"),
1599
+ service: Schema.Literal("appsync"),
1600
+ resource: Schema.Literal("datasource"),
1601
+ }),
1602
+ {
1603
+ value: null,
1604
+ outputs: [
1605
+ {
1606
+ source: ["DataSourceArn"],
1607
+ target: [],
1608
+ },
1609
+ ],
1610
+ },
1611
+ ).annotate({ expected: "ResourceEntity" }),
1612
+ ResourceReferenceSchema(
1613
+ Schema.Struct({
1614
+ provider: Schema.Literal("aws"),
1615
+ service: Schema.Literal("appsync"),
1616
+ resource: Schema.Literal("resolver"),
1617
+ }),
1618
+ {
1619
+ value: null,
1620
+ outputs: [
1621
+ {
1622
+ source: ["ResolverArn"],
1623
+ target: [],
1624
+ },
1625
+ ],
1626
+ },
1627
+ ).annotate({ expected: "ResourceEntity" }),
1628
+ ResourceReferenceSchema(
1629
+ Schema.Struct({
1630
+ provider: Schema.Literal("aws"),
1631
+ service: Schema.Literal("autoscaling"),
1632
+ resource: Schema.Literal("scalingpolicy"),
1633
+ }),
1634
+ {
1635
+ value: null,
1636
+ outputs: [
1637
+ {
1638
+ source: ["Arn"],
1639
+ target: [],
1640
+ },
1641
+ ],
1642
+ },
1643
+ ).annotate({ expected: "ResourceEntity" }),
1644
+ ResourceReferenceSchema(
1645
+ Schema.Struct({
1646
+ provider: Schema.Literal("aws"),
1647
+ service: Schema.Literal("bedrock"),
1648
+ resource: Schema.Literal("guardrail"),
1649
+ }),
1650
+ {
1651
+ value: null,
1652
+ outputs: [
1653
+ {
1654
+ source: ["GuardrailArn"],
1655
+ target: [],
1656
+ },
1657
+ ],
1658
+ },
1659
+ ).annotate({ expected: "ResourceEntity" }),
1660
+ ResourceReferenceSchema(
1661
+ Schema.Struct({
1662
+ provider: Schema.Literal("aws"),
1663
+ service: Schema.Literal("cloudfront"),
1664
+ resource: Schema.Literal("function"),
1665
+ }),
1666
+ {
1667
+ value: null,
1668
+ outputs: [
1669
+ {
1670
+ source: ["FunctionARN"],
1671
+ target: [],
1672
+ },
1673
+ ],
1674
+ },
1675
+ ).annotate({ expected: "ResourceEntity" }),
1676
+ ResourceReferenceSchema(
1677
+ Schema.Struct({
1678
+ provider: Schema.Literal("aws"),
1679
+ service: Schema.Literal("ecr"),
1680
+ resource: Schema.Literal("repository"),
1681
+ }),
1682
+ {
1683
+ value: null,
1684
+ outputs: [
1685
+ {
1686
+ source: ["RepositoryName"],
1687
+ target: [],
1688
+ },
1689
+ ],
1690
+ },
1691
+ ).annotate({ expected: "ResourceEntity" }),
1692
+ ResourceReferenceSchema(
1693
+ Schema.Struct({
1694
+ provider: Schema.Literal("aws"),
1695
+ service: Schema.Literal("lambda"),
1696
+ resource: Schema.Literal("eventsourcemapping"),
1697
+ }),
1698
+ {
1699
+ value: null,
1700
+ outputs: [
1701
+ {
1702
+ source: ["Id"],
1703
+ target: [],
1704
+ },
1705
+ ],
1706
+ },
1707
+ ).annotate({ expected: "ResourceEntity" }),
1708
+ ResourceReferenceSchema(
1709
+ Schema.Struct({
1710
+ provider: Schema.Literal("aws"),
1711
+ service: Schema.Literal("ec2"),
1712
+ resource: Schema.Literal("transitgatewayattachment"),
1713
+ }),
1714
+ {
1715
+ value: null,
1716
+ outputs: [
1717
+ {
1718
+ source: ["Id"],
1719
+ target: [],
1720
+ },
1721
+ ],
1722
+ },
1723
+ ).annotate({ expected: "ResourceEntity" }),
1724
+ ]),
1725
+ Schema.String.annotate({
1726
+ description:
1727
+ "The value for the dimension, from 1–255 characters in length.",
1728
+ }),
1729
+ ]),
1730
+ Name: Schema.String.annotate({
1731
+ description:
1732
+ "The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.",
1733
+ }),
1734
+ }).annotate({
1735
+ description:
1736
+ "Dimension is an embedded property of the ``AWS::CloudWatch::Alarm`` type. Dimensions are name/value pairs that can be associated with a CW metric. You can specify a maximum of 30 dimensions for a given metric.",
1737
+ identifier: "Dimension",
1738
+ });
1739
+
1740
+ interface Dimension_1 {
1741
+ readonly Value:
1742
+ | ResourceEntity<{
1743
+ readonly provider: "aws";
1744
+ readonly service: "synthetics";
1745
+ readonly resource: "canary";
1746
+ }>
1747
+ | ResourceEntity<{
1748
+ readonly provider: "aws";
1749
+ readonly service: "sns";
1750
+ readonly resource: "topic";
1751
+ }>
1752
+ | ResourceEntity<{
1753
+ readonly provider: "aws";
1754
+ readonly service: "lambda";
1755
+ readonly resource: "version";
1756
+ }>
1757
+ | ResourceEntity<{
1758
+ readonly provider: "aws";
1759
+ readonly service: "ecs";
1760
+ readonly resource: "cluster";
1761
+ }>
1762
+ | ResourceEntity<{
1763
+ readonly provider: "aws";
1764
+ readonly service: "ecs";
1765
+ readonly resource: "service";
1766
+ }>
1767
+ | ResourceEntity<{
1768
+ readonly provider: "aws";
1769
+ readonly service: "events";
1770
+ readonly resource: "rule";
1771
+ }>
1772
+ | ResourceEntity<{
1773
+ readonly provider: "aws";
1774
+ readonly service: "route53";
1775
+ readonly resource: "hostedzone";
1776
+ }>
1777
+ | ResourceEntity<{
1778
+ readonly provider: "aws";
1779
+ readonly service: "dynamodb";
1780
+ readonly resource: "table";
1781
+ }>
1782
+ | ResourceEntity<{
1783
+ readonly provider: "aws";
1784
+ readonly service: "elasticloadbalancingv2";
1785
+ readonly resource: "loadbalancer";
1786
+ }>
1787
+ | ResourceEntity<{
1788
+ readonly provider: "aws";
1789
+ readonly service: "elasticloadbalancingv2";
1790
+ readonly resource: "targetgroup";
1791
+ }>
1792
+ | ResourceEntity<{
1793
+ readonly provider: "aws";
1794
+ readonly service: "autoscaling";
1795
+ readonly resource: "autoscalinggroup";
1796
+ }>
1797
+ | ResourceEntity<{
1798
+ readonly provider: "aws";
1799
+ readonly service: "ec2";
1800
+ readonly resource: "natgateway";
1801
+ }>
1802
+ | ResourceEntity<{
1803
+ readonly provider: "aws";
1804
+ readonly service: "apigatewayv2";
1805
+ readonly resource: "api";
1806
+ }>
1807
+ | ResourceEntity<{
1808
+ readonly provider: "aws";
1809
+ readonly service: "s3";
1810
+ readonly resource: "bucket";
1811
+ }>
1812
+ | ResourceEntity<{
1813
+ readonly provider: "aws";
1814
+ readonly service: "opensearchservice";
1815
+ readonly resource: "domain";
1816
+ }>
1817
+ | ResourceEntity<{
1818
+ readonly provider: "aws";
1819
+ readonly service: "elasticloadbalancing";
1820
+ readonly resource: "loadbalancer";
1821
+ }>
1822
+ | ResourceEntity<{
1823
+ readonly provider: "aws";
1824
+ readonly service: "logs";
1825
+ readonly resource: "loggroup";
1826
+ }>
1827
+ | ResourceEntity<{
1828
+ readonly provider: "aws";
1829
+ readonly service: "kinesis";
1830
+ readonly resource: "stream";
1831
+ }>
1832
+ | ResourceEntity<{
1833
+ readonly provider: "aws";
1834
+ readonly service: "route53";
1835
+ readonly resource: "healthcheck";
1836
+ }>
1837
+ | ResourceEntity<{
1838
+ readonly provider: "aws";
1839
+ readonly service: "cloudfront";
1840
+ readonly resource: "distribution";
1841
+ }>
1842
+ | ResourceEntity<{
1843
+ readonly provider: "aws";
1844
+ readonly service: "kinesisfirehose";
1845
+ readonly resource: "deliverystream";
1846
+ }>
1847
+ | ResourceEntity<{
1848
+ readonly provider: "aws";
1849
+ readonly service: "stepfunctions";
1850
+ readonly resource: "activity";
1851
+ }>
1852
+ | ResourceEntity<{
1853
+ readonly provider: "aws";
1854
+ readonly service: "rds";
1855
+ readonly resource: "dbcluster";
1856
+ }>
1857
+ | ResourceEntity<{
1858
+ readonly provider: "aws";
1859
+ readonly service: "ec2";
1860
+ readonly resource: "instance";
1861
+ }>
1862
+ | ResourceEntity<{
1863
+ readonly provider: "aws";
1864
+ readonly service: "apigateway";
1865
+ readonly resource: "restapi";
1866
+ }>
1867
+ | ResourceEntity<{
1868
+ readonly provider: "aws";
1869
+ readonly service: "redshift";
1870
+ readonly resource: "cluster";
1871
+ }>
1872
+ | ResourceEntity<{
1873
+ readonly provider: "aws";
1874
+ readonly service: "glue";
1875
+ readonly resource: "database";
1876
+ }>
1877
+ | ResourceEntity<{
1878
+ readonly provider: "aws";
1879
+ readonly service: "cognito";
1880
+ readonly resource: "userpool";
1881
+ }>
1882
+ | ResourceEntity<{
1883
+ readonly provider: "aws";
1884
+ readonly service: "appsync";
1885
+ readonly resource: "graphqlapi";
1886
+ }>
1887
+ | ResourceEntity<{
1888
+ readonly provider: "aws";
1889
+ readonly service: "globalaccelerator";
1890
+ readonly resource: "accelerator";
1891
+ }>
1892
+ | ResourceEntity<{
1893
+ readonly provider: "aws";
1894
+ readonly service: "glue";
1895
+ readonly resource: "job";
1896
+ }>
1897
+ | ResourceEntity<{
1898
+ readonly provider: "aws";
1899
+ readonly service: "rds";
1900
+ readonly resource: "dbinstance";
1901
+ }>
1902
+ | ResourceEntity<{
1903
+ readonly provider: "aws";
1904
+ readonly service: "events";
1905
+ readonly resource: "eventbus";
1906
+ }>
1907
+ | ResourceEntity<{
1908
+ readonly provider: "aws";
1909
+ readonly service: "neptune";
1910
+ readonly resource: "dbcluster";
1911
+ }>
1912
+ | ResourceEntity<{
1913
+ readonly provider: "aws";
1914
+ readonly service: "ec2";
1915
+ readonly resource: "vpcendpointservice";
1916
+ }>
1917
+ | ResourceEntity<{
1918
+ readonly provider: "aws";
1919
+ readonly service: "rum";
1920
+ readonly resource: "appmonitor";
1921
+ }>
1922
+ | ResourceEntity<{
1923
+ readonly provider: "aws";
1924
+ readonly service: "kinesisanalyticsv2";
1925
+ readonly resource: "application";
1926
+ }>
1927
+ | ResourceEntity<{
1928
+ readonly provider: "aws";
1929
+ readonly service: "kms";
1930
+ readonly resource: "key";
1931
+ }>
1932
+ | ResourceEntity<{
1933
+ readonly provider: "aws";
1934
+ readonly service: "kendra";
1935
+ readonly resource: "index";
1936
+ }>
1937
+ | ResourceEntity<{
1938
+ readonly provider: "aws";
1939
+ readonly service: "kendra";
1940
+ readonly resource: "datasource";
1941
+ }>
1942
+ | ResourceEntity<{
1943
+ readonly provider: "aws";
1944
+ readonly service: "eks";
1945
+ readonly resource: "cluster";
1946
+ }>
1947
+ | ResourceEntity<{
1948
+ readonly provider: "aws";
1949
+ readonly service: "athena";
1950
+ readonly resource: "capacityreservation";
1951
+ }>
1952
+ | ResourceEntity<{
1953
+ readonly provider: "aws";
1954
+ readonly service: "athena";
1955
+ readonly resource: "workgroup";
1956
+ }>
1957
+ | ResourceEntity<{
1958
+ readonly provider: "aws";
1959
+ readonly service: "backup";
1960
+ readonly resource: "backupvault";
1961
+ }>
1962
+ | ResourceEntity<{
1963
+ readonly provider: "aws";
1964
+ readonly service: "cloudwatch";
1965
+ readonly resource: "metricstream";
1966
+ }>
1967
+ | ResourceEntity<{
1968
+ readonly provider: "aws";
1969
+ readonly service: "connect";
1970
+ readonly resource: "instance";
1971
+ }>
1972
+ | ResourceEntity<{
1973
+ readonly provider: "aws";
1974
+ readonly service: "datasync";
1975
+ readonly resource: "agent";
1976
+ }>
1977
+ | ResourceEntity<{
1978
+ readonly provider: "aws";
1979
+ readonly service: "datasync";
1980
+ readonly resource: "task";
1981
+ }>
1982
+ | ResourceEntity<{
1983
+ readonly provider: "aws";
1984
+ readonly service: "docdbelastic";
1985
+ readonly resource: "cluster";
1986
+ }>
1987
+ | ResourceEntity<{
1988
+ readonly provider: "aws";
1989
+ readonly service: "dynamodb";
1990
+ readonly resource: "globaltable";
1991
+ }>
1992
+ | ResourceEntity<{
1993
+ readonly provider: "aws";
1994
+ readonly service: "ec2";
1995
+ readonly resource: "volume";
1996
+ }>
1997
+ | ResourceEntity<{
1998
+ readonly provider: "aws";
1999
+ readonly service: "ec2";
2000
+ readonly resource: "host";
2001
+ }>
2002
+ | ResourceEntity<{
2003
+ readonly provider: "aws";
2004
+ readonly service: "ec2";
2005
+ readonly resource: "vpc";
2006
+ }>
2007
+ | ResourceEntity<{
2008
+ readonly provider: "aws";
2009
+ readonly service: "ec2";
2010
+ readonly resource: "capacityreservation";
2011
+ }>
2012
+ | ResourceEntity<{
2013
+ readonly provider: "aws";
2014
+ readonly service: "efs";
2015
+ readonly resource: "filesystem";
2016
+ }>
2017
+ | ResourceEntity<{
2018
+ readonly provider: "aws";
2019
+ readonly service: "pipes";
2020
+ readonly resource: "pipe";
2021
+ }>
2022
+ | ResourceEntity<{
2023
+ readonly provider: "aws";
2024
+ readonly service: "ivschat";
2025
+ readonly resource: "loggingconfiguration";
2026
+ }>
2027
+ | ResourceEntity<{
2028
+ readonly provider: "aws";
2029
+ readonly service: "iot";
2030
+ readonly resource: "cacertificate";
2031
+ }>
2032
+ | ResourceEntity<{
2033
+ readonly provider: "aws";
2034
+ readonly service: "iot";
2035
+ readonly resource: "scheduledaudit";
2036
+ }>
2037
+ | ResourceEntity<{
2038
+ readonly provider: "aws";
2039
+ readonly service: "iot";
2040
+ readonly resource: "securityprofile";
2041
+ }>
2042
+ | ResourceEntity<{
2043
+ readonly provider: "aws";
2044
+ readonly service: "iot";
2045
+ readonly resource: "topicrule";
2046
+ }>
2047
+ | ResourceEntity<{
2048
+ readonly provider: "aws";
2049
+ readonly service: "m2";
2050
+ readonly resource: "application";
2051
+ }>
2052
+ | ResourceEntity<{
2053
+ readonly provider: "aws";
2054
+ readonly service: "mediatailor";
2055
+ readonly resource: "channel";
2056
+ }>
2057
+ | ResourceEntity<{
2058
+ readonly provider: "aws";
2059
+ readonly service: "networkfirewall";
2060
+ readonly resource: "firewall";
2061
+ }>
2062
+ | ResourceEntity<{
2063
+ readonly provider: "aws";
2064
+ readonly service: "redshiftserverless";
2065
+ readonly resource: "namespace";
2066
+ }>
2067
+ | ResourceEntity<{
2068
+ readonly provider: "aws";
2069
+ readonly service: "redshiftserverless";
2070
+ readonly resource: "workgroup";
2071
+ }>
2072
+ | ResourceEntity<{
2073
+ readonly provider: "aws";
2074
+ readonly service: "sagemaker";
2075
+ readonly resource: "inferencecomponent";
2076
+ }>
2077
+ | ResourceEntity<{
2078
+ readonly provider: "aws";
2079
+ readonly service: "transfer";
2080
+ readonly resource: "connector";
2081
+ }>
2082
+ | ResourceEntity<{
2083
+ readonly provider: "aws";
2084
+ readonly service: "ec2";
2085
+ readonly resource: "transitgateway";
2086
+ }>
2087
+ | ResourceEntity<{
2088
+ readonly provider: "aws";
2089
+ readonly service: "ec2";
2090
+ readonly resource: "vpnconnection";
2091
+ }>
2092
+ | ResourceEntity<{
2093
+ readonly provider: "aws";
2094
+ readonly service: "vpclattice";
2095
+ readonly resource: "service";
2096
+ }>
2097
+ | ResourceEntity<{
2098
+ readonly provider: "aws";
2099
+ readonly service: "amplify";
2100
+ readonly resource: "app";
2101
+ }>
2102
+ | ResourceEntity<{
2103
+ readonly provider: "aws";
2104
+ readonly service: "appflow";
2105
+ readonly resource: "flow";
2106
+ }>
2107
+ | ResourceEntity<{
2108
+ readonly provider: "aws";
2109
+ readonly service: "appsync";
2110
+ readonly resource: "datasource";
2111
+ }>
2112
+ | ResourceEntity<{
2113
+ readonly provider: "aws";
2114
+ readonly service: "appsync";
2115
+ readonly resource: "resolver";
2116
+ }>
2117
+ | ResourceEntity<{
2118
+ readonly provider: "aws";
2119
+ readonly service: "autoscaling";
2120
+ readonly resource: "scalingpolicy";
2121
+ }>
2122
+ | ResourceEntity<{
2123
+ readonly provider: "aws";
2124
+ readonly service: "bedrock";
2125
+ readonly resource: "guardrail";
2126
+ }>
2127
+ | ResourceEntity<{
2128
+ readonly provider: "aws";
2129
+ readonly service: "cloudfront";
2130
+ readonly resource: "function";
2131
+ }>
2132
+ | ResourceEntity<{
2133
+ readonly provider: "aws";
2134
+ readonly service: "ecr";
2135
+ readonly resource: "repository";
2136
+ }>
2137
+ | ResourceEntity<{
2138
+ readonly provider: "aws";
2139
+ readonly service: "lambda";
2140
+ readonly resource: "eventsourcemapping";
2141
+ }>
2142
+ | ResourceEntity<{
2143
+ readonly provider: "aws";
2144
+ readonly service: "ec2";
2145
+ readonly resource: "transitgatewayattachment";
2146
+ }>
2147
+ | string;
2148
+ readonly Name: string;
2149
+ }
2150
+
2151
+ const Dimension_1 = Schema.Struct({
2152
+ Value: Schema.Union([
2153
+ Schema.Union([
2154
+ ResourceReferenceSchema(
2155
+ Schema.Struct({
2156
+ provider: Schema.Literal("aws"),
2157
+ service: Schema.Literal("synthetics"),
2158
+ resource: Schema.Literal("canary"),
2159
+ }),
2160
+ {
2161
+ value: null,
2162
+ outputs: [
2163
+ {
2164
+ source: ["Name"],
2165
+ target: [],
2166
+ },
2167
+ ],
2168
+ },
2169
+ ).annotate({ expected: "ResourceEntity" }),
2170
+ ResourceReferenceSchema(
2171
+ Schema.Struct({
2172
+ provider: Schema.Literal("aws"),
2173
+ service: Schema.Literal("sns"),
2174
+ resource: Schema.Literal("topic"),
2175
+ }),
2176
+ {
2177
+ value: null,
2178
+ outputs: [
2179
+ {
2180
+ source: ["TopicName"],
2181
+ target: [],
2182
+ },
2183
+ ],
2184
+ },
2185
+ ).annotate({ expected: "ResourceEntity" }),
2186
+ ResourceReferenceSchema(
2187
+ Schema.Struct({
2188
+ provider: Schema.Literal("aws"),
2189
+ service: Schema.Literal("lambda"),
2190
+ resource: Schema.Literal("version"),
2191
+ }),
2192
+ {
2193
+ value: null,
2194
+ outputs: [
2195
+ {
2196
+ source: ["ExecutedVersion"],
2197
+ target: [],
2198
+ },
2199
+ ],
2200
+ },
2201
+ ).annotate({ expected: "ResourceEntity" }),
2202
+ ResourceReferenceSchema(
2203
+ Schema.Struct({
2204
+ provider: Schema.Literal("aws"),
2205
+ service: Schema.Literal("ecs"),
2206
+ resource: Schema.Literal("cluster"),
2207
+ }),
2208
+ {
2209
+ value: null,
2210
+ outputs: [
2211
+ {
2212
+ source: ["ClusterName"],
2213
+ target: [],
2214
+ },
2215
+ ],
2216
+ },
2217
+ ).annotate({ expected: "ResourceEntity" }),
2218
+ ResourceReferenceSchema(
2219
+ Schema.Struct({
2220
+ provider: Schema.Literal("aws"),
2221
+ service: Schema.Literal("ecs"),
2222
+ resource: Schema.Literal("service"),
2223
+ }),
2224
+ {
2225
+ value: null,
2226
+ outputs: [
2227
+ {
2228
+ source: ["Name"],
2229
+ target: [],
2230
+ },
2231
+ ],
2232
+ },
2233
+ ).annotate({ expected: "ResourceEntity" }),
2234
+ ResourceReferenceSchema(
2235
+ Schema.Struct({
2236
+ provider: Schema.Literal("aws"),
2237
+ service: Schema.Literal("events"),
2238
+ resource: Schema.Literal("rule"),
2239
+ }),
2240
+ {
2241
+ value: null,
2242
+ outputs: [
2243
+ {
2244
+ source: ["RuleName"],
2245
+ target: [],
2246
+ },
2247
+ ],
2248
+ },
2249
+ ).annotate({ expected: "ResourceEntity" }),
2250
+ ResourceReferenceSchema(
2251
+ Schema.Struct({
2252
+ provider: Schema.Literal("aws"),
2253
+ service: Schema.Literal("route53"),
2254
+ resource: Schema.Literal("hostedzone"),
2255
+ }),
2256
+ {
2257
+ value: null,
2258
+ outputs: [
2259
+ {
2260
+ source: ["Id"],
2261
+ target: [],
2262
+ },
2263
+ ],
2264
+ },
2265
+ ).annotate({ expected: "ResourceEntity" }),
2266
+ ResourceReferenceSchema(
2267
+ Schema.Struct({
2268
+ provider: Schema.Literal("aws"),
2269
+ service: Schema.Literal("dynamodb"),
2270
+ resource: Schema.Literal("table"),
2271
+ }),
2272
+ {
2273
+ value: null,
2274
+ outputs: [
2275
+ {
2276
+ source: ["TableName"],
2277
+ target: [],
2278
+ },
2279
+ ],
2280
+ },
2281
+ ).annotate({ expected: "ResourceEntity" }),
2282
+ ResourceReferenceSchema(
2283
+ Schema.Struct({
2284
+ provider: Schema.Literal("aws"),
2285
+ service: Schema.Literal("elasticloadbalancingv2"),
2286
+ resource: Schema.Literal("loadbalancer"),
2287
+ }),
2288
+ {
2289
+ value: null,
2290
+ outputs: [
2291
+ {
2292
+ source: ["LoadBalancer"],
2293
+ target: [],
2294
+ },
2295
+ ],
2296
+ },
2297
+ ).annotate({ expected: "ResourceEntity" }),
2298
+ ResourceReferenceSchema(
2299
+ Schema.Struct({
2300
+ provider: Schema.Literal("aws"),
2301
+ service: Schema.Literal("elasticloadbalancingv2"),
2302
+ resource: Schema.Literal("targetgroup"),
2303
+ }),
2304
+ {
2305
+ value: null,
2306
+ outputs: [
2307
+ {
2308
+ source: ["TargetGroup"],
2309
+ target: [],
2310
+ },
2311
+ ],
2312
+ },
2313
+ ).annotate({ expected: "ResourceEntity" }),
2314
+ ResourceReferenceSchema(
2315
+ Schema.Struct({
2316
+ provider: Schema.Literal("aws"),
2317
+ service: Schema.Literal("autoscaling"),
2318
+ resource: Schema.Literal("autoscalinggroup"),
2319
+ }),
2320
+ {
2321
+ value: null,
2322
+ outputs: [
2323
+ {
2324
+ source: ["AutoScalingGroupName"],
2325
+ target: [],
2326
+ },
2327
+ ],
2328
+ },
2329
+ ).annotate({ expected: "ResourceEntity" }),
2330
+ ResourceReferenceSchema(
2331
+ Schema.Struct({
2332
+ provider: Schema.Literal("aws"),
2333
+ service: Schema.Literal("ec2"),
2334
+ resource: Schema.Literal("natgateway"),
2335
+ }),
2336
+ {
2337
+ value: null,
2338
+ outputs: [
2339
+ {
2340
+ source: ["NatGatewayId"],
2341
+ target: [],
2342
+ },
2343
+ ],
2344
+ },
2345
+ ).annotate({ expected: "ResourceEntity" }),
2346
+ ResourceReferenceSchema(
2347
+ Schema.Struct({
2348
+ provider: Schema.Literal("aws"),
2349
+ service: Schema.Literal("apigatewayv2"),
2350
+ resource: Schema.Literal("api"),
2351
+ }),
2352
+ {
2353
+ value: null,
2354
+ outputs: [
2355
+ {
2356
+ source: ["ApiId"],
2357
+ target: [],
2358
+ },
2359
+ ],
2360
+ },
2361
+ ).annotate({ expected: "ResourceEntity" }),
2362
+ ResourceReferenceSchema(
2363
+ Schema.Struct({
2364
+ provider: Schema.Literal("aws"),
2365
+ service: Schema.Literal("s3"),
2366
+ resource: Schema.Literal("bucket"),
2367
+ }),
2368
+ {
2369
+ value: null,
2370
+ outputs: [
2371
+ {
2372
+ source: ["BucketName"],
2373
+ target: [],
2374
+ },
2375
+ ],
2376
+ },
2377
+ ).annotate({ expected: "ResourceEntity" }),
2378
+ ResourceReferenceSchema(
2379
+ Schema.Struct({
2380
+ provider: Schema.Literal("aws"),
2381
+ service: Schema.Literal("opensearchservice"),
2382
+ resource: Schema.Literal("domain"),
2383
+ }),
2384
+ {
2385
+ value: null,
2386
+ outputs: [
2387
+ {
2388
+ source: ["DomainName"],
2389
+ target: [],
2390
+ },
2391
+ ],
2392
+ },
2393
+ ).annotate({ expected: "ResourceEntity" }),
2394
+ ResourceReferenceSchema(
2395
+ Schema.Struct({
2396
+ provider: Schema.Literal("aws"),
2397
+ service: Schema.Literal("elasticloadbalancing"),
2398
+ resource: Schema.Literal("loadbalancer"),
2399
+ }),
2400
+ {
2401
+ value: null,
2402
+ outputs: [
2403
+ {
2404
+ source: ["Id"],
2405
+ target: [],
2406
+ },
2407
+ ],
2408
+ },
2409
+ ).annotate({ expected: "ResourceEntity" }),
2410
+ ResourceReferenceSchema(
2411
+ Schema.Struct({
2412
+ provider: Schema.Literal("aws"),
2413
+ service: Schema.Literal("logs"),
2414
+ resource: Schema.Literal("loggroup"),
2415
+ }),
2416
+ {
2417
+ value: null,
2418
+ outputs: [
2419
+ {
2420
+ source: ["LogGroupName"],
2421
+ target: [],
2422
+ },
2423
+ ],
2424
+ },
2425
+ ).annotate({ expected: "ResourceEntity" }),
2426
+ ResourceReferenceSchema(
2427
+ Schema.Struct({
2428
+ provider: Schema.Literal("aws"),
2429
+ service: Schema.Literal("kinesis"),
2430
+ resource: Schema.Literal("stream"),
2431
+ }),
2432
+ {
2433
+ value: null,
2434
+ outputs: [
2435
+ {
2436
+ source: ["Name"],
2437
+ target: [],
2438
+ },
2439
+ ],
2440
+ },
2441
+ ).annotate({ expected: "ResourceEntity" }),
2442
+ ResourceReferenceSchema(
2443
+ Schema.Struct({
2444
+ provider: Schema.Literal("aws"),
2445
+ service: Schema.Literal("route53"),
2446
+ resource: Schema.Literal("healthcheck"),
2447
+ }),
2448
+ {
2449
+ value: null,
2450
+ outputs: [
2451
+ {
2452
+ source: ["HealthCheckId"],
2453
+ target: [],
2454
+ },
2455
+ ],
2456
+ },
2457
+ ).annotate({ expected: "ResourceEntity" }),
2458
+ ResourceReferenceSchema(
2459
+ Schema.Struct({
2460
+ provider: Schema.Literal("aws"),
2461
+ service: Schema.Literal("cloudfront"),
2462
+ resource: Schema.Literal("distribution"),
2463
+ }),
2464
+ {
2465
+ value: null,
2466
+ outputs: [
2467
+ {
2468
+ source: ["Id"],
2469
+ target: [],
2470
+ },
2471
+ ],
2472
+ },
2473
+ ).annotate({ expected: "ResourceEntity" }),
2474
+ ResourceReferenceSchema(
2475
+ Schema.Struct({
2476
+ provider: Schema.Literal("aws"),
2477
+ service: Schema.Literal("kinesisfirehose"),
2478
+ resource: Schema.Literal("deliverystream"),
2479
+ }),
2480
+ {
2481
+ value: null,
2482
+ outputs: [
2483
+ {
2484
+ source: ["DeliveryStreamName"],
2485
+ target: [],
2486
+ },
2487
+ ],
2488
+ },
2489
+ ).annotate({ expected: "ResourceEntity" }),
2490
+ ResourceReferenceSchema(
2491
+ Schema.Struct({
2492
+ provider: Schema.Literal("aws"),
2493
+ service: Schema.Literal("stepfunctions"),
2494
+ resource: Schema.Literal("activity"),
2495
+ }),
2496
+ {
2497
+ value: null,
2498
+ outputs: [
2499
+ {
2500
+ source: ["Arn"],
2501
+ target: [],
2502
+ },
2503
+ ],
2504
+ },
2505
+ ).annotate({ expected: "ResourceEntity" }),
2506
+ ResourceReferenceSchema(
2507
+ Schema.Struct({
2508
+ provider: Schema.Literal("aws"),
2509
+ service: Schema.Literal("rds"),
2510
+ resource: Schema.Literal("dbcluster"),
2511
+ }),
2512
+ {
2513
+ value: null,
2514
+ outputs: [
2515
+ {
2516
+ source: ["DBClusterIdentifier"],
2517
+ target: [],
2518
+ },
2519
+ ],
2520
+ },
2521
+ ).annotate({ expected: "ResourceEntity" }),
2522
+ ResourceReferenceSchema(
2523
+ Schema.Struct({
2524
+ provider: Schema.Literal("aws"),
2525
+ service: Schema.Literal("ec2"),
2526
+ resource: Schema.Literal("instance"),
2527
+ }),
2528
+ {
2529
+ value: null,
2530
+ outputs: [
2531
+ {
2532
+ source: ["InstanceId"],
2533
+ target: [],
2534
+ },
2535
+ ],
2536
+ },
2537
+ ).annotate({ expected: "ResourceEntity" }),
2538
+ ResourceReferenceSchema(
2539
+ Schema.Struct({
2540
+ provider: Schema.Literal("aws"),
2541
+ service: Schema.Literal("apigateway"),
2542
+ resource: Schema.Literal("restapi"),
2543
+ }),
2544
+ {
2545
+ value: null,
2546
+ outputs: [
2547
+ {
2548
+ source: ["RestApiName"],
2549
+ target: [],
2550
+ },
2551
+ ],
2552
+ },
2553
+ ).annotate({ expected: "ResourceEntity" }),
2554
+ ResourceReferenceSchema(
2555
+ Schema.Struct({
2556
+ provider: Schema.Literal("aws"),
2557
+ service: Schema.Literal("redshift"),
2558
+ resource: Schema.Literal("cluster"),
2559
+ }),
2560
+ {
2561
+ value: null,
2562
+ outputs: [
2563
+ {
2564
+ source: ["ClusterIdentifier"],
2565
+ target: [],
2566
+ },
2567
+ ],
2568
+ },
2569
+ ).annotate({ expected: "ResourceEntity" }),
2570
+ ResourceReferenceSchema(
2571
+ Schema.Struct({
2572
+ provider: Schema.Literal("aws"),
2573
+ service: Schema.Literal("glue"),
2574
+ resource: Schema.Literal("database"),
2575
+ }),
2576
+ {
2577
+ value: null,
2578
+ outputs: [
2579
+ {
2580
+ source: ["Id"],
2581
+ target: [],
2582
+ },
2583
+ ],
2584
+ },
2585
+ ).annotate({ expected: "ResourceEntity" }),
2586
+ ResourceReferenceSchema(
2587
+ Schema.Struct({
2588
+ provider: Schema.Literal("aws"),
2589
+ service: Schema.Literal("cognito"),
2590
+ resource: Schema.Literal("userpool"),
2591
+ }),
2592
+ {
2593
+ value: null,
2594
+ outputs: [
2595
+ {
2596
+ source: ["UserPoolId"],
2597
+ target: [],
2598
+ },
2599
+ ],
2600
+ },
2601
+ ).annotate({ expected: "ResourceEntity" }),
2602
+ ResourceReferenceSchema(
2603
+ Schema.Struct({
2604
+ provider: Schema.Literal("aws"),
2605
+ service: Schema.Literal("appsync"),
2606
+ resource: Schema.Literal("graphqlapi"),
2607
+ }),
2608
+ {
2609
+ value: null,
2610
+ outputs: [
2611
+ {
2612
+ source: ["ApiId"],
2613
+ target: [],
2614
+ },
2615
+ ],
2616
+ },
2617
+ ).annotate({ expected: "ResourceEntity" }),
2618
+ ResourceReferenceSchema(
2619
+ Schema.Struct({
2620
+ provider: Schema.Literal("aws"),
2621
+ service: Schema.Literal("globalaccelerator"),
2622
+ resource: Schema.Literal("accelerator"),
2623
+ }),
2624
+ {
2625
+ value: null,
2626
+ outputs: [
2627
+ {
2628
+ source: ["Accelerator"],
2629
+ target: [],
2630
+ },
2631
+ ],
2632
+ },
2633
+ ).annotate({ expected: "ResourceEntity" }),
2634
+ ResourceReferenceSchema(
2635
+ Schema.Struct({
2636
+ provider: Schema.Literal("aws"),
2637
+ service: Schema.Literal("glue"),
2638
+ resource: Schema.Literal("job"),
2639
+ }),
2640
+ {
2641
+ value: null,
2642
+ outputs: [
2643
+ {
2644
+ source: ["Id"],
2645
+ target: [],
2646
+ },
2647
+ ],
2648
+ },
2649
+ ).annotate({ expected: "ResourceEntity" }),
2650
+ ResourceReferenceSchema(
2651
+ Schema.Struct({
2652
+ provider: Schema.Literal("aws"),
2653
+ service: Schema.Literal("rds"),
2654
+ resource: Schema.Literal("dbinstance"),
2655
+ }),
2656
+ {
2657
+ value: null,
2658
+ outputs: [
2659
+ {
2660
+ source: ["DBInstanceIdentifier"],
2661
+ target: [],
2662
+ },
2663
+ ],
2664
+ },
2665
+ ).annotate({ expected: "ResourceEntity" }),
2666
+ ResourceReferenceSchema(
2667
+ Schema.Struct({
2668
+ provider: Schema.Literal("aws"),
2669
+ service: Schema.Literal("events"),
2670
+ resource: Schema.Literal("eventbus"),
2671
+ }),
2672
+ {
2673
+ value: null,
2674
+ outputs: [
2675
+ {
2676
+ source: ["Name"],
2677
+ target: [],
2678
+ },
2679
+ ],
2680
+ },
2681
+ ).annotate({ expected: "ResourceEntity" }),
2682
+ ResourceReferenceSchema(
2683
+ Schema.Struct({
2684
+ provider: Schema.Literal("aws"),
2685
+ service: Schema.Literal("neptune"),
2686
+ resource: Schema.Literal("dbcluster"),
2687
+ }),
2688
+ {
2689
+ value: null,
2690
+ outputs: [
2691
+ {
2692
+ source: ["DBClusterIdentifier"],
2693
+ target: [],
2694
+ },
2695
+ ],
2696
+ },
2697
+ ).annotate({ expected: "ResourceEntity" }),
2698
+ ResourceReferenceSchema(
2699
+ Schema.Struct({
2700
+ provider: Schema.Literal("aws"),
2701
+ service: Schema.Literal("ec2"),
2702
+ resource: Schema.Literal("vpcendpointservice"),
2703
+ }),
2704
+ {
2705
+ value: null,
2706
+ outputs: [
2707
+ {
2708
+ source: ["ServiceId"],
2709
+ target: [],
2710
+ },
2711
+ ],
2712
+ },
2713
+ ).annotate({ expected: "ResourceEntity" }),
2714
+ ResourceReferenceSchema(
2715
+ Schema.Struct({
2716
+ provider: Schema.Literal("aws"),
2717
+ service: Schema.Literal("rum"),
2718
+ resource: Schema.Literal("appmonitor"),
2719
+ }),
2720
+ {
2721
+ value: null,
2722
+ outputs: [
2723
+ {
2724
+ source: ["Name"],
2725
+ target: [],
2726
+ },
2727
+ ],
2728
+ },
2729
+ ).annotate({ expected: "ResourceEntity" }),
2730
+ ResourceReferenceSchema(
2731
+ Schema.Struct({
2732
+ provider: Schema.Literal("aws"),
2733
+ service: Schema.Literal("kinesisanalyticsv2"),
2734
+ resource: Schema.Literal("application"),
2735
+ }),
2736
+ {
2737
+ value: null,
2738
+ outputs: [
2739
+ {
2740
+ source: ["ApplicationName"],
2741
+ target: [],
2742
+ },
2743
+ ],
2744
+ },
2745
+ ).annotate({ expected: "ResourceEntity" }),
2746
+ ResourceReferenceSchema(
2747
+ Schema.Struct({
2748
+ provider: Schema.Literal("aws"),
2749
+ service: Schema.Literal("kms"),
2750
+ resource: Schema.Literal("key"),
2751
+ }),
2752
+ {
2753
+ value: null,
2754
+ outputs: [
2755
+ {
2756
+ source: ["KeyId"],
2757
+ target: [],
2758
+ },
2759
+ ],
2760
+ },
2761
+ ).annotate({ expected: "ResourceEntity" }),
2762
+ ResourceReferenceSchema(
2763
+ Schema.Struct({
2764
+ provider: Schema.Literal("aws"),
2765
+ service: Schema.Literal("kendra"),
2766
+ resource: Schema.Literal("index"),
2767
+ }),
2768
+ {
2769
+ value: null,
2770
+ outputs: [
2771
+ {
2772
+ source: ["Id"],
2773
+ target: [],
2774
+ },
2775
+ ],
2776
+ },
2777
+ ).annotate({ expected: "ResourceEntity" }),
2778
+ ResourceReferenceSchema(
2779
+ Schema.Struct({
2780
+ provider: Schema.Literal("aws"),
2781
+ service: Schema.Literal("kendra"),
2782
+ resource: Schema.Literal("datasource"),
2783
+ }),
2784
+ {
2785
+ value: null,
2786
+ outputs: [
2787
+ {
2788
+ source: ["Id"],
2789
+ target: [],
2790
+ },
2791
+ ],
2792
+ },
2793
+ ).annotate({ expected: "ResourceEntity" }),
2794
+ ResourceReferenceSchema(
2795
+ Schema.Struct({
2796
+ provider: Schema.Literal("aws"),
2797
+ service: Schema.Literal("eks"),
2798
+ resource: Schema.Literal("cluster"),
2799
+ }),
2800
+ {
2801
+ value: null,
2802
+ outputs: [
2803
+ {
2804
+ source: ["Name"],
2805
+ target: [],
2806
+ },
2807
+ ],
2808
+ },
2809
+ ).annotate({ expected: "ResourceEntity" }),
2810
+ ResourceReferenceSchema(
2811
+ Schema.Struct({
2812
+ provider: Schema.Literal("aws"),
2813
+ service: Schema.Literal("athena"),
2814
+ resource: Schema.Literal("capacityreservation"),
2815
+ }),
2816
+ {
2817
+ value: null,
2818
+ outputs: [
2819
+ {
2820
+ source: ["CapacityReservationName"],
2821
+ target: [],
2822
+ },
2823
+ ],
2824
+ },
2825
+ ).annotate({ expected: "ResourceEntity" }),
2826
+ ResourceReferenceSchema(
2827
+ Schema.Struct({
2828
+ provider: Schema.Literal("aws"),
2829
+ service: Schema.Literal("athena"),
2830
+ resource: Schema.Literal("workgroup"),
2831
+ }),
2832
+ {
2833
+ value: null,
2834
+ outputs: [
2835
+ {
2836
+ source: ["Name"],
2837
+ target: [],
2838
+ },
2839
+ ],
2840
+ },
2841
+ ).annotate({ expected: "ResourceEntity" }),
2842
+ ResourceReferenceSchema(
2843
+ Schema.Struct({
2844
+ provider: Schema.Literal("aws"),
2845
+ service: Schema.Literal("backup"),
2846
+ resource: Schema.Literal("backupvault"),
2847
+ }),
2848
+ {
2849
+ value: null,
2850
+ outputs: [
2851
+ {
2852
+ source: ["BackupVaultName"],
2853
+ target: [],
2854
+ },
2855
+ ],
2856
+ },
2857
+ ).annotate({ expected: "ResourceEntity" }),
2858
+ ResourceReferenceSchema(
2859
+ Schema.Struct({
2860
+ provider: Schema.Literal("aws"),
2861
+ service: Schema.Literal("cloudwatch"),
2862
+ resource: Schema.Literal("metricstream"),
2863
+ }),
2864
+ {
2865
+ value: null,
2866
+ outputs: [
2867
+ {
2868
+ source: ["Name"],
2869
+ target: [],
2870
+ },
2871
+ ],
2872
+ },
2873
+ ).annotate({ expected: "ResourceEntity" }),
2874
+ ResourceReferenceSchema(
2875
+ Schema.Struct({
2876
+ provider: Schema.Literal("aws"),
2877
+ service: Schema.Literal("connect"),
2878
+ resource: Schema.Literal("instance"),
2879
+ }),
2880
+ {
2881
+ value: null,
2882
+ outputs: [
2883
+ {
2884
+ source: ["InstanceId"],
2885
+ target: [],
2886
+ },
2887
+ ],
2888
+ },
2889
+ ).annotate({ expected: "ResourceEntity" }),
2890
+ ResourceReferenceSchema(
2891
+ Schema.Struct({
2892
+ provider: Schema.Literal("aws"),
2893
+ service: Schema.Literal("datasync"),
2894
+ resource: Schema.Literal("agent"),
2895
+ }),
2896
+ {
2897
+ value: null,
2898
+ outputs: [
2899
+ {
2900
+ source: ["AgentId"],
2901
+ target: [],
2902
+ },
2903
+ ],
2904
+ },
2905
+ ).annotate({ expected: "ResourceEntity" }),
2906
+ ResourceReferenceSchema(
2907
+ Schema.Struct({
2908
+ provider: Schema.Literal("aws"),
2909
+ service: Schema.Literal("datasync"),
2910
+ resource: Schema.Literal("task"),
2911
+ }),
2912
+ {
2913
+ value: null,
2914
+ outputs: [
2915
+ {
2916
+ source: ["TaskId"],
2917
+ target: [],
2918
+ },
2919
+ ],
2920
+ },
2921
+ ).annotate({ expected: "ResourceEntity" }),
2922
+ ResourceReferenceSchema(
2923
+ Schema.Struct({
2924
+ provider: Schema.Literal("aws"),
2925
+ service: Schema.Literal("docdbelastic"),
2926
+ resource: Schema.Literal("cluster"),
2927
+ }),
2928
+ {
2929
+ value: null,
2930
+ outputs: [
2931
+ {
2932
+ source: ["ResourceId"],
2933
+ target: [],
2934
+ },
2935
+ ],
2936
+ },
2937
+ ).annotate({ expected: "ResourceEntity" }),
2938
+ ResourceReferenceSchema(
2939
+ Schema.Struct({
2940
+ provider: Schema.Literal("aws"),
2941
+ service: Schema.Literal("dynamodb"),
2942
+ resource: Schema.Literal("globaltable"),
2943
+ }),
2944
+ {
2945
+ value: null,
2946
+ outputs: [
2947
+ {
2948
+ source: ["TableName"],
2949
+ target: [],
2950
+ },
2951
+ ],
2952
+ },
2953
+ ).annotate({ expected: "ResourceEntity" }),
2954
+ ResourceReferenceSchema(
2955
+ Schema.Struct({
2956
+ provider: Schema.Literal("aws"),
2957
+ service: Schema.Literal("ec2"),
2958
+ resource: Schema.Literal("volume"),
2959
+ }),
2960
+ {
2961
+ value: null,
2962
+ outputs: [
2963
+ {
2964
+ source: ["VolumeId"],
2965
+ target: [],
2966
+ },
2967
+ ],
2968
+ },
2969
+ ).annotate({ expected: "ResourceEntity" }),
2970
+ ResourceReferenceSchema(
2971
+ Schema.Struct({
2972
+ provider: Schema.Literal("aws"),
2973
+ service: Schema.Literal("ec2"),
2974
+ resource: Schema.Literal("host"),
2975
+ }),
2976
+ {
2977
+ value: null,
2978
+ outputs: [
2979
+ {
2980
+ source: ["HostId"],
2981
+ target: [],
2982
+ },
2983
+ ],
2984
+ },
2985
+ ).annotate({ expected: "ResourceEntity" }),
2986
+ ResourceReferenceSchema(
2987
+ Schema.Struct({
2988
+ provider: Schema.Literal("aws"),
2989
+ service: Schema.Literal("ec2"),
2990
+ resource: Schema.Literal("vpc"),
2991
+ }),
2992
+ {
2993
+ value: null,
2994
+ outputs: [
2995
+ {
2996
+ source: ["VpcId"],
2997
+ target: [],
2998
+ },
2999
+ ],
3000
+ },
3001
+ ).annotate({ expected: "ResourceEntity" }),
3002
+ ResourceReferenceSchema(
3003
+ Schema.Struct({
3004
+ provider: Schema.Literal("aws"),
3005
+ service: Schema.Literal("ec2"),
3006
+ resource: Schema.Literal("capacityreservation"),
3007
+ }),
3008
+ {
3009
+ value: null,
3010
+ outputs: [
3011
+ {
3012
+ source: ["Id"],
3013
+ target: [],
3014
+ },
3015
+ ],
3016
+ },
3017
+ ).annotate({ expected: "ResourceEntity" }),
3018
+ ResourceReferenceSchema(
3019
+ Schema.Struct({
3020
+ provider: Schema.Literal("aws"),
3021
+ service: Schema.Literal("efs"),
3022
+ resource: Schema.Literal("filesystem"),
3023
+ }),
3024
+ {
3025
+ value: null,
3026
+ outputs: [
3027
+ {
3028
+ source: ["FileSystemId"],
3029
+ target: [],
3030
+ },
3031
+ ],
3032
+ },
3033
+ ).annotate({ expected: "ResourceEntity" }),
3034
+ ResourceReferenceSchema(
3035
+ Schema.Struct({
3036
+ provider: Schema.Literal("aws"),
3037
+ service: Schema.Literal("pipes"),
3038
+ resource: Schema.Literal("pipe"),
3039
+ }),
3040
+ {
3041
+ value: null,
3042
+ outputs: [
3043
+ {
3044
+ source: ["Name"],
3045
+ target: [],
3046
+ },
3047
+ ],
3048
+ },
3049
+ ).annotate({ expected: "ResourceEntity" }),
3050
+ ResourceReferenceSchema(
3051
+ Schema.Struct({
3052
+ provider: Schema.Literal("aws"),
3053
+ service: Schema.Literal("ivschat"),
3054
+ resource: Schema.Literal("loggingconfiguration"),
3055
+ }),
3056
+ {
3057
+ value: null,
3058
+ outputs: [
3059
+ {
3060
+ source: ["ResourceId"],
3061
+ target: [],
3062
+ },
3063
+ ],
3064
+ },
3065
+ ).annotate({ expected: "ResourceEntity" }),
3066
+ ResourceReferenceSchema(
3067
+ Schema.Struct({
3068
+ provider: Schema.Literal("aws"),
3069
+ service: Schema.Literal("iot"),
3070
+ resource: Schema.Literal("cacertificate"),
3071
+ }),
3072
+ {
3073
+ value: null,
3074
+ outputs: [
3075
+ {
3076
+ source: ["Id"],
3077
+ target: [],
3078
+ },
3079
+ ],
3080
+ },
3081
+ ).annotate({ expected: "ResourceEntity" }),
3082
+ ResourceReferenceSchema(
3083
+ Schema.Struct({
3084
+ provider: Schema.Literal("aws"),
3085
+ service: Schema.Literal("iot"),
3086
+ resource: Schema.Literal("scheduledaudit"),
3087
+ }),
3088
+ {
3089
+ value: null,
3090
+ outputs: [
3091
+ {
3092
+ source: ["ScheduledAuditName"],
3093
+ target: [],
3094
+ },
3095
+ ],
3096
+ },
3097
+ ).annotate({ expected: "ResourceEntity" }),
3098
+ ResourceReferenceSchema(
3099
+ Schema.Struct({
3100
+ provider: Schema.Literal("aws"),
3101
+ service: Schema.Literal("iot"),
3102
+ resource: Schema.Literal("securityprofile"),
3103
+ }),
3104
+ {
3105
+ value: null,
3106
+ outputs: [
3107
+ {
3108
+ source: ["SecurityProfileName"],
3109
+ target: [],
3110
+ },
3111
+ ],
3112
+ },
3113
+ ).annotate({ expected: "ResourceEntity" }),
3114
+ ResourceReferenceSchema(
3115
+ Schema.Struct({
3116
+ provider: Schema.Literal("aws"),
3117
+ service: Schema.Literal("iot"),
3118
+ resource: Schema.Literal("topicrule"),
3119
+ }),
3120
+ {
3121
+ value: null,
3122
+ outputs: [
3123
+ {
3124
+ source: ["RuleName"],
3125
+ target: [],
3126
+ },
3127
+ ],
3128
+ },
3129
+ ).annotate({ expected: "ResourceEntity" }),
3130
+ ResourceReferenceSchema(
3131
+ Schema.Struct({
3132
+ provider: Schema.Literal("aws"),
3133
+ service: Schema.Literal("m2"),
3134
+ resource: Schema.Literal("application"),
3135
+ }),
3136
+ {
3137
+ value: null,
3138
+ outputs: [
3139
+ {
3140
+ source: ["ApplicationId"],
3141
+ target: [],
3142
+ },
3143
+ ],
3144
+ },
3145
+ ).annotate({ expected: "ResourceEntity" }),
3146
+ ResourceReferenceSchema(
3147
+ Schema.Struct({
3148
+ provider: Schema.Literal("aws"),
3149
+ service: Schema.Literal("mediatailor"),
3150
+ resource: Schema.Literal("channel"),
3151
+ }),
3152
+ {
3153
+ value: null,
3154
+ outputs: [
3155
+ {
3156
+ source: ["ChannelName"],
3157
+ target: [],
3158
+ },
3159
+ ],
3160
+ },
3161
+ ).annotate({ expected: "ResourceEntity" }),
3162
+ ResourceReferenceSchema(
3163
+ Schema.Struct({
3164
+ provider: Schema.Literal("aws"),
3165
+ service: Schema.Literal("networkfirewall"),
3166
+ resource: Schema.Literal("firewall"),
3167
+ }),
3168
+ {
3169
+ value: null,
3170
+ outputs: [
3171
+ {
3172
+ source: ["Name"],
3173
+ target: [],
3174
+ },
3175
+ ],
3176
+ },
3177
+ ).annotate({ expected: "ResourceEntity" }),
3178
+ ResourceReferenceSchema(
3179
+ Schema.Struct({
3180
+ provider: Schema.Literal("aws"),
3181
+ service: Schema.Literal("redshiftserverless"),
3182
+ resource: Schema.Literal("namespace"),
3183
+ }),
3184
+ {
3185
+ value: null,
3186
+ outputs: [
3187
+ {
3188
+ source: ["NamespaceName"],
3189
+ target: [],
3190
+ },
3191
+ ],
3192
+ },
3193
+ ).annotate({ expected: "ResourceEntity" }),
3194
+ ResourceReferenceSchema(
3195
+ Schema.Struct({
3196
+ provider: Schema.Literal("aws"),
3197
+ service: Schema.Literal("redshiftserverless"),
3198
+ resource: Schema.Literal("workgroup"),
3199
+ }),
3200
+ {
3201
+ value: null,
3202
+ outputs: [
3203
+ {
3204
+ source: ["WorkgroupName"],
3205
+ target: [],
3206
+ },
3207
+ ],
3208
+ },
3209
+ ).annotate({ expected: "ResourceEntity" }),
3210
+ ResourceReferenceSchema(
3211
+ Schema.Struct({
3212
+ provider: Schema.Literal("aws"),
3213
+ service: Schema.Literal("sagemaker"),
3214
+ resource: Schema.Literal("inferencecomponent"),
3215
+ }),
3216
+ {
3217
+ value: null,
3218
+ outputs: [
3219
+ {
3220
+ source: ["InferenceComponentName"],
3221
+ target: [],
3222
+ },
3223
+ ],
3224
+ },
3225
+ ).annotate({ expected: "ResourceEntity" }),
3226
+ ResourceReferenceSchema(
3227
+ Schema.Struct({
3228
+ provider: Schema.Literal("aws"),
3229
+ service: Schema.Literal("transfer"),
3230
+ resource: Schema.Literal("connector"),
3231
+ }),
3232
+ {
3233
+ value: null,
3234
+ outputs: [
3235
+ {
3236
+ source: ["ConnectorId"],
3237
+ target: [],
3238
+ },
3239
+ ],
3240
+ },
3241
+ ).annotate({ expected: "ResourceEntity" }),
3242
+ ResourceReferenceSchema(
3243
+ Schema.Struct({
3244
+ provider: Schema.Literal("aws"),
3245
+ service: Schema.Literal("ec2"),
3246
+ resource: Schema.Literal("transitgateway"),
3247
+ }),
3248
+ {
3249
+ value: null,
3250
+ outputs: [
3251
+ {
3252
+ source: ["TransitGateway"],
3253
+ target: [],
3254
+ },
3255
+ ],
3256
+ },
3257
+ ).annotate({ expected: "ResourceEntity" }),
3258
+ ResourceReferenceSchema(
3259
+ Schema.Struct({
3260
+ provider: Schema.Literal("aws"),
3261
+ service: Schema.Literal("ec2"),
3262
+ resource: Schema.Literal("vpnconnection"),
3263
+ }),
3264
+ {
3265
+ value: null,
3266
+ outputs: [
3267
+ {
3268
+ source: ["VpnConnectionId"],
3269
+ target: [],
3270
+ },
3271
+ ],
3272
+ },
3273
+ ).annotate({ expected: "ResourceEntity" }),
3274
+ ResourceReferenceSchema(
3275
+ Schema.Struct({
3276
+ provider: Schema.Literal("aws"),
3277
+ service: Schema.Literal("vpclattice"),
3278
+ resource: Schema.Literal("service"),
3279
+ }),
3280
+ {
3281
+ value: null,
3282
+ outputs: [
3283
+ {
3284
+ source: ["ServiceId"],
3285
+ target: [],
3286
+ },
3287
+ ],
3288
+ },
3289
+ ).annotate({ expected: "ResourceEntity" }),
3290
+ ResourceReferenceSchema(
3291
+ Schema.Struct({
3292
+ provider: Schema.Literal("aws"),
3293
+ service: Schema.Literal("amplify"),
3294
+ resource: Schema.Literal("app"),
3295
+ }),
3296
+ {
3297
+ value: null,
3298
+ outputs: [
3299
+ {
3300
+ source: ["Arn"],
3301
+ target: [],
3302
+ },
3303
+ ],
3304
+ },
3305
+ ).annotate({ expected: "ResourceEntity" }),
3306
+ ResourceReferenceSchema(
3307
+ Schema.Struct({
3308
+ provider: Schema.Literal("aws"),
3309
+ service: Schema.Literal("appflow"),
3310
+ resource: Schema.Literal("flow"),
3311
+ }),
3312
+ {
3313
+ value: null,
3314
+ outputs: [
3315
+ {
3316
+ source: ["FlowName"],
3317
+ target: [],
3318
+ },
3319
+ ],
3320
+ },
3321
+ ).annotate({ expected: "ResourceEntity" }),
3322
+ ResourceReferenceSchema(
3323
+ Schema.Struct({
3324
+ provider: Schema.Literal("aws"),
3325
+ service: Schema.Literal("appsync"),
3326
+ resource: Schema.Literal("datasource"),
3327
+ }),
3328
+ {
3329
+ value: null,
3330
+ outputs: [
3331
+ {
3332
+ source: ["DataSourceArn"],
3333
+ target: [],
3334
+ },
3335
+ ],
3336
+ },
3337
+ ).annotate({ expected: "ResourceEntity" }),
3338
+ ResourceReferenceSchema(
3339
+ Schema.Struct({
3340
+ provider: Schema.Literal("aws"),
3341
+ service: Schema.Literal("appsync"),
3342
+ resource: Schema.Literal("resolver"),
3343
+ }),
3344
+ {
3345
+ value: null,
3346
+ outputs: [
3347
+ {
3348
+ source: ["ResolverArn"],
3349
+ target: [],
3350
+ },
3351
+ ],
3352
+ },
3353
+ ).annotate({ expected: "ResourceEntity" }),
3354
+ ResourceReferenceSchema(
3355
+ Schema.Struct({
3356
+ provider: Schema.Literal("aws"),
3357
+ service: Schema.Literal("autoscaling"),
3358
+ resource: Schema.Literal("scalingpolicy"),
3359
+ }),
3360
+ {
3361
+ value: null,
3362
+ outputs: [
3363
+ {
3364
+ source: ["Arn"],
3365
+ target: [],
3366
+ },
3367
+ ],
3368
+ },
3369
+ ).annotate({ expected: "ResourceEntity" }),
3370
+ ResourceReferenceSchema(
3371
+ Schema.Struct({
3372
+ provider: Schema.Literal("aws"),
3373
+ service: Schema.Literal("bedrock"),
3374
+ resource: Schema.Literal("guardrail"),
3375
+ }),
3376
+ {
3377
+ value: null,
3378
+ outputs: [
3379
+ {
3380
+ source: ["GuardrailArn"],
3381
+ target: [],
3382
+ },
3383
+ ],
3384
+ },
3385
+ ).annotate({ expected: "ResourceEntity" }),
3386
+ ResourceReferenceSchema(
3387
+ Schema.Struct({
3388
+ provider: Schema.Literal("aws"),
3389
+ service: Schema.Literal("cloudfront"),
3390
+ resource: Schema.Literal("function"),
3391
+ }),
3392
+ {
3393
+ value: null,
3394
+ outputs: [
3395
+ {
3396
+ source: ["FunctionARN"],
3397
+ target: [],
3398
+ },
3399
+ ],
3400
+ },
3401
+ ).annotate({ expected: "ResourceEntity" }),
3402
+ ResourceReferenceSchema(
3403
+ Schema.Struct({
3404
+ provider: Schema.Literal("aws"),
3405
+ service: Schema.Literal("ecr"),
3406
+ resource: Schema.Literal("repository"),
3407
+ }),
3408
+ {
3409
+ value: null,
3410
+ outputs: [
3411
+ {
3412
+ source: ["RepositoryName"],
3413
+ target: [],
3414
+ },
3415
+ ],
3416
+ },
3417
+ ).annotate({ expected: "ResourceEntity" }),
3418
+ ResourceReferenceSchema(
3419
+ Schema.Struct({
3420
+ provider: Schema.Literal("aws"),
3421
+ service: Schema.Literal("lambda"),
3422
+ resource: Schema.Literal("eventsourcemapping"),
3423
+ }),
3424
+ {
3425
+ value: null,
3426
+ outputs: [
3427
+ {
3428
+ source: ["Id"],
3429
+ target: [],
3430
+ },
3431
+ ],
3432
+ },
3433
+ ).annotate({ expected: "ResourceEntity" }),
3434
+ ResourceReferenceSchema(
3435
+ Schema.Struct({
3436
+ provider: Schema.Literal("aws"),
3437
+ service: Schema.Literal("ec2"),
3438
+ resource: Schema.Literal("transitgatewayattachment"),
3439
+ }),
3440
+ {
3441
+ value: null,
3442
+ outputs: [
3443
+ {
3444
+ source: ["Id"],
3445
+ target: [],
3446
+ },
3447
+ ],
3448
+ },
3449
+ ).annotate({ expected: "ResourceEntity" }),
3450
+ ]),
3451
+ Schema.String.annotate({
3452
+ description:
3453
+ "The value for the dimension, from 1–255 characters in length.",
3454
+ }),
3455
+ ]),
3456
+ Name: Schema.String.annotate({
3457
+ description:
3458
+ "The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.",
3459
+ }),
3460
+ }).annotate({
3461
+ description:
3462
+ "Dimension is an embedded property of the ``AWS::CloudWatch::Alarm`` type. Dimensions are name/value pairs that can be associated with a CW metric. You can specify a maximum of 30 dimensions for a given metric.",
3463
+ identifier: "Dimension_1",
3464
+ });
3465
+
3466
+ interface Metric {
3467
+ readonly MetricName?: string;
3468
+ readonly Dimensions?: globalThis.ReadonlyArray<Dimension_1>;
3469
+ readonly Namespace?: string;
3470
+ }
3471
+
3472
+ const Metric = Schema.Struct({
3473
+ MetricName: Schema.optionalKey(
3474
+ Schema.String.annotate({
3475
+ description:
3476
+ "The name of the metric that you want the alarm to watch. This is a required field.",
3477
+ }),
3478
+ ),
3479
+ Dimensions: Schema.optionalKey(
3480
+ Schema.Array(Dimension_1).annotate({
3481
+ description:
3482
+ "The metric dimensions that you want to be used for the metric that the alarm will watch.",
3483
+ }),
3484
+ ),
3485
+ Namespace: Schema.optionalKey(
3486
+ Schema.String.annotate({
3487
+ description: "The namespace of the metric that the alarm will watch.",
3488
+ }),
3489
+ ),
3490
+ }).annotate({
3491
+ description:
3492
+ "The ``Metric`` property type represents a specific metric. ``Metric`` is a property of the [MetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html) property type.",
3493
+ identifier: "Metric",
3494
+ });
3495
+
3496
+ interface MetricStat {
3497
+ readonly Period: number;
3498
+ readonly Metric: Metric;
3499
+ readonly Stat: string;
3500
+ readonly Unit?: string;
3501
+ }
3502
+
3503
+ const MetricStat = Schema.Struct({
3504
+ Period: Schema.Number.annotate({
3505
+ description:
3506
+ "The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` call that includes a ``StorageResolution`` of 1 second.\n If the ``StartTime`` parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:\n + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).\n + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).\n + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).",
3507
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3508
+ Metric: Metric,
3509
+ Stat: Schema.String.annotate({
3510
+ description:
3511
+ "The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *User Guide*.",
3512
+ }),
3513
+ Unit: Schema.optionalKey(
3514
+ Schema.String.annotate({
3515
+ description:
3516
+ "The unit to use for the returned data points. \n Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.",
3517
+ }),
3518
+ ),
3519
+ }).annotate({
3520
+ description:
3521
+ "This structure defines the metric to be returned, along with the statistics, period, and units.\n ``MetricStat`` is a property of the [MetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html) property type.",
3522
+ identifier: "MetricStat",
3523
+ });
3524
+
3525
+ interface MetricDataQuery {
3526
+ readonly Label?: string;
3527
+ readonly MetricStat?: MetricStat;
3528
+ readonly Id: string;
3529
+ readonly ReturnData?: boolean;
3530
+ readonly Expression?: string;
3531
+ readonly Period?: number;
3532
+ readonly AccountId?: string;
3533
+ }
3534
+
3535
+ const MetricDataQuery = Schema.Struct({
3536
+ Label: Schema.optionalKey(
3537
+ Schema.String.annotate({
3538
+ description:
3539
+ "A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If ``Label`` is omitted, CW generates a default.",
3540
+ }),
3541
+ ),
3542
+ MetricStat: Schema.optionalKey(MetricStat),
3543
+ Id: Schema.String.annotate({
3544
+ description:
3545
+ "A short name used to tie this object to the results in the response. This name must be unique within a single call to ``GetMetricData``. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.",
3546
+ }),
3547
+ ReturnData: Schema.optionalKey(
3548
+ Schema.Boolean.annotate({
3549
+ description:
3550
+ "This option indicates whether to return the timestamps and raw data values of this metric.\n When you create an alarm based on a metric math expression, specify ``True`` for this value for only the one math expression that the alarm is based on. You must specify ``False`` for ``ReturnData`` for all the other metrics and expressions used in the alarm.\n This field is required.",
3551
+ }),
3552
+ ),
3553
+ Expression: Schema.optionalKey(
3554
+ Schema.String.annotate({
3555
+ description:
3556
+ "The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. For more information about metric math expressions, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *User Guide*.\n Within each MetricDataQuery object, you must specify either ``Expression`` or ``MetricStat`` but not both.",
3557
+ }),
3558
+ ),
3559
+ Period: Schema.optionalKey(
3560
+ Schema.Number.annotate({
3561
+ description:
3562
+ "The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` operation that includes a ``StorageResolution of 1 second``.",
3563
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3564
+ ),
3565
+ AccountId: Schema.optionalKey(
3566
+ Schema.String.annotate({
3567
+ description:
3568
+ "The ID of the account where the metrics are located, if this is a cross-account alarm.",
3569
+ }),
3570
+ ),
3571
+ }).annotate({
3572
+ description:
3573
+ "The ``MetricDataQuery`` property type specifies the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a math expression on metric data. \n Any expression used must return a single time series. For more information, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *User Guide*.",
3574
+ identifier: "MetricDataQuery",
3575
+ });
3576
+
3577
+ interface Tag {
3578
+ readonly Key: string;
3579
+ readonly Value: string;
3580
+ }
3581
+
3582
+ const Tag = Schema.Struct({
3583
+ Key: Schema.String.annotate({
3584
+ description:
3585
+ "A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.",
3586
+ })
3587
+ .check(
3588
+ Schema.isMinLength(1).annotate({
3589
+ expected: "a value with a length of at least 1",
3590
+ }),
3591
+ )
3592
+ .check(
3593
+ Schema.isMaxCodePoints(128).annotate({
3594
+ expected: "a string with at most 128 code points",
3595
+ }),
3596
+ ),
3597
+ Value: Schema.String.annotate({
3598
+ description: "The value for the specified tag key.",
3599
+ })
3600
+ .check(
3601
+ Schema.isMinLength(1).annotate({
3602
+ expected: "a value with a length of at least 1",
3603
+ }),
3604
+ )
3605
+ .check(
3606
+ Schema.isMaxCodePoints(256).annotate({
3607
+ expected: "a string with at most 256 code points",
3608
+ }),
3609
+ ),
3610
+ }).annotate({
3611
+ description:
3612
+ "One of the key-value pairs associated with the alarm. Tags can help you organize and categorize your resources.",
3613
+ identifier: "Tag",
3614
+ });
3615
+
3616
+ type ResourceInputItems = globalThis.ReadonlyArray<Tag>;
3617
+
3618
+ const ResourceInputItems = Schema.Array(Tag)
3619
+ .annotate({
3620
+ description:
3621
+ "A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission.\n Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.",
3622
+ })
3623
+ .check(
3624
+ Schema.isMaxLength(50).annotate({
3625
+ expected: "a value with a length of at most 50",
3626
+ }),
3627
+ )
3628
+ .check(
3629
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
3630
+ );
3631
+
3632
+ interface AlarmPromQLCriteria {
3633
+ readonly Query?: string;
3634
+ readonly PendingPeriod?: number;
3635
+ readonly RecoveryPeriod?: number;
3636
+ }
3637
+
3638
+ const AlarmPromQLCriteria = Schema.Struct({
3639
+ Query: Schema.optionalKey(
3640
+ Schema.String.annotate({
3641
+ description:
3642
+ "The PromQL query that the alarm evaluates. The query must return a result of vector type. Each entry in the vector result represents an alarm contributor.",
3643
+ }),
3644
+ ),
3645
+ PendingPeriod: Schema.optionalKey(
3646
+ Schema.Number.annotate({
3647
+ description:
3648
+ "The duration, in seconds, that a contributor must be continuously breaching before it transitions to the ``ALARM`` state.",
3649
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3650
+ ),
3651
+ RecoveryPeriod: Schema.optionalKey(
3652
+ Schema.Number.annotate({
3653
+ description:
3654
+ "The duration, in seconds, that a contributor must continuously not be breaching before it transitions back to the ``OK`` state.",
3655
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3656
+ ),
3657
+ }).annotate({
3658
+ description:
3659
+ "Contains the configuration that determines how a PromQL alarm evaluates its contributors, including the query to run and the durations that define when contributors transition between states.",
3660
+ identifier: "AlarmPromQLCriteria",
3661
+ });
3662
+
3663
+ interface EvaluationCriteria {
3664
+ readonly PromQLCriteria?: AlarmPromQLCriteria;
3665
+ }
3666
+
3667
+ const EvaluationCriteria = Schema.Struct({
3668
+ PromQLCriteria: Schema.optionalKey(AlarmPromQLCriteria),
3669
+ }).annotate({
3670
+ description:
3671
+ "The evaluation criteria for an alarm. This is a union type that currently supports ``PromQLCriteria``.",
3672
+ identifier: "EvaluationCriteria",
3673
+ });
3674
+
3675
+ interface Dimension_2 {
3676
+ readonly Value: string;
3677
+ readonly Name: string;
3678
+ }
3679
+
3680
+ const Dimension_2 = Schema.Struct({
3681
+ Value: Schema.String.annotate({
3682
+ description:
3683
+ "The value for the dimension, from 1–255 characters in length.",
3684
+ }),
3685
+ Name: Schema.String.annotate({
3686
+ description:
3687
+ "The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.",
3688
+ }),
3689
+ }).annotate({
3690
+ description:
3691
+ "Dimension is an embedded property of the ``AWS::CloudWatch::Alarm`` type. Dimensions are name/value pairs that can be associated with a CW metric. You can specify a maximum of 30 dimensions for a given metric.",
3692
+ identifier: "Dimension_2",
3693
+ });
3694
+
3695
+ interface Metric_1 {
3696
+ readonly MetricName?: string;
3697
+ readonly Dimensions?: globalThis.ReadonlyArray<Dimension_2>;
3698
+ readonly Namespace?: string;
3699
+ }
3700
+
3701
+ const Metric_1 = Schema.Struct({
3702
+ MetricName: Schema.optionalKey(
3703
+ Schema.String.annotate({
3704
+ description:
3705
+ "The name of the metric that you want the alarm to watch. This is a required field.",
3706
+ }),
3707
+ ),
3708
+ Dimensions: Schema.optionalKey(
3709
+ Schema.Array(Dimension_2).annotate({
3710
+ description:
3711
+ "The metric dimensions that you want to be used for the metric that the alarm will watch.",
3712
+ }),
3713
+ ),
3714
+ Namespace: Schema.optionalKey(
3715
+ Schema.String.annotate({
3716
+ description: "The namespace of the metric that the alarm will watch.",
3717
+ }),
3718
+ ),
3719
+ }).annotate({
3720
+ description:
3721
+ "The ``Metric`` property type represents a specific metric. ``Metric`` is a property of the [MetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html) property type.",
3722
+ identifier: "Metric_1",
3723
+ });
3724
+
3725
+ interface MetricStat_1 {
3726
+ readonly Period: number;
3727
+ readonly Metric: Metric_1;
3728
+ readonly Stat: string;
3729
+ readonly Unit?: string;
3730
+ }
3731
+
3732
+ const MetricStat_1 = Schema.Struct({
3733
+ Period: Schema.Number.annotate({
3734
+ description:
3735
+ "The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` call that includes a ``StorageResolution`` of 1 second.\n If the ``StartTime`` parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:\n + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).\n + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).\n + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).",
3736
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3737
+ Metric: Metric_1,
3738
+ Stat: Schema.String.annotate({
3739
+ description:
3740
+ "The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *User Guide*.",
3741
+ }),
3742
+ Unit: Schema.optionalKey(
3743
+ Schema.String.annotate({
3744
+ description:
3745
+ "The unit to use for the returned data points. \n Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.",
3746
+ }),
3747
+ ),
3748
+ }).annotate({
3749
+ description:
3750
+ "This structure defines the metric to be returned, along with the statistics, period, and units.\n ``MetricStat`` is a property of the [MetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html) property type.",
3751
+ identifier: "MetricStat_1",
3752
+ });
3753
+
3754
+ interface MetricDataQuery_1 {
3755
+ readonly Label?: string;
3756
+ readonly MetricStat?: MetricStat_1;
3757
+ readonly Id: string;
3758
+ readonly ReturnData?: boolean;
3759
+ readonly Expression?: string;
3760
+ readonly Period?: number;
3761
+ readonly AccountId?: string;
3762
+ }
3763
+
3764
+ const MetricDataQuery_1 = Schema.Struct({
3765
+ Label: Schema.optionalKey(
3766
+ Schema.String.annotate({
3767
+ description:
3768
+ "A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If ``Label`` is omitted, CW generates a default.",
3769
+ }),
3770
+ ),
3771
+ MetricStat: Schema.optionalKey(MetricStat_1),
3772
+ Id: Schema.String.annotate({
3773
+ description:
3774
+ "A short name used to tie this object to the results in the response. This name must be unique within a single call to ``GetMetricData``. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.",
3775
+ }),
3776
+ ReturnData: Schema.optionalKey(
3777
+ Schema.Boolean.annotate({
3778
+ description:
3779
+ "This option indicates whether to return the timestamps and raw data values of this metric.\n When you create an alarm based on a metric math expression, specify ``True`` for this value for only the one math expression that the alarm is based on. You must specify ``False`` for ``ReturnData`` for all the other metrics and expressions used in the alarm.\n This field is required.",
3780
+ }),
3781
+ ),
3782
+ Expression: Schema.optionalKey(
3783
+ Schema.String.annotate({
3784
+ description:
3785
+ "The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. For more information about metric math expressions, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *User Guide*.\n Within each MetricDataQuery object, you must specify either ``Expression`` or ``MetricStat`` but not both.",
3786
+ }),
3787
+ ),
3788
+ Period: Schema.optionalKey(
3789
+ Schema.Number.annotate({
3790
+ description:
3791
+ "The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` operation that includes a ``StorageResolution of 1 second``.",
3792
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3793
+ ),
3794
+ AccountId: Schema.optionalKey(
3795
+ Schema.String.annotate({
3796
+ description:
3797
+ "The ID of the account where the metrics are located, if this is a cross-account alarm.",
3798
+ }),
3799
+ ),
3800
+ }).annotate({
3801
+ description:
3802
+ "The ``MetricDataQuery`` property type specifies the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a math expression on metric data. \n Any expression used must return a single time series. For more information, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *User Guide*.",
3803
+ identifier: "MetricDataQuery_1",
3804
+ });
3805
+
3806
+ export interface AWSAlarmProps {
3807
+ readonly ThresholdMetricId?: string;
3808
+ readonly EvaluateLowSampleCountPercentile?: string;
3809
+ readonly ExtendedStatistic?: string;
3810
+ readonly ComparisonOperator?: string;
3811
+ readonly TreatMissingData?: string;
3812
+ readonly Dimensions?: globalThis.ReadonlyArray<Dimension>;
3813
+ readonly Period?: number;
3814
+ readonly EvaluationPeriods?: number;
3815
+ readonly Unit?: string;
3816
+ readonly Namespace?: string;
3817
+ readonly OKActions?: globalThis.ReadonlyArray<
3818
+ | ResourceEntity<{
3819
+ readonly provider: "aws";
3820
+ readonly service: "sns";
3821
+ readonly resource: "topic";
3822
+ }>
3823
+ | string
3824
+ >;
3825
+ readonly AlarmActions?: globalThis.ReadonlyArray<
3826
+ | ResourceEntity<{
3827
+ readonly provider: "aws";
3828
+ readonly service: "sns";
3829
+ readonly resource: "topic";
3830
+ }>
3831
+ | ResourceEntity<{
3832
+ readonly provider: "aws";
3833
+ readonly service: "applicationautoscaling";
3834
+ readonly resource: "scalingpolicy";
3835
+ }>
3836
+ | ResourceEntity<{
3837
+ readonly provider: "aws";
3838
+ readonly service: "autoscaling";
3839
+ readonly resource: "scalingpolicy";
3840
+ }>
3841
+ | string
3842
+ >;
3843
+ readonly MetricName?: string;
3844
+ readonly ActionsEnabled?: boolean;
3845
+ readonly Metrics?: globalThis.ReadonlyArray<MetricDataQuery>;
3846
+ readonly AlarmDescription?: string;
3847
+ readonly AlarmName?: string;
3848
+ readonly Statistic?: string;
3849
+ readonly InsufficientDataActions?: globalThis.ReadonlyArray<
3850
+ | ResourceEntity<{
3851
+ readonly provider: "aws";
3852
+ readonly service: "sns";
3853
+ readonly resource: "topic";
3854
+ }>
3855
+ | string
3856
+ >;
3857
+ readonly DatapointsToAlarm?: number;
3858
+ readonly Threshold?: number;
3859
+ readonly Tags?: ResourceInputItems;
3860
+ readonly EvaluationCriteria?: EvaluationCriteria;
3861
+ readonly EvaluationInterval?: number;
3862
+ }
3863
+
3864
+ export const AWSAlarmResourceSchema = ResourceSchemaAnnotationSchema.make({
3865
+ provider: "aws",
3866
+ service: "cloudwatch",
3867
+ resource: "alarm",
3868
+ operation: "create",
3869
+ stateSecretOutputKeys: [],
3870
+ replacement: {
3871
+ order: "createBeforeDestroy",
3872
+ properties: [["AlarmName"]],
3873
+ },
3874
+ primaryIdentifier: ["/properties/AlarmName"],
3875
+ });
3876
+
3877
+ export const AWSAlarmPropsSchema = annotateResourceSchema(
3878
+ Schema.Struct({
3879
+ ThresholdMetricId: Schema.optionalKey(
3880
+ Schema.String.annotate({
3881
+ description:
3882
+ "In an alarm based on an anomaly detection model, this is the ID of the ``ANOMALY_DETECTION_BAND`` function used as the threshold for the alarm.",
3883
+ }),
3884
+ ),
3885
+ EvaluateLowSampleCountPercentile: Schema.optionalKey(
3886
+ Schema.String.annotate({
3887
+ description:
3888
+ "Used only for alarms based on percentiles. If ``ignore``, the alarm state does not change during periods with too few data points to be statistically significant. If ``evaluate`` or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.",
3889
+ }),
3890
+ ),
3891
+ ExtendedStatistic: Schema.optionalKey(
3892
+ Schema.String.annotate({
3893
+ description:
3894
+ "The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.\n For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both.\n For an alarm based on a math expression, you can't specify ``ExtendedStatistic``. Instead, you use ``Metrics``.",
3895
+ }),
3896
+ ),
3897
+ ComparisonOperator: Schema.optionalKey(
3898
+ Schema.String.annotate({
3899
+ description:
3900
+ "The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.",
3901
+ }),
3902
+ ),
3903
+ TreatMissingData: Schema.optionalKey(
3904
+ Schema.String.annotate({
3905
+ description:
3906
+ "Sets how this alarm is to handle missing data points. Valid values are ``breaching``, ``notBreaching``, ``ignore``, and ``missing``. For more information, see [Configuring How Alarms Treat Missing Data](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data) in the *Amazon User Guide*.\n If you omit this parameter, the default behavior of ``missing`` is used.",
3907
+ }),
3908
+ ),
3909
+ Dimensions: Schema.optionalKey(
3910
+ Schema.Array(Dimension).annotate({
3911
+ description:
3912
+ "The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify ``Dimensions``. Instead, you use ``Metrics``.",
3913
+ }),
3914
+ ),
3915
+ Period: Schema.optionalKey(
3916
+ Schema.Number.annotate({
3917
+ description:
3918
+ "The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 20, 30, 60, and any multiple of 60.\n For an alarm based on a math expression, you can't specify ``Period``, and instead you use the ``Metrics`` parameter.\n *Minimum:* 10",
3919
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3920
+ ),
3921
+ EvaluationPeriods: Schema.optionalKey(
3922
+ Schema.Number.annotate({
3923
+ description:
3924
+ 'The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an "M out of N" alarm, this value is the N, and ``DatapointsToAlarm`` is the M.\n For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *User Guide*.',
3925
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
3926
+ ),
3927
+ Unit: Schema.optionalKey(
3928
+ Schema.String.annotate({
3929
+ description:
3930
+ "The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a ``Metrics`` array.\n You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.",
3931
+ }),
3932
+ ),
3933
+ Namespace: Schema.optionalKey(
3934
+ Schema.String.annotate({
3935
+ description:
3936
+ "The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify ``Namespace`` and you use ``Metrics`` instead.\n For a list of namespaces for metrics from AWS services, see [Services That Publish Metrics.](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html)",
3937
+ }),
3938
+ ),
3939
+ OKActions: Schema.optionalKey(
3940
+ Schema.Array(
3941
+ Schema.Union([
3942
+ Schema.Union([
3943
+ ResourceReferenceSchema(
3944
+ Schema.Struct({
3945
+ provider: Schema.Literal("aws"),
3946
+ service: Schema.Literal("sns"),
3947
+ resource: Schema.Literal("topic"),
3948
+ }),
3949
+ {
3950
+ value: null,
3951
+ outputs: [
3952
+ {
3953
+ source: ["TopicArn"],
3954
+ target: [],
3955
+ },
3956
+ ],
3957
+ },
3958
+ ).annotate({ expected: "ResourceEntity" }),
3959
+ ]),
3960
+ Schema.String,
3961
+ ]),
3962
+ ).annotate({
3963
+ description:
3964
+ "The actions to execute when this alarm transitions to the ``OK`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).",
3965
+ }),
3966
+ ),
3967
+ AlarmActions: Schema.optionalKey(
3968
+ Schema.Array(
3969
+ Schema.Union([
3970
+ Schema.Union([
3971
+ ResourceReferenceSchema(
3972
+ Schema.Struct({
3973
+ provider: Schema.Literal("aws"),
3974
+ service: Schema.Literal("sns"),
3975
+ resource: Schema.Literal("topic"),
3976
+ }),
3977
+ {
3978
+ value: null,
3979
+ outputs: [
3980
+ {
3981
+ source: ["TopicArn"],
3982
+ target: [],
3983
+ },
3984
+ ],
3985
+ },
3986
+ ).annotate({ expected: "ResourceEntity" }),
3987
+ ResourceReferenceSchema(
3988
+ Schema.Struct({
3989
+ provider: Schema.Literal("aws"),
3990
+ service: Schema.Literal("applicationautoscaling"),
3991
+ resource: Schema.Literal("scalingpolicy"),
3992
+ }),
3993
+ {
3994
+ value: null,
3995
+ outputs: [
3996
+ {
3997
+ source: ["Id"],
3998
+ target: [],
3999
+ },
4000
+ ],
4001
+ },
4002
+ ).annotate({ expected: "ResourceEntity" }),
4003
+ ResourceReferenceSchema(
4004
+ Schema.Struct({
4005
+ provider: Schema.Literal("aws"),
4006
+ service: Schema.Literal("autoscaling"),
4007
+ resource: Schema.Literal("scalingpolicy"),
4008
+ }),
4009
+ {
4010
+ value: null,
4011
+ outputs: [
4012
+ {
4013
+ source: ["Arn"],
4014
+ target: [],
4015
+ },
4016
+ ],
4017
+ },
4018
+ ).annotate({ expected: "ResourceEntity" }),
4019
+ ]),
4020
+ Schema.String,
4021
+ ]),
4022
+ ).annotate({
4023
+ description:
4024
+ "The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutMetricAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html) in the *API Reference*.",
4025
+ }),
4026
+ ),
4027
+ MetricName: Schema.optionalKey(
4028
+ Schema.String.annotate({
4029
+ description:
4030
+ "The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use ``Metrics`` instead and you can't specify ``MetricName``.",
4031
+ }),
4032
+ ),
4033
+ ActionsEnabled: Schema.optionalKey(
4034
+ Schema.Boolean.annotate({
4035
+ description:
4036
+ "Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.",
4037
+ }),
4038
+ ),
4039
+ Metrics: Schema.optionalKey(
4040
+ Schema.Array(MetricDataQuery)
4041
+ .annotate({
4042
+ description:
4043
+ "An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression.\n If you specify the ``Metrics`` parameter, you cannot specify ``MetricName``, ``Dimensions``, ``Period``, ``Namespace``, ``Statistic``, ``ExtendedStatistic``, or ``Unit``.",
4044
+ })
4045
+ .check(
4046
+ Schema.isUnique().annotate({
4047
+ expected: "an array with unique items",
4048
+ }),
4049
+ ),
4050
+ ),
4051
+ AlarmDescription: Schema.optionalKey(
4052
+ Schema.String.annotate({ description: "The description of the alarm." }),
4053
+ ),
4054
+ AlarmName: Schema.optionalKey(
4055
+ Schema.String.annotate({
4056
+ description:
4057
+ "The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. \n If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
4058
+ }),
4059
+ ),
4060
+ Statistic: Schema.optionalKey(
4061
+ Schema.String.annotate({
4062
+ description:
4063
+ "The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ``ExtendedStatistic``.\n For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both.\n For an alarm based on a math expression, you can't specify ``Statistic``. Instead, you use ``Metrics``.",
4064
+ }),
4065
+ ),
4066
+ InsufficientDataActions: Schema.optionalKey(
4067
+ Schema.Array(
4068
+ Schema.Union([
4069
+ Schema.Union([
4070
+ ResourceReferenceSchema(
4071
+ Schema.Struct({
4072
+ provider: Schema.Literal("aws"),
4073
+ service: Schema.Literal("sns"),
4074
+ resource: Schema.Literal("topic"),
4075
+ }),
4076
+ {
4077
+ value: null,
4078
+ outputs: [
4079
+ {
4080
+ source: ["TopicArn"],
4081
+ target: [],
4082
+ },
4083
+ ],
4084
+ },
4085
+ ).annotate({ expected: "ResourceEntity" }),
4086
+ ]),
4087
+ Schema.String,
4088
+ ]),
4089
+ ).annotate({
4090
+ description:
4091
+ "The actions to execute when this alarm transitions to the ``INSUFFICIENT_DATA`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).",
4092
+ }),
4093
+ ),
4094
+ DatapointsToAlarm: Schema.optionalKey(
4095
+ Schema.Number.annotate({
4096
+ description:
4097
+ 'The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an "M out of N" alarm. In that case, this value is the M, and the value that you set for ``EvaluationPeriods`` is the N value. For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *User Guide*.\n If you omit this parameter, CW uses the same value here that you set for ``EvaluationPeriods``, and the alarm goes to alarm state if that many consecutive periods are breaching.',
4098
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
4099
+ ),
4100
+ Threshold: Schema.optionalKey(
4101
+ Schema.Number.annotate({
4102
+ description: "The value to compare with the specified statistic.",
4103
+ }).check(Schema.isFinite().annotate({ expected: "a finite number" })),
4104
+ ),
4105
+ Tags: Schema.optionalKey(ResourceInputItems),
4106
+ EvaluationCriteria: Schema.optionalKey(EvaluationCriteria),
4107
+ EvaluationInterval: Schema.optionalKey(
4108
+ Schema.Number.annotate({
4109
+ description:
4110
+ "The frequency, in seconds, at which the alarm is evaluated.",
4111
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
4112
+ ),
4113
+ }),
4114
+ AWSAlarmResourceSchema,
4115
+ );
4116
+
4117
+ export interface AWSAlarmOutputs {
4118
+ readonly Arn?: string;
4119
+ readonly AlarmName?: string;
4120
+ }
4121
+
4122
+ export const AWSAlarmOutputsSchema = Schema.Struct({
4123
+ Arn: Schema.optionalKey(Schema.String.annotate({ description: "" })),
4124
+ AlarmName: Schema.optionalKey(
4125
+ Schema.String.annotate({
4126
+ description:
4127
+ "The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. \n If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
4128
+ }),
4129
+ ),
4130
+ });
4131
+
4132
+ export interface AWSAlarmRequest {
4133
+ readonly ThresholdMetricId?: string;
4134
+ readonly EvaluateLowSampleCountPercentile?: string;
4135
+ readonly ExtendedStatistic?: string;
4136
+ readonly ComparisonOperator?: string;
4137
+ readonly TreatMissingData?: string;
4138
+ readonly Dimensions?: globalThis.ReadonlyArray<Dimension_2>;
4139
+ readonly Period?: number;
4140
+ readonly EvaluationPeriods?: number;
4141
+ readonly Unit?: string;
4142
+ readonly Namespace?: string;
4143
+ readonly OKActions?: globalThis.ReadonlyArray<string>;
4144
+ readonly AlarmActions?: globalThis.ReadonlyArray<string>;
4145
+ readonly MetricName?: string;
4146
+ readonly ActionsEnabled?: boolean;
4147
+ readonly Metrics?: globalThis.ReadonlyArray<MetricDataQuery_1>;
4148
+ readonly AlarmDescription?: string;
4149
+ readonly AlarmName?: string;
4150
+ readonly Statistic?: string;
4151
+ readonly InsufficientDataActions?: globalThis.ReadonlyArray<string>;
4152
+ readonly DatapointsToAlarm?: number;
4153
+ readonly Threshold?: number;
4154
+ readonly Tags?: ResourceInputItems;
4155
+ readonly EvaluationCriteria?: EvaluationCriteria;
4156
+ readonly EvaluationInterval?: number;
4157
+ }
4158
+
4159
+ export const AWSAlarmRequestSchema = Schema.Struct({
4160
+ ThresholdMetricId: Schema.optionalKey(
4161
+ Schema.String.annotate({
4162
+ description:
4163
+ "In an alarm based on an anomaly detection model, this is the ID of the ``ANOMALY_DETECTION_BAND`` function used as the threshold for the alarm.",
4164
+ }),
4165
+ ),
4166
+ EvaluateLowSampleCountPercentile: Schema.optionalKey(
4167
+ Schema.String.annotate({
4168
+ description:
4169
+ "Used only for alarms based on percentiles. If ``ignore``, the alarm state does not change during periods with too few data points to be statistically significant. If ``evaluate`` or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.",
4170
+ }),
4171
+ ),
4172
+ ExtendedStatistic: Schema.optionalKey(
4173
+ Schema.String.annotate({
4174
+ description:
4175
+ "The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.\n For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both.\n For an alarm based on a math expression, you can't specify ``ExtendedStatistic``. Instead, you use ``Metrics``.",
4176
+ }),
4177
+ ),
4178
+ ComparisonOperator: Schema.optionalKey(
4179
+ Schema.String.annotate({
4180
+ description:
4181
+ "The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.",
4182
+ }),
4183
+ ),
4184
+ TreatMissingData: Schema.optionalKey(
4185
+ Schema.String.annotate({
4186
+ description:
4187
+ "Sets how this alarm is to handle missing data points. Valid values are ``breaching``, ``notBreaching``, ``ignore``, and ``missing``. For more information, see [Configuring How Alarms Treat Missing Data](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data) in the *Amazon User Guide*.\n If you omit this parameter, the default behavior of ``missing`` is used.",
4188
+ }),
4189
+ ),
4190
+ Dimensions: Schema.optionalKey(
4191
+ Schema.Array(Dimension_2).annotate({
4192
+ description:
4193
+ "The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify ``Dimensions``. Instead, you use ``Metrics``.",
4194
+ }),
4195
+ ),
4196
+ Period: Schema.optionalKey(
4197
+ Schema.Number.annotate({
4198
+ description:
4199
+ "The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 20, 30, 60, and any multiple of 60.\n For an alarm based on a math expression, you can't specify ``Period``, and instead you use the ``Metrics`` parameter.\n *Minimum:* 10",
4200
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
4201
+ ),
4202
+ EvaluationPeriods: Schema.optionalKey(
4203
+ Schema.Number.annotate({
4204
+ description:
4205
+ 'The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an "M out of N" alarm, this value is the N, and ``DatapointsToAlarm`` is the M.\n For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *User Guide*.',
4206
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
4207
+ ),
4208
+ Unit: Schema.optionalKey(
4209
+ Schema.String.annotate({
4210
+ description:
4211
+ "The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a ``Metrics`` array.\n You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.",
4212
+ }),
4213
+ ),
4214
+ Namespace: Schema.optionalKey(
4215
+ Schema.String.annotate({
4216
+ description:
4217
+ "The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify ``Namespace`` and you use ``Metrics`` instead.\n For a list of namespaces for metrics from AWS services, see [Services That Publish Metrics.](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html)",
4218
+ }),
4219
+ ),
4220
+ OKActions: Schema.optionalKey(
4221
+ Schema.Array(Schema.String).annotate({
4222
+ description:
4223
+ "The actions to execute when this alarm transitions to the ``OK`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).",
4224
+ }),
4225
+ ),
4226
+ AlarmActions: Schema.optionalKey(
4227
+ Schema.Array(Schema.String).annotate({
4228
+ description:
4229
+ "The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutMetricAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html) in the *API Reference*.",
4230
+ }),
4231
+ ),
4232
+ MetricName: Schema.optionalKey(
4233
+ Schema.String.annotate({
4234
+ description:
4235
+ "The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use ``Metrics`` instead and you can't specify ``MetricName``.",
4236
+ }),
4237
+ ),
4238
+ ActionsEnabled: Schema.optionalKey(
4239
+ Schema.Boolean.annotate({
4240
+ description:
4241
+ "Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.",
4242
+ }),
4243
+ ),
4244
+ Metrics: Schema.optionalKey(
4245
+ Schema.Array(MetricDataQuery_1)
4246
+ .annotate({
4247
+ description:
4248
+ "An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression.\n If you specify the ``Metrics`` parameter, you cannot specify ``MetricName``, ``Dimensions``, ``Period``, ``Namespace``, ``Statistic``, ``ExtendedStatistic``, or ``Unit``.",
4249
+ })
4250
+ .check(
4251
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
4252
+ ),
4253
+ ),
4254
+ AlarmDescription: Schema.optionalKey(
4255
+ Schema.String.annotate({ description: "The description of the alarm." }),
4256
+ ),
4257
+ AlarmName: Schema.optionalKey(
4258
+ Schema.String.annotate({
4259
+ description:
4260
+ "The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. \n If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
4261
+ }),
4262
+ ),
4263
+ Statistic: Schema.optionalKey(
4264
+ Schema.String.annotate({
4265
+ description:
4266
+ "The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ``ExtendedStatistic``.\n For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both.\n For an alarm based on a math expression, you can't specify ``Statistic``. Instead, you use ``Metrics``.",
4267
+ }),
4268
+ ),
4269
+ InsufficientDataActions: Schema.optionalKey(
4270
+ Schema.Array(Schema.String).annotate({
4271
+ description:
4272
+ "The actions to execute when this alarm transitions to the ``INSUFFICIENT_DATA`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).",
4273
+ }),
4274
+ ),
4275
+ DatapointsToAlarm: Schema.optionalKey(
4276
+ Schema.Number.annotate({
4277
+ description:
4278
+ 'The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an "M out of N" alarm. In that case, this value is the M, and the value that you set for ``EvaluationPeriods`` is the N value. For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *User Guide*.\n If you omit this parameter, CW uses the same value here that you set for ``EvaluationPeriods``, and the alarm goes to alarm state if that many consecutive periods are breaching.',
4279
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
4280
+ ),
4281
+ Threshold: Schema.optionalKey(
4282
+ Schema.Number.annotate({
4283
+ description: "The value to compare with the specified statistic.",
4284
+ }).check(Schema.isFinite().annotate({ expected: "a finite number" })),
4285
+ ),
4286
+ Tags: Schema.optionalKey(ResourceInputItems),
4287
+ EvaluationCriteria: Schema.optionalKey(EvaluationCriteria),
4288
+ EvaluationInterval: Schema.optionalKey(
4289
+ Schema.Number.annotate({
4290
+ description:
4291
+ "The frequency, in seconds, at which the alarm is evaluated.",
4292
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
4293
+ ),
4294
+ });
4295
+
4296
+ /**
4297
+ * The AWSAlarmRelationshipIssues array lists inputs that can use several outputs
4298
+ * from one source type. Each input retains its provider value until a reviewed
4299
+ * mapping chooses an output.
4300
+ */
4301
+ export const AWSAlarmRelationshipIssues = [
4302
+ {
4303
+ propertyPath: ["Dimensions", "*", "Value"],
4304
+ sourceType: "AWS::Lambda::Function",
4305
+ sourceProperties: [["FunctionName"], ["Arn"]],
4306
+ message:
4307
+ "Choose one of the permitted source properties before using a resource reference",
4308
+ },
4309
+ {
4310
+ propertyPath: ["Dimensions", "*", "Value"],
4311
+ sourceType: "AWS::SQS::Queue",
4312
+ sourceProperties: [["QueueName"], ["Arn"]],
4313
+ message:
4314
+ "Choose one of the permitted source properties before using a resource reference",
4315
+ },
4316
+ {
4317
+ propertyPath: ["Dimensions", "*", "Value"],
4318
+ sourceType: "AWS::StepFunctions::StateMachine",
4319
+ sourceProperties: [["Arn"], ["Name"]],
4320
+ message:
4321
+ "Choose one of the permitted source properties before using a resource reference",
4322
+ },
4323
+ {
4324
+ propertyPath: ["Dimensions", "*", "Value"],
4325
+ sourceType: "AWS::Logs::SubscriptionFilter",
4326
+ sourceProperties: [["FilterName"], ["LogGroupName"]],
4327
+ message:
4328
+ "Choose one of the permitted source properties before using a resource reference",
4329
+ },
4330
+ {
4331
+ propertyPath: ["Dimensions", "*", "Value"],
4332
+ sourceType: "AWS::ApiGateway::Stage",
4333
+ sourceProperties: [["RestApiId"], ["StageName"]],
4334
+ message:
4335
+ "Choose one of the permitted source properties before using a resource reference",
4336
+ },
4337
+ {
4338
+ propertyPath: ["Dimensions", "*", "Value"],
4339
+ sourceType: "AWS::Cognito::UserPoolClient",
4340
+ sourceProperties: [["UserPoolId"], ["ClientId"]],
4341
+ message:
4342
+ "Choose one of the permitted source properties before using a resource reference",
4343
+ },
4344
+ {
4345
+ propertyPath: [
4346
+ "Metrics",
4347
+ "*",
4348
+ "MetricStat",
4349
+ "Metric",
4350
+ "Dimensions",
4351
+ "*",
4352
+ "Value",
4353
+ ],
4354
+ sourceType: "AWS::Lambda::Function",
4355
+ sourceProperties: [["FunctionName"], ["Arn"]],
4356
+ message:
4357
+ "Choose one of the permitted source properties before using a resource reference",
4358
+ },
4359
+ {
4360
+ propertyPath: [
4361
+ "Metrics",
4362
+ "*",
4363
+ "MetricStat",
4364
+ "Metric",
4365
+ "Dimensions",
4366
+ "*",
4367
+ "Value",
4368
+ ],
4369
+ sourceType: "AWS::SQS::Queue",
4370
+ sourceProperties: [["QueueName"], ["Arn"]],
4371
+ message:
4372
+ "Choose one of the permitted source properties before using a resource reference",
4373
+ },
4374
+ {
4375
+ propertyPath: [
4376
+ "Metrics",
4377
+ "*",
4378
+ "MetricStat",
4379
+ "Metric",
4380
+ "Dimensions",
4381
+ "*",
4382
+ "Value",
4383
+ ],
4384
+ sourceType: "AWS::StepFunctions::StateMachine",
4385
+ sourceProperties: [["Arn"], ["Name"]],
4386
+ message:
4387
+ "Choose one of the permitted source properties before using a resource reference",
4388
+ },
4389
+ {
4390
+ propertyPath: [
4391
+ "Metrics",
4392
+ "*",
4393
+ "MetricStat",
4394
+ "Metric",
4395
+ "Dimensions",
4396
+ "*",
4397
+ "Value",
4398
+ ],
4399
+ sourceType: "AWS::Logs::SubscriptionFilter",
4400
+ sourceProperties: [["FilterName"], ["LogGroupName"]],
4401
+ message:
4402
+ "Choose one of the permitted source properties before using a resource reference",
4403
+ },
4404
+ {
4405
+ propertyPath: [
4406
+ "Metrics",
4407
+ "*",
4408
+ "MetricStat",
4409
+ "Metric",
4410
+ "Dimensions",
4411
+ "*",
4412
+ "Value",
4413
+ ],
4414
+ sourceType: "AWS::ApiGateway::Stage",
4415
+ sourceProperties: [["RestApiId"], ["StageName"]],
4416
+ message:
4417
+ "Choose one of the permitted source properties before using a resource reference",
4418
+ },
4419
+ {
4420
+ propertyPath: [
4421
+ "Metrics",
4422
+ "*",
4423
+ "MetricStat",
4424
+ "Metric",
4425
+ "Dimensions",
4426
+ "*",
4427
+ "Value",
4428
+ ],
4429
+ sourceType: "AWS::Cognito::UserPoolClient",
4430
+ sourceProperties: [["UserPoolId"], ["ClientId"]],
4431
+ message:
4432
+ "Choose one of the permitted source properties before using a resource reference",
4433
+ },
4434
+ ];
4435
+
4436
+ export const AWSAlarmResourceTypeSchema = Schema.Struct({
4437
+ provider: Schema.Literal("aws"),
4438
+ service: Schema.Literal("cloudwatch"),
4439
+ resource: Schema.Literal("alarm"),
4440
+ });
4441
+
4442
+ /**
4443
+ * The AWSAlarmResource class retains its owning stack across declarations.
4444
+ * Applied output properties are ordinary values maintained by the lifecycle.
4445
+ */
4446
+ export class AWSAlarmResource<Props = AWSAlarmProps> extends ResourceEntity<{
4447
+ readonly provider: "aws";
4448
+ readonly service: "cloudwatch";
4449
+ readonly resource: "alarm";
4450
+ }> {
4451
+ constructor(
4452
+ key: ResourceKey,
4453
+ readonly props: Props,
4454
+ private readonly binding?: ResourceOutputBinding,
4455
+ ) {
4456
+ super({
4457
+ key,
4458
+ resourceType: {
4459
+ provider: "aws",
4460
+ service: "cloudwatch",
4461
+ resource: "alarm",
4462
+ },
4463
+ });
4464
+ }
4465
+
4466
+ /**
4467
+ * Successful lifecycle writes update this value for declarations owned by the stack.
4468
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
4469
+ */
4470
+ get Arn(): Required<AWSAlarmOutputs>["Arn"] {
4471
+ const value: Required<AWSAlarmOutputs>["Arn"] = ResourceOutputBinding.value(
4472
+ this.binding,
4473
+ this.key,
4474
+ "Arn",
4475
+ Schema.requiredKey(AWSAlarmOutputsSchema.fields.Arn),
4476
+ );
4477
+ return value;
4478
+ }
4479
+
4480
+ /**
4481
+ * Successful lifecycle writes update this value for declarations owned by the stack.
4482
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
4483
+ */
4484
+ get AlarmName(): Required<AWSAlarmOutputs>["AlarmName"] {
4485
+ const value: Required<AWSAlarmOutputs>["AlarmName"] =
4486
+ ResourceOutputBinding.value(
4487
+ this.binding,
4488
+ this.key,
4489
+ "AlarmName",
4490
+ Schema.requiredKey(AWSAlarmOutputsSchema.fields.AlarmName),
4491
+ );
4492
+ return value;
4493
+ }
4494
+ }
4495
+
4496
+ /**
4497
+ * Callers must validate properties before constructing the declaration.
4498
+ * Compatible resources can depend on it before apply supplies provider values.
4499
+ * Reading applied outputs requires a binding to the owning stack.
4500
+ */
4501
+ export function createAWSAlarmDeclaration<Props>(
4502
+ key: ResourceKey,
4503
+ props: Props,
4504
+ binding?: ResourceOutputBinding,
4505
+ ): AWSAlarmResource<Props> {
4506
+ const resource: AWSAlarmResource<Props> = new AWSAlarmResource<Props>(
4507
+ key,
4508
+ props,
4509
+ binding,
4510
+ );
4511
+
4512
+ return resource;
4513
+ }
4514
+
4515
+ /**
4516
+ * The AWSAlarm resource factory registers a validated declaration in the
4517
+ * stack graph. Its outputs become available after apply saves the resource.
4518
+ */
4519
+ export const AWSAlarm = Effect.fn("AWSAlarm")(function* (input: {
4520
+ logicalId: string;
4521
+ props: AWSAlarmProps;
4522
+ }) {
4523
+ const graph = yield* ResourceGraphBuilder;
4524
+
4525
+ const key: ResourceKey = { logicalId: input.logicalId };
4526
+
4527
+ const declaration = yield* graph.resource(key);
4528
+
4529
+ const props = yield* Schema.decodeEffect(AWSAlarmPropsSchema)(input.props);
4530
+
4531
+ yield* declaration.registerEntity(AWSAlarmResourceTypeSchema, {
4532
+ propsSchema: AWSAlarmPropsSchema,
4533
+ requestSchema: AWSAlarmRequestSchema,
4534
+ outputsSchema: AWSAlarmOutputsSchema,
4535
+ props,
4536
+ });
4537
+
4538
+ const resource: AWSAlarmResource = createAWSAlarmDeclaration(
4539
+ key,
4540
+ props,
4541
+ declaration.outputs,
4542
+ );
4543
+
4544
+ return resource;
4545
+ });