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,1372 @@
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 PasswordPolicy {
15
+ readonly MinimumLength?: number;
16
+ readonly RequireLowercase?: boolean;
17
+ readonly RequireNumbers?: boolean;
18
+ readonly RequireSymbols?: boolean;
19
+ readonly RequireUppercase?: boolean;
20
+ readonly TemporaryPasswordValidityDays?: number;
21
+ readonly PasswordHistorySize?: number;
22
+ }
23
+
24
+ const PasswordPolicy = Schema.Struct({
25
+ MinimumLength: Schema.optionalKey(Schema.Int),
26
+ RequireLowercase: Schema.optionalKey(Schema.Boolean),
27
+ RequireNumbers: Schema.optionalKey(Schema.Boolean),
28
+ RequireSymbols: Schema.optionalKey(Schema.Boolean),
29
+ RequireUppercase: Schema.optionalKey(Schema.Boolean),
30
+ TemporaryPasswordValidityDays: Schema.optionalKey(Schema.Int),
31
+ PasswordHistorySize: Schema.optionalKey(Schema.Int),
32
+ }).annotate({ identifier: "PasswordPolicy" });
33
+
34
+ interface SignInPolicy {
35
+ readonly AllowedFirstAuthFactors?: globalThis.ReadonlyArray<string>;
36
+ }
37
+
38
+ const SignInPolicy = Schema.Struct({
39
+ AllowedFirstAuthFactors: Schema.optionalKey(Schema.Array(Schema.String)),
40
+ }).annotate({ identifier: "SignInPolicy" });
41
+
42
+ interface Policies {
43
+ readonly PasswordPolicy?: PasswordPolicy;
44
+ readonly SignInPolicy?: SignInPolicy;
45
+ }
46
+
47
+ const Policies = Schema.Struct({
48
+ PasswordPolicy: Schema.optionalKey(PasswordPolicy),
49
+ SignInPolicy: Schema.optionalKey(SignInPolicy),
50
+ }).annotate({ identifier: "Policies" });
51
+
52
+ interface RecoveryOption {
53
+ readonly Name?: string;
54
+ readonly Priority?: number;
55
+ }
56
+
57
+ const RecoveryOption = Schema.Struct({
58
+ Name: Schema.optionalKey(Schema.String),
59
+ Priority: Schema.optionalKey(Schema.Int),
60
+ }).annotate({ identifier: "RecoveryOption" });
61
+
62
+ interface AccountRecoverySetting {
63
+ readonly RecoveryMechanisms?: globalThis.ReadonlyArray<RecoveryOption>;
64
+ }
65
+
66
+ const AccountRecoverySetting = Schema.Struct({
67
+ RecoveryMechanisms: Schema.optionalKey(Schema.Array(RecoveryOption)),
68
+ }).annotate({ identifier: "AccountRecoverySetting" });
69
+
70
+ interface InviteMessageTemplate {
71
+ readonly EmailMessage?: string;
72
+ readonly EmailSubject?: string;
73
+ readonly SMSMessage?: string;
74
+ }
75
+
76
+ const InviteMessageTemplate = Schema.Struct({
77
+ EmailMessage: Schema.optionalKey(Schema.String),
78
+ EmailSubject: Schema.optionalKey(Schema.String),
79
+ SMSMessage: Schema.optionalKey(Schema.String),
80
+ }).annotate({ identifier: "InviteMessageTemplate" });
81
+
82
+ interface AdminCreateUserConfig {
83
+ readonly AllowAdminCreateUserOnly?: boolean;
84
+ readonly InviteMessageTemplate?: InviteMessageTemplate;
85
+ readonly UnusedAccountValidityDays?: number;
86
+ }
87
+
88
+ const AdminCreateUserConfig = Schema.Struct({
89
+ AllowAdminCreateUserOnly: Schema.optionalKey(Schema.Boolean),
90
+ InviteMessageTemplate: Schema.optionalKey(InviteMessageTemplate),
91
+ UnusedAccountValidityDays: Schema.optionalKey(Schema.Int),
92
+ }).annotate({ identifier: "AdminCreateUserConfig" });
93
+
94
+ type ResourceInputItems = globalThis.ReadonlyArray<string>;
95
+
96
+ const ResourceInputItems = Schema.Array(Schema.String);
97
+
98
+ type ResourceInputItems_1 = globalThis.ReadonlyArray<string>;
99
+
100
+ const ResourceInputItems_1 = Schema.Array(Schema.String);
101
+
102
+ type ResourceInputItems_2 = globalThis.ReadonlyArray<string>;
103
+
104
+ const ResourceInputItems_2 = Schema.Array(Schema.String);
105
+
106
+ interface DeviceConfiguration {
107
+ readonly ChallengeRequiredOnNewDevice?: boolean;
108
+ readonly DeviceOnlyRememberedOnUserPrompt?: boolean;
109
+ }
110
+
111
+ const DeviceConfiguration = Schema.Struct({
112
+ ChallengeRequiredOnNewDevice: Schema.optionalKey(Schema.Boolean),
113
+ DeviceOnlyRememberedOnUserPrompt: Schema.optionalKey(Schema.Boolean),
114
+ }).annotate({ identifier: "DeviceConfiguration" });
115
+
116
+ interface EmailConfiguration {
117
+ readonly ReplyToEmailAddress?: string;
118
+ readonly SourceArn?: string;
119
+ readonly From?: string;
120
+ readonly ConfigurationSet?: string;
121
+ readonly EmailSendingAccount?: string;
122
+ }
123
+
124
+ const EmailConfiguration = Schema.Struct({
125
+ ReplyToEmailAddress: Schema.optionalKey(Schema.String),
126
+ SourceArn: Schema.optionalKey(Schema.String),
127
+ From: Schema.optionalKey(Schema.String),
128
+ ConfigurationSet: Schema.optionalKey(Schema.String),
129
+ EmailSendingAccount: Schema.optionalKey(Schema.String),
130
+ }).annotate({ identifier: "EmailConfiguration" });
131
+
132
+ interface CustomEmailSender {
133
+ readonly LambdaVersion?: string;
134
+ readonly LambdaArn?: string;
135
+ }
136
+
137
+ const CustomEmailSender = Schema.Struct({
138
+ LambdaVersion: Schema.optionalKey(Schema.String),
139
+ LambdaArn: Schema.optionalKey(Schema.String),
140
+ }).annotate({ identifier: "CustomEmailSender" });
141
+
142
+ interface CustomSMSSender {
143
+ readonly LambdaVersion?: string;
144
+ readonly LambdaArn?:
145
+ | ResourceEntity<{
146
+ readonly provider: "aws";
147
+ readonly service: "lambda";
148
+ readonly resource: "function";
149
+ }>
150
+ | string;
151
+ }
152
+
153
+ const CustomSMSSender = Schema.Struct({
154
+ LambdaVersion: Schema.optionalKey(Schema.String),
155
+ LambdaArn: Schema.optionalKey(
156
+ Schema.Union([
157
+ Schema.Union([
158
+ ResourceReferenceSchema(
159
+ Schema.Struct({
160
+ provider: Schema.Literal("aws"),
161
+ service: Schema.Literal("lambda"),
162
+ resource: Schema.Literal("function"),
163
+ }),
164
+ {
165
+ value: null,
166
+ outputs: [
167
+ {
168
+ source: ["Arn"],
169
+ target: [],
170
+ },
171
+ ],
172
+ },
173
+ ).annotate({ expected: "ResourceEntity" }),
174
+ ]),
175
+ Schema.String,
176
+ ]),
177
+ ),
178
+ }).annotate({ identifier: "CustomSMSSender" });
179
+
180
+ interface PreTokenGenerationConfig {
181
+ readonly LambdaVersion?: string;
182
+ readonly LambdaArn?: string;
183
+ }
184
+
185
+ const PreTokenGenerationConfig = Schema.Struct({
186
+ LambdaVersion: Schema.optionalKey(Schema.String),
187
+ LambdaArn: Schema.optionalKey(Schema.String),
188
+ }).annotate({ identifier: "PreTokenGenerationConfig" });
189
+
190
+ interface InboundFederation {
191
+ readonly LambdaVersion?: string;
192
+ readonly LambdaArn?: string;
193
+ }
194
+
195
+ const InboundFederation = Schema.Struct({
196
+ LambdaVersion: Schema.optionalKey(Schema.String),
197
+ LambdaArn: Schema.optionalKey(Schema.String),
198
+ }).annotate({ identifier: "InboundFederation" });
199
+
200
+ interface LambdaConfig {
201
+ readonly CreateAuthChallenge?:
202
+ | ResourceEntity<{
203
+ readonly provider: "aws";
204
+ readonly service: "lambda";
205
+ readonly resource: "function";
206
+ }>
207
+ | string;
208
+ readonly CustomMessage?:
209
+ | ResourceEntity<{
210
+ readonly provider: "aws";
211
+ readonly service: "lambda";
212
+ readonly resource: "function";
213
+ }>
214
+ | ResourceEntity<{
215
+ readonly provider: "aws";
216
+ readonly service: "lambda";
217
+ readonly resource: "alias";
218
+ }>
219
+ | string;
220
+ readonly DefineAuthChallenge?:
221
+ | ResourceEntity<{
222
+ readonly provider: "aws";
223
+ readonly service: "lambda";
224
+ readonly resource: "function";
225
+ }>
226
+ | string;
227
+ readonly PostAuthentication?:
228
+ | ResourceEntity<{
229
+ readonly provider: "aws";
230
+ readonly service: "lambda";
231
+ readonly resource: "function";
232
+ }>
233
+ | ResourceEntity<{
234
+ readonly provider: "aws";
235
+ readonly service: "lambda";
236
+ readonly resource: "alias";
237
+ }>
238
+ | string;
239
+ readonly PostConfirmation?:
240
+ | ResourceEntity<{
241
+ readonly provider: "aws";
242
+ readonly service: "lambda";
243
+ readonly resource: "function";
244
+ }>
245
+ | ResourceEntity<{
246
+ readonly provider: "aws";
247
+ readonly service: "lambda";
248
+ readonly resource: "alias";
249
+ }>
250
+ | string;
251
+ readonly PreAuthentication?:
252
+ | ResourceEntity<{
253
+ readonly provider: "aws";
254
+ readonly service: "lambda";
255
+ readonly resource: "function";
256
+ }>
257
+ | string;
258
+ readonly PreSignUp?:
259
+ | ResourceEntity<{
260
+ readonly provider: "aws";
261
+ readonly service: "lambda";
262
+ readonly resource: "function";
263
+ }>
264
+ | ResourceEntity<{
265
+ readonly provider: "aws";
266
+ readonly service: "lambda";
267
+ readonly resource: "alias";
268
+ }>
269
+ | string;
270
+ readonly VerifyAuthChallengeResponse?:
271
+ | ResourceEntity<{
272
+ readonly provider: "aws";
273
+ readonly service: "lambda";
274
+ readonly resource: "function";
275
+ }>
276
+ | string;
277
+ readonly UserMigration?: string;
278
+ readonly PreTokenGeneration?:
279
+ | ResourceEntity<{
280
+ readonly provider: "aws";
281
+ readonly service: "lambda";
282
+ readonly resource: "function";
283
+ }>
284
+ | string;
285
+ readonly CustomEmailSender?: CustomEmailSender;
286
+ readonly CustomSMSSender?: CustomSMSSender;
287
+ readonly KMSKeyID?:
288
+ | ResourceEntity<{
289
+ readonly provider: "aws";
290
+ readonly service: "kms";
291
+ readonly resource: "key";
292
+ }>
293
+ | string;
294
+ readonly PreTokenGenerationConfig?: PreTokenGenerationConfig;
295
+ readonly InboundFederation?: InboundFederation;
296
+ }
297
+
298
+ const LambdaConfig = Schema.Struct({
299
+ CreateAuthChallenge: Schema.optionalKey(
300
+ Schema.Union([
301
+ Schema.Union([
302
+ ResourceReferenceSchema(
303
+ Schema.Struct({
304
+ provider: Schema.Literal("aws"),
305
+ service: Schema.Literal("lambda"),
306
+ resource: Schema.Literal("function"),
307
+ }),
308
+ {
309
+ value: null,
310
+ outputs: [
311
+ {
312
+ source: ["Arn"],
313
+ target: [],
314
+ },
315
+ ],
316
+ },
317
+ ).annotate({ expected: "ResourceEntity" }),
318
+ ]),
319
+ Schema.String,
320
+ ]),
321
+ ),
322
+ CustomMessage: Schema.optionalKey(
323
+ Schema.Union([
324
+ Schema.Union([
325
+ ResourceReferenceSchema(
326
+ Schema.Struct({
327
+ provider: Schema.Literal("aws"),
328
+ service: Schema.Literal("lambda"),
329
+ resource: Schema.Literal("function"),
330
+ }),
331
+ {
332
+ value: null,
333
+ outputs: [
334
+ {
335
+ source: ["Arn"],
336
+ target: [],
337
+ },
338
+ ],
339
+ },
340
+ ).annotate({ expected: "ResourceEntity" }),
341
+ ResourceReferenceSchema(
342
+ Schema.Struct({
343
+ provider: Schema.Literal("aws"),
344
+ service: Schema.Literal("lambda"),
345
+ resource: Schema.Literal("alias"),
346
+ }),
347
+ {
348
+ value: null,
349
+ outputs: [
350
+ {
351
+ source: ["Id"],
352
+ target: [],
353
+ },
354
+ ],
355
+ },
356
+ ).annotate({ expected: "ResourceEntity" }),
357
+ ]),
358
+ Schema.String,
359
+ ]),
360
+ ),
361
+ DefineAuthChallenge: Schema.optionalKey(
362
+ Schema.Union([
363
+ Schema.Union([
364
+ ResourceReferenceSchema(
365
+ Schema.Struct({
366
+ provider: Schema.Literal("aws"),
367
+ service: Schema.Literal("lambda"),
368
+ resource: Schema.Literal("function"),
369
+ }),
370
+ {
371
+ value: null,
372
+ outputs: [
373
+ {
374
+ source: ["Arn"],
375
+ target: [],
376
+ },
377
+ ],
378
+ },
379
+ ).annotate({ expected: "ResourceEntity" }),
380
+ ]),
381
+ Schema.String,
382
+ ]),
383
+ ),
384
+ PostAuthentication: Schema.optionalKey(
385
+ Schema.Union([
386
+ Schema.Union([
387
+ ResourceReferenceSchema(
388
+ Schema.Struct({
389
+ provider: Schema.Literal("aws"),
390
+ service: Schema.Literal("lambda"),
391
+ resource: Schema.Literal("function"),
392
+ }),
393
+ {
394
+ value: null,
395
+ outputs: [
396
+ {
397
+ source: ["Arn"],
398
+ target: [],
399
+ },
400
+ ],
401
+ },
402
+ ).annotate({ expected: "ResourceEntity" }),
403
+ ResourceReferenceSchema(
404
+ Schema.Struct({
405
+ provider: Schema.Literal("aws"),
406
+ service: Schema.Literal("lambda"),
407
+ resource: Schema.Literal("alias"),
408
+ }),
409
+ {
410
+ value: null,
411
+ outputs: [
412
+ {
413
+ source: ["Id"],
414
+ target: [],
415
+ },
416
+ ],
417
+ },
418
+ ).annotate({ expected: "ResourceEntity" }),
419
+ ]),
420
+ Schema.String,
421
+ ]),
422
+ ),
423
+ PostConfirmation: Schema.optionalKey(
424
+ Schema.Union([
425
+ Schema.Union([
426
+ ResourceReferenceSchema(
427
+ Schema.Struct({
428
+ provider: Schema.Literal("aws"),
429
+ service: Schema.Literal("lambda"),
430
+ resource: Schema.Literal("function"),
431
+ }),
432
+ {
433
+ value: null,
434
+ outputs: [
435
+ {
436
+ source: ["Arn"],
437
+ target: [],
438
+ },
439
+ ],
440
+ },
441
+ ).annotate({ expected: "ResourceEntity" }),
442
+ ResourceReferenceSchema(
443
+ Schema.Struct({
444
+ provider: Schema.Literal("aws"),
445
+ service: Schema.Literal("lambda"),
446
+ resource: Schema.Literal("alias"),
447
+ }),
448
+ {
449
+ value: null,
450
+ outputs: [
451
+ {
452
+ source: ["Id"],
453
+ target: [],
454
+ },
455
+ ],
456
+ },
457
+ ).annotate({ expected: "ResourceEntity" }),
458
+ ]),
459
+ Schema.String,
460
+ ]),
461
+ ),
462
+ PreAuthentication: Schema.optionalKey(
463
+ Schema.Union([
464
+ Schema.Union([
465
+ ResourceReferenceSchema(
466
+ Schema.Struct({
467
+ provider: Schema.Literal("aws"),
468
+ service: Schema.Literal("lambda"),
469
+ resource: Schema.Literal("function"),
470
+ }),
471
+ {
472
+ value: null,
473
+ outputs: [
474
+ {
475
+ source: ["Arn"],
476
+ target: [],
477
+ },
478
+ ],
479
+ },
480
+ ).annotate({ expected: "ResourceEntity" }),
481
+ ]),
482
+ Schema.String,
483
+ ]),
484
+ ),
485
+ PreSignUp: Schema.optionalKey(
486
+ Schema.Union([
487
+ Schema.Union([
488
+ ResourceReferenceSchema(
489
+ Schema.Struct({
490
+ provider: Schema.Literal("aws"),
491
+ service: Schema.Literal("lambda"),
492
+ resource: Schema.Literal("function"),
493
+ }),
494
+ {
495
+ value: null,
496
+ outputs: [
497
+ {
498
+ source: ["Arn"],
499
+ target: [],
500
+ },
501
+ ],
502
+ },
503
+ ).annotate({ expected: "ResourceEntity" }),
504
+ ResourceReferenceSchema(
505
+ Schema.Struct({
506
+ provider: Schema.Literal("aws"),
507
+ service: Schema.Literal("lambda"),
508
+ resource: Schema.Literal("alias"),
509
+ }),
510
+ {
511
+ value: null,
512
+ outputs: [
513
+ {
514
+ source: ["Id"],
515
+ target: [],
516
+ },
517
+ ],
518
+ },
519
+ ).annotate({ expected: "ResourceEntity" }),
520
+ ]),
521
+ Schema.String,
522
+ ]),
523
+ ),
524
+ VerifyAuthChallengeResponse: Schema.optionalKey(
525
+ Schema.Union([
526
+ Schema.Union([
527
+ ResourceReferenceSchema(
528
+ Schema.Struct({
529
+ provider: Schema.Literal("aws"),
530
+ service: Schema.Literal("lambda"),
531
+ resource: Schema.Literal("function"),
532
+ }),
533
+ {
534
+ value: null,
535
+ outputs: [
536
+ {
537
+ source: ["Arn"],
538
+ target: [],
539
+ },
540
+ ],
541
+ },
542
+ ).annotate({ expected: "ResourceEntity" }),
543
+ ]),
544
+ Schema.String,
545
+ ]),
546
+ ),
547
+ UserMigration: Schema.optionalKey(Schema.String),
548
+ PreTokenGeneration: Schema.optionalKey(
549
+ Schema.Union([
550
+ Schema.Union([
551
+ ResourceReferenceSchema(
552
+ Schema.Struct({
553
+ provider: Schema.Literal("aws"),
554
+ service: Schema.Literal("lambda"),
555
+ resource: Schema.Literal("function"),
556
+ }),
557
+ {
558
+ value: null,
559
+ outputs: [
560
+ {
561
+ source: ["Arn"],
562
+ target: [],
563
+ },
564
+ ],
565
+ },
566
+ ).annotate({ expected: "ResourceEntity" }),
567
+ ]),
568
+ Schema.String,
569
+ ]),
570
+ ),
571
+ CustomEmailSender: Schema.optionalKey(CustomEmailSender),
572
+ CustomSMSSender: Schema.optionalKey(CustomSMSSender),
573
+ KMSKeyID: Schema.optionalKey(
574
+ Schema.Union([
575
+ Schema.Union([
576
+ ResourceReferenceSchema(
577
+ Schema.Struct({
578
+ provider: Schema.Literal("aws"),
579
+ service: Schema.Literal("kms"),
580
+ resource: Schema.Literal("key"),
581
+ }),
582
+ {
583
+ value: null,
584
+ outputs: [
585
+ {
586
+ source: ["Arn"],
587
+ target: [],
588
+ },
589
+ ],
590
+ },
591
+ ).annotate({ expected: "ResourceEntity" }),
592
+ ]),
593
+ Schema.String,
594
+ ]),
595
+ ),
596
+ PreTokenGenerationConfig: Schema.optionalKey(PreTokenGenerationConfig),
597
+ InboundFederation: Schema.optionalKey(InboundFederation),
598
+ }).annotate({ identifier: "LambdaConfig" });
599
+
600
+ type ResourceInputItems_3 = globalThis.ReadonlyArray<string>;
601
+
602
+ const ResourceInputItems_3 = Schema.Array(Schema.String);
603
+
604
+ interface SmsConfiguration {
605
+ readonly ExternalId?: string;
606
+ readonly SnsCallerArn?:
607
+ | ResourceEntity<{
608
+ readonly provider: "aws";
609
+ readonly service: "iam";
610
+ readonly resource: "role";
611
+ }>
612
+ | string;
613
+ readonly SnsRegion?: string;
614
+ }
615
+
616
+ const SmsConfiguration = Schema.Struct({
617
+ ExternalId: Schema.optionalKey(Schema.String),
618
+ SnsCallerArn: Schema.optionalKey(
619
+ Schema.Union([
620
+ Schema.Union([
621
+ ResourceReferenceSchema(
622
+ Schema.Struct({
623
+ provider: Schema.Literal("aws"),
624
+ service: Schema.Literal("iam"),
625
+ resource: Schema.Literal("role"),
626
+ }),
627
+ {
628
+ value: null,
629
+ outputs: [
630
+ {
631
+ source: ["Arn"],
632
+ target: [],
633
+ },
634
+ ],
635
+ },
636
+ ).annotate({ expected: "ResourceEntity" }),
637
+ ]),
638
+ Schema.String,
639
+ ]),
640
+ ),
641
+ SnsRegion: Schema.optionalKey(Schema.String),
642
+ }).annotate({ identifier: "SmsConfiguration" });
643
+
644
+ type EncryptionKeyType = "AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KEY";
645
+
646
+ const EncryptionKeyType = Schema.Literals([
647
+ "AWS_OWNED_KEY",
648
+ "CUSTOMER_MANAGED_KEY",
649
+ ]).annotate({ identifier: "EncryptionKeyType" });
650
+
651
+ type EncryptionKeyArnType = string;
652
+
653
+ const EncryptionKeyArnType = Schema.String.check(
654
+ Schema.isPattern(
655
+ new globalThis.RegExp(
656
+ "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:([\\w+=/,.@-]*)?:[0-9]+:[\\w+=/,.@-]+(:[\\w+=/,.@-]+)?(:[\\w+=/,.@-]+)?",
657
+ "u",
658
+ ),
659
+ ).annotate({
660
+ expected:
661
+ "a string matching the RegExp arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:([\\w+=/,.@-]*)?:[0-9]+:[\\w+=/,.@-]+(:[\\w+=/,.@-]+)?(:[\\w+=/,.@-]+)?",
662
+ identifier: "EncryptionKeyArnType",
663
+ }),
664
+ );
665
+
666
+ interface KeyConfiguration {
667
+ readonly KeyType?: EncryptionKeyType;
668
+ readonly KmsKeyArn?: EncryptionKeyArnType;
669
+ }
670
+
671
+ const KeyConfiguration = Schema.Struct({
672
+ KeyType: Schema.optionalKey(EncryptionKeyType),
673
+ KmsKeyArn: Schema.optionalKey(EncryptionKeyArnType),
674
+ }).annotate({ identifier: "KeyConfiguration" });
675
+
676
+ type ResourceInputAlternatives =
677
+ | "SINGLE_FACTOR"
678
+ | "MULTI_FACTOR_WITH_USER_VERIFICATION";
679
+
680
+ const ResourceInputAlternatives = Schema.Literals([
681
+ "SINGLE_FACTOR",
682
+ "MULTI_FACTOR_WITH_USER_VERIFICATION",
683
+ ]);
684
+
685
+ interface NumberAttributeConstraints {
686
+ readonly MaxValue?: string;
687
+ readonly MinValue?: string;
688
+ }
689
+
690
+ const NumberAttributeConstraints = Schema.Struct({
691
+ MaxValue: Schema.optionalKey(Schema.String),
692
+ MinValue: Schema.optionalKey(Schema.String),
693
+ }).annotate({ identifier: "NumberAttributeConstraints" });
694
+
695
+ interface StringAttributeConstraints {
696
+ readonly MaxLength?: string;
697
+ readonly MinLength?: string;
698
+ }
699
+
700
+ const StringAttributeConstraints = Schema.Struct({
701
+ MaxLength: Schema.optionalKey(Schema.String),
702
+ MinLength: Schema.optionalKey(Schema.String),
703
+ }).annotate({ identifier: "StringAttributeConstraints" });
704
+
705
+ interface SchemaAttribute {
706
+ readonly AttributeDataType?: string;
707
+ readonly DeveloperOnlyAttribute?: boolean;
708
+ readonly Mutable?: boolean;
709
+ readonly Name?: string;
710
+ readonly NumberAttributeConstraints?: NumberAttributeConstraints;
711
+ readonly StringAttributeConstraints?: StringAttributeConstraints;
712
+ readonly Required?: boolean;
713
+ }
714
+
715
+ const SchemaAttribute = Schema.Struct({
716
+ AttributeDataType: Schema.optionalKey(Schema.String),
717
+ DeveloperOnlyAttribute: Schema.optionalKey(Schema.Boolean),
718
+ Mutable: Schema.optionalKey(Schema.Boolean),
719
+ Name: Schema.optionalKey(Schema.String),
720
+ NumberAttributeConstraints: Schema.optionalKey(NumberAttributeConstraints),
721
+ StringAttributeConstraints: Schema.optionalKey(StringAttributeConstraints),
722
+ Required: Schema.optionalKey(Schema.Boolean),
723
+ }).annotate({ identifier: "SchemaAttribute" });
724
+
725
+ type ResourceInputItems_4 = globalThis.ReadonlyArray<SchemaAttribute>;
726
+
727
+ const ResourceInputItems_4 = Schema.Array(SchemaAttribute);
728
+
729
+ interface UsernameConfiguration {
730
+ readonly CaseSensitive?: boolean;
731
+ }
732
+
733
+ const UsernameConfiguration = Schema.Struct({
734
+ CaseSensitive: Schema.optionalKey(Schema.Boolean),
735
+ }).annotate({ identifier: "UsernameConfiguration" });
736
+
737
+ interface UserAttributeUpdateSettings {
738
+ readonly AttributesRequireVerificationBeforeUpdate: globalThis.ReadonlyArray<string>;
739
+ }
740
+
741
+ const UserAttributeUpdateSettings = Schema.Struct({
742
+ AttributesRequireVerificationBeforeUpdate: Schema.Array(Schema.String),
743
+ }).annotate({ identifier: "UserAttributeUpdateSettings" });
744
+
745
+ interface ResourceInputProperties {
746
+ readonly [x: string]: string;
747
+ }
748
+
749
+ const ResourceInputProperties = Schema.Record(
750
+ Schema.String.check(
751
+ Schema.isPattern(
752
+ new globalThis.RegExp("^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", "u"),
753
+ ).annotate({
754
+ expected:
755
+ "a string matching the RegExp ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
756
+ }),
757
+ ),
758
+ Schema.String,
759
+ );
760
+
761
+ interface VerificationMessageTemplate {
762
+ readonly DefaultEmailOption?: string;
763
+ readonly EmailMessage?: string;
764
+ readonly EmailMessageByLink?: string;
765
+ readonly EmailSubject?: string;
766
+ readonly EmailSubjectByLink?: string;
767
+ readonly SmsMessage?: string;
768
+ }
769
+
770
+ const VerificationMessageTemplate = Schema.Struct({
771
+ DefaultEmailOption: Schema.optionalKey(Schema.String),
772
+ EmailMessage: Schema.optionalKey(Schema.String),
773
+ EmailMessageByLink: Schema.optionalKey(Schema.String),
774
+ EmailSubject: Schema.optionalKey(Schema.String),
775
+ EmailSubjectByLink: Schema.optionalKey(Schema.String),
776
+ SmsMessage: Schema.optionalKey(Schema.String),
777
+ }).annotate({ identifier: "VerificationMessageTemplate" });
778
+
779
+ interface AdvancedSecurityAdditionalFlows {
780
+ readonly CustomAuthMode?: string;
781
+ }
782
+
783
+ const AdvancedSecurityAdditionalFlows = Schema.Struct({
784
+ CustomAuthMode: Schema.optionalKey(Schema.String),
785
+ }).annotate({ identifier: "AdvancedSecurityAdditionalFlows" });
786
+
787
+ interface UserPoolAddOns {
788
+ readonly AdvancedSecurityMode?: string;
789
+ readonly AdvancedSecurityAdditionalFlows?: AdvancedSecurityAdditionalFlows;
790
+ }
791
+
792
+ const UserPoolAddOns = Schema.Struct({
793
+ AdvancedSecurityMode: Schema.optionalKey(Schema.String),
794
+ AdvancedSecurityAdditionalFlows: Schema.optionalKey(
795
+ AdvancedSecurityAdditionalFlows,
796
+ ),
797
+ }).annotate({ identifier: "UserPoolAddOns" });
798
+
799
+ type ResourceInputAlternatives_1 = "LITE" | "ESSENTIALS" | "PLUS";
800
+
801
+ const ResourceInputAlternatives_1 = Schema.Literals([
802
+ "LITE",
803
+ "ESSENTIALS",
804
+ "PLUS",
805
+ ]);
806
+
807
+ interface IssuerConfiguration {
808
+ readonly Type?: "ORIGINAL" | "UPDATED";
809
+ }
810
+
811
+ const IssuerConfiguration = Schema.Struct({
812
+ Type: Schema.optionalKey(Schema.Literals(["ORIGINAL", "UPDATED"])),
813
+ }).annotate({ identifier: "IssuerConfiguration" });
814
+
815
+ interface CustomSMSSender_1 {
816
+ readonly LambdaVersion?: string;
817
+ readonly LambdaArn?: string;
818
+ }
819
+
820
+ const CustomSMSSender_1 = Schema.Struct({
821
+ LambdaVersion: Schema.optionalKey(Schema.String),
822
+ LambdaArn: Schema.optionalKey(Schema.String),
823
+ }).annotate({ identifier: "CustomSMSSender_1" });
824
+
825
+ interface LambdaConfig_1 {
826
+ readonly CreateAuthChallenge?: string;
827
+ readonly CustomMessage?: string;
828
+ readonly DefineAuthChallenge?: string;
829
+ readonly PostAuthentication?: string;
830
+ readonly PostConfirmation?: string;
831
+ readonly PreAuthentication?: string;
832
+ readonly PreSignUp?: string;
833
+ readonly VerifyAuthChallengeResponse?: string;
834
+ readonly UserMigration?: string;
835
+ readonly PreTokenGeneration?: string;
836
+ readonly CustomEmailSender?: CustomEmailSender;
837
+ readonly CustomSMSSender?: CustomSMSSender_1;
838
+ readonly KMSKeyID?: string;
839
+ readonly PreTokenGenerationConfig?: PreTokenGenerationConfig;
840
+ readonly InboundFederation?: InboundFederation;
841
+ }
842
+
843
+ const LambdaConfig_1 = Schema.Struct({
844
+ CreateAuthChallenge: Schema.optionalKey(Schema.String),
845
+ CustomMessage: Schema.optionalKey(Schema.String),
846
+ DefineAuthChallenge: Schema.optionalKey(Schema.String),
847
+ PostAuthentication: Schema.optionalKey(Schema.String),
848
+ PostConfirmation: Schema.optionalKey(Schema.String),
849
+ PreAuthentication: Schema.optionalKey(Schema.String),
850
+ PreSignUp: Schema.optionalKey(Schema.String),
851
+ VerifyAuthChallengeResponse: Schema.optionalKey(Schema.String),
852
+ UserMigration: Schema.optionalKey(Schema.String),
853
+ PreTokenGeneration: Schema.optionalKey(Schema.String),
854
+ CustomEmailSender: Schema.optionalKey(CustomEmailSender),
855
+ CustomSMSSender: Schema.optionalKey(CustomSMSSender_1),
856
+ KMSKeyID: Schema.optionalKey(Schema.String),
857
+ PreTokenGenerationConfig: Schema.optionalKey(PreTokenGenerationConfig),
858
+ InboundFederation: Schema.optionalKey(InboundFederation),
859
+ }).annotate({ identifier: "LambdaConfig_1" });
860
+
861
+ interface SmsConfiguration_1 {
862
+ readonly ExternalId?: string;
863
+ readonly SnsCallerArn?: string;
864
+ readonly SnsRegion?: string;
865
+ }
866
+
867
+ const SmsConfiguration_1 = Schema.Struct({
868
+ ExternalId: Schema.optionalKey(Schema.String),
869
+ SnsCallerArn: Schema.optionalKey(Schema.String),
870
+ SnsRegion: Schema.optionalKey(Schema.String),
871
+ }).annotate({ identifier: "SmsConfiguration_1" });
872
+
873
+ export interface AWSUserPoolProps {
874
+ readonly UserPoolName?: string;
875
+ readonly Policies?: Policies;
876
+ readonly AccountRecoverySetting?: AccountRecoverySetting;
877
+ readonly AdminCreateUserConfig?: AdminCreateUserConfig;
878
+ readonly AliasAttributes?: ResourceInputItems;
879
+ readonly UsernameAttributes?: ResourceInputItems_1;
880
+ readonly AutoVerifiedAttributes?: ResourceInputItems_2;
881
+ readonly DeviceConfiguration?: DeviceConfiguration;
882
+ readonly EmailConfiguration?: EmailConfiguration;
883
+ readonly EmailVerificationMessage?: string;
884
+ readonly EmailVerificationSubject?: string;
885
+ readonly DeletionProtection?: string;
886
+ readonly LambdaConfig?: LambdaConfig;
887
+ readonly MfaConfiguration?: string;
888
+ readonly EnabledMfas?: ResourceInputItems_3;
889
+ readonly SmsAuthenticationMessage?: string;
890
+ readonly EmailAuthenticationMessage?: string;
891
+ readonly EmailAuthenticationSubject?: string;
892
+ readonly SmsConfiguration?: SmsConfiguration;
893
+ readonly SmsVerificationMessage?: string;
894
+ readonly KeyConfiguration?: KeyConfiguration;
895
+ readonly WebAuthnRelyingPartyID?: string;
896
+ readonly WebAuthnUserVerification?: string;
897
+ readonly WebAuthnFactorConfiguration?: ResourceInputAlternatives;
898
+ readonly Schema?: ResourceInputItems_4;
899
+ readonly UsernameConfiguration?: UsernameConfiguration;
900
+ readonly UserAttributeUpdateSettings?: UserAttributeUpdateSettings;
901
+ readonly UserPoolTags?: ResourceInputProperties;
902
+ readonly VerificationMessageTemplate?: VerificationMessageTemplate;
903
+ readonly UserPoolAddOns?: UserPoolAddOns;
904
+ readonly UserPoolTier?: ResourceInputAlternatives_1;
905
+ readonly IssuerConfiguration?: IssuerConfiguration;
906
+ }
907
+
908
+ export const AWSUserPoolResourceSchema = ResourceSchemaAnnotationSchema.make({
909
+ provider: "aws",
910
+ service: "cognito",
911
+ resource: "userpool",
912
+ operation: "create",
913
+ stateSecretOutputKeys: [],
914
+ primaryIdentifier: ["/properties/UserPoolId"],
915
+ });
916
+
917
+ export const AWSUserPoolPropsSchema = annotateResourceSchema(
918
+ Schema.Struct({
919
+ UserPoolName: Schema.optionalKey(
920
+ Schema.String.check(
921
+ Schema.isMinLength(1).annotate({
922
+ expected: "a value with a length of at least 1",
923
+ }),
924
+ ).check(
925
+ Schema.isMaxCodePoints(128).annotate({
926
+ expected: "a string with at most 128 code points",
927
+ }),
928
+ ),
929
+ ),
930
+ Policies: Schema.optionalKey(Policies),
931
+ AccountRecoverySetting: Schema.optionalKey(AccountRecoverySetting),
932
+ AdminCreateUserConfig: Schema.optionalKey(AdminCreateUserConfig),
933
+ AliasAttributes: Schema.optionalKey(ResourceInputItems),
934
+ UsernameAttributes: Schema.optionalKey(ResourceInputItems_1),
935
+ AutoVerifiedAttributes: Schema.optionalKey(ResourceInputItems_2),
936
+ DeviceConfiguration: Schema.optionalKey(DeviceConfiguration),
937
+ EmailConfiguration: Schema.optionalKey(EmailConfiguration),
938
+ EmailVerificationMessage: Schema.optionalKey(
939
+ Schema.String.check(
940
+ Schema.isMinCodePoints(6).annotate({
941
+ expected: "a string with at least 6 code points",
942
+ }),
943
+ ).check(
944
+ Schema.isMaxCodePoints(20000).annotate({
945
+ expected: "a string with at most 20000 code points",
946
+ }),
947
+ ),
948
+ ),
949
+ EmailVerificationSubject: Schema.optionalKey(
950
+ Schema.String.check(
951
+ Schema.isMinLength(1).annotate({
952
+ expected: "a value with a length of at least 1",
953
+ }),
954
+ ).check(
955
+ Schema.isMaxCodePoints(140).annotate({
956
+ expected: "a string with at most 140 code points",
957
+ }),
958
+ ),
959
+ ),
960
+ DeletionProtection: Schema.optionalKey(Schema.String),
961
+ LambdaConfig: Schema.optionalKey(LambdaConfig),
962
+ MfaConfiguration: Schema.optionalKey(Schema.String),
963
+ EnabledMfas: Schema.optionalKey(ResourceInputItems_3),
964
+ SmsAuthenticationMessage: Schema.optionalKey(
965
+ Schema.String.check(
966
+ Schema.isMinCodePoints(6).annotate({
967
+ expected: "a string with at least 6 code points",
968
+ }),
969
+ ).check(
970
+ Schema.isMaxCodePoints(140).annotate({
971
+ expected: "a string with at most 140 code points",
972
+ }),
973
+ ),
974
+ ),
975
+ EmailAuthenticationMessage: Schema.optionalKey(
976
+ Schema.String.check(
977
+ Schema.isMinCodePoints(6).annotate({
978
+ expected: "a string with at least 6 code points",
979
+ }),
980
+ ).check(
981
+ Schema.isMaxCodePoints(20000).annotate({
982
+ expected: "a string with at most 20000 code points",
983
+ }),
984
+ ),
985
+ ),
986
+ EmailAuthenticationSubject: Schema.optionalKey(
987
+ Schema.String.check(
988
+ Schema.isMinLength(1).annotate({
989
+ expected: "a value with a length of at least 1",
990
+ }),
991
+ ).check(
992
+ Schema.isMaxCodePoints(140).annotate({
993
+ expected: "a string with at most 140 code points",
994
+ }),
995
+ ),
996
+ ),
997
+ SmsConfiguration: Schema.optionalKey(SmsConfiguration),
998
+ SmsVerificationMessage: Schema.optionalKey(
999
+ Schema.String.check(
1000
+ Schema.isMinCodePoints(6).annotate({
1001
+ expected: "a string with at least 6 code points",
1002
+ }),
1003
+ ).check(
1004
+ Schema.isMaxCodePoints(140).annotate({
1005
+ expected: "a string with at most 140 code points",
1006
+ }),
1007
+ ),
1008
+ ),
1009
+ KeyConfiguration: Schema.optionalKey(KeyConfiguration),
1010
+ WebAuthnRelyingPartyID: Schema.optionalKey(
1011
+ Schema.String.check(
1012
+ Schema.isMinLength(1).annotate({
1013
+ expected: "a value with a length of at least 1",
1014
+ }),
1015
+ ).check(
1016
+ Schema.isMaxCodePoints(63).annotate({
1017
+ expected: "a string with at most 63 code points",
1018
+ }),
1019
+ ),
1020
+ ),
1021
+ WebAuthnUserVerification: Schema.optionalKey(
1022
+ Schema.String.check(
1023
+ Schema.isMinLength(1).annotate({
1024
+ expected: "a value with a length of at least 1",
1025
+ }),
1026
+ ).check(
1027
+ Schema.isMaxCodePoints(9).annotate({
1028
+ expected: "a string with at most 9 code points",
1029
+ }),
1030
+ ),
1031
+ ),
1032
+ WebAuthnFactorConfiguration: Schema.optionalKey(ResourceInputAlternatives),
1033
+ Schema: Schema.optionalKey(ResourceInputItems_4),
1034
+ UsernameConfiguration: Schema.optionalKey(UsernameConfiguration),
1035
+ UserAttributeUpdateSettings: Schema.optionalKey(
1036
+ UserAttributeUpdateSettings,
1037
+ ),
1038
+ UserPoolTags: Schema.optionalKey(ResourceInputProperties),
1039
+ VerificationMessageTemplate: Schema.optionalKey(
1040
+ VerificationMessageTemplate,
1041
+ ),
1042
+ UserPoolAddOns: Schema.optionalKey(UserPoolAddOns),
1043
+ UserPoolTier: Schema.optionalKey(ResourceInputAlternatives_1),
1044
+ IssuerConfiguration: Schema.optionalKey(IssuerConfiguration),
1045
+ }),
1046
+ AWSUserPoolResourceSchema,
1047
+ );
1048
+
1049
+ export interface AWSUserPoolOutputs {
1050
+ readonly ProviderName?: string;
1051
+ readonly UserPoolId?: string;
1052
+ readonly ProviderURL?: string;
1053
+ readonly Arn?: string;
1054
+ }
1055
+
1056
+ export const AWSUserPoolOutputsSchema = Schema.Struct({
1057
+ ProviderName: Schema.optionalKey(Schema.String),
1058
+ UserPoolId: Schema.optionalKey(Schema.String),
1059
+ ProviderURL: Schema.optionalKey(Schema.String),
1060
+ Arn: Schema.optionalKey(Schema.String),
1061
+ });
1062
+
1063
+ export interface AWSUserPoolRequest {
1064
+ readonly UserPoolName?: string;
1065
+ readonly Policies?: Policies;
1066
+ readonly AccountRecoverySetting?: AccountRecoverySetting;
1067
+ readonly AdminCreateUserConfig?: AdminCreateUserConfig;
1068
+ readonly AliasAttributes?: ResourceInputItems;
1069
+ readonly UsernameAttributes?: ResourceInputItems_1;
1070
+ readonly AutoVerifiedAttributes?: ResourceInputItems_2;
1071
+ readonly DeviceConfiguration?: DeviceConfiguration;
1072
+ readonly EmailConfiguration?: EmailConfiguration;
1073
+ readonly EmailVerificationMessage?: string;
1074
+ readonly EmailVerificationSubject?: string;
1075
+ readonly DeletionProtection?: string;
1076
+ readonly LambdaConfig?: LambdaConfig_1;
1077
+ readonly MfaConfiguration?: string;
1078
+ readonly EnabledMfas?: ResourceInputItems_3;
1079
+ readonly SmsAuthenticationMessage?: string;
1080
+ readonly EmailAuthenticationMessage?: string;
1081
+ readonly EmailAuthenticationSubject?: string;
1082
+ readonly SmsConfiguration?: SmsConfiguration_1;
1083
+ readonly SmsVerificationMessage?: string;
1084
+ readonly KeyConfiguration?: KeyConfiguration;
1085
+ readonly WebAuthnRelyingPartyID?: string;
1086
+ readonly WebAuthnUserVerification?: string;
1087
+ readonly WebAuthnFactorConfiguration?: ResourceInputAlternatives;
1088
+ readonly Schema?: ResourceInputItems_4;
1089
+ readonly UsernameConfiguration?: UsernameConfiguration;
1090
+ readonly UserAttributeUpdateSettings?: UserAttributeUpdateSettings;
1091
+ readonly UserPoolTags?: ResourceInputProperties;
1092
+ readonly VerificationMessageTemplate?: VerificationMessageTemplate;
1093
+ readonly UserPoolAddOns?: UserPoolAddOns;
1094
+ readonly UserPoolTier?: ResourceInputAlternatives_1;
1095
+ readonly IssuerConfiguration?: IssuerConfiguration;
1096
+ }
1097
+
1098
+ export const AWSUserPoolRequestSchema = Schema.Struct({
1099
+ UserPoolName: Schema.optionalKey(
1100
+ Schema.String.check(
1101
+ Schema.isMinLength(1).annotate({
1102
+ expected: "a value with a length of at least 1",
1103
+ }),
1104
+ ).check(
1105
+ Schema.isMaxCodePoints(128).annotate({
1106
+ expected: "a string with at most 128 code points",
1107
+ }),
1108
+ ),
1109
+ ),
1110
+ Policies: Schema.optionalKey(Policies),
1111
+ AccountRecoverySetting: Schema.optionalKey(AccountRecoverySetting),
1112
+ AdminCreateUserConfig: Schema.optionalKey(AdminCreateUserConfig),
1113
+ AliasAttributes: Schema.optionalKey(ResourceInputItems),
1114
+ UsernameAttributes: Schema.optionalKey(ResourceInputItems_1),
1115
+ AutoVerifiedAttributes: Schema.optionalKey(ResourceInputItems_2),
1116
+ DeviceConfiguration: Schema.optionalKey(DeviceConfiguration),
1117
+ EmailConfiguration: Schema.optionalKey(EmailConfiguration),
1118
+ EmailVerificationMessage: Schema.optionalKey(
1119
+ Schema.String.check(
1120
+ Schema.isMinCodePoints(6).annotate({
1121
+ expected: "a string with at least 6 code points",
1122
+ }),
1123
+ ).check(
1124
+ Schema.isMaxCodePoints(20000).annotate({
1125
+ expected: "a string with at most 20000 code points",
1126
+ }),
1127
+ ),
1128
+ ),
1129
+ EmailVerificationSubject: Schema.optionalKey(
1130
+ Schema.String.check(
1131
+ Schema.isMinLength(1).annotate({
1132
+ expected: "a value with a length of at least 1",
1133
+ }),
1134
+ ).check(
1135
+ Schema.isMaxCodePoints(140).annotate({
1136
+ expected: "a string with at most 140 code points",
1137
+ }),
1138
+ ),
1139
+ ),
1140
+ DeletionProtection: Schema.optionalKey(Schema.String),
1141
+ LambdaConfig: Schema.optionalKey(LambdaConfig_1),
1142
+ MfaConfiguration: Schema.optionalKey(Schema.String),
1143
+ EnabledMfas: Schema.optionalKey(ResourceInputItems_3),
1144
+ SmsAuthenticationMessage: Schema.optionalKey(
1145
+ Schema.String.check(
1146
+ Schema.isMinCodePoints(6).annotate({
1147
+ expected: "a string with at least 6 code points",
1148
+ }),
1149
+ ).check(
1150
+ Schema.isMaxCodePoints(140).annotate({
1151
+ expected: "a string with at most 140 code points",
1152
+ }),
1153
+ ),
1154
+ ),
1155
+ EmailAuthenticationMessage: Schema.optionalKey(
1156
+ Schema.String.check(
1157
+ Schema.isMinCodePoints(6).annotate({
1158
+ expected: "a string with at least 6 code points",
1159
+ }),
1160
+ ).check(
1161
+ Schema.isMaxCodePoints(20000).annotate({
1162
+ expected: "a string with at most 20000 code points",
1163
+ }),
1164
+ ),
1165
+ ),
1166
+ EmailAuthenticationSubject: Schema.optionalKey(
1167
+ Schema.String.check(
1168
+ Schema.isMinLength(1).annotate({
1169
+ expected: "a value with a length of at least 1",
1170
+ }),
1171
+ ).check(
1172
+ Schema.isMaxCodePoints(140).annotate({
1173
+ expected: "a string with at most 140 code points",
1174
+ }),
1175
+ ),
1176
+ ),
1177
+ SmsConfiguration: Schema.optionalKey(SmsConfiguration_1),
1178
+ SmsVerificationMessage: Schema.optionalKey(
1179
+ Schema.String.check(
1180
+ Schema.isMinCodePoints(6).annotate({
1181
+ expected: "a string with at least 6 code points",
1182
+ }),
1183
+ ).check(
1184
+ Schema.isMaxCodePoints(140).annotate({
1185
+ expected: "a string with at most 140 code points",
1186
+ }),
1187
+ ),
1188
+ ),
1189
+ KeyConfiguration: Schema.optionalKey(KeyConfiguration),
1190
+ WebAuthnRelyingPartyID: Schema.optionalKey(
1191
+ Schema.String.check(
1192
+ Schema.isMinLength(1).annotate({
1193
+ expected: "a value with a length of at least 1",
1194
+ }),
1195
+ ).check(
1196
+ Schema.isMaxCodePoints(63).annotate({
1197
+ expected: "a string with at most 63 code points",
1198
+ }),
1199
+ ),
1200
+ ),
1201
+ WebAuthnUserVerification: Schema.optionalKey(
1202
+ Schema.String.check(
1203
+ Schema.isMinLength(1).annotate({
1204
+ expected: "a value with a length of at least 1",
1205
+ }),
1206
+ ).check(
1207
+ Schema.isMaxCodePoints(9).annotate({
1208
+ expected: "a string with at most 9 code points",
1209
+ }),
1210
+ ),
1211
+ ),
1212
+ WebAuthnFactorConfiguration: Schema.optionalKey(ResourceInputAlternatives),
1213
+ Schema: Schema.optionalKey(ResourceInputItems_4),
1214
+ UsernameConfiguration: Schema.optionalKey(UsernameConfiguration),
1215
+ UserAttributeUpdateSettings: Schema.optionalKey(UserAttributeUpdateSettings),
1216
+ UserPoolTags: Schema.optionalKey(ResourceInputProperties),
1217
+ VerificationMessageTemplate: Schema.optionalKey(VerificationMessageTemplate),
1218
+ UserPoolAddOns: Schema.optionalKey(UserPoolAddOns),
1219
+ UserPoolTier: Schema.optionalKey(ResourceInputAlternatives_1),
1220
+ IssuerConfiguration: Schema.optionalKey(IssuerConfiguration),
1221
+ });
1222
+
1223
+ /**
1224
+ * The AWSUserPoolRelationshipIssues array lists inputs that can use several outputs
1225
+ * from one source type. Each input retains its provider value until a reviewed
1226
+ * mapping chooses an output.
1227
+ */
1228
+ export const AWSUserPoolRelationshipIssues = [];
1229
+
1230
+ export const AWSUserPoolResourceTypeSchema = Schema.Struct({
1231
+ provider: Schema.Literal("aws"),
1232
+ service: Schema.Literal("cognito"),
1233
+ resource: Schema.Literal("userpool"),
1234
+ });
1235
+
1236
+ /**
1237
+ * The AWSUserPoolResource class retains its owning stack across declarations.
1238
+ * Applied output properties are ordinary values maintained by the lifecycle.
1239
+ */
1240
+ export class AWSUserPoolResource<
1241
+ Props = AWSUserPoolProps,
1242
+ > extends ResourceEntity<{
1243
+ readonly provider: "aws";
1244
+ readonly service: "cognito";
1245
+ readonly resource: "userpool";
1246
+ }> {
1247
+ constructor(
1248
+ key: ResourceKey,
1249
+ readonly props: Props,
1250
+ private readonly binding?: ResourceOutputBinding,
1251
+ ) {
1252
+ super({
1253
+ key,
1254
+ resourceType: {
1255
+ provider: "aws",
1256
+ service: "cognito",
1257
+ resource: "userpool",
1258
+ },
1259
+ });
1260
+ }
1261
+
1262
+ /**
1263
+ * Successful lifecycle writes update this value for declarations owned by the stack.
1264
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
1265
+ */
1266
+ get ProviderName(): Required<AWSUserPoolOutputs>["ProviderName"] {
1267
+ const value: Required<AWSUserPoolOutputs>["ProviderName"] =
1268
+ ResourceOutputBinding.value(
1269
+ this.binding,
1270
+ this.key,
1271
+ "ProviderName",
1272
+ Schema.requiredKey(AWSUserPoolOutputsSchema.fields.ProviderName),
1273
+ );
1274
+ return value;
1275
+ }
1276
+
1277
+ /**
1278
+ * Successful lifecycle writes update this value for declarations owned by the stack.
1279
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
1280
+ */
1281
+ get UserPoolId(): Required<AWSUserPoolOutputs>["UserPoolId"] {
1282
+ const value: Required<AWSUserPoolOutputs>["UserPoolId"] =
1283
+ ResourceOutputBinding.value(
1284
+ this.binding,
1285
+ this.key,
1286
+ "UserPoolId",
1287
+ Schema.requiredKey(AWSUserPoolOutputsSchema.fields.UserPoolId),
1288
+ );
1289
+ return value;
1290
+ }
1291
+
1292
+ /**
1293
+ * Successful lifecycle writes update this value for declarations owned by the stack.
1294
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
1295
+ */
1296
+ get ProviderURL(): Required<AWSUserPoolOutputs>["ProviderURL"] {
1297
+ const value: Required<AWSUserPoolOutputs>["ProviderURL"] =
1298
+ ResourceOutputBinding.value(
1299
+ this.binding,
1300
+ this.key,
1301
+ "ProviderURL",
1302
+ Schema.requiredKey(AWSUserPoolOutputsSchema.fields.ProviderURL),
1303
+ );
1304
+ return value;
1305
+ }
1306
+
1307
+ /**
1308
+ * Successful lifecycle writes update this value for declarations owned by the stack.
1309
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
1310
+ */
1311
+ get Arn(): Required<AWSUserPoolOutputs>["Arn"] {
1312
+ const value: Required<AWSUserPoolOutputs>["Arn"] =
1313
+ ResourceOutputBinding.value(
1314
+ this.binding,
1315
+ this.key,
1316
+ "Arn",
1317
+ Schema.requiredKey(AWSUserPoolOutputsSchema.fields.Arn),
1318
+ );
1319
+ return value;
1320
+ }
1321
+ }
1322
+
1323
+ /**
1324
+ * Callers must validate properties before constructing the declaration.
1325
+ * Compatible resources can depend on it before apply supplies provider values.
1326
+ * Reading applied outputs requires a binding to the owning stack.
1327
+ */
1328
+ export function createAWSUserPoolDeclaration<Props>(
1329
+ key: ResourceKey,
1330
+ props: Props,
1331
+ binding?: ResourceOutputBinding,
1332
+ ): AWSUserPoolResource<Props> {
1333
+ const resource: AWSUserPoolResource<Props> = new AWSUserPoolResource<Props>(
1334
+ key,
1335
+ props,
1336
+ binding,
1337
+ );
1338
+
1339
+ return resource;
1340
+ }
1341
+
1342
+ /**
1343
+ * The AWSUserPool resource factory registers a validated declaration in the
1344
+ * stack graph. Its outputs become available after apply saves the resource.
1345
+ */
1346
+ export const AWSUserPool = Effect.fn("AWSUserPool")(function* (input: {
1347
+ logicalId: string;
1348
+ props: AWSUserPoolProps;
1349
+ }) {
1350
+ const graph = yield* ResourceGraphBuilder;
1351
+
1352
+ const key: ResourceKey = { logicalId: input.logicalId };
1353
+
1354
+ const declaration = yield* graph.resource(key);
1355
+
1356
+ const props = yield* Schema.decodeEffect(AWSUserPoolPropsSchema)(input.props);
1357
+
1358
+ yield* declaration.registerEntity(AWSUserPoolResourceTypeSchema, {
1359
+ propsSchema: AWSUserPoolPropsSchema,
1360
+ requestSchema: AWSUserPoolRequestSchema,
1361
+ outputsSchema: AWSUserPoolOutputsSchema,
1362
+ props,
1363
+ });
1364
+
1365
+ const resource: AWSUserPoolResource = createAWSUserPoolDeclaration(
1366
+ key,
1367
+ props,
1368
+ declaration.outputs,
1369
+ );
1370
+
1371
+ return resource;
1372
+ });