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,1219 @@
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 FixedResponseConfig {
15
+ readonly ContentType?: string;
16
+ readonly StatusCode: string;
17
+ readonly MessageBody?: string;
18
+ }
19
+
20
+ const FixedResponseConfig = Schema.Struct({
21
+ ContentType: Schema.optionalKey(
22
+ Schema.String.annotate({
23
+ description:
24
+ "The content type.\n Valid Values: text/plain | text/css | text/html | application/javascript | application/json",
25
+ }),
26
+ ),
27
+ StatusCode: Schema.String.annotate({
28
+ description: "The HTTP response code (2XX, 4XX, or 5XX).",
29
+ }),
30
+ MessageBody: Schema.optionalKey(
31
+ Schema.String.annotate({ description: "The message." }),
32
+ ),
33
+ }).annotate({
34
+ description:
35
+ "Specifies information required when returning a custom HTTP response.",
36
+ identifier: "FixedResponseConfig",
37
+ });
38
+
39
+ interface ResourceInputProperties {
40
+ readonly [x: string]: string;
41
+ }
42
+
43
+ const ResourceInputProperties = Schema.Record(
44
+ Schema.String.check(
45
+ Schema.isPattern(new globalThis.RegExp("[a-zA-Z0-9]+", "u")).annotate({
46
+ expected: "a string matching the RegExp [a-zA-Z0-9]+",
47
+ }),
48
+ ),
49
+ Schema.String,
50
+ ).annotate({
51
+ description:
52
+ "The query parameters (up to 10) to include in the redirect request to the authorization endpoint.",
53
+ });
54
+
55
+ interface AuthenticateCognitoConfig {
56
+ readonly OnUnauthenticatedRequest?: string;
57
+ readonly UserPoolClientId:
58
+ | ResourceEntity<{
59
+ readonly provider: "aws";
60
+ readonly service: "cognito";
61
+ readonly resource: "userpoolclient";
62
+ }>
63
+ | string;
64
+ readonly UserPoolDomain: string;
65
+ readonly SessionTimeout?: number;
66
+ readonly Scope?: string;
67
+ readonly SessionCookieName?: string;
68
+ readonly UserPoolArn:
69
+ | ResourceEntity<{
70
+ readonly provider: "aws";
71
+ readonly service: "cognito";
72
+ readonly resource: "userpool";
73
+ }>
74
+ | string;
75
+ readonly AuthenticationRequestExtraParams?: ResourceInputProperties;
76
+ }
77
+
78
+ const AuthenticateCognitoConfig = Schema.Struct({
79
+ OnUnauthenticatedRequest: Schema.optionalKey(
80
+ Schema.String.annotate({
81
+ description:
82
+ "The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
83
+ }),
84
+ ),
85
+ UserPoolClientId: Schema.Union([
86
+ Schema.Union([
87
+ ResourceReferenceSchema(
88
+ Schema.Struct({
89
+ provider: Schema.Literal("aws"),
90
+ service: Schema.Literal("cognito"),
91
+ resource: Schema.Literal("userpoolclient"),
92
+ }),
93
+ {
94
+ value: null,
95
+ outputs: [
96
+ {
97
+ source: ["ClientId"],
98
+ target: [],
99
+ },
100
+ ],
101
+ },
102
+ ).annotate({ expected: "ResourceEntity" }),
103
+ ]),
104
+ Schema.String.annotate({
105
+ description: "The ID of the Amazon Cognito user pool client.",
106
+ }),
107
+ ]),
108
+ UserPoolDomain: Schema.String.annotate({
109
+ description:
110
+ "The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.",
111
+ }),
112
+ SessionTimeout: Schema.optionalKey(
113
+ Schema.Number.annotate({
114
+ description:
115
+ "The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
116
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
117
+ ),
118
+ Scope: Schema.optionalKey(
119
+ Schema.String.annotate({
120
+ description:
121
+ "The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
122
+ }),
123
+ ),
124
+ SessionCookieName: Schema.optionalKey(
125
+ Schema.String.annotate({
126
+ description:
127
+ "The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
128
+ }),
129
+ ),
130
+ UserPoolArn: Schema.Union([
131
+ Schema.Union([
132
+ ResourceReferenceSchema(
133
+ Schema.Struct({
134
+ provider: Schema.Literal("aws"),
135
+ service: Schema.Literal("cognito"),
136
+ resource: Schema.Literal("userpool"),
137
+ }),
138
+ {
139
+ value: null,
140
+ outputs: [
141
+ {
142
+ source: ["Arn"],
143
+ target: [],
144
+ },
145
+ ],
146
+ },
147
+ ).annotate({ expected: "ResourceEntity" }),
148
+ ]),
149
+ Schema.String.annotate({
150
+ description:
151
+ "The Amazon Resource Name (ARN) of the Amazon Cognito user pool.",
152
+ }),
153
+ ]),
154
+ AuthenticationRequestExtraParams: Schema.optionalKey(ResourceInputProperties),
155
+ }).annotate({
156
+ description:
157
+ "Specifies information required when integrating with Amazon Cognito to authenticate users.",
158
+ identifier: "AuthenticateCognitoConfig",
159
+ });
160
+
161
+ interface RedirectConfig {
162
+ readonly Path?: string;
163
+ readonly Query?: string;
164
+ readonly Port?: string;
165
+ readonly Host?: string;
166
+ readonly Protocol?: string;
167
+ readonly StatusCode: string;
168
+ }
169
+
170
+ const RedirectConfig = Schema.Struct({
171
+ Path: Schema.optionalKey(
172
+ Schema.String.annotate({
173
+ description:
174
+ 'The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.',
175
+ }),
176
+ ),
177
+ Query: Schema.optionalKey(
178
+ Schema.String.annotate({
179
+ description:
180
+ 'The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.',
181
+ }),
182
+ ),
183
+ Port: Schema.optionalKey(
184
+ Schema.String.annotate({
185
+ description:
186
+ "The port. You can specify a value from 1 to 65535 or #{port}.",
187
+ }),
188
+ ),
189
+ Host: Schema.optionalKey(
190
+ Schema.String.annotate({
191
+ description:
192
+ "The hostname. This component is not percent-encoded. The hostname can contain #{host}.",
193
+ }),
194
+ ),
195
+ Protocol: Schema.optionalKey(
196
+ Schema.String.annotate({
197
+ description:
198
+ "The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.",
199
+ }),
200
+ ),
201
+ StatusCode: Schema.String.annotate({
202
+ description:
203
+ "The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).",
204
+ }),
205
+ }).annotate({
206
+ description:
207
+ 'Information about a redirect action.\n A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.\n You can reuse URI components using the following reserved keywords:\n + #{protocol}\n + #{host}\n + #{port}\n + #{path} (the leading "/" is removed)\n + #{query}\n \n For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".',
208
+ identifier: "RedirectConfig",
209
+ });
210
+
211
+ interface TargetGroupStickinessConfig {
212
+ readonly Enabled?: boolean;
213
+ readonly DurationSeconds?: number;
214
+ }
215
+
216
+ const TargetGroupStickinessConfig = Schema.Struct({
217
+ Enabled: Schema.optionalKey(
218
+ Schema.Boolean.annotate({
219
+ description: "Indicates whether target group stickiness is enabled.",
220
+ }),
221
+ ),
222
+ DurationSeconds: Schema.optionalKey(
223
+ Schema.Number.annotate({
224
+ description:
225
+ "[Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.",
226
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
227
+ ),
228
+ }).annotate({
229
+ description: "Information about the target group stickiness for a rule.",
230
+ identifier: "TargetGroupStickinessConfig",
231
+ });
232
+
233
+ interface TargetGroupTuple {
234
+ readonly TargetGroupArn?:
235
+ | ResourceEntity<{
236
+ readonly provider: "aws";
237
+ readonly service: "elasticloadbalancingv2";
238
+ readonly resource: "targetgroup";
239
+ }>
240
+ | string;
241
+ readonly Weight?: number;
242
+ }
243
+
244
+ const TargetGroupTuple = Schema.Struct({
245
+ TargetGroupArn: Schema.optionalKey(
246
+ Schema.Union([
247
+ Schema.Union([
248
+ ResourceReferenceSchema(
249
+ Schema.Struct({
250
+ provider: Schema.Literal("aws"),
251
+ service: Schema.Literal("elasticloadbalancingv2"),
252
+ resource: Schema.Literal("targetgroup"),
253
+ }),
254
+ {
255
+ value: null,
256
+ outputs: [
257
+ {
258
+ source: ["TargetGroupArn"],
259
+ target: [],
260
+ },
261
+ ],
262
+ },
263
+ ).annotate({ expected: "ResourceEntity" }),
264
+ ]),
265
+ Schema.String.annotate({
266
+ description: "The Amazon Resource Name (ARN) of the target group.",
267
+ }),
268
+ ]),
269
+ ),
270
+ Weight: Schema.optionalKey(
271
+ Schema.Number.annotate({
272
+ description: "The weight. The range is 0 to 999.",
273
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
274
+ ),
275
+ }).annotate({
276
+ description:
277
+ "Information about how traffic will be distributed between multiple target groups in a forward rule.",
278
+ identifier: "TargetGroupTuple",
279
+ });
280
+
281
+ interface ForwardConfig {
282
+ readonly TargetGroupStickinessConfig?: TargetGroupStickinessConfig;
283
+ readonly TargetGroups?: globalThis.ReadonlyArray<TargetGroupTuple>;
284
+ }
285
+
286
+ const ForwardConfig = Schema.Struct({
287
+ TargetGroupStickinessConfig: Schema.optionalKey(TargetGroupStickinessConfig),
288
+ TargetGroups: Schema.optionalKey(
289
+ Schema.Array(TargetGroupTuple)
290
+ .annotate({
291
+ description:
292
+ "Information about how traffic will be distributed between multiple target groups in a forward rule.",
293
+ })
294
+ .check(
295
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
296
+ ),
297
+ ),
298
+ }).annotate({
299
+ description:
300
+ "Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.\n If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.",
301
+ identifier: "ForwardConfig",
302
+ });
303
+
304
+ type AuthenticateOidcConfig =
305
+ | {
306
+ readonly ClientSecret: string;
307
+ readonly OnUnauthenticatedRequest?: string;
308
+ readonly TokenEndpoint: string;
309
+ readonly SessionTimeout?: number;
310
+ readonly Scope?: string;
311
+ readonly Issuer: string;
312
+ readonly UserInfoEndpoint: string;
313
+ readonly ClientId: string;
314
+ readonly AuthorizationEndpoint: string;
315
+ readonly SessionCookieName?: string;
316
+ readonly UseExistingClientSecret?: boolean;
317
+ readonly AuthenticationRequestExtraParams?: {
318
+ readonly [x: string]: string;
319
+ };
320
+ }
321
+ | {
322
+ readonly UseExistingClientSecret: boolean;
323
+ readonly OnUnauthenticatedRequest?: string;
324
+ readonly TokenEndpoint: string;
325
+ readonly SessionTimeout?: number;
326
+ readonly Scope?: string;
327
+ readonly Issuer: string;
328
+ readonly ClientSecret?: string;
329
+ readonly UserInfoEndpoint: string;
330
+ readonly ClientId: string;
331
+ readonly AuthorizationEndpoint: string;
332
+ readonly SessionCookieName?: string;
333
+ readonly AuthenticationRequestExtraParams?: {
334
+ readonly [x: string]: string;
335
+ };
336
+ };
337
+
338
+ const AuthenticateOidcConfig = Schema.Union([
339
+ Schema.Struct({
340
+ ClientSecret: Schema.String.annotate({
341
+ description:
342
+ "The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true.",
343
+ }),
344
+ OnUnauthenticatedRequest: Schema.optionalKey(
345
+ Schema.String.annotate({
346
+ description:
347
+ "The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
348
+ }),
349
+ ),
350
+ TokenEndpoint: Schema.String.annotate({
351
+ description:
352
+ "The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
353
+ }),
354
+ SessionTimeout: Schema.optionalKey(
355
+ Schema.Number.annotate({
356
+ description:
357
+ "The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
358
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
359
+ ),
360
+ Scope: Schema.optionalKey(
361
+ Schema.String.annotate({
362
+ description:
363
+ "The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
364
+ }),
365
+ ),
366
+ Issuer: Schema.String.annotate({
367
+ description:
368
+ "The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
369
+ }),
370
+ UserInfoEndpoint: Schema.String.annotate({
371
+ description:
372
+ "The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
373
+ }),
374
+ ClientId: Schema.String.annotate({
375
+ description: "The OAuth 2.0 client identifier.",
376
+ }),
377
+ AuthorizationEndpoint: Schema.String.annotate({
378
+ description:
379
+ "The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
380
+ }),
381
+ SessionCookieName: Schema.optionalKey(
382
+ Schema.String.annotate({
383
+ description:
384
+ "The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
385
+ }),
386
+ ),
387
+ UseExistingClientSecret: Schema.optionalKey(
388
+ Schema.Boolean.annotate({
389
+ description:
390
+ "Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.",
391
+ }),
392
+ ),
393
+ AuthenticationRequestExtraParams: Schema.optionalKey(
394
+ Schema.Record(
395
+ Schema.String.check(
396
+ Schema.isPattern(new globalThis.RegExp("[a-zA-Z0-9]+", "u")).annotate(
397
+ { expected: "a string matching the RegExp [a-zA-Z0-9]+" },
398
+ ),
399
+ ),
400
+ Schema.String,
401
+ ).annotate({
402
+ description:
403
+ "The query parameters (up to 10) to include in the redirect request to the authorization endpoint.",
404
+ }),
405
+ ),
406
+ }).annotate({
407
+ description:
408
+ "Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.",
409
+ }),
410
+ Schema.Struct({
411
+ UseExistingClientSecret: Schema.Boolean.annotate({
412
+ description:
413
+ "Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.",
414
+ }),
415
+ OnUnauthenticatedRequest: Schema.optionalKey(
416
+ Schema.String.annotate({
417
+ description:
418
+ "The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
419
+ }),
420
+ ),
421
+ TokenEndpoint: Schema.String.annotate({
422
+ description:
423
+ "The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
424
+ }),
425
+ SessionTimeout: Schema.optionalKey(
426
+ Schema.Number.annotate({
427
+ description:
428
+ "The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
429
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
430
+ ),
431
+ Scope: Schema.optionalKey(
432
+ Schema.String.annotate({
433
+ description:
434
+ "The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
435
+ }),
436
+ ),
437
+ Issuer: Schema.String.annotate({
438
+ description:
439
+ "The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
440
+ }),
441
+ ClientSecret: Schema.optionalKey(
442
+ Schema.String.annotate({
443
+ description:
444
+ "The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true.",
445
+ }),
446
+ ),
447
+ UserInfoEndpoint: Schema.String.annotate({
448
+ description:
449
+ "The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
450
+ }),
451
+ ClientId: Schema.String.annotate({
452
+ description: "The OAuth 2.0 client identifier.",
453
+ }),
454
+ AuthorizationEndpoint: Schema.String.annotate({
455
+ description:
456
+ "The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
457
+ }),
458
+ SessionCookieName: Schema.optionalKey(
459
+ Schema.String.annotate({
460
+ description:
461
+ "The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
462
+ }),
463
+ ),
464
+ AuthenticationRequestExtraParams: Schema.optionalKey(
465
+ Schema.Record(
466
+ Schema.String.check(
467
+ Schema.isPattern(new globalThis.RegExp("[a-zA-Z0-9]+", "u")).annotate(
468
+ { expected: "a string matching the RegExp [a-zA-Z0-9]+" },
469
+ ),
470
+ ),
471
+ Schema.String,
472
+ ).annotate({
473
+ description:
474
+ "The query parameters (up to 10) to include in the redirect request to the authorization endpoint.",
475
+ }),
476
+ ),
477
+ }).annotate({
478
+ description:
479
+ "Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.",
480
+ }),
481
+ ]).annotate({ identifier: "AuthenticateOidcConfig" });
482
+
483
+ interface JwtValidationActionAdditionalClaim {
484
+ readonly Format: string;
485
+ readonly Name: string;
486
+ readonly Values: globalThis.ReadonlyArray<string>;
487
+ }
488
+
489
+ const JwtValidationActionAdditionalClaim = Schema.Struct({
490
+ Format: Schema.String.annotate({
491
+ description: "The format of the claim value.",
492
+ }),
493
+ Name: Schema.String.annotate({
494
+ description:
495
+ "The name of the claim. You can't specify ``exp``, ``iss``, ``nbf``, or ``iat`` because we validate them by default.",
496
+ }),
497
+ Values: Schema.Array(Schema.String)
498
+ .annotate({
499
+ description:
500
+ "The claim value. The maximum size of the list is 10. Each value can be up to 256 characters in length. If the format is ``space-separated-values``, the values can't include spaces.",
501
+ })
502
+ .check(
503
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
504
+ ),
505
+ }).annotate({
506
+ description: "Information about an additional claim to validate.",
507
+ identifier: "JwtValidationActionAdditionalClaim",
508
+ });
509
+
510
+ interface JwtValidationConfig {
511
+ readonly JwksEndpoint: string;
512
+ readonly Issuer: string;
513
+ readonly AdditionalClaims?: globalThis.ReadonlyArray<JwtValidationActionAdditionalClaim>;
514
+ }
515
+
516
+ const JwtValidationConfig = Schema.Struct({
517
+ JwksEndpoint: Schema.String.annotate({ description: "" }),
518
+ Issuer: Schema.String.annotate({ description: "" }),
519
+ AdditionalClaims: Schema.optionalKey(
520
+ Schema.Array(JwtValidationActionAdditionalClaim)
521
+ .annotate({ description: "" })
522
+ .check(
523
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
524
+ ),
525
+ ),
526
+ }).annotate({ description: "", identifier: "JwtValidationConfig" });
527
+
528
+ interface Action {
529
+ readonly Order?: number;
530
+ readonly TargetGroupArn?:
531
+ | ResourceEntity<{
532
+ readonly provider: "aws";
533
+ readonly service: "elasticloadbalancingv2";
534
+ readonly resource: "targetgroup";
535
+ }>
536
+ | string;
537
+ readonly FixedResponseConfig?: FixedResponseConfig;
538
+ readonly AuthenticateCognitoConfig?: AuthenticateCognitoConfig;
539
+ readonly Type: string;
540
+ readonly RedirectConfig?: RedirectConfig;
541
+ readonly ForwardConfig?: ForwardConfig;
542
+ readonly AuthenticateOidcConfig?: AuthenticateOidcConfig;
543
+ readonly JwtValidationConfig?: JwtValidationConfig;
544
+ }
545
+
546
+ const Action = Schema.Struct({
547
+ Order: Schema.optionalKey(
548
+ Schema.Number.annotate({
549
+ description:
550
+ "The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.",
551
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
552
+ ),
553
+ TargetGroupArn: Schema.optionalKey(
554
+ Schema.Union([
555
+ Schema.Union([
556
+ ResourceReferenceSchema(
557
+ Schema.Struct({
558
+ provider: Schema.Literal("aws"),
559
+ service: Schema.Literal("elasticloadbalancingv2"),
560
+ resource: Schema.Literal("targetgroup"),
561
+ }),
562
+ {
563
+ value: null,
564
+ outputs: [
565
+ {
566
+ source: ["TargetGroupArn"],
567
+ target: [],
568
+ },
569
+ ],
570
+ },
571
+ ).annotate({ expected: "ResourceEntity" }),
572
+ ]),
573
+ Schema.String.annotate({
574
+ description:
575
+ "The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.",
576
+ }),
577
+ ]),
578
+ ),
579
+ FixedResponseConfig: Schema.optionalKey(FixedResponseConfig),
580
+ AuthenticateCognitoConfig: Schema.optionalKey(AuthenticateCognitoConfig),
581
+ Type: Schema.String.annotate({ description: "The type of action." }),
582
+ RedirectConfig: Schema.optionalKey(RedirectConfig),
583
+ ForwardConfig: Schema.optionalKey(ForwardConfig),
584
+ AuthenticateOidcConfig: Schema.optionalKey(AuthenticateOidcConfig),
585
+ JwtValidationConfig: Schema.optionalKey(JwtValidationConfig),
586
+ }).annotate({
587
+ description: "Specifies an action for a listener rule.",
588
+ identifier: "Action",
589
+ });
590
+
591
+ type ListOfStrings = globalThis.ReadonlyArray<string>;
592
+
593
+ const ListOfStrings = Schema.Array(Schema.String).check(
594
+ Schema.isUnique().annotate({
595
+ expected: "an array with unique items",
596
+ identifier: "ListOfStrings",
597
+ }),
598
+ );
599
+
600
+ interface HttpRequestMethodConfig {
601
+ readonly Values?: ListOfStrings;
602
+ }
603
+
604
+ const HttpRequestMethodConfig = Schema.Struct({
605
+ Values: Schema.optionalKey(ListOfStrings),
606
+ }).annotate({
607
+ description:
608
+ "Information about an HTTP method condition.\n HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the [HTTP Method Registry](https://docs.aws.amazon.com/https://www.iana.org/assignments/http-methods/http-methods.xhtml). You can also define custom HTTP methods.",
609
+ identifier: "HttpRequestMethodConfig",
610
+ });
611
+
612
+ interface PathPatternConfig {
613
+ readonly RegexValues?: ListOfStrings;
614
+ readonly Values?: ListOfStrings;
615
+ }
616
+
617
+ const PathPatternConfig = Schema.Struct({
618
+ RegexValues: Schema.optionalKey(ListOfStrings),
619
+ Values: Schema.optionalKey(ListOfStrings),
620
+ }).annotate({
621
+ description: "Information about a path pattern condition.",
622
+ identifier: "PathPatternConfig",
623
+ });
624
+
625
+ interface HttpHeaderConfig {
626
+ readonly RegexValues?: ListOfStrings;
627
+ readonly Values?: ListOfStrings;
628
+ readonly HttpHeaderName?: string;
629
+ }
630
+
631
+ const HttpHeaderConfig = Schema.Struct({
632
+ RegexValues: Schema.optionalKey(ListOfStrings),
633
+ Values: Schema.optionalKey(ListOfStrings),
634
+ HttpHeaderName: Schema.optionalKey(
635
+ Schema.String.annotate({
636
+ description:
637
+ "The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.",
638
+ }),
639
+ ),
640
+ }).annotate({
641
+ description:
642
+ "Information about an HTTP header condition.\n There is a set of standard HTTP header fields. You can also define custom HTTP header fields.",
643
+ identifier: "HttpHeaderConfig",
644
+ });
645
+
646
+ interface SourceIpConfig {
647
+ readonly Values?: globalThis.ReadonlyArray<string>;
648
+ }
649
+
650
+ const SourceIpConfig = Schema.Struct({
651
+ Values: Schema.optionalKey(
652
+ Schema.Array(Schema.String)
653
+ .annotate({
654
+ description:
655
+ "The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.\n If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.",
656
+ })
657
+ .check(
658
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
659
+ ),
660
+ ),
661
+ }).annotate({
662
+ description:
663
+ "Information about a source IP condition.\n You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.",
664
+ identifier: "SourceIpConfig",
665
+ });
666
+
667
+ interface HostHeaderConfig {
668
+ readonly RegexValues?: ListOfStrings;
669
+ readonly Values?: ListOfStrings;
670
+ }
671
+
672
+ const HostHeaderConfig = Schema.Struct({
673
+ RegexValues: Schema.optionalKey(ListOfStrings),
674
+ Values: Schema.optionalKey(ListOfStrings),
675
+ }).annotate({
676
+ description: "Information about a host header condition.",
677
+ identifier: "HostHeaderConfig",
678
+ });
679
+
680
+ interface QueryStringKeyValue {
681
+ readonly Value?: string;
682
+ readonly Key?: string;
683
+ }
684
+
685
+ const QueryStringKeyValue = Schema.Struct({
686
+ Value: Schema.optionalKey(
687
+ Schema.String.annotate({ description: "The value." }),
688
+ ),
689
+ Key: Schema.optionalKey(
690
+ Schema.String.annotate({ description: "The key. You can omit the key." }),
691
+ ),
692
+ }).annotate({
693
+ description: "Information about a key/value pair.",
694
+ identifier: "QueryStringKeyValue",
695
+ });
696
+
697
+ interface QueryStringConfig {
698
+ readonly Values?: globalThis.ReadonlyArray<QueryStringKeyValue>;
699
+ }
700
+
701
+ const QueryStringConfig = Schema.Struct({
702
+ Values: Schema.optionalKey(
703
+ Schema.Array(QueryStringKeyValue)
704
+ .annotate({
705
+ description:
706
+ "The key/value pairs or values to find in the query string. The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '\\' character.\n If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.",
707
+ })
708
+ .check(
709
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
710
+ ),
711
+ ),
712
+ }).annotate({
713
+ description:
714
+ "Information about a query string condition.\n The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.",
715
+ identifier: "QueryStringConfig",
716
+ });
717
+
718
+ interface RuleCondition {
719
+ readonly Field?: string;
720
+ readonly RegexValues?: ListOfStrings;
721
+ readonly Values?: ListOfStrings;
722
+ readonly HttpRequestMethodConfig?: HttpRequestMethodConfig;
723
+ readonly PathPatternConfig?: PathPatternConfig;
724
+ readonly HttpHeaderConfig?: HttpHeaderConfig;
725
+ readonly SourceIpConfig?: SourceIpConfig;
726
+ readonly HostHeaderConfig?: HostHeaderConfig;
727
+ readonly QueryStringConfig?: QueryStringConfig;
728
+ }
729
+
730
+ const RuleCondition = Schema.Struct({
731
+ Field: Schema.optionalKey(
732
+ Schema.String.annotate({
733
+ description:
734
+ "The field in the HTTP request. The following are the possible values:\n + ``http-header`` \n + ``http-request-method`` \n + ``host-header`` \n + ``path-pattern`` \n + ``query-string`` \n + ``source-ip``",
735
+ }),
736
+ ),
737
+ RegexValues: Schema.optionalKey(ListOfStrings),
738
+ Values: Schema.optionalKey(ListOfStrings),
739
+ HttpRequestMethodConfig: Schema.optionalKey(HttpRequestMethodConfig),
740
+ PathPatternConfig: Schema.optionalKey(PathPatternConfig),
741
+ HttpHeaderConfig: Schema.optionalKey(HttpHeaderConfig),
742
+ SourceIpConfig: Schema.optionalKey(SourceIpConfig),
743
+ HostHeaderConfig: Schema.optionalKey(HostHeaderConfig),
744
+ QueryStringConfig: Schema.optionalKey(QueryStringConfig),
745
+ }).annotate({
746
+ description: "Specifies a condition for a listener rule.",
747
+ identifier: "RuleCondition",
748
+ });
749
+
750
+ type ResourceInputItems = globalThis.ReadonlyArray<RuleCondition>;
751
+
752
+ const ResourceInputItems = Schema.Array(RuleCondition)
753
+ .annotate({
754
+ description:
755
+ "The conditions.\n The rule can optionally include up to one of each of the following conditions: ``http-request-method``, ``host-header``, ``path-pattern``, and ``source-ip``. A rule can also optionally include one or more of each of the following conditions: ``http-header`` and ``query-string``.",
756
+ })
757
+ .check(
758
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
759
+ );
760
+
761
+ interface RewriteConfig {
762
+ readonly Regex: string;
763
+ readonly Replace: string;
764
+ }
765
+
766
+ const RewriteConfig = Schema.Struct({
767
+ Regex: Schema.String.annotate({
768
+ description:
769
+ "The regular expression to match in the input string. The maximum length of the string is 1,024 characters.",
770
+ }),
771
+ Replace: Schema.String.annotate({
772
+ description:
773
+ "The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).",
774
+ }),
775
+ }).annotate({
776
+ description:
777
+ "Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.",
778
+ identifier: "RewriteConfig",
779
+ });
780
+
781
+ type RewriteConfigList = globalThis.ReadonlyArray<RewriteConfig>;
782
+
783
+ const RewriteConfigList = Schema.Array(RewriteConfig).check(
784
+ Schema.isUnique().annotate({
785
+ expected: "an array with unique items",
786
+ identifier: "RewriteConfigList",
787
+ }),
788
+ );
789
+
790
+ interface RewriteConfigObject {
791
+ readonly Rewrites: RewriteConfigList;
792
+ }
793
+
794
+ const RewriteConfigObject = Schema.Struct({
795
+ Rewrites: RewriteConfigList,
796
+ }).annotate({ description: "", identifier: "RewriteConfigObject" });
797
+
798
+ type Transform =
799
+ | {
800
+ readonly HostHeaderRewriteConfig: RewriteConfigObject;
801
+ readonly Type: string;
802
+ readonly UrlRewriteConfig?: RewriteConfigObject;
803
+ }
804
+ | {
805
+ readonly UrlRewriteConfig: RewriteConfigObject;
806
+ readonly Type: string;
807
+ readonly HostHeaderRewriteConfig?: RewriteConfigObject;
808
+ };
809
+
810
+ const Transform = Schema.Union(
811
+ [
812
+ Schema.Struct({
813
+ HostHeaderRewriteConfig: RewriteConfigObject,
814
+ Type: Schema.String.annotate({ description: "" }),
815
+ UrlRewriteConfig: Schema.optionalKey(RewriteConfigObject),
816
+ }).annotate({ description: "" }),
817
+ Schema.Struct({
818
+ UrlRewriteConfig: RewriteConfigObject,
819
+ Type: Schema.String.annotate({ description: "" }),
820
+ HostHeaderRewriteConfig: Schema.optionalKey(RewriteConfigObject),
821
+ }).annotate({ description: "" }),
822
+ ],
823
+ { mode: "oneOf" },
824
+ ).annotate({ identifier: "Transform" });
825
+
826
+ type ResourceInputItems_1 = globalThis.ReadonlyArray<Transform>;
827
+
828
+ const ResourceInputItems_1 = Schema.Array(Transform)
829
+ .annotate({ description: "" })
830
+ .check(
831
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
832
+ );
833
+
834
+ interface Tag {
835
+ readonly Value: string;
836
+ readonly Key: string;
837
+ }
838
+
839
+ const Tag = Schema.Struct({
840
+ Value: Schema.String,
841
+ Key: Schema.String,
842
+ }).annotate({ description: "", identifier: "Tag" });
843
+
844
+ type ResourceInputItems_2 = globalThis.ReadonlyArray<Tag>;
845
+
846
+ const ResourceInputItems_2 = Schema.Array(Tag).annotate({ description: "" });
847
+
848
+ interface AuthenticateCognitoConfig_1 {
849
+ readonly OnUnauthenticatedRequest?: string;
850
+ readonly UserPoolClientId: string;
851
+ readonly UserPoolDomain: string;
852
+ readonly SessionTimeout?: number;
853
+ readonly Scope?: string;
854
+ readonly SessionCookieName?: string;
855
+ readonly UserPoolArn: string;
856
+ readonly AuthenticationRequestExtraParams?: ResourceInputProperties;
857
+ }
858
+
859
+ const AuthenticateCognitoConfig_1 = Schema.Struct({
860
+ OnUnauthenticatedRequest: Schema.optionalKey(
861
+ Schema.String.annotate({
862
+ description:
863
+ "The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
864
+ }),
865
+ ),
866
+ UserPoolClientId: Schema.String.annotate({
867
+ description: "The ID of the Amazon Cognito user pool client.",
868
+ }),
869
+ UserPoolDomain: Schema.String.annotate({
870
+ description:
871
+ "The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.",
872
+ }),
873
+ SessionTimeout: Schema.optionalKey(
874
+ Schema.Number.annotate({
875
+ description:
876
+ "The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
877
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
878
+ ),
879
+ Scope: Schema.optionalKey(
880
+ Schema.String.annotate({
881
+ description:
882
+ "The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
883
+ }),
884
+ ),
885
+ SessionCookieName: Schema.optionalKey(
886
+ Schema.String.annotate({
887
+ description:
888
+ "The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
889
+ }),
890
+ ),
891
+ UserPoolArn: Schema.String.annotate({
892
+ description:
893
+ "The Amazon Resource Name (ARN) of the Amazon Cognito user pool.",
894
+ }),
895
+ AuthenticationRequestExtraParams: Schema.optionalKey(ResourceInputProperties),
896
+ }).annotate({
897
+ description:
898
+ "Specifies information required when integrating with Amazon Cognito to authenticate users.",
899
+ identifier: "AuthenticateCognitoConfig_1",
900
+ });
901
+
902
+ interface TargetGroupTuple_1 {
903
+ readonly TargetGroupArn?: string;
904
+ readonly Weight?: number;
905
+ }
906
+
907
+ const TargetGroupTuple_1 = Schema.Struct({
908
+ TargetGroupArn: Schema.optionalKey(
909
+ Schema.String.annotate({
910
+ description: "The Amazon Resource Name (ARN) of the target group.",
911
+ }),
912
+ ),
913
+ Weight: Schema.optionalKey(
914
+ Schema.Number.annotate({
915
+ description: "The weight. The range is 0 to 999.",
916
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
917
+ ),
918
+ }).annotate({
919
+ description:
920
+ "Information about how traffic will be distributed between multiple target groups in a forward rule.",
921
+ identifier: "TargetGroupTuple_1",
922
+ });
923
+
924
+ interface ForwardConfig_1 {
925
+ readonly TargetGroupStickinessConfig?: TargetGroupStickinessConfig;
926
+ readonly TargetGroups?: globalThis.ReadonlyArray<TargetGroupTuple_1>;
927
+ }
928
+
929
+ const ForwardConfig_1 = Schema.Struct({
930
+ TargetGroupStickinessConfig: Schema.optionalKey(TargetGroupStickinessConfig),
931
+ TargetGroups: Schema.optionalKey(
932
+ Schema.Array(TargetGroupTuple_1)
933
+ .annotate({
934
+ description:
935
+ "Information about how traffic will be distributed between multiple target groups in a forward rule.",
936
+ })
937
+ .check(
938
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
939
+ ),
940
+ ),
941
+ }).annotate({
942
+ description:
943
+ "Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.\n If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.",
944
+ identifier: "ForwardConfig_1",
945
+ });
946
+
947
+ interface Action_1 {
948
+ readonly Order?: number;
949
+ readonly TargetGroupArn?: string;
950
+ readonly FixedResponseConfig?: FixedResponseConfig;
951
+ readonly AuthenticateCognitoConfig?: AuthenticateCognitoConfig_1;
952
+ readonly Type: string;
953
+ readonly RedirectConfig?: RedirectConfig;
954
+ readonly ForwardConfig?: ForwardConfig_1;
955
+ readonly AuthenticateOidcConfig?: AuthenticateOidcConfig;
956
+ readonly JwtValidationConfig?: JwtValidationConfig;
957
+ }
958
+
959
+ const Action_1 = Schema.Struct({
960
+ Order: Schema.optionalKey(
961
+ Schema.Number.annotate({
962
+ description:
963
+ "The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.",
964
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
965
+ ),
966
+ TargetGroupArn: Schema.optionalKey(
967
+ Schema.String.annotate({
968
+ description:
969
+ "The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.",
970
+ }),
971
+ ),
972
+ FixedResponseConfig: Schema.optionalKey(FixedResponseConfig),
973
+ AuthenticateCognitoConfig: Schema.optionalKey(AuthenticateCognitoConfig_1),
974
+ Type: Schema.String.annotate({ description: "The type of action." }),
975
+ RedirectConfig: Schema.optionalKey(RedirectConfig),
976
+ ForwardConfig: Schema.optionalKey(ForwardConfig_1),
977
+ AuthenticateOidcConfig: Schema.optionalKey(AuthenticateOidcConfig),
978
+ JwtValidationConfig: Schema.optionalKey(JwtValidationConfig),
979
+ }).annotate({
980
+ description: "Specifies an action for a listener rule.",
981
+ identifier: "Action_1",
982
+ });
983
+
984
+ export interface AWSListenerRuleProps {
985
+ readonly ListenerArn?:
986
+ | ResourceEntity<{
987
+ readonly provider: "aws";
988
+ readonly service: "elasticloadbalancingv2";
989
+ readonly resource: "listener";
990
+ }>
991
+ | string;
992
+ readonly Actions: globalThis.ReadonlyArray<Action>;
993
+ readonly Priority: number;
994
+ readonly Conditions: ResourceInputItems;
995
+ readonly Transforms?: ResourceInputItems_1;
996
+ readonly Tags?: ResourceInputItems_2;
997
+ }
998
+
999
+ export const AWSListenerRuleResourceSchema =
1000
+ ResourceSchemaAnnotationSchema.make({
1001
+ provider: "aws",
1002
+ service: "elasticloadbalancingv2",
1003
+ resource: "listenerrule",
1004
+ operation: "create",
1005
+ stateSecretOutputKeys: [],
1006
+ replacement: {
1007
+ order: "createBeforeDestroy",
1008
+ properties: [["ListenerArn"]],
1009
+ },
1010
+ primaryIdentifier: ["/properties/RuleArn"],
1011
+ });
1012
+
1013
+ export const AWSListenerRulePropsSchema = annotateResourceSchema(
1014
+ Schema.Struct({
1015
+ ListenerArn: Schema.optionalKey(
1016
+ Schema.Union([
1017
+ Schema.Union([
1018
+ ResourceReferenceSchema(
1019
+ Schema.Struct({
1020
+ provider: Schema.Literal("aws"),
1021
+ service: Schema.Literal("elasticloadbalancingv2"),
1022
+ resource: Schema.Literal("listener"),
1023
+ }),
1024
+ {
1025
+ value: null,
1026
+ outputs: [
1027
+ {
1028
+ source: ["ListenerArn"],
1029
+ target: [],
1030
+ },
1031
+ ],
1032
+ },
1033
+ ).annotate({ expected: "ResourceEntity" }),
1034
+ ]),
1035
+ Schema.String.annotate({
1036
+ description: "The Amazon Resource Name (ARN) of the listener.",
1037
+ }),
1038
+ ]),
1039
+ ),
1040
+ Actions: Schema.Array(Action)
1041
+ .annotate({
1042
+ description:
1043
+ "The actions.\n The rule must include exactly one of the following types of actions: ``forward``, ``fixed-response``, or ``redirect``, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.",
1044
+ })
1045
+ .check(
1046
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
1047
+ ),
1048
+ Priority: Schema.Number.annotate({
1049
+ description:
1050
+ "The rule priority. A listener can't have multiple rules with the same priority.\n If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.",
1051
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
1052
+ Conditions: ResourceInputItems,
1053
+ Transforms: Schema.optionalKey(ResourceInputItems_1),
1054
+ Tags: Schema.optionalKey(ResourceInputItems_2),
1055
+ }),
1056
+ AWSListenerRuleResourceSchema,
1057
+ );
1058
+
1059
+ export interface AWSListenerRuleOutputs {
1060
+ readonly RuleArn?: string;
1061
+ readonly IsDefault?: boolean;
1062
+ }
1063
+
1064
+ export const AWSListenerRuleOutputsSchema = Schema.Struct({
1065
+ RuleArn: Schema.optionalKey(Schema.String.annotate({ description: "" })),
1066
+ IsDefault: Schema.optionalKey(Schema.Boolean.annotate({ description: "" })),
1067
+ });
1068
+
1069
+ export interface AWSListenerRuleRequest {
1070
+ readonly ListenerArn?: string;
1071
+ readonly Actions: globalThis.ReadonlyArray<Action_1>;
1072
+ readonly Priority: number;
1073
+ readonly Conditions: ResourceInputItems;
1074
+ readonly Transforms?: ResourceInputItems_1;
1075
+ readonly Tags?: ResourceInputItems_2;
1076
+ }
1077
+
1078
+ export const AWSListenerRuleRequestSchema = Schema.Struct({
1079
+ ListenerArn: Schema.optionalKey(
1080
+ Schema.String.annotate({
1081
+ description: "The Amazon Resource Name (ARN) of the listener.",
1082
+ }),
1083
+ ),
1084
+ Actions: Schema.Array(Action_1)
1085
+ .annotate({
1086
+ description:
1087
+ "The actions.\n The rule must include exactly one of the following types of actions: ``forward``, ``fixed-response``, or ``redirect``, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.",
1088
+ })
1089
+ .check(
1090
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
1091
+ ),
1092
+ Priority: Schema.Number.annotate({
1093
+ description:
1094
+ "The rule priority. A listener can't have multiple rules with the same priority.\n If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.",
1095
+ }).check(Schema.isInt().annotate({ expected: "an integer" })),
1096
+ Conditions: ResourceInputItems,
1097
+ Transforms: Schema.optionalKey(ResourceInputItems_1),
1098
+ Tags: Schema.optionalKey(ResourceInputItems_2),
1099
+ });
1100
+
1101
+ /**
1102
+ * The AWSListenerRuleRelationshipIssues array lists inputs that can use several outputs
1103
+ * from one source type. Each input retains its provider value until a reviewed
1104
+ * mapping chooses an output.
1105
+ */
1106
+ export const AWSListenerRuleRelationshipIssues = [];
1107
+
1108
+ export const AWSListenerRuleResourceTypeSchema = Schema.Struct({
1109
+ provider: Schema.Literal("aws"),
1110
+ service: Schema.Literal("elasticloadbalancingv2"),
1111
+ resource: Schema.Literal("listenerrule"),
1112
+ });
1113
+
1114
+ /**
1115
+ * The AWSListenerRuleResource class retains its owning stack across declarations.
1116
+ * Applied output properties are ordinary values maintained by the lifecycle.
1117
+ */
1118
+ export class AWSListenerRuleResource<
1119
+ Props = AWSListenerRuleProps,
1120
+ > extends ResourceEntity<{
1121
+ readonly provider: "aws";
1122
+ readonly service: "elasticloadbalancingv2";
1123
+ readonly resource: "listenerrule";
1124
+ }> {
1125
+ constructor(
1126
+ key: ResourceKey,
1127
+ readonly props: Props,
1128
+ private readonly binding?: ResourceOutputBinding,
1129
+ ) {
1130
+ super({
1131
+ key,
1132
+ resourceType: {
1133
+ provider: "aws",
1134
+ service: "elasticloadbalancingv2",
1135
+ resource: "listenerrule",
1136
+ },
1137
+ });
1138
+ }
1139
+
1140
+ /**
1141
+ * Successful lifecycle writes update this value for declarations owned by the stack.
1142
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
1143
+ */
1144
+ get RuleArn(): Required<AWSListenerRuleOutputs>["RuleArn"] {
1145
+ const value: Required<AWSListenerRuleOutputs>["RuleArn"] =
1146
+ ResourceOutputBinding.value(
1147
+ this.binding,
1148
+ this.key,
1149
+ "RuleArn",
1150
+ Schema.requiredKey(AWSListenerRuleOutputsSchema.fields.RuleArn),
1151
+ );
1152
+ return value;
1153
+ }
1154
+
1155
+ /**
1156
+ * Successful lifecycle writes update this value for declarations owned by the stack.
1157
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
1158
+ */
1159
+ get IsDefault(): Required<AWSListenerRuleOutputs>["IsDefault"] {
1160
+ const value: Required<AWSListenerRuleOutputs>["IsDefault"] =
1161
+ ResourceOutputBinding.value(
1162
+ this.binding,
1163
+ this.key,
1164
+ "IsDefault",
1165
+ Schema.requiredKey(AWSListenerRuleOutputsSchema.fields.IsDefault),
1166
+ );
1167
+ return value;
1168
+ }
1169
+ }
1170
+
1171
+ /**
1172
+ * Callers must validate properties before constructing the declaration.
1173
+ * Compatible resources can depend on it before apply supplies provider values.
1174
+ * Reading applied outputs requires a binding to the owning stack.
1175
+ */
1176
+ export function createAWSListenerRuleDeclaration<Props>(
1177
+ key: ResourceKey,
1178
+ props: Props,
1179
+ binding?: ResourceOutputBinding,
1180
+ ): AWSListenerRuleResource<Props> {
1181
+ const resource: AWSListenerRuleResource<Props> =
1182
+ new AWSListenerRuleResource<Props>(key, props, binding);
1183
+
1184
+ return resource;
1185
+ }
1186
+
1187
+ /**
1188
+ * The AWSListenerRule resource factory registers a validated declaration in the
1189
+ * stack graph. Its outputs become available after apply saves the resource.
1190
+ */
1191
+ export const AWSListenerRule = Effect.fn("AWSListenerRule")(function* (input: {
1192
+ logicalId: string;
1193
+ props: AWSListenerRuleProps;
1194
+ }) {
1195
+ const graph = yield* ResourceGraphBuilder;
1196
+
1197
+ const key: ResourceKey = { logicalId: input.logicalId };
1198
+
1199
+ const declaration = yield* graph.resource(key);
1200
+
1201
+ const props = yield* Schema.decodeEffect(AWSListenerRulePropsSchema)(
1202
+ input.props,
1203
+ );
1204
+
1205
+ yield* declaration.registerEntity(AWSListenerRuleResourceTypeSchema, {
1206
+ propsSchema: AWSListenerRulePropsSchema,
1207
+ requestSchema: AWSListenerRuleRequestSchema,
1208
+ outputsSchema: AWSListenerRuleOutputsSchema,
1209
+ props,
1210
+ });
1211
+
1212
+ const resource: AWSListenerRuleResource = createAWSListenerRuleDeclaration(
1213
+ key,
1214
+ props,
1215
+ declaration.outputs,
1216
+ );
1217
+
1218
+ return resource;
1219
+ });