aws-cdk-lib 2.200.2__py3-none-any.whl → 2.224.0__py3-none-any.whl

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.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (569) hide show
  1. aws_cdk/__init__.py +1349 -373
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +12 -2
  5. aws_cdk/aws_accessanalyzer/__init__.py +323 -6
  6. aws_cdk/aws_acmpca/__init__.py +53 -10
  7. aws_cdk/aws_aiops/__init__.py +1019 -0
  8. aws_cdk/aws_amazonmq/__init__.py +357 -313
  9. aws_cdk/aws_amplify/__init__.py +173 -17
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
  11. aws_cdk/aws_apigateway/__init__.py +1017 -155
  12. aws_cdk/aws_apigatewayv2/__init__.py +2796 -379
  13. aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
  14. aws_cdk/aws_appconfig/__init__.py +298 -43
  15. aws_cdk/aws_appflow/__init__.py +151 -6
  16. aws_cdk/aws_appintegrations/__init__.py +546 -6
  17. aws_cdk/aws_applicationautoscaling/__init__.py +29 -6
  18. aws_cdk/aws_applicationinsights/__init__.py +13 -2
  19. aws_cdk/aws_applicationsignals/__init__.py +374 -6
  20. aws_cdk/aws_appmesh/__init__.py +94 -26
  21. aws_cdk/aws_apprunner/__init__.py +66 -18
  22. aws_cdk/aws_appstream/__init__.py +309 -55
  23. aws_cdk/aws_appsync/__init__.py +227 -53
  24. aws_cdk/aws_apptest/__init__.py +71 -2
  25. aws_cdk/aws_aps/__init__.py +1875 -132
  26. aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
  27. aws_cdk/aws_arczonalshift/__init__.py +39 -12
  28. aws_cdk/aws_athena/__init__.py +365 -29
  29. aws_cdk/aws_auditmanager/__init__.py +71 -2
  30. aws_cdk/aws_autoscaling/__init__.py +135 -55
  31. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  32. aws_cdk/aws_autoscalingplans/__init__.py +13 -2
  33. aws_cdk/aws_b2bi/__init__.py +1819 -99
  34. aws_cdk/aws_backup/__init__.py +317 -28
  35. aws_cdk/aws_backupgateway/__init__.py +13 -2
  36. aws_cdk/aws_batch/__init__.py +1405 -178
  37. aws_cdk/aws_bcmdataexports/__init__.py +21 -2
  38. aws_cdk/aws_bedrock/__init__.py +6747 -627
  39. aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
  40. aws_cdk/aws_billingconductor/__init__.py +197 -11
  41. aws_cdk/aws_budgets/__init__.py +42 -4
  42. aws_cdk/aws_cassandra/__init__.py +247 -6
  43. aws_cdk/aws_ce/__init__.py +35 -6
  44. aws_cdk/aws_certificatemanager/__init__.py +237 -32
  45. aws_cdk/aws_chatbot/__init__.py +70 -6
  46. aws_cdk/aws_cleanrooms/__init__.py +709 -206
  47. aws_cdk/aws_cleanroomsml/__init__.py +13 -2
  48. aws_cdk/aws_cloud9/__init__.py +13 -2
  49. aws_cdk/aws_cloudformation/__init__.py +345 -166
  50. aws_cdk/aws_cloudfront/__init__.py +2101 -680
  51. aws_cdk/aws_cloudfront/experimental/__init__.py +108 -16
  52. aws_cdk/aws_cloudfront_origins/__init__.py +614 -73
  53. aws_cdk/aws_cloudtrail/__init__.py +301 -17
  54. aws_cdk/aws_cloudwatch/__init__.py +1414 -153
  55. aws_cdk/aws_codeartifact/__init__.py +35 -6
  56. aws_cdk/aws_codebuild/__init__.py +1103 -118
  57. aws_cdk/aws_codecommit/__init__.py +23 -9
  58. aws_cdk/aws_codeconnections/__init__.py +13 -2
  59. aws_cdk/aws_codedeploy/__init__.py +67 -6
  60. aws_cdk/aws_codeguruprofiler/__init__.py +74 -2
  61. aws_cdk/aws_codegurureviewer/__init__.py +13 -2
  62. aws_cdk/aws_codepipeline/__init__.py +127 -64
  63. aws_cdk/aws_codepipeline_actions/__init__.py +749 -0
  64. aws_cdk/aws_codestar/__init__.py +13 -2
  65. aws_cdk/aws_codestarconnections/__init__.py +35 -6
  66. aws_cdk/aws_codestarnotifications/__init__.py +16 -2
  67. aws_cdk/aws_cognito/__init__.py +814 -80
  68. aws_cdk/aws_cognito_identitypool/__init__.py +17 -12
  69. aws_cdk/aws_comprehend/__init__.py +24 -4
  70. aws_cdk/aws_config/__init__.py +191 -30
  71. aws_cdk/aws_connect/__init__.py +2736 -191
  72. aws_cdk/aws_connectcampaigns/__init__.py +13 -2
  73. aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
  74. aws_cdk/aws_controltower/__init__.py +35 -6
  75. aws_cdk/aws_cur/__init__.py +100 -4
  76. aws_cdk/aws_customerprofiles/__init__.py +617 -27
  77. aws_cdk/aws_databrew/__init__.py +68 -12
  78. aws_cdk/aws_datapipeline/__init__.py +42 -2
  79. aws_cdk/aws_datasync/__init__.py +723 -203
  80. aws_cdk/aws_datazone/__init__.py +4425 -608
  81. aws_cdk/aws_dax/__init__.py +83 -6
  82. aws_cdk/aws_deadline/__init__.py +321 -32
  83. aws_cdk/aws_detective/__init__.py +35 -6
  84. aws_cdk/aws_devicefarm/__init__.py +68 -12
  85. aws_cdk/aws_devopsguru/__init__.py +37 -6
  86. aws_cdk/aws_directoryservice/__init__.py +53 -4
  87. aws_cdk/aws_dlm/__init__.py +13 -2
  88. aws_cdk/aws_dms/__init__.py +184 -27
  89. aws_cdk/aws_docdb/__init__.py +323 -46
  90. aws_cdk/aws_docdbelastic/__init__.py +13 -2
  91. aws_cdk/aws_dsql/__init__.py +340 -12
  92. aws_cdk/aws_dynamodb/__init__.py +1463 -166
  93. aws_cdk/aws_ec2/__init__.py +9636 -1120
  94. aws_cdk/aws_ecr/__init__.py +631 -43
  95. aws_cdk/aws_ecr_assets/__init__.py +4 -0
  96. aws_cdk/aws_ecs/__init__.py +6524 -497
  97. aws_cdk/aws_ecs_patterns/__init__.py +2 -0
  98. aws_cdk/aws_efs/__init__.py +264 -24
  99. aws_cdk/aws_eks/__init__.py +1050 -218
  100. aws_cdk/aws_elasticache/__init__.py +373 -20
  101. aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
  102. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -2
  103. aws_cdk/aws_elasticloadbalancingv2/__init__.py +1670 -106
  104. aws_cdk/aws_elasticsearch/__init__.py +282 -9
  105. aws_cdk/aws_emr/__init__.py +187 -20
  106. aws_cdk/aws_emrcontainers/__init__.py +71 -2
  107. aws_cdk/aws_emrserverless/__init__.py +188 -3
  108. aws_cdk/aws_entityresolution/__init__.py +585 -58
  109. aws_cdk/aws_events/__init__.py +969 -124
  110. aws_cdk/aws_events_targets/__init__.py +310 -54
  111. aws_cdk/aws_eventschemas/__init__.py +46 -8
  112. aws_cdk/aws_evidently/__init__.py +57 -10
  113. aws_cdk/aws_evs/__init__.py +2244 -0
  114. aws_cdk/aws_finspace/__init__.py +71 -2
  115. aws_cdk/aws_fis/__init__.py +26 -4
  116. aws_cdk/aws_fms/__init__.py +35 -6
  117. aws_cdk/aws_forecast/__init__.py +24 -4
  118. aws_cdk/aws_frauddetector/__init__.py +79 -14
  119. aws_cdk/aws_fsx/__init__.py +1236 -142
  120. aws_cdk/aws_gamelift/__init__.py +653 -78
  121. aws_cdk/aws_gameliftstreams/__init__.py +38 -16
  122. aws_cdk/aws_globalaccelerator/__init__.py +55 -14
  123. aws_cdk/aws_glue/__init__.py +1368 -320
  124. aws_cdk/aws_grafana/__init__.py +13 -2
  125. aws_cdk/aws_greengrass/__init__.py +654 -32
  126. aws_cdk/aws_greengrassv2/__init__.py +53 -4
  127. aws_cdk/aws_groundstation/__init__.py +122 -6
  128. aws_cdk/aws_guardduty/__init__.py +1613 -123
  129. aws_cdk/aws_healthimaging/__init__.py +71 -2
  130. aws_cdk/aws_healthlake/__init__.py +42 -2
  131. aws_cdk/aws_iam/__init__.py +480 -140
  132. aws_cdk/aws_identitystore/__init__.py +24 -4
  133. aws_cdk/aws_imagebuilder/__init__.py +1433 -183
  134. aws_cdk/aws_inspector/__init__.py +38 -6
  135. aws_cdk/aws_inspectorv2/__init__.py +2285 -243
  136. aws_cdk/aws_internetmonitor/__init__.py +71 -2
  137. aws_cdk/aws_invoicing/__init__.py +13 -2
  138. aws_cdk/aws_iot/__init__.py +1730 -86
  139. aws_cdk/aws_iotanalytics/__init__.py +162 -8
  140. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
  141. aws_cdk/aws_iotevents/__init__.py +122 -6
  142. aws_cdk/aws_iotfleethub/__init__.py +71 -2
  143. aws_cdk/aws_iotfleetwise/__init__.py +195 -14
  144. aws_cdk/aws_iotsitewise/__init__.py +1837 -89
  145. aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
  146. aws_cdk/aws_iottwinmaker/__init__.py +115 -10
  147. aws_cdk/aws_iotwireless/__init__.py +649 -22
  148. aws_cdk/aws_ivs/__init__.py +561 -57
  149. aws_cdk/aws_ivschat/__init__.py +24 -4
  150. aws_cdk/aws_kafkaconnect/__init__.py +35 -6
  151. aws_cdk/aws_kendra/__init__.py +120 -28
  152. aws_cdk/aws_kendraranking/__init__.py +13 -2
  153. aws_cdk/aws_kinesis/__init__.py +622 -22
  154. aws_cdk/aws_kinesisanalytics/__init__.py +467 -94
  155. aws_cdk/aws_kinesisanalyticsv2/__init__.py +201 -11
  156. aws_cdk/aws_kinesisfirehose/__init__.py +3077 -295
  157. aws_cdk/aws_kinesisvideo/__init__.py +24 -4
  158. aws_cdk/aws_kms/__init__.py +188 -41
  159. aws_cdk/aws_lakeformation/__init__.py +80 -15
  160. aws_cdk/aws_lambda/__init__.py +2101 -252
  161. aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
  162. aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
  163. aws_cdk/aws_launchwizard/__init__.py +13 -2
  164. aws_cdk/aws_lex/__init__.py +871 -8
  165. aws_cdk/aws_licensemanager/__init__.py +24 -4
  166. aws_cdk/aws_lightsail/__init__.py +2159 -975
  167. aws_cdk/aws_location/__init__.py +618 -14
  168. aws_cdk/aws_logs/__init__.py +5904 -956
  169. aws_cdk/aws_lookoutequipment/__init__.py +13 -2
  170. aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
  171. aws_cdk/aws_lookoutvision/__init__.py +71 -2
  172. aws_cdk/aws_m2/__init__.py +94 -19
  173. aws_cdk/aws_macie/__init__.py +49 -11
  174. aws_cdk/aws_managedblockchain/__init__.py +180 -6
  175. aws_cdk/aws_mediaconnect/__init__.py +101 -18
  176. aws_cdk/aws_mediaconvert/__init__.py +35 -6
  177. aws_cdk/aws_medialive/__init__.py +1239 -35
  178. aws_cdk/aws_mediapackage/__init__.py +59 -12
  179. aws_cdk/aws_mediapackagev2/__init__.py +1607 -225
  180. aws_cdk/aws_mediastore/__init__.py +13 -2
  181. aws_cdk/aws_mediatailor/__init__.py +583 -12
  182. aws_cdk/aws_memorydb/__init__.py +271 -12
  183. aws_cdk/aws_mpa/__init__.py +1495 -0
  184. aws_cdk/aws_msk/__init__.py +104 -18
  185. aws_cdk/aws_mwaa/__init__.py +121 -9
  186. aws_cdk/aws_neptune/__init__.py +290 -78
  187. aws_cdk/aws_neptunegraph/__init__.py +24 -4
  188. aws_cdk/aws_networkfirewall/__init__.py +1289 -273
  189. aws_cdk/aws_networkmanager/__init__.py +349 -33
  190. aws_cdk/aws_nimblestudio/__init__.py +75 -8
  191. aws_cdk/aws_notifications/__init__.py +317 -12
  192. aws_cdk/aws_notificationscontacts/__init__.py +13 -2
  193. aws_cdk/aws_oam/__init__.py +24 -4
  194. aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
  195. aws_cdk/aws_odb/__init__.py +5872 -0
  196. aws_cdk/aws_omics/__init__.py +2495 -529
  197. aws_cdk/aws_opensearchserverless/__init__.py +312 -37
  198. aws_cdk/aws_opensearchservice/__init__.py +495 -19
  199. aws_cdk/aws_opsworks/__init__.py +235 -139
  200. aws_cdk/aws_opsworkscm/__init__.py +16 -52
  201. aws_cdk/aws_organizations/__init__.py +70 -10
  202. aws_cdk/aws_osis/__init__.py +167 -2
  203. aws_cdk/aws_panorama/__init__.py +151 -6
  204. aws_cdk/aws_paymentcryptography/__init__.py +24 -4
  205. aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
  206. aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
  207. aws_cdk/aws_pcs/__init__.py +387 -68
  208. aws_cdk/aws_personalize/__init__.py +46 -8
  209. aws_cdk/aws_pinpoint/__init__.py +329 -38
  210. aws_cdk/aws_pinpointemail/__init__.py +48 -8
  211. aws_cdk/aws_pipes/__init__.py +12 -2
  212. aws_cdk/aws_proton/__init__.py +37 -6
  213. aws_cdk/aws_qbusiness/__init__.py +635 -34
  214. aws_cdk/aws_qldb/__init__.py +24 -4
  215. aws_cdk/aws_quicksight/__init__.py +7900 -1160
  216. aws_cdk/aws_ram/__init__.py +24 -4
  217. aws_cdk/aws_rbin/__init__.py +12 -2
  218. aws_cdk/aws_rds/__init__.py +3345 -512
  219. aws_cdk/aws_redshift/__init__.py +143 -20
  220. aws_cdk/aws_redshiftserverless/__init__.py +692 -4
  221. aws_cdk/aws_refactorspaces/__init__.py +64 -14
  222. aws_cdk/aws_rekognition/__init__.py +93 -6
  223. aws_cdk/aws_resiliencehub/__init__.py +24 -4
  224. aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
  225. aws_cdk/aws_resourcegroups/__init__.py +82 -4
  226. aws_cdk/aws_robomaker/__init__.py +72 -12
  227. aws_cdk/aws_rolesanywhere/__init__.py +180 -6
  228. aws_cdk/aws_route53/__init__.py +3273 -1442
  229. aws_cdk/aws_route53_targets/__init__.py +3 -0
  230. aws_cdk/aws_route53profiles/__init__.py +37 -6
  231. aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
  232. aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
  233. aws_cdk/aws_route53resolver/__init__.py +226 -36
  234. aws_cdk/aws_rtbfabric/__init__.py +3498 -0
  235. aws_cdk/aws_rum/__init__.py +13 -2
  236. aws_cdk/aws_s3/__init__.py +1291 -158
  237. aws_cdk/aws_s3_assets/__init__.py +11 -11
  238. aws_cdk/aws_s3_deployment/__init__.py +147 -11
  239. aws_cdk/aws_s3_notifications/__init__.py +7 -7
  240. aws_cdk/aws_s3express/__init__.py +266 -8
  241. aws_cdk/aws_s3objectlambda/__init__.py +68 -16
  242. aws_cdk/aws_s3outposts/__init__.py +46 -8
  243. aws_cdk/aws_s3tables/__init__.py +2000 -323
  244. aws_cdk/aws_s3vectors/__init__.py +1378 -0
  245. aws_cdk/aws_sagemaker/__init__.py +6617 -363
  246. aws_cdk/aws_sam/__init__.py +79 -14
  247. aws_cdk/aws_scheduler/__init__.py +237 -4
  248. aws_cdk/aws_sdb/__init__.py +12 -2
  249. aws_cdk/aws_secretsmanager/__init__.py +170 -14
  250. aws_cdk/aws_securityhub/__init__.py +3121 -176
  251. aws_cdk/aws_securitylake/__init__.py +46 -8
  252. aws_cdk/aws_servicecatalog/__init__.py +405 -246
  253. aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
  254. aws_cdk/aws_servicediscovery/__init__.py +140 -47
  255. aws_cdk/aws_ses/__init__.py +1231 -140
  256. aws_cdk/aws_shield/__init__.py +46 -8
  257. aws_cdk/aws_signer/__init__.py +27 -4
  258. aws_cdk/aws_simspaceweaver/__init__.py +42 -2
  259. aws_cdk/aws_smsvoice/__init__.py +4716 -0
  260. aws_cdk/aws_sns/__init__.py +245 -29
  261. aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
  262. aws_cdk/aws_sqs/__init__.py +211 -14
  263. aws_cdk/aws_ssm/__init__.py +401 -58
  264. aws_cdk/aws_ssmcontacts/__init__.py +46 -8
  265. aws_cdk/aws_ssmguiconnect/__init__.py +13 -2
  266. aws_cdk/aws_ssmincidents/__init__.py +24 -4
  267. aws_cdk/aws_ssmquicksetup/__init__.py +383 -6
  268. aws_cdk/aws_sso/__init__.py +70 -12
  269. aws_cdk/aws_stepfunctions/__init__.py +615 -70
  270. aws_cdk/aws_stepfunctions_tasks/__init__.py +781 -144
  271. aws_cdk/aws_supportapp/__init__.py +39 -6
  272. aws_cdk/aws_synthetics/__init__.py +861 -75
  273. aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
  274. aws_cdk/aws_timestream/__init__.py +104 -8
  275. aws_cdk/aws_transfer/__init__.py +784 -87
  276. aws_cdk/aws_verifiedpermissions/__init__.py +145 -17
  277. aws_cdk/aws_voiceid/__init__.py +41 -2
  278. aws_cdk/aws_vpclattice/__init__.py +376 -30
  279. aws_cdk/aws_waf/__init__.py +79 -14
  280. aws_cdk/aws_wafregional/__init__.py +123 -22
  281. aws_cdk/aws_wafv2/__init__.py +1179 -60
  282. aws_cdk/aws_wisdom/__init__.py +1401 -90
  283. aws_cdk/aws_workspaces/__init__.py +93 -6
  284. aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
  285. aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
  286. aws_cdk/aws_workspacesweb/__init__.py +1057 -141
  287. aws_cdk/aws_xray/__init__.py +48 -8
  288. aws_cdk/cloud_assembly_schema/__init__.py +231 -6
  289. aws_cdk/custom_resources/__init__.py +40 -12
  290. aws_cdk/cx_api/__init__.py +85 -14
  291. aws_cdk/interfaces/__init__.py +739 -0
  292. aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
  293. aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
  294. aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
  295. aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
  296. aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
  297. aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
  298. aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
  299. aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
  300. aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
  301. aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
  302. aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
  303. aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
  304. aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
  305. aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
  306. aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
  307. aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
  308. aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
  309. aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
  310. aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
  311. aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
  312. aws_cdk/interfaces/aws_aps/__init__.py +558 -0
  313. aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
  314. aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
  315. aws_cdk/interfaces/aws_athena/__init__.py +575 -0
  316. aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
  317. aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
  318. aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
  319. aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
  320. aws_cdk/interfaces/aws_backup/__init__.py +955 -0
  321. aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
  322. aws_cdk/interfaces/aws_batch/__init__.py +681 -0
  323. aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
  324. aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
  325. aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
  326. aws_cdk/interfaces/aws_billing/__init__.py +146 -0
  327. aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
  328. aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
  329. aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
  330. aws_cdk/interfaces/aws_ce/__init__.py +352 -0
  331. aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
  332. aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
  333. aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
  334. aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
  335. aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
  336. aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
  337. aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
  338. aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
  339. aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
  340. aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
  341. aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
  342. aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
  343. aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
  344. aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
  345. aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
  346. aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
  347. aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
  348. aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
  349. aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
  350. aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
  351. aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
  352. aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
  353. aws_cdk/interfaces/aws_config/__init__.py +1165 -0
  354. aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
  355. aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
  356. aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
  357. aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
  358. aws_cdk/interfaces/aws_cur/__init__.py +146 -0
  359. aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
  360. aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
  361. aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
  362. aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
  363. aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
  364. aws_cdk/interfaces/aws_dax/__init__.py +364 -0
  365. aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
  366. aws_cdk/interfaces/aws_detective/__init__.py +364 -0
  367. aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
  368. aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
  369. aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
  370. aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
  371. aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
  372. aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
  373. aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
  374. aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
  375. aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
  376. aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
  377. aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
  378. aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
  379. aws_cdk/interfaces/aws_efs/__init__.py +392 -0
  380. aws_cdk/interfaces/aws_eks/__init__.py +948 -0
  381. aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
  382. aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
  383. aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
  384. aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
  385. aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
  386. aws_cdk/interfaces/aws_emr/__init__.py +913 -0
  387. aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
  388. aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
  389. aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
  390. aws_cdk/interfaces/aws_events/__init__.py +872 -0
  391. aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
  392. aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
  393. aws_cdk/interfaces/aws_evs/__init__.py +166 -0
  394. aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
  395. aws_cdk/interfaces/aws_fis/__init__.py +271 -0
  396. aws_cdk/interfaces/aws_fms/__init__.py +364 -0
  397. aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
  398. aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
  399. aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
  400. aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
  401. aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
  402. aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
  403. aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
  404. aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
  405. aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
  406. aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
  407. aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
  408. aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
  409. aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
  410. aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
  411. aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
  412. aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
  413. aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
  414. aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
  415. aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
  416. aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
  417. aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
  418. aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
  419. aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
  420. aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
  421. aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
  422. aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
  423. aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
  424. aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
  425. aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
  426. aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
  427. aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
  428. aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
  429. aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
  430. aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
  431. aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
  432. aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
  433. aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
  434. aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
  435. aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
  436. aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
  437. aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
  438. aws_cdk/interfaces/aws_kms/__init__.py +376 -0
  439. aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
  440. aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
  441. aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
  442. aws_cdk/interfaces/aws_lex/__init__.py +513 -0
  443. aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
  444. aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
  445. aws_cdk/interfaces/aws_location/__init__.py +879 -0
  446. aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
  447. aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
  448. aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
  449. aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
  450. aws_cdk/interfaces/aws_m2/__init__.py +352 -0
  451. aws_cdk/interfaces/aws_macie/__init__.py +512 -0
  452. aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
  453. aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
  454. aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
  455. aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
  456. aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
  457. aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
  458. aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
  459. aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
  460. aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
  461. aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
  462. aws_cdk/interfaces/aws_msk/__init__.py +764 -0
  463. aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
  464. aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
  465. aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
  466. aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
  467. aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
  468. aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
  469. aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
  470. aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
  471. aws_cdk/interfaces/aws_oam/__init__.py +249 -0
  472. aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
  473. aws_cdk/interfaces/aws_odb/__init__.py +562 -0
  474. aws_cdk/interfaces/aws_omics/__init__.py +838 -0
  475. aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
  476. aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
  477. aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
  478. aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
  479. aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
  480. aws_cdk/interfaces/aws_osis/__init__.py +146 -0
  481. aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
  482. aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
  483. aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
  484. aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
  485. aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
  486. aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
  487. aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
  488. aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
  489. aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
  490. aws_cdk/interfaces/aws_proton/__init__.py +360 -0
  491. aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
  492. aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
  493. aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
  494. aws_cdk/interfaces/aws_ram/__init__.py +249 -0
  495. aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
  496. aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
  497. aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
  498. aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
  499. aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
  500. aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
  501. aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
  502. aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
  503. aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
  504. aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
  505. aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
  506. aws_cdk/interfaces/aws_route53/__init__.py +804 -0
  507. aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
  508. aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
  509. aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
  510. aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
  511. aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
  512. aws_cdk/interfaces/aws_rum/__init__.py +146 -0
  513. aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
  514. aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
  515. aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
  516. aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
  517. aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
  518. aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
  519. aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
  520. aws_cdk/interfaces/aws_sam/__init__.py +603 -0
  521. aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
  522. aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
  523. aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
  524. aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
  525. aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
  526. aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
  527. aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
  528. aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
  529. aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
  530. aws_cdk/interfaces/aws_shield/__init__.py +455 -0
  531. aws_cdk/interfaces/aws_signer/__init__.py +266 -0
  532. aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
  533. aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
  534. aws_cdk/interfaces/aws_sns/__init__.py +455 -0
  535. aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
  536. aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
  537. aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
  538. aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
  539. aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
  540. aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
  541. aws_cdk/interfaces/aws_sso/__init__.py +797 -0
  542. aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
  543. aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
  544. aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
  545. aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
  546. aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
  547. aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
  548. aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
  549. aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
  550. aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
  551. aws_cdk/interfaces/aws_waf/__init__.py +764 -0
  552. aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
  553. aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
  554. aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
  555. aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
  556. aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
  557. aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
  558. aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
  559. aws_cdk/interfaces/aws_xray/__init__.py +457 -0
  560. aws_cdk/pipelines/__init__.py +192 -42
  561. aws_cdk/region_info/__init__.py +3 -0
  562. aws_cdk/triggers/__init__.py +60 -18
  563. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +338 -16
  564. aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
  565. aws_cdk_lib-2.200.2.dist-info/RECORD +0 -304
  566. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
  567. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
  568. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
  569. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
@@ -458,6 +458,32 @@ get_message_integration = apigateway.AwsIntegration(
458
458
  )
459
459
  ```
460
460
 
461
+ ### Lambda Integration Permissions
462
+
463
+ By default, creating a `LambdaIntegration` will add a permission for API Gateway to invoke your AWS Lambda function, scoped to the specific method which uses the integration.
464
+
465
+ If you reuse the same AWS Lambda function for many integrations, the AWS Lambda permission policy size can be exceeded by adding a separate policy statement for each method which invokes the AWS Lambda function. To avoid this, you can opt to scope permissions to any method on the API by setting `scopePermissionToMethod` to `false`, and this will ensure only a single policy statement is added to the AWS Lambda permission policy.
466
+
467
+ ```python
468
+ # book: apigateway.Resource
469
+ # backend: lambda.Function
470
+
471
+
472
+ get_book_integration = apigateway.LambdaIntegration(backend,
473
+ scope_permission_to_method=False
474
+ )
475
+ create_book_integration = apigateway.LambdaIntegration(backend,
476
+ scope_permission_to_method=False
477
+ )
478
+
479
+ book.add_method("GET", get_book_integration)
480
+ book.add_method("POST", create_book_integration)
481
+ ```
482
+
483
+ In the above example, a single permission is added, shared by both `getBookIntegration` and `createBookIntegration`.
484
+
485
+ Note that setting `scopePermissionToMethod` to `false` will always allow test invocations, no matter the value specified for `allowTestInvoke`.
486
+
461
487
  ## Usage Plan & API Keys
462
488
 
463
489
  A usage plan specifies who can access one or more deployed API stages and methods, and the rate at which they can be
@@ -1845,6 +1871,15 @@ api = apigateway.SpecRestApi(self, "books-api",
1845
1871
  )
1846
1872
  ```
1847
1873
 
1874
+ `SpecRestApi` also supports binary media types, similar to `RestApi`:
1875
+
1876
+ ```python
1877
+ api = apigateway.SpecRestApi(self, "books-api",
1878
+ api_definition=apigateway.ApiDefinition.from_asset("path-to-file.json"),
1879
+ binary_media_types=["image/png", "application/pdf"]
1880
+ )
1881
+ ```
1882
+
1848
1883
  ### Endpoint configuration
1849
1884
 
1850
1885
  By default, `SpecRestApi` will create an edge optimized endpoint.
@@ -1975,13 +2010,60 @@ from ..aws_iam import (
1975
2010
  PolicyStatement as _PolicyStatement_0fe33853,
1976
2011
  )
1977
2012
  from ..aws_kinesisfirehose import CfnDeliveryStream as _CfnDeliveryStream_8f3b1735
1978
- from ..aws_kms import IKey as _IKey_5f11635f
1979
2013
  from ..aws_lambda import IFunction as _IFunction_6adb0ab8
1980
2014
  from ..aws_logs import ILogGroup as _ILogGroup_3c4fa718
1981
2015
  from ..aws_s3 import IBucket as _IBucket_42e086fd
1982
2016
  from ..aws_s3_assets import AssetOptions as _AssetOptions_2aa69621
1983
2017
  from ..aws_sagemaker import IEndpoint as _IEndpoint_58fe201a
1984
2018
  from ..aws_stepfunctions import IStateMachine as _IStateMachine_73e8d2b0
2019
+ from ..interfaces.aws_apigateway import (
2020
+ AccountReference as _AccountReference_3ce7fd09,
2021
+ ApiKeyReference as _ApiKeyReference_6382fd3a,
2022
+ AuthorizerReference as _AuthorizerReference_9227c976,
2023
+ BasePathMappingReference as _BasePathMappingReference_0fb943e6,
2024
+ BasePathMappingV2Reference as _BasePathMappingV2Reference_bd6138fa,
2025
+ ClientCertificateReference as _ClientCertificateReference_dc31fb12,
2026
+ DeploymentReference as _DeploymentReference_d6bd3ce1,
2027
+ DocumentationPartReference as _DocumentationPartReference_95653832,
2028
+ DocumentationVersionReference as _DocumentationVersionReference_b6913e6e,
2029
+ DomainNameAccessAssociationReference as _DomainNameAccessAssociationReference_558a7d70,
2030
+ DomainNameReference as _DomainNameReference_f4138423,
2031
+ DomainNameV2Reference as _DomainNameV2Reference_ca1122a1,
2032
+ GatewayResponseReference as _GatewayResponseReference_0f1f239c,
2033
+ IAccountRef as _IAccountRef_4b89af6a,
2034
+ IApiKeyRef as _IApiKeyRef_6e16b46a,
2035
+ IAuthorizerRef as _IAuthorizerRef_5e7c8723,
2036
+ IBasePathMappingRef as _IBasePathMappingRef_79bb1c6e,
2037
+ IBasePathMappingV2Ref as _IBasePathMappingV2Ref_e433a169,
2038
+ IClientCertificateRef as _IClientCertificateRef_2a4b2b38,
2039
+ IDeploymentRef as _IDeploymentRef_e5a0678c,
2040
+ IDocumentationPartRef as _IDocumentationPartRef_07703b39,
2041
+ IDocumentationVersionRef as _IDocumentationVersionRef_bdf6c8eb,
2042
+ IDomainNameAccessAssociationRef as _IDomainNameAccessAssociationRef_f9b99574,
2043
+ IDomainNameRef as _IDomainNameRef_8b0ccf94,
2044
+ IDomainNameV2Ref as _IDomainNameV2Ref_e2e9faf2,
2045
+ IGatewayResponseRef as _IGatewayResponseRef_d5aa66ef,
2046
+ IMethodRef as _IMethodRef_6ea24188,
2047
+ IModelRef as _IModelRef_19f34fa7,
2048
+ IRequestValidatorRef as _IRequestValidatorRef_ad0e2de5,
2049
+ IResourceRef as _IResourceRef_c7defb81,
2050
+ IRestApiRef as _IRestApiRef_72dcbda0,
2051
+ IStageRef as _IStageRef_b829c330,
2052
+ IUsagePlanKeyRef as _IUsagePlanKeyRef_465586fc,
2053
+ IUsagePlanRef as _IUsagePlanRef_7a28b470,
2054
+ IVpcLinkRef as _IVpcLinkRef_0afd9621,
2055
+ MethodReference as _MethodReference_cf812dcd,
2056
+ ModelReference as _ModelReference_19c194a0,
2057
+ RequestValidatorReference as _RequestValidatorReference_432e1849,
2058
+ ResourceReference as _ResourceReference_c72d8a5a,
2059
+ RestApiReference as _RestApiReference_0863f937,
2060
+ StageReference as _StageReference_3eb94694,
2061
+ UsagePlanKeyReference as _UsagePlanKeyReference_cfe985c6,
2062
+ UsagePlanReference as _UsagePlanReference_3d3ec4d2,
2063
+ VpcLinkReference as _VpcLinkReference_cccde188,
2064
+ )
2065
+ from ..interfaces.aws_kms import IKeyRef as _IKeyRef_d4fc6ef3
2066
+ from ..interfaces.aws_s3 import IBucketRef as _IBucketRef_3debe44e
1985
2067
 
1986
2068
 
1987
2069
  @jsii.data_type(
@@ -2195,6 +2277,15 @@ class AccessLogField(
2195
2277
  '''The API callers AWS account ID.'''
2196
2278
  return typing.cast(builtins.str, jsii.sinvoke(cls, "contextCallerAccountId", []))
2197
2279
 
2280
+ @jsii.member(jsii_name="contextConnectionId")
2281
+ @builtins.classmethod
2282
+ def context_connection_id(cls) -> builtins.str:
2283
+ '''A unique ID for the connection that can be used to make a callback to the client.
2284
+
2285
+ :see: https://docs.aws.amazon.com/apigateway/latest/developerguide/websocket-api-logging.html
2286
+ '''
2287
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "contextConnectionId", []))
2288
+
2198
2289
  @jsii.member(jsii_name="contextCustomDomainBasePathMatched")
2199
2290
  @builtins.classmethod
2200
2291
  def context_custom_domain_base_path_matched(cls) -> builtins.str:
@@ -2252,6 +2343,15 @@ class AccessLogField(
2252
2343
  '''A string containing a detailed validation error message.'''
2253
2344
  return typing.cast(builtins.str, jsii.sinvoke(cls, "contextErrorValidationErrorString", []))
2254
2345
 
2346
+ @jsii.member(jsii_name="contextEventType")
2347
+ @builtins.classmethod
2348
+ def context_event_type(cls) -> builtins.str:
2349
+ '''The event type: CONNECT, MESSAGE, or DISCONNECT.
2350
+
2351
+ :see: https://docs.aws.amazon.com/apigateway/latest/developerguide/websocket-api-logging.html
2352
+ '''
2353
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "contextEventType", []))
2354
+
2255
2355
  @jsii.member(jsii_name="contextExtendedRequestId")
2256
2356
  @builtins.classmethod
2257
2357
  def context_extended_request_id(cls) -> builtins.str:
@@ -2606,6 +2706,15 @@ class AccessLogField(
2606
2706
  '''
2607
2707
  return typing.cast(builtins.str, jsii.sinvoke(cls, "contextResponseOverrideStatus", []))
2608
2708
 
2709
+ @jsii.member(jsii_name="contextRouteKey")
2710
+ @builtins.classmethod
2711
+ def context_route_key(cls) -> builtins.str:
2712
+ '''The selected route key.
2713
+
2714
+ :see: https://docs.aws.amazon.com/apigateway/latest/developerguide/websocket-api-logging.html
2715
+ '''
2716
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "contextRouteKey", []))
2717
+
2609
2718
  @jsii.member(jsii_name="contextStage")
2610
2719
  @builtins.classmethod
2611
2720
  def context_stage(cls) -> builtins.str:
@@ -2699,6 +2808,15 @@ class AccessLogFormat(
2699
2808
  )
2700
2809
  '''
2701
2810
 
2811
+ def __init__(self, format: builtins.str) -> None:
2812
+ '''
2813
+ :param format: -
2814
+ '''
2815
+ if __debug__:
2816
+ type_hints = typing.get_type_hints(_typecheckingstub__0bc4acaae324fa465c0ae63ddfa13df8085530150092a3990e1815dea9b745ec)
2817
+ check_type(argname="argument format", value=format, expected_type=type_hints["format"])
2818
+ jsii.create(self.__class__, self, [format])
2819
+
2702
2820
  @jsii.member(jsii_name="clf")
2703
2821
  @builtins.classmethod
2704
2822
  def clf(cls) -> "AccessLogFormat":
@@ -2846,21 +2964,10 @@ class ApiDefinition(
2846
2964
 
2847
2965
  Example::
2848
2966
 
2849
- my_api_definition = apigateway.ApiDefinition.from_asset("path-to-file.json")
2850
- spec_rest_api = apigateway.SpecRestApi(self, "my-specrest-api",
2851
- deploy=False,
2852
- api_definition=my_api_definition
2853
- )
2854
-
2855
- # Use `stageName` to deploy to an existing stage
2856
- deployment = apigateway.Deployment(self, "my-deployment",
2857
- api=spec_rest_api,
2858
- stage_name="dev",
2859
- retain_deployments=True
2967
+ api = apigateway.SpecRestApi(self, "books-api",
2968
+ api_definition=apigateway.ApiDefinition.from_asset("path-to-file.json"),
2969
+ mode=apigateway.RestApiMode.MERGE
2860
2970
  )
2861
-
2862
- # Trigger a new deployment on OpenAPI definition updates
2863
- deployment.add_to_logical_id(my_api_definition)
2864
2971
  '''
2865
2972
 
2866
2973
  def __init__(self) -> None:
@@ -2875,7 +2982,7 @@ class ApiDefinition(
2875
2982
  deploy_time: typing.Optional[builtins.bool] = None,
2876
2983
  display_name: typing.Optional[builtins.str] = None,
2877
2984
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
2878
- source_kms_key: typing.Optional[_IKey_5f11635f] = None,
2985
+ source_kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
2879
2986
  asset_hash: typing.Optional[builtins.str] = None,
2880
2987
  asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
2881
2988
  bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -3007,7 +3114,7 @@ class ApiDefinition(
3007
3114
  def bind_after_create(
3008
3115
  self,
3009
3116
  _scope: _constructs_77d1e7e8.Construct,
3010
- _rest_api: "IRestApi",
3117
+ _rest_api: _IRestApiRef_72dcbda0,
3011
3118
  ) -> None:
3012
3119
  '''Called after the CFN RestApi resource has been created to allow the Api Definition to bind to it.
3013
3120
 
@@ -3310,7 +3417,7 @@ class AssetApiDefinition(
3310
3417
  deploy_time: typing.Optional[builtins.bool] = None,
3311
3418
  display_name: typing.Optional[builtins.str] = None,
3312
3419
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
3313
- source_kms_key: typing.Optional[_IKey_5f11635f] = None,
3420
+ source_kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
3314
3421
  asset_hash: typing.Optional[builtins.str] = None,
3315
3422
  asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
3316
3423
  bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -3364,7 +3471,7 @@ class AssetApiDefinition(
3364
3471
  def bind_after_create(
3365
3472
  self,
3366
3473
  scope: _constructs_77d1e7e8.Construct,
3367
- rest_api: "IRestApi",
3474
+ rest_api: _IRestApiRef_72dcbda0,
3368
3475
  ) -> None:
3369
3476
  '''Called after the CFN RestApi resource has been created to allow the Api Definition to bind to it.
3370
3477
 
@@ -3620,8 +3727,8 @@ class BasePathMapping(
3620
3727
  scope: _constructs_77d1e7e8.Construct,
3621
3728
  id: builtins.str,
3622
3729
  *,
3623
- domain_name: "IDomainName",
3624
- rest_api: "IRestApi",
3730
+ domain_name: _IDomainNameRef_8b0ccf94,
3731
+ rest_api: _IRestApiRef_72dcbda0,
3625
3732
  attach_to_stage: typing.Optional[builtins.bool] = None,
3626
3733
  base_path: typing.Optional[builtins.str] = None,
3627
3734
  stage: typing.Optional["Stage"] = None,
@@ -3766,8 +3873,8 @@ class BasePathMappingProps(BasePathMappingOptions):
3766
3873
  attach_to_stage: typing.Optional[builtins.bool] = None,
3767
3874
  base_path: typing.Optional[builtins.str] = None,
3768
3875
  stage: typing.Optional["Stage"] = None,
3769
- domain_name: "IDomainName",
3770
- rest_api: "IRestApi",
3876
+ domain_name: _IDomainNameRef_8b0ccf94,
3877
+ rest_api: _IRestApiRef_72dcbda0,
3771
3878
  ) -> None:
3772
3879
  '''
3773
3880
  :param attach_to_stage: Whether to attach the base path mapping to a stage. Use this property to create a base path mapping without attaching it to the Rest API default stage. This property is ignored if ``stage`` is provided. Default: - true
@@ -3846,18 +3953,18 @@ class BasePathMappingProps(BasePathMappingOptions):
3846
3953
  return typing.cast(typing.Optional["Stage"], result)
3847
3954
 
3848
3955
  @builtins.property
3849
- def domain_name(self) -> "IDomainName":
3956
+ def domain_name(self) -> _IDomainNameRef_8b0ccf94:
3850
3957
  '''The DomainName to associate with this base path mapping.'''
3851
3958
  result = self._values.get("domain_name")
3852
3959
  assert result is not None, "Required property 'domain_name' is missing"
3853
- return typing.cast("IDomainName", result)
3960
+ return typing.cast(_IDomainNameRef_8b0ccf94, result)
3854
3961
 
3855
3962
  @builtins.property
3856
- def rest_api(self) -> "IRestApi":
3963
+ def rest_api(self) -> _IRestApiRef_72dcbda0:
3857
3964
  '''The RestApi resource to target.'''
3858
3965
  result = self._values.get("rest_api")
3859
3966
  assert result is not None, "Required property 'rest_api' is missing"
3860
- return typing.cast("IRestApi", result)
3967
+ return typing.cast(_IRestApiRef_72dcbda0, result)
3861
3968
 
3862
3969
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3863
3970
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -3871,7 +3978,7 @@ class BasePathMappingProps(BasePathMappingOptions):
3871
3978
  )
3872
3979
 
3873
3980
 
3874
- @jsii.implements(_IInspectable_c2943556)
3981
+ @jsii.implements(_IInspectable_c2943556, _IAccountRef_4b89af6a)
3875
3982
  class CfnAccount(
3876
3983
  _CfnResource_9df397a6,
3877
3984
  metaclass=jsii.JSIIMeta,
@@ -3905,7 +4012,8 @@ class CfnAccount(
3905
4012
  *,
3906
4013
  cloud_watch_role_arn: typing.Optional[builtins.str] = None,
3907
4014
  ) -> None:
3908
- '''
4015
+ '''Create a new ``AWS::ApiGateway::Account``.
4016
+
3909
4017
  :param scope: Scope in which this resource is defined.
3910
4018
  :param id: Construct identifier for this resource (unique in its scope).
3911
4019
  :param cloud_watch_role_arn: The ARN of an Amazon CloudWatch role for the current Account.
@@ -3948,6 +4056,12 @@ class CfnAccount(
3948
4056
  '''The CloudFormation resource type name for this resource class.'''
3949
4057
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
3950
4058
 
4059
+ @builtins.property
4060
+ @jsii.member(jsii_name="accountRef")
4061
+ def account_ref(self) -> _AccountReference_3ce7fd09:
4062
+ '''A reference to a Account resource.'''
4063
+ return typing.cast(_AccountReference_3ce7fd09, jsii.get(self, "accountRef"))
4064
+
3951
4065
  @builtins.property
3952
4066
  @jsii.member(jsii_name="attrId")
3953
4067
  def attr_id(self) -> builtins.str:
@@ -4034,7 +4148,7 @@ class CfnAccountProps:
4034
4148
  )
4035
4149
 
4036
4150
 
4037
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
4151
+ @jsii.implements(_IInspectable_c2943556, _IApiKeyRef_6e16b46a, _ITaggable_36806126)
4038
4152
  class CfnApiKey(
4039
4153
  _CfnResource_9df397a6,
4040
4154
  metaclass=jsii.JSIIMeta,
@@ -4086,7 +4200,8 @@ class CfnApiKey(
4086
4200
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4087
4201
  value: typing.Optional[builtins.str] = None,
4088
4202
  ) -> None:
4089
- '''
4203
+ '''Create a new ``AWS::ApiGateway::ApiKey``.
4204
+
4090
4205
  :param scope: Scope in which this resource is defined.
4091
4206
  :param id: Construct identifier for this resource (unique in its scope).
4092
4207
  :param customer_id: An AWS Marketplace customer identifier, when integrating with the AWS SaaS Marketplace.
@@ -4115,6 +4230,27 @@ class CfnApiKey(
4115
4230
 
4116
4231
  jsii.create(self.__class__, self, [scope, id, props])
4117
4232
 
4233
+ @jsii.member(jsii_name="fromApiKeyId")
4234
+ @builtins.classmethod
4235
+ def from_api_key_id(
4236
+ cls,
4237
+ scope: _constructs_77d1e7e8.Construct,
4238
+ id: builtins.str,
4239
+ api_key_id: builtins.str,
4240
+ ) -> _IApiKeyRef_6e16b46a:
4241
+ '''Creates a new IApiKeyRef from a apiKeyId.
4242
+
4243
+ :param scope: -
4244
+ :param id: -
4245
+ :param api_key_id: -
4246
+ '''
4247
+ if __debug__:
4248
+ type_hints = typing.get_type_hints(_typecheckingstub__d28618723a7da86eac262dd6fcbd57647bc2aa89de83959534c6b5288f040fef)
4249
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4250
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4251
+ check_type(argname="argument api_key_id", value=api_key_id, expected_type=type_hints["api_key_id"])
4252
+ return typing.cast(_IApiKeyRef_6e16b46a, jsii.sinvoke(cls, "fromApiKeyId", [scope, id, api_key_id]))
4253
+
4118
4254
  @jsii.member(jsii_name="inspect")
4119
4255
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4120
4256
  '''Examines the CloudFormation resource and discloses attributes.
@@ -4145,6 +4281,12 @@ class CfnApiKey(
4145
4281
  '''The CloudFormation resource type name for this resource class.'''
4146
4282
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4147
4283
 
4284
+ @builtins.property
4285
+ @jsii.member(jsii_name="apiKeyRef")
4286
+ def api_key_ref(self) -> _ApiKeyReference_6382fd3a:
4287
+ '''A reference to a ApiKey resource.'''
4288
+ return typing.cast(_ApiKeyReference_6382fd3a, jsii.get(self, "apiKeyRef"))
4289
+
4148
4290
  @builtins.property
4149
4291
  @jsii.member(jsii_name="attrApiKeyId")
4150
4292
  def attr_api_key_id(self) -> builtins.str:
@@ -4550,7 +4692,7 @@ class CfnApiKeyProps:
4550
4692
  )
4551
4693
 
4552
4694
 
4553
- @jsii.implements(_IInspectable_c2943556)
4695
+ @jsii.implements(_IInspectable_c2943556, _IAuthorizerRef_5e7c8723)
4554
4696
  class CfnAuthorizer(
4555
4697
  _CfnResource_9df397a6,
4556
4698
  metaclass=jsii.JSIIMeta,
@@ -4602,7 +4744,8 @@ class CfnAuthorizer(
4602
4744
  identity_validation_expression: typing.Optional[builtins.str] = None,
4603
4745
  provider_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
4604
4746
  ) -> None:
4605
- '''
4747
+ '''Create a new ``AWS::ApiGateway::Authorizer``.
4748
+
4606
4749
  :param scope: Scope in which this resource is defined.
4607
4750
  :param id: Construct identifier for this resource (unique in its scope).
4608
4751
  :param name: The name of the authorizer.
@@ -4676,6 +4819,12 @@ class CfnAuthorizer(
4676
4819
  '''
4677
4820
  return typing.cast(builtins.str, jsii.get(self, "attrAuthorizerId"))
4678
4821
 
4822
+ @builtins.property
4823
+ @jsii.member(jsii_name="authorizerRef")
4824
+ def authorizer_ref(self) -> _AuthorizerReference_9227c976:
4825
+ '''A reference to a Authorizer resource.'''
4826
+ return typing.cast(_AuthorizerReference_9227c976, jsii.get(self, "authorizerRef"))
4827
+
4679
4828
  @builtins.property
4680
4829
  @jsii.member(jsii_name="cfnProperties")
4681
4830
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -5037,7 +5186,7 @@ class CfnAuthorizerProps:
5037
5186
  )
5038
5187
 
5039
5188
 
5040
- @jsii.implements(_IInspectable_c2943556)
5189
+ @jsii.implements(_IInspectable_c2943556, _IBasePathMappingRef_79bb1c6e)
5041
5190
  class CfnBasePathMapping(
5042
5191
  _CfnResource_9df397a6,
5043
5192
  metaclass=jsii.JSIIMeta,
@@ -5079,7 +5228,8 @@ class CfnBasePathMapping(
5079
5228
  rest_api_id: typing.Optional[builtins.str] = None,
5080
5229
  stage: typing.Optional[builtins.str] = None,
5081
5230
  ) -> None:
5082
- '''
5231
+ '''Create a new ``AWS::ApiGateway::BasePathMapping``.
5232
+
5083
5233
  :param scope: Scope in which this resource is defined.
5084
5234
  :param id_: Construct identifier for this resource (unique in its scope).
5085
5235
  :param domain_name: The domain name of the BasePathMapping resource to be described.
@@ -5132,6 +5282,12 @@ class CfnBasePathMapping(
5132
5282
  '''The CloudFormation resource type name for this resource class.'''
5133
5283
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
5134
5284
 
5285
+ @builtins.property
5286
+ @jsii.member(jsii_name="basePathMappingRef")
5287
+ def base_path_mapping_ref(self) -> _BasePathMappingReference_0fb943e6:
5288
+ '''A reference to a BasePathMapping resource.'''
5289
+ return typing.cast(_BasePathMappingReference_0fb943e6, jsii.get(self, "basePathMappingRef"))
5290
+
5135
5291
  @builtins.property
5136
5292
  @jsii.member(jsii_name="cfnProperties")
5137
5293
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -5326,7 +5482,7 @@ class CfnBasePathMappingProps:
5326
5482
  )
5327
5483
 
5328
5484
 
5329
- @jsii.implements(_IInspectable_c2943556)
5485
+ @jsii.implements(_IInspectable_c2943556, _IBasePathMappingV2Ref_e433a169)
5330
5486
  class CfnBasePathMappingV2(
5331
5487
  _CfnResource_9df397a6,
5332
5488
  metaclass=jsii.JSIIMeta,
@@ -5366,7 +5522,8 @@ class CfnBasePathMappingV2(
5366
5522
  base_path: typing.Optional[builtins.str] = None,
5367
5523
  stage: typing.Optional[builtins.str] = None,
5368
5524
  ) -> None:
5369
- '''
5525
+ '''Create a new ``AWS::ApiGateway::BasePathMappingV2``.
5526
+
5370
5527
  :param scope: Scope in which this resource is defined.
5371
5528
  :param id: Construct identifier for this resource (unique in its scope).
5372
5529
  :param domain_name_arn: The ARN of the domain name for the BasePathMappingV2 resource to be described.
@@ -5426,6 +5583,12 @@ class CfnBasePathMappingV2(
5426
5583
  '''
5427
5584
  return typing.cast(builtins.str, jsii.get(self, "attrBasePathMappingArn"))
5428
5585
 
5586
+ @builtins.property
5587
+ @jsii.member(jsii_name="basePathMappingV2Ref")
5588
+ def base_path_mapping_v2_ref(self) -> _BasePathMappingV2Reference_bd6138fa:
5589
+ '''A reference to a BasePathMappingV2 resource.'''
5590
+ return typing.cast(_BasePathMappingV2Reference_bd6138fa, jsii.get(self, "basePathMappingV2Ref"))
5591
+
5429
5592
  @builtins.property
5430
5593
  @jsii.member(jsii_name="cfnProperties")
5431
5594
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -5597,7 +5760,7 @@ class CfnBasePathMappingV2Props:
5597
5760
  )
5598
5761
 
5599
5762
 
5600
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
5763
+ @jsii.implements(_IInspectable_c2943556, _IClientCertificateRef_2a4b2b38, _ITaggable_36806126)
5601
5764
  class CfnClientCertificate(
5602
5765
  _CfnResource_9df397a6,
5603
5766
  metaclass=jsii.JSIIMeta,
@@ -5632,7 +5795,8 @@ class CfnClientCertificate(
5632
5795
  description: typing.Optional[builtins.str] = None,
5633
5796
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5634
5797
  ) -> None:
5635
- '''
5798
+ '''Create a new ``AWS::ApiGateway::ClientCertificate``.
5799
+
5636
5800
  :param scope: Scope in which this resource is defined.
5637
5801
  :param id: Construct identifier for this resource (unique in its scope).
5638
5802
  :param description: The description of the client certificate.
@@ -5646,6 +5810,27 @@ class CfnClientCertificate(
5646
5810
 
5647
5811
  jsii.create(self.__class__, self, [scope, id, props])
5648
5812
 
5813
+ @jsii.member(jsii_name="fromClientCertificateId")
5814
+ @builtins.classmethod
5815
+ def from_client_certificate_id(
5816
+ cls,
5817
+ scope: _constructs_77d1e7e8.Construct,
5818
+ id: builtins.str,
5819
+ client_certificate_id: builtins.str,
5820
+ ) -> _IClientCertificateRef_2a4b2b38:
5821
+ '''Creates a new IClientCertificateRef from a clientCertificateId.
5822
+
5823
+ :param scope: -
5824
+ :param id: -
5825
+ :param client_certificate_id: -
5826
+ '''
5827
+ if __debug__:
5828
+ type_hints = typing.get_type_hints(_typecheckingstub__0a5e31aa2352a567ea0a97f6b3c305db593bab1d23ed323eab3a574cdbc20b53)
5829
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5830
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5831
+ check_type(argname="argument client_certificate_id", value=client_certificate_id, expected_type=type_hints["client_certificate_id"])
5832
+ return typing.cast(_IClientCertificateRef_2a4b2b38, jsii.sinvoke(cls, "fromClientCertificateId", [scope, id, client_certificate_id]))
5833
+
5649
5834
  @jsii.member(jsii_name="inspect")
5650
5835
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
5651
5836
  '''Examines the CloudFormation resource and discloses attributes.
@@ -5692,6 +5877,12 @@ class CfnClientCertificate(
5692
5877
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
5693
5878
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
5694
5879
 
5880
+ @builtins.property
5881
+ @jsii.member(jsii_name="clientCertificateRef")
5882
+ def client_certificate_ref(self) -> _ClientCertificateReference_dc31fb12:
5883
+ '''A reference to a ClientCertificate resource.'''
5884
+ return typing.cast(_ClientCertificateReference_dc31fb12, jsii.get(self, "clientCertificateRef"))
5885
+
5695
5886
  @builtins.property
5696
5887
  @jsii.member(jsii_name="tags")
5697
5888
  def tags(self) -> _TagManager_0a598cb3:
@@ -5801,7 +5992,7 @@ class CfnClientCertificateProps:
5801
5992
  )
5802
5993
 
5803
5994
 
5804
- @jsii.implements(_IInspectable_c2943556)
5995
+ @jsii.implements(_IInspectable_c2943556, _IDeploymentRef_e5a0678c)
5805
5996
  class CfnDeployment(
5806
5997
  _CfnResource_9df397a6,
5807
5998
  metaclass=jsii.JSIIMeta,
@@ -5894,7 +6085,8 @@ class CfnDeployment(
5894
6085
  stage_description: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeployment.StageDescriptionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
5895
6086
  stage_name: typing.Optional[builtins.str] = None,
5896
6087
  ) -> None:
5897
- '''
6088
+ '''Create a new ``AWS::ApiGateway::Deployment``.
6089
+
5898
6090
  :param scope: Scope in which this resource is defined.
5899
6091
  :param id: Construct identifier for this resource (unique in its scope).
5900
6092
  :param rest_api_id: The string identifier of the associated RestApi.
@@ -5963,6 +6155,12 @@ class CfnDeployment(
5963
6155
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
5964
6156
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
5965
6157
 
6158
+ @builtins.property
6159
+ @jsii.member(jsii_name="deploymentRef")
6160
+ def deployment_ref(self) -> _DeploymentReference_d6bd3ce1:
6161
+ '''A reference to a Deployment resource.'''
6162
+ return typing.cast(_DeploymentReference_d6bd3ce1, jsii.get(self, "deploymentRef"))
6163
+
5966
6164
  @builtins.property
5967
6165
  @jsii.member(jsii_name="restApiId")
5968
6166
  def rest_api_id(self) -> builtins.str:
@@ -6343,6 +6541,8 @@ class CfnDeployment(
6343
6541
  ) -> None:
6344
6542
  '''The ``MethodSetting`` property type configures settings for all methods in a stage.
6345
6543
 
6544
+ If you modify this property type, you must create a new deployment for your API.
6545
+
6346
6546
  The ``MethodSettings`` property of the `Amazon API Gateway Deployment StageDescription <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html>`_ property type contains a list of ``MethodSetting`` property types.
6347
6547
 
6348
6548
  :param cache_data_encrypted: Specifies whether the cached responses are encrypted.
@@ -7122,7 +7322,7 @@ class CfnDeploymentProps:
7122
7322
  )
7123
7323
 
7124
7324
 
7125
- @jsii.implements(_IInspectable_c2943556)
7325
+ @jsii.implements(_IInspectable_c2943556, _IDocumentationPartRef_07703b39)
7126
7326
  class CfnDocumentationPart(
7127
7327
  _CfnResource_9df397a6,
7128
7328
  metaclass=jsii.JSIIMeta,
@@ -7164,7 +7364,8 @@ class CfnDocumentationPart(
7164
7364
  properties: builtins.str,
7165
7365
  rest_api_id: builtins.str,
7166
7366
  ) -> None:
7167
- '''
7367
+ '''Create a new ``AWS::ApiGateway::DocumentationPart``.
7368
+
7168
7369
  :param scope: Scope in which this resource is defined.
7169
7370
  :param id: Construct identifier for this resource (unique in its scope).
7170
7371
  :param location: The location of the targeted API entity of the to-be-created documentation part.
@@ -7225,6 +7426,12 @@ class CfnDocumentationPart(
7225
7426
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
7226
7427
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
7227
7428
 
7429
+ @builtins.property
7430
+ @jsii.member(jsii_name="documentationPartRef")
7431
+ def documentation_part_ref(self) -> _DocumentationPartReference_95653832:
7432
+ '''A reference to a DocumentationPart resource.'''
7433
+ return typing.cast(_DocumentationPartReference_95653832, jsii.get(self, "documentationPartRef"))
7434
+
7228
7435
  @builtins.property
7229
7436
  @jsii.member(jsii_name="location")
7230
7437
  def location(
@@ -7507,7 +7714,7 @@ class CfnDocumentationPartProps:
7507
7714
  )
7508
7715
 
7509
7716
 
7510
- @jsii.implements(_IInspectable_c2943556)
7717
+ @jsii.implements(_IInspectable_c2943556, _IDocumentationVersionRef_bdf6c8eb)
7511
7718
  class CfnDocumentationVersion(
7512
7719
  _CfnResource_9df397a6,
7513
7720
  metaclass=jsii.JSIIMeta,
@@ -7545,7 +7752,8 @@ class CfnDocumentationVersion(
7545
7752
  rest_api_id: builtins.str,
7546
7753
  description: typing.Optional[builtins.str] = None,
7547
7754
  ) -> None:
7548
- '''
7755
+ '''Create a new ``AWS::ApiGateway::DocumentationVersion``.
7756
+
7549
7757
  :param scope: Scope in which this resource is defined.
7550
7758
  :param id: Construct identifier for this resource (unique in its scope).
7551
7759
  :param documentation_version: The version identifier of the to-be-updated documentation version.
@@ -7599,6 +7807,12 @@ class CfnDocumentationVersion(
7599
7807
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
7600
7808
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
7601
7809
 
7810
+ @builtins.property
7811
+ @jsii.member(jsii_name="documentationVersionRef")
7812
+ def documentation_version_ref(self) -> _DocumentationVersionReference_b6913e6e:
7813
+ '''A reference to a DocumentationVersion resource.'''
7814
+ return typing.cast(_DocumentationVersionReference_b6913e6e, jsii.get(self, "documentationVersionRef"))
7815
+
7602
7816
  @builtins.property
7603
7817
  @jsii.member(jsii_name="documentationVersion")
7604
7818
  def documentation_version(self) -> builtins.str:
@@ -7732,7 +7946,7 @@ class CfnDocumentationVersionProps:
7732
7946
  )
7733
7947
 
7734
7948
 
7735
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
7949
+ @jsii.implements(_IInspectable_c2943556, _IDomainNameRef_8b0ccf94, _ITaggable_36806126)
7736
7950
  class CfnDomainName(
7737
7951
  _CfnResource_9df397a6,
7738
7952
  metaclass=jsii.JSIIMeta,
@@ -7791,16 +8005,17 @@ class CfnDomainName(
7791
8005
  security_policy: typing.Optional[builtins.str] = None,
7792
8006
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
7793
8007
  ) -> None:
7794
- '''
8008
+ '''Create a new ``AWS::ApiGateway::DomainName``.
8009
+
7795
8010
  :param scope: Scope in which this resource is defined.
7796
8011
  :param id: Construct identifier for this resource (unique in its scope).
7797
- :param certificate_arn: The reference to an AWS -managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. AWS Certificate Manager is the only supported source.
8012
+ :param certificate_arn: The reference to an AWS -managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. Certificate Manager is the only supported source.
7798
8013
  :param domain_name: The custom domain name as an API host name, for example, ``my-api.example.com`` .
7799
8014
  :param endpoint_configuration: The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
7800
8015
  :param mutual_tls_authentication: The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
7801
8016
  :param ownership_verification_certificate_arn: The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
7802
- :param regional_certificate_arn: The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
7803
- :param routing_mode: Default: - "BASE_PATH_MAPPING_ONLY"
8017
+ :param regional_certificate_arn: The reference to an AWS -managed certificate that will be used for validating the regional domain name. Certificate Manager is the only supported source.
8018
+ :param routing_mode: The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your public APIs. Default: - "BASE_PATH_MAPPING_ONLY"
7804
8019
  :param security_policy: The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are ``TLS_1_0`` and ``TLS_1_2`` .
7805
8020
  :param tags: The collection of tags. Each tag element is associated with a given resource.
7806
8021
  '''
@@ -7822,6 +8037,48 @@ class CfnDomainName(
7822
8037
 
7823
8038
  jsii.create(self.__class__, self, [scope, id, props])
7824
8039
 
8040
+ @jsii.member(jsii_name="fromDomainName")
8041
+ @builtins.classmethod
8042
+ def from_domain_name(
8043
+ cls,
8044
+ scope: _constructs_77d1e7e8.Construct,
8045
+ id: builtins.str,
8046
+ domain_name: builtins.str,
8047
+ ) -> _IDomainNameRef_8b0ccf94:
8048
+ '''Creates a new IDomainNameRef from a domainName.
8049
+
8050
+ :param scope: -
8051
+ :param id: -
8052
+ :param domain_name: -
8053
+ '''
8054
+ if __debug__:
8055
+ type_hints = typing.get_type_hints(_typecheckingstub__7573cabb5591aeca76fca113dbdb083344840ea756b892b5b440934d48a9afb3)
8056
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
8057
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
8058
+ check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
8059
+ return typing.cast(_IDomainNameRef_8b0ccf94, jsii.sinvoke(cls, "fromDomainName", [scope, id, domain_name]))
8060
+
8061
+ @jsii.member(jsii_name="fromDomainNameArn")
8062
+ @builtins.classmethod
8063
+ def from_domain_name_arn(
8064
+ cls,
8065
+ scope: _constructs_77d1e7e8.Construct,
8066
+ id: builtins.str,
8067
+ arn: builtins.str,
8068
+ ) -> _IDomainNameRef_8b0ccf94:
8069
+ '''Creates a new IDomainNameRef from an ARN.
8070
+
8071
+ :param scope: -
8072
+ :param id: -
8073
+ :param arn: -
8074
+ '''
8075
+ if __debug__:
8076
+ type_hints = typing.get_type_hints(_typecheckingstub__7594371e62564d813ae77a2f2b52731cbf46dfc26d0b9ee7957708a268f7536f)
8077
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
8078
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
8079
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
8080
+ return typing.cast(_IDomainNameRef_8b0ccf94, jsii.sinvoke(cls, "fromDomainNameArn", [scope, id, arn]))
8081
+
7825
8082
  @jsii.member(jsii_name="inspect")
7826
8083
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
7827
8084
  '''Examines the CloudFormation resource and discloses attributes.
@@ -7881,8 +8138,6 @@ class CfnDomainName(
7881
8138
  def attr_domain_name_arn(self) -> builtins.str:
7882
8139
  '''The ARN of the domain name.
7883
8140
 
7884
- Supported only for private custom domain names.
7885
-
7886
8141
  :cloudformationAttribute: DomainNameArn
7887
8142
  '''
7888
8143
  return typing.cast(builtins.str, jsii.get(self, "attrDomainNameArn"))
@@ -7912,6 +8167,12 @@ class CfnDomainName(
7912
8167
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
7913
8168
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
7914
8169
 
8170
+ @builtins.property
8171
+ @jsii.member(jsii_name="domainNameRef")
8172
+ def domain_name_ref(self) -> _DomainNameReference_f4138423:
8173
+ '''A reference to a DomainName resource.'''
8174
+ return typing.cast(_DomainNameReference_f4138423, jsii.get(self, "domainNameRef"))
8175
+
7915
8176
  @builtins.property
7916
8177
  @jsii.member(jsii_name="tags")
7917
8178
  def tags(self) -> _TagManager_0a598cb3:
@@ -8012,6 +8273,7 @@ class CfnDomainName(
8012
8273
  @builtins.property
8013
8274
  @jsii.member(jsii_name="routingMode")
8014
8275
  def routing_mode(self) -> typing.Optional[builtins.str]:
8276
+ '''The routing mode for this domain name.'''
8015
8277
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "routingMode"))
8016
8278
 
8017
8279
  @routing_mode.setter
@@ -8203,7 +8465,7 @@ class CfnDomainName(
8203
8465
  )
8204
8466
 
8205
8467
 
8206
- @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
8468
+ @jsii.implements(_IInspectable_c2943556, _IDomainNameAccessAssociationRef_f9b99574, _ITaggableV2_4e6798f8)
8207
8469
  class CfnDomainNameAccessAssociation(
8208
8470
  _CfnResource_9df397a6,
8209
8471
  metaclass=jsii.JSIIMeta,
@@ -8248,7 +8510,8 @@ class CfnDomainNameAccessAssociation(
8248
8510
  domain_name_arn: builtins.str,
8249
8511
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
8250
8512
  ) -> None:
8251
- '''
8513
+ '''Create a new ``AWS::ApiGateway::DomainNameAccessAssociation``.
8514
+
8252
8515
  :param scope: Scope in which this resource is defined.
8253
8516
  :param id: Construct identifier for this resource (unique in its scope).
8254
8517
  :param access_association_source: The identifier of the domain name access association source. For a ``VPCE`` , the value is the VPC endpoint ID.
@@ -8321,6 +8584,14 @@ class CfnDomainNameAccessAssociation(
8321
8584
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
8322
8585
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
8323
8586
 
8587
+ @builtins.property
8588
+ @jsii.member(jsii_name="domainNameAccessAssociationRef")
8589
+ def domain_name_access_association_ref(
8590
+ self,
8591
+ ) -> _DomainNameAccessAssociationReference_558a7d70:
8592
+ '''A reference to a DomainNameAccessAssociation resource.'''
8593
+ return typing.cast(_DomainNameAccessAssociationReference_558a7d70, jsii.get(self, "domainNameAccessAssociationRef"))
8594
+
8324
8595
  @builtins.property
8325
8596
  @jsii.member(jsii_name="accessAssociationSource")
8326
8597
  def access_association_source(self) -> builtins.str:
@@ -8523,13 +8794,13 @@ class CfnDomainNameProps:
8523
8794
  ) -> None:
8524
8795
  '''Properties for defining a ``CfnDomainName``.
8525
8796
 
8526
- :param certificate_arn: The reference to an AWS -managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. AWS Certificate Manager is the only supported source.
8797
+ :param certificate_arn: The reference to an AWS -managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. Certificate Manager is the only supported source.
8527
8798
  :param domain_name: The custom domain name as an API host name, for example, ``my-api.example.com`` .
8528
8799
  :param endpoint_configuration: The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
8529
8800
  :param mutual_tls_authentication: The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
8530
8801
  :param ownership_verification_certificate_arn: The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
8531
- :param regional_certificate_arn: The reference to an AWS -managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.
8532
- :param routing_mode: Default: - "BASE_PATH_MAPPING_ONLY"
8802
+ :param regional_certificate_arn: The reference to an AWS -managed certificate that will be used for validating the regional domain name. Certificate Manager is the only supported source.
8803
+ :param routing_mode: The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your public APIs. Default: - "BASE_PATH_MAPPING_ONLY"
8533
8804
  :param security_policy: The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are ``TLS_1_0`` and ``TLS_1_2`` .
8534
8805
  :param tags: The collection of tags. Each tag element is associated with a given resource.
8535
8806
 
@@ -8598,7 +8869,7 @@ class CfnDomainNameProps:
8598
8869
  def certificate_arn(self) -> typing.Optional[builtins.str]:
8599
8870
  '''The reference to an AWS -managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
8600
8871
 
8601
- AWS Certificate Manager is the only supported source.
8872
+ Certificate Manager is the only supported source.
8602
8873
 
8603
8874
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-certificatearn
8604
8875
  '''
@@ -8653,7 +8924,7 @@ class CfnDomainNameProps:
8653
8924
  def regional_certificate_arn(self) -> typing.Optional[builtins.str]:
8654
8925
  '''The reference to an AWS -managed certificate that will be used for validating the regional domain name.
8655
8926
 
8656
- AWS Certificate Manager is the only supported source.
8927
+ Certificate Manager is the only supported source.
8657
8928
 
8658
8929
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-regionalcertificatearn
8659
8930
  '''
@@ -8662,7 +8933,10 @@ class CfnDomainNameProps:
8662
8933
 
8663
8934
  @builtins.property
8664
8935
  def routing_mode(self) -> typing.Optional[builtins.str]:
8665
- '''
8936
+ '''The routing mode for this domain name.
8937
+
8938
+ The routing mode determines how API Gateway sends traffic from your custom domain name to your public APIs.
8939
+
8666
8940
  :default: - "BASE_PATH_MAPPING_ONLY"
8667
8941
 
8668
8942
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-routingmode
@@ -8704,7 +8978,7 @@ class CfnDomainNameProps:
8704
8978
  )
8705
8979
 
8706
8980
 
8707
- @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
8981
+ @jsii.implements(_IInspectable_c2943556, _IDomainNameV2Ref_e2e9faf2, _ITaggableV2_4e6798f8)
8708
8982
  class CfnDomainNameV2(
8709
8983
  _CfnResource_9df397a6,
8710
8984
  metaclass=jsii.JSIIMeta,
@@ -8756,14 +9030,15 @@ class CfnDomainNameV2(
8756
9030
  security_policy: typing.Optional[builtins.str] = None,
8757
9031
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
8758
9032
  ) -> None:
8759
- '''
9033
+ '''Create a new ``AWS::ApiGateway::DomainNameV2``.
9034
+
8760
9035
  :param scope: Scope in which this resource is defined.
8761
9036
  :param id: Construct identifier for this resource (unique in its scope).
8762
9037
  :param certificate_arn: The reference to an AWS -managed certificate that will be used by the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
8763
9038
  :param domain_name: Represents a custom domain name as a user-friendly host name of an API (RestApi).
8764
9039
  :param endpoint_configuration: The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it.
8765
9040
  :param policy: A stringified JSON policy document that applies to the ``execute-api`` service for this DomainName regardless of the caller and Method configuration. You can use ``Fn::ToJsonString`` to enter your ``policy`` . For more information, see `Fn::ToJsonString <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ToJsonString.html>`_ .
8766
- :param routing_mode: The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid. Default: - "BASE_PATH_MAPPING_ONLY"
9041
+ :param routing_mode: The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs. Default: - "BASE_PATH_MAPPING_ONLY"
8767
9042
  :param security_policy: The Transport Layer Security (TLS) version + cipher suite for this DomainName. Only ``TLS_1_2`` is supported.
8768
9043
  :param tags: The collection of tags. Each tag element is associated with a given resource.
8769
9044
  '''
@@ -8842,6 +9117,12 @@ class CfnDomainNameV2(
8842
9117
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
8843
9118
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
8844
9119
 
9120
+ @builtins.property
9121
+ @jsii.member(jsii_name="domainNameV2Ref")
9122
+ def domain_name_v2_ref(self) -> _DomainNameV2Reference_ca1122a1:
9123
+ '''A reference to a DomainNameV2 resource.'''
9124
+ return typing.cast(_DomainNameV2Reference_ca1122a1, jsii.get(self, "domainNameV2Ref"))
9125
+
8845
9126
  @builtins.property
8846
9127
  @jsii.member(jsii_name="certificateArn")
8847
9128
  def certificate_arn(self) -> typing.Optional[builtins.str]:
@@ -8902,7 +9183,7 @@ class CfnDomainNameV2(
8902
9183
  @builtins.property
8903
9184
  @jsii.member(jsii_name="routingMode")
8904
9185
  def routing_mode(self) -> typing.Optional[builtins.str]:
8905
- '''The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY].'''
9186
+ '''The routing mode for this domain name.'''
8906
9187
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "routingMode"))
8907
9188
 
8908
9189
  @routing_mode.setter
@@ -9044,7 +9325,7 @@ class CfnDomainNameV2Props:
9044
9325
  :param domain_name: Represents a custom domain name as a user-friendly host name of an API (RestApi).
9045
9326
  :param endpoint_configuration: The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it.
9046
9327
  :param policy: A stringified JSON policy document that applies to the ``execute-api`` service for this DomainName regardless of the caller and Method configuration. You can use ``Fn::ToJsonString`` to enter your ``policy`` . For more information, see `Fn::ToJsonString <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ToJsonString.html>`_ .
9047
- :param routing_mode: The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid. Default: - "BASE_PATH_MAPPING_ONLY"
9328
+ :param routing_mode: The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs. Default: - "BASE_PATH_MAPPING_ONLY"
9048
9329
  :param security_policy: The Transport Layer Security (TLS) version + cipher suite for this DomainName. Only ``TLS_1_2`` is supported.
9049
9330
  :param tags: The collection of tags. Each tag element is associated with a given resource.
9050
9331
 
@@ -9144,9 +9425,9 @@ class CfnDomainNameV2Props:
9144
9425
 
9145
9426
  @builtins.property
9146
9427
  def routing_mode(self) -> typing.Optional[builtins.str]:
9147
- '''The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY].
9428
+ '''The routing mode for this domain name.
9148
9429
 
9149
- All other inputs are invalid.
9430
+ The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.
9150
9431
 
9151
9432
  :default: - "BASE_PATH_MAPPING_ONLY"
9152
9433
 
@@ -9189,7 +9470,7 @@ class CfnDomainNameV2Props:
9189
9470
  )
9190
9471
 
9191
9472
 
9192
- @jsii.implements(_IInspectable_c2943556)
9473
+ @jsii.implements(_IInspectable_c2943556, _IGatewayResponseRef_d5aa66ef)
9193
9474
  class CfnGatewayResponse(
9194
9475
  _CfnResource_9df397a6,
9195
9476
  metaclass=jsii.JSIIMeta,
@@ -9235,7 +9516,8 @@ class CfnGatewayResponse(
9235
9516
  response_templates: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
9236
9517
  status_code: typing.Optional[builtins.str] = None,
9237
9518
  ) -> None:
9238
- '''
9519
+ '''Create a new ``AWS::ApiGateway::GatewayResponse``.
9520
+
9239
9521
  :param scope: Scope in which this resource is defined.
9240
9522
  :param id: Construct identifier for this resource (unique in its scope).
9241
9523
  :param response_type: The response type of the associated GatewayResponse.
@@ -9304,6 +9586,12 @@ class CfnGatewayResponse(
9304
9586
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
9305
9587
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
9306
9588
 
9589
+ @builtins.property
9590
+ @jsii.member(jsii_name="gatewayResponseRef")
9591
+ def gateway_response_ref(self) -> _GatewayResponseReference_0f1f239c:
9592
+ '''A reference to a GatewayResponse resource.'''
9593
+ return typing.cast(_GatewayResponseReference_0f1f239c, jsii.get(self, "gatewayResponseRef"))
9594
+
9307
9595
  @builtins.property
9308
9596
  @jsii.member(jsii_name="responseType")
9309
9597
  def response_type(self) -> builtins.str:
@@ -9513,7 +9801,7 @@ class CfnGatewayResponseProps:
9513
9801
  )
9514
9802
 
9515
9803
 
9516
- @jsii.implements(_IInspectable_c2943556)
9804
+ @jsii.implements(_IInspectable_c2943556, _IMethodRef_6ea24188)
9517
9805
  class CfnMethod(
9518
9806
  _CfnResource_9df397a6,
9519
9807
  metaclass=jsii.JSIIMeta,
@@ -9572,6 +9860,7 @@ class CfnMethod(
9572
9860
  request_templates={
9573
9861
  "request_templates_key": "requestTemplates"
9574
9862
  },
9863
+ response_transfer_mode="responseTransferMode",
9575
9864
  timeout_in_millis=123,
9576
9865
  uri="uri"
9577
9866
  ),
@@ -9616,7 +9905,8 @@ class CfnMethod(
9616
9905
  request_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[builtins.bool, _IResolvable_da3f097b]]]] = None,
9617
9906
  request_validator_id: typing.Optional[builtins.str] = None,
9618
9907
  ) -> None:
9619
- '''
9908
+ '''Create a new ``AWS::ApiGateway::Method``.
9909
+
9620
9910
  :param scope: Scope in which this resource is defined.
9621
9911
  :param id: Construct identifier for this resource (unique in its scope).
9622
9912
  :param http_method: The method's HTTP verb.
@@ -9690,6 +9980,12 @@ class CfnMethod(
9690
9980
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
9691
9981
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
9692
9982
 
9983
+ @builtins.property
9984
+ @jsii.member(jsii_name="methodRef")
9985
+ def method_ref(self) -> _MethodReference_cf812dcd:
9986
+ '''A reference to a Method resource.'''
9987
+ return typing.cast(_MethodReference_cf812dcd, jsii.get(self, "methodRef"))
9988
+
9693
9989
  @builtins.property
9694
9990
  @jsii.member(jsii_name="httpMethod")
9695
9991
  def http_method(self) -> builtins.str:
@@ -9903,6 +10199,7 @@ class CfnMethod(
9903
10199
  "passthrough_behavior": "passthroughBehavior",
9904
10200
  "request_parameters": "requestParameters",
9905
10201
  "request_templates": "requestTemplates",
10202
+ "response_transfer_mode": "responseTransferMode",
9906
10203
  "timeout_in_millis": "timeoutInMillis",
9907
10204
  "uri": "uri",
9908
10205
  },
@@ -9923,6 +10220,7 @@ class CfnMethod(
9923
10220
  passthrough_behavior: typing.Optional[builtins.str] = None,
9924
10221
  request_parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
9925
10222
  request_templates: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
10223
+ response_transfer_mode: typing.Optional[builtins.str] = None,
9926
10224
  timeout_in_millis: typing.Optional[jsii.Number] = None,
9927
10225
  uri: typing.Optional[builtins.str] = None,
9928
10226
  ) -> None:
@@ -9940,7 +10238,8 @@ class CfnMethod(
9940
10238
  :param passthrough_behavior: Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in ``requestTemplates`` . The valid value is one of the following: ``WHEN_NO_MATCH`` : passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. ``WHEN_NO_TEMPLATES`` : passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. ``NEVER`` : rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.
9941
10239
  :param request_parameters: A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of ``method.request.{location}.{name}`` , where ``location`` is ``querystring`` , ``path`` , or ``header`` and ``name`` must be a valid and unique method request parameter name.
9942
10240
  :param request_templates: Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.
9943
- :param timeout_in_millis: Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
10241
+ :param response_transfer_mode: Default: - "BUFFERED"
10242
+ :param timeout_in_millis: Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. You can increase the default value to longer than 29 seconds for Regional or private APIs only.
9944
10243
  :param uri: Specifies Uniform Resource Identifier (URI) of the integration endpoint. For ``HTTP`` or ``HTTP_PROXY`` integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification for standard integrations. If ``connectionType`` is ``VPC_LINK`` specify the Network Load Balancer DNS name. For ``AWS`` or ``AWS_PROXY`` integrations, the URI is of the form ``arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`` . Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either ``arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}`` or ``arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}``
9945
10244
 
9946
10245
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-method-integration.html
@@ -9983,6 +10282,7 @@ class CfnMethod(
9983
10282
  request_templates={
9984
10283
  "request_templates_key": "requestTemplates"
9985
10284
  },
10285
+ response_transfer_mode="responseTransferMode",
9986
10286
  timeout_in_millis=123,
9987
10287
  uri="uri"
9988
10288
  )
@@ -10001,6 +10301,7 @@ class CfnMethod(
10001
10301
  check_type(argname="argument passthrough_behavior", value=passthrough_behavior, expected_type=type_hints["passthrough_behavior"])
10002
10302
  check_type(argname="argument request_parameters", value=request_parameters, expected_type=type_hints["request_parameters"])
10003
10303
  check_type(argname="argument request_templates", value=request_templates, expected_type=type_hints["request_templates"])
10304
+ check_type(argname="argument response_transfer_mode", value=response_transfer_mode, expected_type=type_hints["response_transfer_mode"])
10004
10305
  check_type(argname="argument timeout_in_millis", value=timeout_in_millis, expected_type=type_hints["timeout_in_millis"])
10005
10306
  check_type(argname="argument uri", value=uri, expected_type=type_hints["uri"])
10006
10307
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -10028,6 +10329,8 @@ class CfnMethod(
10028
10329
  self._values["request_parameters"] = request_parameters
10029
10330
  if request_templates is not None:
10030
10331
  self._values["request_templates"] = request_templates
10332
+ if response_transfer_mode is not None:
10333
+ self._values["response_transfer_mode"] = response_transfer_mode
10031
10334
  if timeout_in_millis is not None:
10032
10335
  self._values["timeout_in_millis"] = timeout_in_millis
10033
10336
  if uri is not None:
@@ -10170,11 +10473,21 @@ class CfnMethod(
10170
10473
  result = self._values.get("request_templates")
10171
10474
  return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
10172
10475
 
10476
+ @builtins.property
10477
+ def response_transfer_mode(self) -> typing.Optional[builtins.str]:
10478
+ '''
10479
+ :default: - "BUFFERED"
10480
+
10481
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-method-integration.html#cfn-apigateway-method-integration-responsetransfermode
10482
+ '''
10483
+ result = self._values.get("response_transfer_mode")
10484
+ return typing.cast(typing.Optional[builtins.str], result)
10485
+
10173
10486
  @builtins.property
10174
10487
  def timeout_in_millis(self) -> typing.Optional[jsii.Number]:
10175
10488
  '''Custom timeout between 50 and 29,000 milliseconds.
10176
10489
 
10177
- The default value is 29,000 milliseconds or 29 seconds.
10490
+ The default value is 29,000 milliseconds or 29 seconds. You can increase the default value to longer than 29 seconds for Regional or private APIs only.
10178
10491
 
10179
10492
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-method-integration.html#cfn-apigateway-method-integration-timeoutinmillis
10180
10493
  '''
@@ -10555,6 +10868,7 @@ class CfnMethodProps:
10555
10868
  request_templates={
10556
10869
  "request_templates_key": "requestTemplates"
10557
10870
  },
10871
+ response_transfer_mode="responseTransferMode",
10558
10872
  timeout_in_millis=123,
10559
10873
  uri="uri"
10560
10874
  ),
@@ -10775,7 +11089,7 @@ class CfnMethodProps:
10775
11089
  )
10776
11090
 
10777
11091
 
10778
- @jsii.implements(_IInspectable_c2943556)
11092
+ @jsii.implements(_IInspectable_c2943556, _IModelRef_19f34fa7)
10779
11093
  class CfnModel(
10780
11094
  _CfnResource_9df397a6,
10781
11095
  metaclass=jsii.JSIIMeta,
@@ -10817,7 +11131,8 @@ class CfnModel(
10817
11131
  name: typing.Optional[builtins.str] = None,
10818
11132
  schema: typing.Any = None,
10819
11133
  ) -> None:
10820
- '''
11134
+ '''Create a new ``AWS::ApiGateway::Model``.
11135
+
10821
11136
  :param scope: Scope in which this resource is defined.
10822
11137
  :param id: Construct identifier for this resource (unique in its scope).
10823
11138
  :param rest_api_id: The string identifier of the associated RestApi.
@@ -10875,6 +11190,12 @@ class CfnModel(
10875
11190
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
10876
11191
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
10877
11192
 
11193
+ @builtins.property
11194
+ @jsii.member(jsii_name="modelRef")
11195
+ def model_ref(self) -> _ModelReference_19c194a0:
11196
+ '''A reference to a Model resource.'''
11197
+ return typing.cast(_ModelReference_19c194a0, jsii.get(self, "modelRef"))
11198
+
10878
11199
  @builtins.property
10879
11200
  @jsii.member(jsii_name="restApiId")
10880
11201
  def rest_api_id(self) -> builtins.str:
@@ -11075,7 +11396,7 @@ class CfnModelProps:
11075
11396
  )
11076
11397
 
11077
11398
 
11078
- @jsii.implements(_IInspectable_c2943556)
11399
+ @jsii.implements(_IInspectable_c2943556, _IRequestValidatorRef_ad0e2de5)
11079
11400
  class CfnRequestValidator(
11080
11401
  _CfnResource_9df397a6,
11081
11402
  metaclass=jsii.JSIIMeta,
@@ -11115,7 +11436,8 @@ class CfnRequestValidator(
11115
11436
  validate_request_body: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
11116
11437
  validate_request_parameters: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
11117
11438
  ) -> None:
11118
- '''
11439
+ '''Create a new ``AWS::ApiGateway::RequestValidator``.
11440
+
11119
11441
  :param scope: Scope in which this resource is defined.
11120
11442
  :param id: Construct identifier for this resource (unique in its scope).
11121
11443
  :param rest_api_id: The string identifier of the associated RestApi.
@@ -11182,6 +11504,12 @@ class CfnRequestValidator(
11182
11504
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
11183
11505
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
11184
11506
 
11507
+ @builtins.property
11508
+ @jsii.member(jsii_name="requestValidatorRef")
11509
+ def request_validator_ref(self) -> _RequestValidatorReference_432e1849:
11510
+ '''A reference to a RequestValidator resource.'''
11511
+ return typing.cast(_RequestValidatorReference_432e1849, jsii.get(self, "requestValidatorRef"))
11512
+
11185
11513
  @builtins.property
11186
11514
  @jsii.member(jsii_name="restApiId")
11187
11515
  def rest_api_id(self) -> builtins.str:
@@ -11358,7 +11686,7 @@ class CfnRequestValidatorProps:
11358
11686
  )
11359
11687
 
11360
11688
 
11361
- @jsii.implements(_IInspectable_c2943556)
11689
+ @jsii.implements(_IInspectable_c2943556, _IResourceRef_c7defb81)
11362
11690
  class CfnResource(
11363
11691
  _CfnResource_9df397a6,
11364
11692
  metaclass=jsii.JSIIMeta,
@@ -11392,7 +11720,8 @@ class CfnResource(
11392
11720
  path_part: builtins.str,
11393
11721
  rest_api_id: builtins.str,
11394
11722
  ) -> None:
11395
- '''
11723
+ '''Create a new ``AWS::ApiGateway::Resource``.
11724
+
11396
11725
  :param scope: Scope in which this resource is defined.
11397
11726
  :param id: Construct identifier for this resource (unique in its scope).
11398
11727
  :param parent_id: The parent resource's identifier.
@@ -11455,6 +11784,12 @@ class CfnResource(
11455
11784
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
11456
11785
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
11457
11786
 
11787
+ @builtins.property
11788
+ @jsii.member(jsii_name="resourceRef")
11789
+ def resource_ref(self) -> _ResourceReference_c72d8a5a:
11790
+ '''A reference to a Resource resource.'''
11791
+ return typing.cast(_ResourceReference_c72d8a5a, jsii.get(self, "resourceRef"))
11792
+
11458
11793
  @builtins.property
11459
11794
  @jsii.member(jsii_name="parentId")
11460
11795
  def parent_id(self) -> builtins.str:
@@ -11586,7 +11921,7 @@ class CfnResourceProps:
11586
11921
  )
11587
11922
 
11588
11923
 
11589
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
11924
+ @jsii.implements(_IInspectable_c2943556, _IRestApiRef_72dcbda0, _ITaggable_36806126)
11590
11925
  class CfnRestApi(
11591
11926
  _CfnResource_9df397a6,
11592
11927
  metaclass=jsii.JSIIMeta,
@@ -11638,6 +11973,7 @@ class CfnRestApi(
11638
11973
  "parameters_key": "parameters"
11639
11974
  },
11640
11975
  policy=policy,
11976
+ security_policy="securityPolicy",
11641
11977
  tags=[CfnTag(
11642
11978
  key="key",
11643
11979
  value="value"
@@ -11664,9 +12000,11 @@ class CfnRestApi(
11664
12000
  name: typing.Optional[builtins.str] = None,
11665
12001
  parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
11666
12002
  policy: typing.Any = None,
12003
+ security_policy: typing.Optional[builtins.str] = None,
11667
12004
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
11668
12005
  ) -> None:
11669
- '''
12006
+ '''Create a new ``AWS::ApiGateway::RestApi``.
12007
+
11670
12008
  :param scope: Scope in which this resource is defined.
11671
12009
  :param id: Construct identifier for this resource (unique in its scope).
11672
12010
  :param api_key_source_type: The source of the API key for metering requests according to a usage plan. Valid values are: ``HEADER`` to read the API key from the ``X-API-Key`` header of a request. ``AUTHORIZER`` to read the API key from the ``UsageIdentifierKey`` from a custom authorizer.
@@ -11683,6 +12021,7 @@ class CfnRestApi(
11683
12021
  :param name: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
11684
12022
  :param parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'`` .
11685
12023
  :param policy: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"`` .
12024
+ :param security_policy:
11686
12025
  :param tags: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:`` . The tag value can be up to 256 characters.
11687
12026
  '''
11688
12027
  if __debug__:
@@ -11704,11 +12043,33 @@ class CfnRestApi(
11704
12043
  name=name,
11705
12044
  parameters=parameters,
11706
12045
  policy=policy,
12046
+ security_policy=security_policy,
11707
12047
  tags=tags,
11708
12048
  )
11709
12049
 
11710
12050
  jsii.create(self.__class__, self, [scope, id, props])
11711
12051
 
12052
+ @jsii.member(jsii_name="fromRestApiId")
12053
+ @builtins.classmethod
12054
+ def from_rest_api_id(
12055
+ cls,
12056
+ scope: _constructs_77d1e7e8.Construct,
12057
+ id: builtins.str,
12058
+ rest_api_id: builtins.str,
12059
+ ) -> _IRestApiRef_72dcbda0:
12060
+ '''Creates a new IRestApiRef from a restApiId.
12061
+
12062
+ :param scope: -
12063
+ :param id: -
12064
+ :param rest_api_id: -
12065
+ '''
12066
+ if __debug__:
12067
+ type_hints = typing.get_type_hints(_typecheckingstub__f098f990bc47fb67b4869dd0692c7805f635c5b6966164b81e7977eedb0e23a7)
12068
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
12069
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
12070
+ check_type(argname="argument rest_api_id", value=rest_api_id, expected_type=type_hints["rest_api_id"])
12071
+ return typing.cast(_IRestApiRef_72dcbda0, jsii.sinvoke(cls, "fromRestApiId", [scope, id, rest_api_id]))
12072
+
11712
12073
  @jsii.member(jsii_name="inspect")
11713
12074
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
11714
12075
  '''Examines the CloudFormation resource and discloses attributes.
@@ -11762,6 +12123,12 @@ class CfnRestApi(
11762
12123
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
11763
12124
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
11764
12125
 
12126
+ @builtins.property
12127
+ @jsii.member(jsii_name="restApiRef")
12128
+ def rest_api_ref(self) -> _RestApiReference_0863f937:
12129
+ '''A reference to a RestApi resource.'''
12130
+ return typing.cast(_RestApiReference_0863f937, jsii.get(self, "restApiRef"))
12131
+
11765
12132
  @builtins.property
11766
12133
  @jsii.member(jsii_name="tags")
11767
12134
  def tags(self) -> _TagManager_0a598cb3:
@@ -11978,6 +12345,18 @@ class CfnRestApi(
11978
12345
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
11979
12346
  jsii.set(self, "policy", value) # pyright: ignore[reportArgumentType]
11980
12347
 
12348
+ @builtins.property
12349
+ @jsii.member(jsii_name="securityPolicy")
12350
+ def security_policy(self) -> typing.Optional[builtins.str]:
12351
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "securityPolicy"))
12352
+
12353
+ @security_policy.setter
12354
+ def security_policy(self, value: typing.Optional[builtins.str]) -> None:
12355
+ if __debug__:
12356
+ type_hints = typing.get_type_hints(_typecheckingstub__b5cbad8ea7b13cc4138aea2c1f4832de11327b51e38539bb2f152732a2d44409)
12357
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
12358
+ jsii.set(self, "securityPolicy", value) # pyright: ignore[reportArgumentType]
12359
+
11981
12360
  @builtins.property
11982
12361
  @jsii.member(jsii_name="tagsRaw")
11983
12362
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -12218,6 +12597,7 @@ class CfnRestApi(
12218
12597
  "name": "name",
12219
12598
  "parameters": "parameters",
12220
12599
  "policy": "policy",
12600
+ "security_policy": "securityPolicy",
12221
12601
  "tags": "tags",
12222
12602
  },
12223
12603
  )
@@ -12239,6 +12619,7 @@ class CfnRestApiProps:
12239
12619
  name: typing.Optional[builtins.str] = None,
12240
12620
  parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
12241
12621
  policy: typing.Any = None,
12622
+ security_policy: typing.Optional[builtins.str] = None,
12242
12623
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
12243
12624
  ) -> None:
12244
12625
  '''Properties for defining a ``CfnRestApi``.
@@ -12257,6 +12638,7 @@ class CfnRestApiProps:
12257
12638
  :param name: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification.
12258
12639
  :param parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'`` .
12259
12640
  :param policy: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"`` .
12641
+ :param security_policy:
12260
12642
  :param tags: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:`` . The tag value can be up to 256 characters.
12261
12643
 
12262
12644
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html
@@ -12297,6 +12679,7 @@ class CfnRestApiProps:
12297
12679
  "parameters_key": "parameters"
12298
12680
  },
12299
12681
  policy=policy,
12682
+ security_policy="securityPolicy",
12300
12683
  tags=[CfnTag(
12301
12684
  key="key",
12302
12685
  value="value"
@@ -12319,6 +12702,7 @@ class CfnRestApiProps:
12319
12702
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
12320
12703
  check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
12321
12704
  check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
12705
+ check_type(argname="argument security_policy", value=security_policy, expected_type=type_hints["security_policy"])
12322
12706
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
12323
12707
  self._values: typing.Dict[builtins.str, typing.Any] = {}
12324
12708
  if api_key_source_type is not None:
@@ -12349,6 +12733,8 @@ class CfnRestApiProps:
12349
12733
  self._values["parameters"] = parameters
12350
12734
  if policy is not None:
12351
12735
  self._values["policy"] = policy
12736
+ if security_policy is not None:
12737
+ self._values["security_policy"] = security_policy
12352
12738
  if tags is not None:
12353
12739
  self._values["tags"] = tags
12354
12740
 
@@ -12520,6 +12906,14 @@ class CfnRestApiProps:
12520
12906
  result = self._values.get("policy")
12521
12907
  return typing.cast(typing.Any, result)
12522
12908
 
12909
+ @builtins.property
12910
+ def security_policy(self) -> typing.Optional[builtins.str]:
12911
+ '''
12912
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-securitypolicy
12913
+ '''
12914
+ result = self._values.get("security_policy")
12915
+ return typing.cast(typing.Optional[builtins.str], result)
12916
+
12523
12917
  @builtins.property
12524
12918
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
12525
12919
  '''The key-value map of strings.
@@ -12543,7 +12937,7 @@ class CfnRestApiProps:
12543
12937
  )
12544
12938
 
12545
12939
 
12546
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
12940
+ @jsii.implements(_IInspectable_c2943556, _IStageRef_b829c330, _ITaggable_36806126)
12547
12941
  class CfnStage(
12548
12942
  _CfnResource_9df397a6,
12549
12943
  metaclass=jsii.JSIIMeta,
@@ -12627,7 +13021,8 @@ class CfnStage(
12627
13021
  tracing_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
12628
13022
  variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
12629
13023
  ) -> None:
12630
- '''
13024
+ '''Create a new ``AWS::ApiGateway::Stage``.
13025
+
12631
13026
  :param scope: Scope in which this resource is defined.
12632
13027
  :param id: Construct identifier for this resource (unique in its scope).
12633
13028
  :param rest_api_id: The string identifier of the associated RestApi.
@@ -12703,6 +13098,12 @@ class CfnStage(
12703
13098
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
12704
13099
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
12705
13100
 
13101
+ @builtins.property
13102
+ @jsii.member(jsii_name="stageRef")
13103
+ def stage_ref(self) -> _StageReference_3eb94694:
13104
+ '''A reference to a Stage resource.'''
13105
+ return typing.cast(_StageReference_3eb94694, jsii.get(self, "stageRef"))
13106
+
12706
13107
  @builtins.property
12707
13108
  @jsii.member(jsii_name="tags")
12708
13109
  def tags(self) -> _TagManager_0a598cb3:
@@ -13651,7 +14052,7 @@ class CfnStageProps:
13651
14052
  )
13652
14053
 
13653
14054
 
13654
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
14055
+ @jsii.implements(_IInspectable_c2943556, _IUsagePlanRef_7a28b470, _ITaggable_36806126)
13655
14056
  class CfnUsagePlan(
13656
14057
  _CfnResource_9df397a6,
13657
14058
  metaclass=jsii.JSIIMeta,
@@ -13714,7 +14115,8 @@ class CfnUsagePlan(
13714
14115
  throttle: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUsagePlan.ThrottleSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
13715
14116
  usage_plan_name: typing.Optional[builtins.str] = None,
13716
14117
  ) -> None:
13717
- '''
14118
+ '''Create a new ``AWS::ApiGateway::UsagePlan``.
14119
+
13718
14120
  :param scope: Scope in which this resource is defined.
13719
14121
  :param id: Construct identifier for this resource (unique in its scope).
13720
14122
  :param api_stages: The associated API stages of a usage plan.
@@ -13739,6 +14141,27 @@ class CfnUsagePlan(
13739
14141
 
13740
14142
  jsii.create(self.__class__, self, [scope, id, props])
13741
14143
 
14144
+ @jsii.member(jsii_name="fromUsagePlanId")
14145
+ @builtins.classmethod
14146
+ def from_usage_plan_id(
14147
+ cls,
14148
+ scope: _constructs_77d1e7e8.Construct,
14149
+ id: builtins.str,
14150
+ usage_plan_id: builtins.str,
14151
+ ) -> _IUsagePlanRef_7a28b470:
14152
+ '''Creates a new IUsagePlanRef from a usagePlanId.
14153
+
14154
+ :param scope: -
14155
+ :param id: -
14156
+ :param usage_plan_id: -
14157
+ '''
14158
+ if __debug__:
14159
+ type_hints = typing.get_type_hints(_typecheckingstub__44855889c228ef5d7500d8d4056967324b295b7a5290ae6aa891ab901acb2c2e)
14160
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
14161
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
14162
+ check_type(argname="argument usage_plan_id", value=usage_plan_id, expected_type=type_hints["usage_plan_id"])
14163
+ return typing.cast(_IUsagePlanRef_7a28b470, jsii.sinvoke(cls, "fromUsagePlanId", [scope, id, usage_plan_id]))
14164
+
13742
14165
  @jsii.member(jsii_name="inspect")
13743
14166
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
13744
14167
  '''Examines the CloudFormation resource and discloses attributes.
@@ -13791,6 +14214,12 @@ class CfnUsagePlan(
13791
14214
  '''Tag Manager which manages the tags for this resource.'''
13792
14215
  return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
13793
14216
 
14217
+ @builtins.property
14218
+ @jsii.member(jsii_name="usagePlanRef")
14219
+ def usage_plan_ref(self) -> _UsagePlanReference_3d3ec4d2:
14220
+ '''A reference to a UsagePlan resource.'''
14221
+ return typing.cast(_UsagePlanReference_3d3ec4d2, jsii.get(self, "usagePlanRef"))
14222
+
13794
14223
  @builtins.property
13795
14224
  @jsii.member(jsii_name="apiStages")
13796
14225
  def api_stages(
@@ -14138,7 +14567,7 @@ class CfnUsagePlan(
14138
14567
  )
14139
14568
 
14140
14569
 
14141
- @jsii.implements(_IInspectable_c2943556)
14570
+ @jsii.implements(_IInspectable_c2943556, _IUsagePlanKeyRef_465586fc)
14142
14571
  class CfnUsagePlanKey(
14143
14572
  _CfnResource_9df397a6,
14144
14573
  metaclass=jsii.JSIIMeta,
@@ -14174,7 +14603,8 @@ class CfnUsagePlanKey(
14174
14603
  key_type: builtins.str,
14175
14604
  usage_plan_id: builtins.str,
14176
14605
  ) -> None:
14177
- '''
14606
+ '''Create a new ``AWS::ApiGateway::UsagePlanKey``.
14607
+
14178
14608
  :param scope: Scope in which this resource is defined.
14179
14609
  :param id: Construct identifier for this resource (unique in its scope).
14180
14610
  :param key_id: The Id of the UsagePlanKey resource.
@@ -14237,6 +14667,12 @@ class CfnUsagePlanKey(
14237
14667
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
14238
14668
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
14239
14669
 
14670
+ @builtins.property
14671
+ @jsii.member(jsii_name="usagePlanKeyRef")
14672
+ def usage_plan_key_ref(self) -> _UsagePlanKeyReference_cfe985c6:
14673
+ '''A reference to a UsagePlanKey resource.'''
14674
+ return typing.cast(_UsagePlanKeyReference_cfe985c6, jsii.get(self, "usagePlanKeyRef"))
14675
+
14240
14676
  @builtins.property
14241
14677
  @jsii.member(jsii_name="keyId")
14242
14678
  def key_id(self) -> builtins.str:
@@ -14533,7 +14969,7 @@ class CfnUsagePlanProps:
14533
14969
  )
14534
14970
 
14535
14971
 
14536
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
14972
+ @jsii.implements(_IInspectable_c2943556, _IVpcLinkRef_0afd9621, _ITaggable_36806126)
14537
14973
  class CfnVpcLink(
14538
14974
  _CfnResource_9df397a6,
14539
14975
  metaclass=jsii.JSIIMeta,
@@ -14576,7 +15012,8 @@ class CfnVpcLink(
14576
15012
  description: typing.Optional[builtins.str] = None,
14577
15013
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
14578
15014
  ) -> None:
14579
- '''
15015
+ '''Create a new ``AWS::ApiGateway::VpcLink``.
15016
+
14580
15017
  :param scope: Scope in which this resource is defined.
14581
15018
  :param id: Construct identifier for this resource (unique in its scope).
14582
15019
  :param name: The name used to label and identify the VPC link.
@@ -14594,6 +15031,27 @@ class CfnVpcLink(
14594
15031
 
14595
15032
  jsii.create(self.__class__, self, [scope, id, props])
14596
15033
 
15034
+ @jsii.member(jsii_name="fromVpcLinkId")
15035
+ @builtins.classmethod
15036
+ def from_vpc_link_id(
15037
+ cls,
15038
+ scope: _constructs_77d1e7e8.Construct,
15039
+ id: builtins.str,
15040
+ vpc_link_id: builtins.str,
15041
+ ) -> _IVpcLinkRef_0afd9621:
15042
+ '''Creates a new IVpcLinkRef from a vpcLinkId.
15043
+
15044
+ :param scope: -
15045
+ :param id: -
15046
+ :param vpc_link_id: -
15047
+ '''
15048
+ if __debug__:
15049
+ type_hints = typing.get_type_hints(_typecheckingstub__c1a057c69ce236d79b8b6fb912b05b1084e8253b79689c49d313f733ba403dfd)
15050
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
15051
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
15052
+ check_type(argname="argument vpc_link_id", value=vpc_link_id, expected_type=type_hints["vpc_link_id"])
15053
+ return typing.cast(_IVpcLinkRef_0afd9621, jsii.sinvoke(cls, "fromVpcLinkId", [scope, id, vpc_link_id]))
15054
+
14597
15055
  @jsii.member(jsii_name="inspect")
14598
15056
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
14599
15057
  '''Examines the CloudFormation resource and discloses attributes.
@@ -14646,6 +15104,12 @@ class CfnVpcLink(
14646
15104
  '''Tag Manager which manages the tags for this resource.'''
14647
15105
  return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
14648
15106
 
15107
+ @builtins.property
15108
+ @jsii.member(jsii_name="vpcLinkRef")
15109
+ def vpc_link_ref(self) -> _VpcLinkReference_cccde188:
15110
+ '''A reference to a VpcLink resource.'''
15111
+ return typing.cast(_VpcLinkReference_cccde188, jsii.get(self, "vpcLinkRef"))
15112
+
14649
15113
  @builtins.property
14650
15114
  @jsii.member(jsii_name="name")
14651
15115
  def name(self) -> builtins.str:
@@ -16348,7 +16812,7 @@ class IAccessLogDestination(typing_extensions.Protocol):
16348
16812
  '''Access log destination for a RestApi Stage.'''
16349
16813
 
16350
16814
  @jsii.member(jsii_name="bind")
16351
- def bind(self, stage: "IStage") -> AccessLogDestinationConfig:
16815
+ def bind(self, stage: _IStageRef_b829c330) -> AccessLogDestinationConfig:
16352
16816
  '''Binds this destination to the RestApi Stage.
16353
16817
 
16354
16818
  :param stage: -
@@ -16362,7 +16826,7 @@ class _IAccessLogDestinationProxy:
16362
16826
  __jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_apigateway.IAccessLogDestination"
16363
16827
 
16364
16828
  @jsii.member(jsii_name="bind")
16365
- def bind(self, stage: "IStage") -> AccessLogDestinationConfig:
16829
+ def bind(self, stage: _IStageRef_b829c330) -> AccessLogDestinationConfig:
16366
16830
  '''Binds this destination to the RestApi Stage.
16367
16831
 
16368
16832
  :param stage: -
@@ -16377,7 +16841,7 @@ typing.cast(typing.Any, IAccessLogDestination).__jsii_proxy_class__ = lambda : _
16377
16841
 
16378
16842
 
16379
16843
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IApiKey")
16380
- class IApiKey(_IResource_c80c4260, typing_extensions.Protocol):
16844
+ class IApiKey(_IResource_c80c4260, _IApiKeyRef_6e16b46a, typing_extensions.Protocol):
16381
16845
  '''API keys are alphanumeric string values that you distribute to app developer customers to grant access to your API.'''
16382
16846
 
16383
16847
  @builtins.property
@@ -16398,6 +16862,7 @@ class IApiKey(_IResource_c80c4260, typing_extensions.Protocol):
16398
16862
 
16399
16863
  class _IApiKeyProxy(
16400
16864
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
16865
+ jsii.proxy_for(_IApiKeyRef_6e16b46a), # type: ignore[misc]
16401
16866
  ):
16402
16867
  '''API keys are alphanumeric string values that you distribute to app developer customers to grant access to your API.'''
16403
16868
 
@@ -16467,7 +16932,11 @@ typing.cast(typing.Any, IAuthorizer).__jsii_proxy_class__ = lambda : _IAuthorize
16467
16932
 
16468
16933
 
16469
16934
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IDomainName")
16470
- class IDomainName(_IResource_c80c4260, typing_extensions.Protocol):
16935
+ class IDomainName(
16936
+ _IResource_c80c4260,
16937
+ _IDomainNameRef_8b0ccf94,
16938
+ typing_extensions.Protocol,
16939
+ ):
16471
16940
  @builtins.property
16472
16941
  @jsii.member(jsii_name="domainName")
16473
16942
  def domain_name(self) -> builtins.str:
@@ -16498,6 +16967,7 @@ class IDomainName(_IResource_c80c4260, typing_extensions.Protocol):
16498
16967
 
16499
16968
  class _IDomainNameProxy(
16500
16969
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
16970
+ jsii.proxy_for(_IDomainNameRef_8b0ccf94), # type: ignore[misc]
16501
16971
  ):
16502
16972
  __jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_apigateway.IDomainName"
16503
16973
 
@@ -16533,7 +17003,11 @@ typing.cast(typing.Any, IDomainName).__jsii_proxy_class__ = lambda : _IDomainNam
16533
17003
 
16534
17004
 
16535
17005
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IGatewayResponse")
16536
- class IGatewayResponse(_IResource_c80c4260, typing_extensions.Protocol):
17006
+ class IGatewayResponse(
17007
+ _IResource_c80c4260,
17008
+ _IGatewayResponseRef_d5aa66ef,
17009
+ typing_extensions.Protocol,
17010
+ ):
16537
17011
  '''Represents gateway response resource.'''
16538
17012
 
16539
17013
  pass
@@ -16541,6 +17015,7 @@ class IGatewayResponse(_IResource_c80c4260, typing_extensions.Protocol):
16541
17015
 
16542
17016
  class _IGatewayResponseProxy(
16543
17017
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
17018
+ jsii.proxy_for(_IGatewayResponseRef_d5aa66ef), # type: ignore[misc]
16544
17019
  ):
16545
17020
  '''Represents gateway response resource.'''
16546
17021
 
@@ -16610,7 +17085,11 @@ typing.cast(typing.Any, IRequestValidator).__jsii_proxy_class__ = lambda : _IReq
16610
17085
 
16611
17086
 
16612
17087
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IResource")
16613
- class IResource(_IResource_c80c4260, typing_extensions.Protocol):
17088
+ class IResource(
17089
+ _IResource_c80c4260,
17090
+ _IResourceRef_c7defb81,
17091
+ typing_extensions.Protocol,
17092
+ ):
16614
17093
  @builtins.property
16615
17094
  @jsii.member(jsii_name="api")
16616
17095
  def api(self) -> "IRestApi":
@@ -16799,6 +17278,7 @@ class IResource(_IResource_c80c4260, typing_extensions.Protocol):
16799
17278
 
16800
17279
  class _IResourceProxy(
16801
17280
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
17281
+ jsii.proxy_for(_IResourceRef_c7defb81), # type: ignore[misc]
16802
17282
  ):
16803
17283
  __jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_apigateway.IResource"
16804
17284
 
@@ -17042,7 +17522,7 @@ typing.cast(typing.Any, IResource).__jsii_proxy_class__ = lambda : _IResourcePro
17042
17522
 
17043
17523
 
17044
17524
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IRestApi")
17045
- class IRestApi(_IResource_c80c4260, typing_extensions.Protocol):
17525
+ class IRestApi(_IResource_c80c4260, _IRestApiRef_72dcbda0, typing_extensions.Protocol):
17046
17526
  @builtins.property
17047
17527
  @jsii.member(jsii_name="restApiId")
17048
17528
  def rest_api_id(self) -> builtins.str:
@@ -17125,6 +17605,7 @@ class IRestApi(_IResource_c80c4260, typing_extensions.Protocol):
17125
17605
 
17126
17606
  class _IRestApiProxy(
17127
17607
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
17608
+ jsii.proxy_for(_IRestApiRef_72dcbda0), # type: ignore[misc]
17128
17609
  ):
17129
17610
  __jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_apigateway.IRestApi"
17130
17611
 
@@ -17220,7 +17701,7 @@ typing.cast(typing.Any, IRestApi).__jsii_proxy_class__ = lambda : _IRestApiProxy
17220
17701
 
17221
17702
 
17222
17703
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IStage")
17223
- class IStage(_IResource_c80c4260, typing_extensions.Protocol):
17704
+ class IStage(_IResource_c80c4260, _IStageRef_b829c330, typing_extensions.Protocol):
17224
17705
  '''Represents an APIGateway Stage.'''
17225
17706
 
17226
17707
  @builtins.property
@@ -17265,6 +17746,7 @@ class IStage(_IResource_c80c4260, typing_extensions.Protocol):
17265
17746
 
17266
17747
  class _IStageProxy(
17267
17748
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
17749
+ jsii.proxy_for(_IStageRef_b829c330), # type: ignore[misc]
17268
17750
  ):
17269
17751
  '''Represents an APIGateway Stage.'''
17270
17752
 
@@ -17326,7 +17808,11 @@ typing.cast(typing.Any, IStage).__jsii_proxy_class__ = lambda : _IStageProxy
17326
17808
 
17327
17809
 
17328
17810
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IUsagePlan")
17329
- class IUsagePlan(_IResource_c80c4260, typing_extensions.Protocol):
17811
+ class IUsagePlan(
17812
+ _IResource_c80c4260,
17813
+ _IUsagePlanRef_7a28b470,
17814
+ typing_extensions.Protocol,
17815
+ ):
17330
17816
  '''A UsagePlan, either managed by this CDK app, or imported.'''
17331
17817
 
17332
17818
  @builtins.property
@@ -17341,7 +17827,7 @@ class IUsagePlan(_IResource_c80c4260, typing_extensions.Protocol):
17341
17827
  @jsii.member(jsii_name="addApiKey")
17342
17828
  def add_api_key(
17343
17829
  self,
17344
- api_key: IApiKey,
17830
+ api_key: _IApiKeyRef_6e16b46a,
17345
17831
  *,
17346
17832
  override_logical_id: typing.Optional[builtins.str] = None,
17347
17833
  ) -> None:
@@ -17355,6 +17841,7 @@ class IUsagePlan(_IResource_c80c4260, typing_extensions.Protocol):
17355
17841
 
17356
17842
  class _IUsagePlanProxy(
17357
17843
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
17844
+ jsii.proxy_for(_IUsagePlanRef_7a28b470), # type: ignore[misc]
17358
17845
  ):
17359
17846
  '''A UsagePlan, either managed by this CDK app, or imported.'''
17360
17847
 
@@ -17372,7 +17859,7 @@ class _IUsagePlanProxy(
17372
17859
  @jsii.member(jsii_name="addApiKey")
17373
17860
  def add_api_key(
17374
17861
  self,
17375
- api_key: IApiKey,
17862
+ api_key: _IApiKeyRef_6e16b46a,
17376
17863
  *,
17377
17864
  override_logical_id: typing.Optional[builtins.str] = None,
17378
17865
  ) -> None:
@@ -17393,7 +17880,7 @@ typing.cast(typing.Any, IUsagePlan).__jsii_proxy_class__ = lambda : _IUsagePlanP
17393
17880
 
17394
17881
 
17395
17882
  @jsii.interface(jsii_type="aws-cdk-lib.aws_apigateway.IVpcLink")
17396
- class IVpcLink(_IResource_c80c4260, typing_extensions.Protocol):
17883
+ class IVpcLink(_IResource_c80c4260, _IVpcLinkRef_0afd9621, typing_extensions.Protocol):
17397
17884
  '''Represents an API Gateway VpcLink.'''
17398
17885
 
17399
17886
  @builtins.property
@@ -17408,6 +17895,7 @@ class IVpcLink(_IResource_c80c4260, typing_extensions.Protocol):
17408
17895
 
17409
17896
  class _IVpcLinkProxy(
17410
17897
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
17898
+ jsii.proxy_for(_IVpcLinkRef_0afd9621), # type: ignore[misc]
17411
17899
  ):
17412
17900
  '''Represents an API Gateway VpcLink.'''
17413
17901
 
@@ -18487,7 +18975,7 @@ class JsonSchema:
18487
18975
  def __init__(
18488
18976
  self,
18489
18977
  *,
18490
- additional_items: typing.Optional[typing.Sequence[typing.Union["JsonSchema", typing.Dict[builtins.str, typing.Any]]]] = None,
18978
+ additional_items: typing.Optional[typing.Union[builtins.bool, typing.Union["JsonSchema", typing.Dict[builtins.str, typing.Any]]]] = None,
18491
18979
  additional_properties: typing.Optional[typing.Union[builtins.bool, typing.Union["JsonSchema", typing.Dict[builtins.str, typing.Any]]]] = None,
18492
18980
  all_of: typing.Optional[typing.Sequence[typing.Union["JsonSchema", typing.Dict[builtins.str, typing.Any]]]] = None,
18493
18981
  any_of: typing.Optional[typing.Sequence[typing.Union["JsonSchema", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -18720,9 +19208,11 @@ class JsonSchema:
18720
19208
  self._values["unique_items"] = unique_items
18721
19209
 
18722
19210
  @builtins.property
18723
- def additional_items(self) -> typing.Optional[typing.List["JsonSchema"]]:
19211
+ def additional_items(
19212
+ self,
19213
+ ) -> typing.Optional[typing.Union[builtins.bool, "JsonSchema"]]:
18724
19214
  result = self._values.get("additional_items")
18725
- return typing.cast(typing.Optional[typing.List["JsonSchema"]], result)
19215
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, "JsonSchema"]], result)
18726
19216
 
18727
19217
  @builtins.property
18728
19218
  def additional_properties(
@@ -19342,6 +19832,7 @@ class LambdaAuthorizerProps:
19342
19832
  "vpc_link": "vpcLink",
19343
19833
  "allow_test_invoke": "allowTestInvoke",
19344
19834
  "proxy": "proxy",
19835
+ "scope_permission_to_method": "scopePermissionToMethod",
19345
19836
  },
19346
19837
  )
19347
19838
  class LambdaIntegrationOptions(IntegrationOptions):
@@ -19362,6 +19853,7 @@ class LambdaIntegrationOptions(IntegrationOptions):
19362
19853
  vpc_link: typing.Optional[IVpcLink] = None,
19363
19854
  allow_test_invoke: typing.Optional[builtins.bool] = None,
19364
19855
  proxy: typing.Optional[builtins.bool] = None,
19856
+ scope_permission_to_method: typing.Optional[builtins.bool] = None,
19365
19857
  ) -> None:
19366
19858
  '''
19367
19859
  :param cache_key_parameters: A list of request parameters whose values are to be cached. It determines request parameters that will make it into the cache key.
@@ -19376,23 +19868,27 @@ class LambdaIntegrationOptions(IntegrationOptions):
19376
19868
  :param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
19377
19869
  :param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
19378
19870
  :param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
19379
- :param allow_test_invoke: Allow invoking method from AWS Console UI (for testing purposes). This will add another permission to the AWS Lambda resource policy which will allow the ``test-invoke-stage`` stage to invoke this handler. If this is set to ``false``, the function will only be usable from the deployment endpoint. Default: true
19871
+ :param allow_test_invoke: Allow invoking method from AWS Console UI (for testing purposes). This will add another permission to the AWS Lambda resource policy which will allow the ``test-invoke-stage`` stage to invoke this handler. If this is set to ``false``, the function will only be usable from the deployment endpoint. Note that this property is ignored when ``scopePermissionToMethod`` is ``false``. Default: true
19380
19872
  :param proxy: Use proxy integration or normal (request/response mapping) integration. Default: true
19873
+ :param scope_permission_to_method: Scope the permission for invoking the AWS Lambda down to the specific method associated with this integration. If this is set to ``false``, the permission will allow invoking the AWS Lambda from any method. This is useful for reducing the AWS Lambda policy size for cases where the same AWS Lambda function is reused for many integrations. Note that this will always allow test invocations. Default: true
19381
19874
 
19382
19875
  :exampleMetadata: infused
19383
19876
 
19384
19877
  Example::
19385
19878
 
19879
+ # book: apigateway.Resource
19386
19880
  # backend: lambda.Function
19387
19881
 
19388
19882
 
19389
- api = apigateway.LambdaRestApi(self, "myapi",
19390
- handler=backend,
19391
- integration_options=apigateway.LambdaIntegrationOptions(
19392
- allow_test_invoke=False,
19393
- timeout=Duration.seconds(1)
19394
- )
19883
+ get_book_integration = apigateway.LambdaIntegration(backend,
19884
+ scope_permission_to_method=False
19885
+ )
19886
+ create_book_integration = apigateway.LambdaIntegration(backend,
19887
+ scope_permission_to_method=False
19395
19888
  )
19889
+
19890
+ book.add_method("GET", get_book_integration)
19891
+ book.add_method("POST", create_book_integration)
19396
19892
  '''
19397
19893
  if __debug__:
19398
19894
  type_hints = typing.get_type_hints(_typecheckingstub__ce30eee1096e0566120e3d64f9e65409fa005cc047656a224902fd86cd15c8b0)
@@ -19410,6 +19906,7 @@ class LambdaIntegrationOptions(IntegrationOptions):
19410
19906
  check_type(argname="argument vpc_link", value=vpc_link, expected_type=type_hints["vpc_link"])
19411
19907
  check_type(argname="argument allow_test_invoke", value=allow_test_invoke, expected_type=type_hints["allow_test_invoke"])
19412
19908
  check_type(argname="argument proxy", value=proxy, expected_type=type_hints["proxy"])
19909
+ check_type(argname="argument scope_permission_to_method", value=scope_permission_to_method, expected_type=type_hints["scope_permission_to_method"])
19413
19910
  self._values: typing.Dict[builtins.str, typing.Any] = {}
19414
19911
  if cache_key_parameters is not None:
19415
19912
  self._values["cache_key_parameters"] = cache_key_parameters
@@ -19439,6 +19936,8 @@ class LambdaIntegrationOptions(IntegrationOptions):
19439
19936
  self._values["allow_test_invoke"] = allow_test_invoke
19440
19937
  if proxy is not None:
19441
19938
  self._values["proxy"] = proxy
19939
+ if scope_permission_to_method is not None:
19940
+ self._values["scope_permission_to_method"] = scope_permission_to_method
19442
19941
 
19443
19942
  @builtins.property
19444
19943
  def cache_key_parameters(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -19595,6 +20094,8 @@ class LambdaIntegrationOptions(IntegrationOptions):
19595
20094
  is set to ``false``, the function will only be usable from the deployment
19596
20095
  endpoint.
19597
20096
 
20097
+ Note that this property is ignored when ``scopePermissionToMethod`` is ``false``.
20098
+
19598
20099
  :default: true
19599
20100
  '''
19600
20101
  result = self._values.get("allow_test_invoke")
@@ -19611,6 +20112,21 @@ class LambdaIntegrationOptions(IntegrationOptions):
19611
20112
  result = self._values.get("proxy")
19612
20113
  return typing.cast(typing.Optional[builtins.bool], result)
19613
20114
 
20115
+ @builtins.property
20116
+ def scope_permission_to_method(self) -> typing.Optional[builtins.bool]:
20117
+ '''Scope the permission for invoking the AWS Lambda down to the specific method associated with this integration.
20118
+
20119
+ If this is set to ``false``, the permission will allow invoking the AWS Lambda
20120
+ from any method. This is useful for reducing the AWS Lambda policy size
20121
+ for cases where the same AWS Lambda function is reused for many integrations.
20122
+
20123
+ Note that this will always allow test invocations.
20124
+
20125
+ :default: true
20126
+ '''
20127
+ result = self._values.get("scope_permission_to_method")
20128
+ return typing.cast(typing.Optional[builtins.bool], result)
20129
+
19614
20130
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
19615
20131
  return isinstance(rhs, self.__class__) and rhs._values == self._values
19616
20132
 
@@ -19654,7 +20170,7 @@ class LogGroupLogDestination(
19654
20170
  jsii.create(self.__class__, self, [log_group])
19655
20171
 
19656
20172
  @jsii.member(jsii_name="bind")
19657
- def bind(self, _stage: IStage) -> AccessLogDestinationConfig:
20173
+ def bind(self, _stage: _IStageRef_b829c330) -> AccessLogDestinationConfig:
19658
20174
  '''Binds this destination to the CloudWatch Logs.
19659
20175
 
19660
20176
  :param _stage: -
@@ -19853,11 +20369,12 @@ class Method(
19853
20369
  def metric(
19854
20370
  self,
19855
20371
  metric_name: builtins.str,
19856
- stage: IStage,
20372
+ stage: _IStageRef_b829c330,
19857
20373
  *,
19858
20374
  account: typing.Optional[builtins.str] = None,
19859
20375
  color: typing.Optional[builtins.str] = None,
19860
20376
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20377
+ id: typing.Optional[builtins.str] = None,
19861
20378
  label: typing.Optional[builtins.str] = None,
19862
20379
  period: typing.Optional[_Duration_4839e8c3] = None,
19863
20380
  region: typing.Optional[builtins.str] = None,
@@ -19865,6 +20382,7 @@ class Method(
19865
20382
  stack_region: typing.Optional[builtins.str] = None,
19866
20383
  statistic: typing.Optional[builtins.str] = None,
19867
20384
  unit: typing.Optional[_Unit_61bc6f70] = None,
20385
+ visible: typing.Optional[builtins.bool] = None,
19868
20386
  ) -> _Metric_e396a4dc:
19869
20387
  '''Returns the given named metric for this API method.
19870
20388
 
@@ -19873,6 +20391,7 @@ class Method(
19873
20391
  :param account: Account which this metric comes from. Default: - Deployment account.
19874
20392
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
19875
20393
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20394
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
19876
20395
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
19877
20396
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19878
20397
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19880,6 +20399,7 @@ class Method(
19880
20399
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19881
20400
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
19882
20401
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20402
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
19883
20403
  '''
19884
20404
  if __debug__:
19885
20405
  type_hints = typing.get_type_hints(_typecheckingstub__5673792ec70e78f31bd42c8b5fa76d95f3d27fb475ced2b715241422b9a73c79)
@@ -19889,6 +20409,7 @@ class Method(
19889
20409
  account=account,
19890
20410
  color=color,
19891
20411
  dimensions_map=dimensions_map,
20412
+ id=id,
19892
20413
  label=label,
19893
20414
  period=period,
19894
20415
  region=region,
@@ -19896,6 +20417,7 @@ class Method(
19896
20417
  stack_region=stack_region,
19897
20418
  statistic=statistic,
19898
20419
  unit=unit,
20420
+ visible=visible,
19899
20421
  )
19900
20422
 
19901
20423
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, stage, props]))
@@ -19903,11 +20425,12 @@ class Method(
19903
20425
  @jsii.member(jsii_name="metricCacheHitCount")
19904
20426
  def metric_cache_hit_count(
19905
20427
  self,
19906
- stage: IStage,
20428
+ stage: _IStageRef_b829c330,
19907
20429
  *,
19908
20430
  account: typing.Optional[builtins.str] = None,
19909
20431
  color: typing.Optional[builtins.str] = None,
19910
20432
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20433
+ id: typing.Optional[builtins.str] = None,
19911
20434
  label: typing.Optional[builtins.str] = None,
19912
20435
  period: typing.Optional[_Duration_4839e8c3] = None,
19913
20436
  region: typing.Optional[builtins.str] = None,
@@ -19915,6 +20438,7 @@ class Method(
19915
20438
  stack_region: typing.Optional[builtins.str] = None,
19916
20439
  statistic: typing.Optional[builtins.str] = None,
19917
20440
  unit: typing.Optional[_Unit_61bc6f70] = None,
20441
+ visible: typing.Optional[builtins.bool] = None,
19918
20442
  ) -> _Metric_e396a4dc:
19919
20443
  '''Metric for the number of requests served from the API cache in a given period.
19920
20444
 
@@ -19922,6 +20446,7 @@ class Method(
19922
20446
  :param account: Account which this metric comes from. Default: - Deployment account.
19923
20447
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
19924
20448
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20449
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
19925
20450
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
19926
20451
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19927
20452
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19929,6 +20454,7 @@ class Method(
19929
20454
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19930
20455
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
19931
20456
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20457
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
19932
20458
 
19933
20459
  :default: - sum over 5 minutes
19934
20460
  '''
@@ -19939,6 +20465,7 @@ class Method(
19939
20465
  account=account,
19940
20466
  color=color,
19941
20467
  dimensions_map=dimensions_map,
20468
+ id=id,
19942
20469
  label=label,
19943
20470
  period=period,
19944
20471
  region=region,
@@ -19946,6 +20473,7 @@ class Method(
19946
20473
  stack_region=stack_region,
19947
20474
  statistic=statistic,
19948
20475
  unit=unit,
20476
+ visible=visible,
19949
20477
  )
19950
20478
 
19951
20479
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheHitCount", [stage, props]))
@@ -19953,11 +20481,12 @@ class Method(
19953
20481
  @jsii.member(jsii_name="metricCacheMissCount")
19954
20482
  def metric_cache_miss_count(
19955
20483
  self,
19956
- stage: IStage,
20484
+ stage: _IStageRef_b829c330,
19957
20485
  *,
19958
20486
  account: typing.Optional[builtins.str] = None,
19959
20487
  color: typing.Optional[builtins.str] = None,
19960
20488
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20489
+ id: typing.Optional[builtins.str] = None,
19961
20490
  label: typing.Optional[builtins.str] = None,
19962
20491
  period: typing.Optional[_Duration_4839e8c3] = None,
19963
20492
  region: typing.Optional[builtins.str] = None,
@@ -19965,6 +20494,7 @@ class Method(
19965
20494
  stack_region: typing.Optional[builtins.str] = None,
19966
20495
  statistic: typing.Optional[builtins.str] = None,
19967
20496
  unit: typing.Optional[_Unit_61bc6f70] = None,
20497
+ visible: typing.Optional[builtins.bool] = None,
19968
20498
  ) -> _Metric_e396a4dc:
19969
20499
  '''Metric for the number of requests served from the backend in a given period, when API caching is enabled.
19970
20500
 
@@ -19972,6 +20502,7 @@ class Method(
19972
20502
  :param account: Account which this metric comes from. Default: - Deployment account.
19973
20503
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
19974
20504
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20505
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
19975
20506
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
19976
20507
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19977
20508
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19979,6 +20510,7 @@ class Method(
19979
20510
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19980
20511
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
19981
20512
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20513
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
19982
20514
 
19983
20515
  :default: - sum over 5 minutes
19984
20516
  '''
@@ -19989,6 +20521,7 @@ class Method(
19989
20521
  account=account,
19990
20522
  color=color,
19991
20523
  dimensions_map=dimensions_map,
20524
+ id=id,
19992
20525
  label=label,
19993
20526
  period=period,
19994
20527
  region=region,
@@ -19996,6 +20529,7 @@ class Method(
19996
20529
  stack_region=stack_region,
19997
20530
  statistic=statistic,
19998
20531
  unit=unit,
20532
+ visible=visible,
19999
20533
  )
20000
20534
 
20001
20535
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheMissCount", [stage, props]))
@@ -20003,11 +20537,12 @@ class Method(
20003
20537
  @jsii.member(jsii_name="metricClientError")
20004
20538
  def metric_client_error(
20005
20539
  self,
20006
- stage: IStage,
20540
+ stage: _IStageRef_b829c330,
20007
20541
  *,
20008
20542
  account: typing.Optional[builtins.str] = None,
20009
20543
  color: typing.Optional[builtins.str] = None,
20010
20544
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20545
+ id: typing.Optional[builtins.str] = None,
20011
20546
  label: typing.Optional[builtins.str] = None,
20012
20547
  period: typing.Optional[_Duration_4839e8c3] = None,
20013
20548
  region: typing.Optional[builtins.str] = None,
@@ -20015,6 +20550,7 @@ class Method(
20015
20550
  stack_region: typing.Optional[builtins.str] = None,
20016
20551
  statistic: typing.Optional[builtins.str] = None,
20017
20552
  unit: typing.Optional[_Unit_61bc6f70] = None,
20553
+ visible: typing.Optional[builtins.bool] = None,
20018
20554
  ) -> _Metric_e396a4dc:
20019
20555
  '''Metric for the number of client-side errors captured in a given period.
20020
20556
 
@@ -20022,6 +20558,7 @@ class Method(
20022
20558
  :param account: Account which this metric comes from. Default: - Deployment account.
20023
20559
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
20024
20560
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20561
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
20025
20562
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
20026
20563
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20027
20564
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20029,6 +20566,7 @@ class Method(
20029
20566
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20030
20567
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
20031
20568
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20569
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
20032
20570
 
20033
20571
  :default: - sum over 5 minutes
20034
20572
  '''
@@ -20039,6 +20577,7 @@ class Method(
20039
20577
  account=account,
20040
20578
  color=color,
20041
20579
  dimensions_map=dimensions_map,
20580
+ id=id,
20042
20581
  label=label,
20043
20582
  period=period,
20044
20583
  region=region,
@@ -20046,6 +20585,7 @@ class Method(
20046
20585
  stack_region=stack_region,
20047
20586
  statistic=statistic,
20048
20587
  unit=unit,
20588
+ visible=visible,
20049
20589
  )
20050
20590
 
20051
20591
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [stage, props]))
@@ -20053,11 +20593,12 @@ class Method(
20053
20593
  @jsii.member(jsii_name="metricCount")
20054
20594
  def metric_count(
20055
20595
  self,
20056
- stage: IStage,
20596
+ stage: _IStageRef_b829c330,
20057
20597
  *,
20058
20598
  account: typing.Optional[builtins.str] = None,
20059
20599
  color: typing.Optional[builtins.str] = None,
20060
20600
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20601
+ id: typing.Optional[builtins.str] = None,
20061
20602
  label: typing.Optional[builtins.str] = None,
20062
20603
  period: typing.Optional[_Duration_4839e8c3] = None,
20063
20604
  region: typing.Optional[builtins.str] = None,
@@ -20065,6 +20606,7 @@ class Method(
20065
20606
  stack_region: typing.Optional[builtins.str] = None,
20066
20607
  statistic: typing.Optional[builtins.str] = None,
20067
20608
  unit: typing.Optional[_Unit_61bc6f70] = None,
20609
+ visible: typing.Optional[builtins.bool] = None,
20068
20610
  ) -> _Metric_e396a4dc:
20069
20611
  '''Metric for the total number API requests in a given period.
20070
20612
 
@@ -20072,6 +20614,7 @@ class Method(
20072
20614
  :param account: Account which this metric comes from. Default: - Deployment account.
20073
20615
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
20074
20616
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20617
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
20075
20618
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
20076
20619
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20077
20620
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20079,6 +20622,7 @@ class Method(
20079
20622
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20080
20623
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
20081
20624
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20625
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
20082
20626
 
20083
20627
  :default: - sample count over 5 minutes
20084
20628
  '''
@@ -20089,6 +20633,7 @@ class Method(
20089
20633
  account=account,
20090
20634
  color=color,
20091
20635
  dimensions_map=dimensions_map,
20636
+ id=id,
20092
20637
  label=label,
20093
20638
  period=period,
20094
20639
  region=region,
@@ -20096,6 +20641,7 @@ class Method(
20096
20641
  stack_region=stack_region,
20097
20642
  statistic=statistic,
20098
20643
  unit=unit,
20644
+ visible=visible,
20099
20645
  )
20100
20646
 
20101
20647
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [stage, props]))
@@ -20103,11 +20649,12 @@ class Method(
20103
20649
  @jsii.member(jsii_name="metricIntegrationLatency")
20104
20650
  def metric_integration_latency(
20105
20651
  self,
20106
- stage: IStage,
20652
+ stage: _IStageRef_b829c330,
20107
20653
  *,
20108
20654
  account: typing.Optional[builtins.str] = None,
20109
20655
  color: typing.Optional[builtins.str] = None,
20110
20656
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20657
+ id: typing.Optional[builtins.str] = None,
20111
20658
  label: typing.Optional[builtins.str] = None,
20112
20659
  period: typing.Optional[_Duration_4839e8c3] = None,
20113
20660
  region: typing.Optional[builtins.str] = None,
@@ -20115,6 +20662,7 @@ class Method(
20115
20662
  stack_region: typing.Optional[builtins.str] = None,
20116
20663
  statistic: typing.Optional[builtins.str] = None,
20117
20664
  unit: typing.Optional[_Unit_61bc6f70] = None,
20665
+ visible: typing.Optional[builtins.bool] = None,
20118
20666
  ) -> _Metric_e396a4dc:
20119
20667
  '''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
20120
20668
 
@@ -20122,6 +20670,7 @@ class Method(
20122
20670
  :param account: Account which this metric comes from. Default: - Deployment account.
20123
20671
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
20124
20672
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20673
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
20125
20674
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
20126
20675
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20127
20676
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20129,6 +20678,7 @@ class Method(
20129
20678
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20130
20679
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
20131
20680
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20681
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
20132
20682
 
20133
20683
  :default: - average over 5 minutes.
20134
20684
  '''
@@ -20139,6 +20689,7 @@ class Method(
20139
20689
  account=account,
20140
20690
  color=color,
20141
20691
  dimensions_map=dimensions_map,
20692
+ id=id,
20142
20693
  label=label,
20143
20694
  period=period,
20144
20695
  region=region,
@@ -20146,6 +20697,7 @@ class Method(
20146
20697
  stack_region=stack_region,
20147
20698
  statistic=statistic,
20148
20699
  unit=unit,
20700
+ visible=visible,
20149
20701
  )
20150
20702
 
20151
20703
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [stage, props]))
@@ -20153,11 +20705,12 @@ class Method(
20153
20705
  @jsii.member(jsii_name="metricLatency")
20154
20706
  def metric_latency(
20155
20707
  self,
20156
- stage: IStage,
20708
+ stage: _IStageRef_b829c330,
20157
20709
  *,
20158
20710
  account: typing.Optional[builtins.str] = None,
20159
20711
  color: typing.Optional[builtins.str] = None,
20160
20712
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20713
+ id: typing.Optional[builtins.str] = None,
20161
20714
  label: typing.Optional[builtins.str] = None,
20162
20715
  period: typing.Optional[_Duration_4839e8c3] = None,
20163
20716
  region: typing.Optional[builtins.str] = None,
@@ -20165,6 +20718,7 @@ class Method(
20165
20718
  stack_region: typing.Optional[builtins.str] = None,
20166
20719
  statistic: typing.Optional[builtins.str] = None,
20167
20720
  unit: typing.Optional[_Unit_61bc6f70] = None,
20721
+ visible: typing.Optional[builtins.bool] = None,
20168
20722
  ) -> _Metric_e396a4dc:
20169
20723
  '''The time between when API Gateway receives a request from a client and when it returns a response to the client.
20170
20724
 
@@ -20174,6 +20728,7 @@ class Method(
20174
20728
  :param account: Account which this metric comes from. Default: - Deployment account.
20175
20729
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
20176
20730
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20731
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
20177
20732
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
20178
20733
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20179
20734
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20181,6 +20736,7 @@ class Method(
20181
20736
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20182
20737
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
20183
20738
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20739
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
20184
20740
 
20185
20741
  :default: - average over 5 minutes.
20186
20742
  '''
@@ -20191,6 +20747,7 @@ class Method(
20191
20747
  account=account,
20192
20748
  color=color,
20193
20749
  dimensions_map=dimensions_map,
20750
+ id=id,
20194
20751
  label=label,
20195
20752
  period=period,
20196
20753
  region=region,
@@ -20198,6 +20755,7 @@ class Method(
20198
20755
  stack_region=stack_region,
20199
20756
  statistic=statistic,
20200
20757
  unit=unit,
20758
+ visible=visible,
20201
20759
  )
20202
20760
 
20203
20761
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [stage, props]))
@@ -20205,11 +20763,12 @@ class Method(
20205
20763
  @jsii.member(jsii_name="metricServerError")
20206
20764
  def metric_server_error(
20207
20765
  self,
20208
- stage: IStage,
20766
+ stage: _IStageRef_b829c330,
20209
20767
  *,
20210
20768
  account: typing.Optional[builtins.str] = None,
20211
20769
  color: typing.Optional[builtins.str] = None,
20212
20770
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20771
+ id: typing.Optional[builtins.str] = None,
20213
20772
  label: typing.Optional[builtins.str] = None,
20214
20773
  period: typing.Optional[_Duration_4839e8c3] = None,
20215
20774
  region: typing.Optional[builtins.str] = None,
@@ -20217,6 +20776,7 @@ class Method(
20217
20776
  stack_region: typing.Optional[builtins.str] = None,
20218
20777
  statistic: typing.Optional[builtins.str] = None,
20219
20778
  unit: typing.Optional[_Unit_61bc6f70] = None,
20779
+ visible: typing.Optional[builtins.bool] = None,
20220
20780
  ) -> _Metric_e396a4dc:
20221
20781
  '''Metric for the number of server-side errors captured in a given period.
20222
20782
 
@@ -20224,6 +20784,7 @@ class Method(
20224
20784
  :param account: Account which this metric comes from. Default: - Deployment account.
20225
20785
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
20226
20786
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20787
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
20227
20788
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
20228
20789
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20229
20790
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20231,6 +20792,7 @@ class Method(
20231
20792
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20232
20793
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
20233
20794
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
20795
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
20234
20796
 
20235
20797
  :default: - sum over 5 minutes
20236
20798
  '''
@@ -20241,6 +20803,7 @@ class Method(
20241
20803
  account=account,
20242
20804
  color=color,
20243
20805
  dimensions_map=dimensions_map,
20806
+ id=id,
20244
20807
  label=label,
20245
20808
  period=period,
20246
20809
  region=region,
@@ -20248,6 +20811,7 @@ class Method(
20248
20811
  stack_region=stack_region,
20249
20812
  statistic=statistic,
20250
20813
  unit=unit,
20814
+ visible=visible,
20251
20815
  )
20252
20816
 
20253
20817
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [stage, props]))
@@ -21512,7 +22076,7 @@ class ModelProps(ModelOptions):
21512
22076
  model_props = apigateway.ModelProps(
21513
22077
  rest_api=rest_api,
21514
22078
  schema=apigateway.JsonSchema(
21515
- additional_items=[json_schema_],
22079
+ additional_items=False,
21516
22080
  additional_properties=False,
21517
22081
  all_of=[json_schema_],
21518
22082
  any_of=[json_schema_],
@@ -21977,6 +22541,12 @@ class RateLimitedApiKey(
21977
22541
  '''Uniquely identifies this class.'''
21978
22542
  return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
21979
22543
 
22544
+ @builtins.property
22545
+ @jsii.member(jsii_name="apiKeyRef")
22546
+ def api_key_ref(self) -> _ApiKeyReference_6382fd3a:
22547
+ '''A reference to a ApiKey resource.'''
22548
+ return typing.cast(_ApiKeyReference_6382fd3a, jsii.get(self, "apiKeyRef"))
22549
+
21980
22550
  @builtins.property
21981
22551
  @jsii.member(jsii_name="keyArn")
21982
22552
  def key_arn(self) -> builtins.str:
@@ -23122,6 +23692,12 @@ class ResourceBase(
23122
23692
  '''The ID of the resource.'''
23123
23693
  ...
23124
23694
 
23695
+ @builtins.property
23696
+ @jsii.member(jsii_name="resourceRef")
23697
+ def resource_ref(self) -> _ResourceReference_c72d8a5a:
23698
+ '''A reference to a Resource resource.'''
23699
+ return typing.cast(_ResourceReference_c72d8a5a, jsii.get(self, "resourceRef"))
23700
+
23125
23701
  @builtins.property
23126
23702
  @jsii.member(jsii_name="defaultCorsPreflightOptions")
23127
23703
  @abc.abstractmethod
@@ -24101,6 +24677,7 @@ class RestApiBase(
24101
24677
  account: typing.Optional[builtins.str] = None,
24102
24678
  color: typing.Optional[builtins.str] = None,
24103
24679
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24680
+ id: typing.Optional[builtins.str] = None,
24104
24681
  label: typing.Optional[builtins.str] = None,
24105
24682
  period: typing.Optional[_Duration_4839e8c3] = None,
24106
24683
  region: typing.Optional[builtins.str] = None,
@@ -24108,6 +24685,7 @@ class RestApiBase(
24108
24685
  stack_region: typing.Optional[builtins.str] = None,
24109
24686
  statistic: typing.Optional[builtins.str] = None,
24110
24687
  unit: typing.Optional[_Unit_61bc6f70] = None,
24688
+ visible: typing.Optional[builtins.bool] = None,
24111
24689
  ) -> _Metric_e396a4dc:
24112
24690
  '''Returns the given named metric for this API.
24113
24691
 
@@ -24115,6 +24693,7 @@ class RestApiBase(
24115
24693
  :param account: Account which this metric comes from. Default: - Deployment account.
24116
24694
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24117
24695
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24696
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24118
24697
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24119
24698
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24120
24699
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24122,6 +24701,7 @@ class RestApiBase(
24122
24701
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24123
24702
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24124
24703
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
24704
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24125
24705
  '''
24126
24706
  if __debug__:
24127
24707
  type_hints = typing.get_type_hints(_typecheckingstub__83e0007c5bc1aeac14243c8f05dab576ffb55853642cfe1f4a1352b59dda08cf)
@@ -24130,6 +24710,7 @@ class RestApiBase(
24130
24710
  account=account,
24131
24711
  color=color,
24132
24712
  dimensions_map=dimensions_map,
24713
+ id=id,
24133
24714
  label=label,
24134
24715
  period=period,
24135
24716
  region=region,
@@ -24137,6 +24718,7 @@ class RestApiBase(
24137
24718
  stack_region=stack_region,
24138
24719
  statistic=statistic,
24139
24720
  unit=unit,
24721
+ visible=visible,
24140
24722
  )
24141
24723
 
24142
24724
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -24148,6 +24730,7 @@ class RestApiBase(
24148
24730
  account: typing.Optional[builtins.str] = None,
24149
24731
  color: typing.Optional[builtins.str] = None,
24150
24732
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24733
+ id: typing.Optional[builtins.str] = None,
24151
24734
  label: typing.Optional[builtins.str] = None,
24152
24735
  period: typing.Optional[_Duration_4839e8c3] = None,
24153
24736
  region: typing.Optional[builtins.str] = None,
@@ -24155,6 +24738,7 @@ class RestApiBase(
24155
24738
  stack_region: typing.Optional[builtins.str] = None,
24156
24739
  statistic: typing.Optional[builtins.str] = None,
24157
24740
  unit: typing.Optional[_Unit_61bc6f70] = None,
24741
+ visible: typing.Optional[builtins.bool] = None,
24158
24742
  ) -> _Metric_e396a4dc:
24159
24743
  '''Metric for the number of requests served from the API cache in a given period.
24160
24744
 
@@ -24163,6 +24747,7 @@ class RestApiBase(
24163
24747
  :param account: Account which this metric comes from. Default: - Deployment account.
24164
24748
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24165
24749
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24750
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24166
24751
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24167
24752
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24168
24753
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24170,11 +24755,13 @@ class RestApiBase(
24170
24755
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24171
24756
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24172
24757
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
24758
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24173
24759
  '''
24174
24760
  props = _MetricOptions_1788b62f(
24175
24761
  account=account,
24176
24762
  color=color,
24177
24763
  dimensions_map=dimensions_map,
24764
+ id=id,
24178
24765
  label=label,
24179
24766
  period=period,
24180
24767
  region=region,
@@ -24182,6 +24769,7 @@ class RestApiBase(
24182
24769
  stack_region=stack_region,
24183
24770
  statistic=statistic,
24184
24771
  unit=unit,
24772
+ visible=visible,
24185
24773
  )
24186
24774
 
24187
24775
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheHitCount", [props]))
@@ -24193,6 +24781,7 @@ class RestApiBase(
24193
24781
  account: typing.Optional[builtins.str] = None,
24194
24782
  color: typing.Optional[builtins.str] = None,
24195
24783
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24784
+ id: typing.Optional[builtins.str] = None,
24196
24785
  label: typing.Optional[builtins.str] = None,
24197
24786
  period: typing.Optional[_Duration_4839e8c3] = None,
24198
24787
  region: typing.Optional[builtins.str] = None,
@@ -24200,6 +24789,7 @@ class RestApiBase(
24200
24789
  stack_region: typing.Optional[builtins.str] = None,
24201
24790
  statistic: typing.Optional[builtins.str] = None,
24202
24791
  unit: typing.Optional[_Unit_61bc6f70] = None,
24792
+ visible: typing.Optional[builtins.bool] = None,
24203
24793
  ) -> _Metric_e396a4dc:
24204
24794
  '''Metric for the number of requests served from the backend in a given period, when API caching is enabled.
24205
24795
 
@@ -24208,6 +24798,7 @@ class RestApiBase(
24208
24798
  :param account: Account which this metric comes from. Default: - Deployment account.
24209
24799
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24210
24800
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24801
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24211
24802
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24212
24803
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24213
24804
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24215,11 +24806,13 @@ class RestApiBase(
24215
24806
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24216
24807
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24217
24808
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
24809
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24218
24810
  '''
24219
24811
  props = _MetricOptions_1788b62f(
24220
24812
  account=account,
24221
24813
  color=color,
24222
24814
  dimensions_map=dimensions_map,
24815
+ id=id,
24223
24816
  label=label,
24224
24817
  period=period,
24225
24818
  region=region,
@@ -24227,6 +24820,7 @@ class RestApiBase(
24227
24820
  stack_region=stack_region,
24228
24821
  statistic=statistic,
24229
24822
  unit=unit,
24823
+ visible=visible,
24230
24824
  )
24231
24825
 
24232
24826
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheMissCount", [props]))
@@ -24238,6 +24832,7 @@ class RestApiBase(
24238
24832
  account: typing.Optional[builtins.str] = None,
24239
24833
  color: typing.Optional[builtins.str] = None,
24240
24834
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24835
+ id: typing.Optional[builtins.str] = None,
24241
24836
  label: typing.Optional[builtins.str] = None,
24242
24837
  period: typing.Optional[_Duration_4839e8c3] = None,
24243
24838
  region: typing.Optional[builtins.str] = None,
@@ -24245,6 +24840,7 @@ class RestApiBase(
24245
24840
  stack_region: typing.Optional[builtins.str] = None,
24246
24841
  statistic: typing.Optional[builtins.str] = None,
24247
24842
  unit: typing.Optional[_Unit_61bc6f70] = None,
24843
+ visible: typing.Optional[builtins.bool] = None,
24248
24844
  ) -> _Metric_e396a4dc:
24249
24845
  '''Metric for the number of client-side errors captured in a given period.
24250
24846
 
@@ -24253,6 +24849,7 @@ class RestApiBase(
24253
24849
  :param account: Account which this metric comes from. Default: - Deployment account.
24254
24850
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24255
24851
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24852
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24256
24853
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24257
24854
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24258
24855
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24260,11 +24857,13 @@ class RestApiBase(
24260
24857
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24261
24858
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24262
24859
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
24860
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24263
24861
  '''
24264
24862
  props = _MetricOptions_1788b62f(
24265
24863
  account=account,
24266
24864
  color=color,
24267
24865
  dimensions_map=dimensions_map,
24866
+ id=id,
24268
24867
  label=label,
24269
24868
  period=period,
24270
24869
  region=region,
@@ -24272,6 +24871,7 @@ class RestApiBase(
24272
24871
  stack_region=stack_region,
24273
24872
  statistic=statistic,
24274
24873
  unit=unit,
24874
+ visible=visible,
24275
24875
  )
24276
24876
 
24277
24877
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
@@ -24283,6 +24883,7 @@ class RestApiBase(
24283
24883
  account: typing.Optional[builtins.str] = None,
24284
24884
  color: typing.Optional[builtins.str] = None,
24285
24885
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24886
+ id: typing.Optional[builtins.str] = None,
24286
24887
  label: typing.Optional[builtins.str] = None,
24287
24888
  period: typing.Optional[_Duration_4839e8c3] = None,
24288
24889
  region: typing.Optional[builtins.str] = None,
@@ -24290,6 +24891,7 @@ class RestApiBase(
24290
24891
  stack_region: typing.Optional[builtins.str] = None,
24291
24892
  statistic: typing.Optional[builtins.str] = None,
24292
24893
  unit: typing.Optional[_Unit_61bc6f70] = None,
24894
+ visible: typing.Optional[builtins.bool] = None,
24293
24895
  ) -> _Metric_e396a4dc:
24294
24896
  '''Metric for the total number API requests in a given period.
24295
24897
 
@@ -24298,6 +24900,7 @@ class RestApiBase(
24298
24900
  :param account: Account which this metric comes from. Default: - Deployment account.
24299
24901
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24300
24902
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24903
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24301
24904
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24302
24905
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24303
24906
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24305,11 +24908,13 @@ class RestApiBase(
24305
24908
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24306
24909
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24307
24910
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
24911
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24308
24912
  '''
24309
24913
  props = _MetricOptions_1788b62f(
24310
24914
  account=account,
24311
24915
  color=color,
24312
24916
  dimensions_map=dimensions_map,
24917
+ id=id,
24313
24918
  label=label,
24314
24919
  period=period,
24315
24920
  region=region,
@@ -24317,6 +24922,7 @@ class RestApiBase(
24317
24922
  stack_region=stack_region,
24318
24923
  statistic=statistic,
24319
24924
  unit=unit,
24925
+ visible=visible,
24320
24926
  )
24321
24927
 
24322
24928
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
@@ -24328,6 +24934,7 @@ class RestApiBase(
24328
24934
  account: typing.Optional[builtins.str] = None,
24329
24935
  color: typing.Optional[builtins.str] = None,
24330
24936
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24937
+ id: typing.Optional[builtins.str] = None,
24331
24938
  label: typing.Optional[builtins.str] = None,
24332
24939
  period: typing.Optional[_Duration_4839e8c3] = None,
24333
24940
  region: typing.Optional[builtins.str] = None,
@@ -24335,6 +24942,7 @@ class RestApiBase(
24335
24942
  stack_region: typing.Optional[builtins.str] = None,
24336
24943
  statistic: typing.Optional[builtins.str] = None,
24337
24944
  unit: typing.Optional[_Unit_61bc6f70] = None,
24945
+ visible: typing.Optional[builtins.bool] = None,
24338
24946
  ) -> _Metric_e396a4dc:
24339
24947
  '''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
24340
24948
 
@@ -24343,6 +24951,7 @@ class RestApiBase(
24343
24951
  :param account: Account which this metric comes from. Default: - Deployment account.
24344
24952
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24345
24953
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24954
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24346
24955
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24347
24956
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24348
24957
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24350,11 +24959,13 @@ class RestApiBase(
24350
24959
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24351
24960
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24352
24961
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
24962
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24353
24963
  '''
24354
24964
  props = _MetricOptions_1788b62f(
24355
24965
  account=account,
24356
24966
  color=color,
24357
24967
  dimensions_map=dimensions_map,
24968
+ id=id,
24358
24969
  label=label,
24359
24970
  period=period,
24360
24971
  region=region,
@@ -24362,6 +24973,7 @@ class RestApiBase(
24362
24973
  stack_region=stack_region,
24363
24974
  statistic=statistic,
24364
24975
  unit=unit,
24976
+ visible=visible,
24365
24977
  )
24366
24978
 
24367
24979
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
@@ -24373,6 +24985,7 @@ class RestApiBase(
24373
24985
  account: typing.Optional[builtins.str] = None,
24374
24986
  color: typing.Optional[builtins.str] = None,
24375
24987
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24988
+ id: typing.Optional[builtins.str] = None,
24376
24989
  label: typing.Optional[builtins.str] = None,
24377
24990
  period: typing.Optional[_Duration_4839e8c3] = None,
24378
24991
  region: typing.Optional[builtins.str] = None,
@@ -24380,6 +24993,7 @@ class RestApiBase(
24380
24993
  stack_region: typing.Optional[builtins.str] = None,
24381
24994
  statistic: typing.Optional[builtins.str] = None,
24382
24995
  unit: typing.Optional[_Unit_61bc6f70] = None,
24996
+ visible: typing.Optional[builtins.bool] = None,
24383
24997
  ) -> _Metric_e396a4dc:
24384
24998
  '''The time between when API Gateway receives a request from a client and when it returns a response to the client.
24385
24999
 
@@ -24390,6 +25004,7 @@ class RestApiBase(
24390
25004
  :param account: Account which this metric comes from. Default: - Deployment account.
24391
25005
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24392
25006
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
25007
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24393
25008
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24394
25009
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24395
25010
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24397,11 +25012,13 @@ class RestApiBase(
24397
25012
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24398
25013
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24399
25014
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
25015
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24400
25016
  '''
24401
25017
  props = _MetricOptions_1788b62f(
24402
25018
  account=account,
24403
25019
  color=color,
24404
25020
  dimensions_map=dimensions_map,
25021
+ id=id,
24405
25022
  label=label,
24406
25023
  period=period,
24407
25024
  region=region,
@@ -24409,6 +25026,7 @@ class RestApiBase(
24409
25026
  stack_region=stack_region,
24410
25027
  statistic=statistic,
24411
25028
  unit=unit,
25029
+ visible=visible,
24412
25030
  )
24413
25031
 
24414
25032
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
@@ -24420,6 +25038,7 @@ class RestApiBase(
24420
25038
  account: typing.Optional[builtins.str] = None,
24421
25039
  color: typing.Optional[builtins.str] = None,
24422
25040
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
25041
+ id: typing.Optional[builtins.str] = None,
24423
25042
  label: typing.Optional[builtins.str] = None,
24424
25043
  period: typing.Optional[_Duration_4839e8c3] = None,
24425
25044
  region: typing.Optional[builtins.str] = None,
@@ -24427,6 +25046,7 @@ class RestApiBase(
24427
25046
  stack_region: typing.Optional[builtins.str] = None,
24428
25047
  statistic: typing.Optional[builtins.str] = None,
24429
25048
  unit: typing.Optional[_Unit_61bc6f70] = None,
25049
+ visible: typing.Optional[builtins.bool] = None,
24430
25050
  ) -> _Metric_e396a4dc:
24431
25051
  '''Metric for the number of server-side errors captured in a given period.
24432
25052
 
@@ -24435,6 +25055,7 @@ class RestApiBase(
24435
25055
  :param account: Account which this metric comes from. Default: - Deployment account.
24436
25056
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
24437
25057
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
25058
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
24438
25059
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
24439
25060
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24440
25061
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24442,11 +25063,13 @@ class RestApiBase(
24442
25063
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24443
25064
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
24444
25065
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
25066
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
24445
25067
  '''
24446
25068
  props = _MetricOptions_1788b62f(
24447
25069
  account=account,
24448
25070
  color=color,
24449
25071
  dimensions_map=dimensions_map,
25072
+ id=id,
24450
25073
  label=label,
24451
25074
  period=period,
24452
25075
  region=region,
@@ -24454,6 +25077,7 @@ class RestApiBase(
24454
25077
  stack_region=stack_region,
24455
25078
  statistic=statistic,
24456
25079
  unit=unit,
25080
+ visible=visible,
24457
25081
  )
24458
25082
 
24459
25083
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
@@ -24489,6 +25113,12 @@ class RestApiBase(
24489
25113
  '''
24490
25114
  return typing.cast(builtins.str, jsii.get(self, "restApiName"))
24491
25115
 
25116
+ @builtins.property
25117
+ @jsii.member(jsii_name="restApiRef")
25118
+ def rest_api_ref(self) -> _RestApiReference_0863f937:
25119
+ '''A reference to a RestApi resource.'''
25120
+ return typing.cast(_RestApiReference_0863f937, jsii.get(self, "restApiRef"))
25121
+
24492
25122
  @builtins.property
24493
25123
  @jsii.member(jsii_name="restApiRootResourceId")
24494
25124
  @abc.abstractmethod
@@ -25502,16 +26132,16 @@ class S3ApiDefinition(
25502
26132
  # The code below shows an example of how to instantiate this type.
25503
26133
  # The values are placeholders you should change.
25504
26134
  from aws_cdk import aws_apigateway as apigateway
25505
- from aws_cdk import aws_s3 as s3
26135
+ from aws_cdk.interfaces import aws_s3 as interfaces_aws_s3
25506
26136
 
25507
- # bucket: s3.Bucket
26137
+ # bucket_ref: interfaces_aws_s3.IBucketRef
25508
26138
 
25509
- s3_api_definition = apigateway.S3ApiDefinition(bucket, "key", "objectVersion")
26139
+ s3_api_definition = apigateway.S3ApiDefinition(bucket_ref, "key", "objectVersion")
25510
26140
  '''
25511
26141
 
25512
26142
  def __init__(
25513
26143
  self,
25514
- bucket: _IBucket_42e086fd,
26144
+ bucket: _IBucketRef_3debe44e,
25515
26145
  key: builtins.str,
25516
26146
  object_version: typing.Optional[builtins.str] = None,
25517
26147
  ) -> None:
@@ -25890,6 +26520,7 @@ class SpecRestApi(
25890
26520
  id: builtins.str,
25891
26521
  *,
25892
26522
  api_definition: ApiDefinition,
26523
+ binary_media_types: typing.Optional[typing.Sequence[builtins.str]] = None,
25893
26524
  min_compression_size: typing.Optional[_Size_7b441c34] = None,
25894
26525
  mode: typing.Optional[RestApiMode] = None,
25895
26526
  cloud_watch_role: typing.Optional[builtins.bool] = None,
@@ -25912,6 +26543,7 @@ class SpecRestApi(
25912
26543
  :param scope: -
25913
26544
  :param id: -
25914
26545
  :param api_definition: An OpenAPI definition compatible with API Gateway.
26546
+ :param binary_media_types: The list of binary media mime-types that are supported by the SpecRestApi resource, such as "image/png" or "application/octet-stream". Default: - SpecRestApi supports only UTF-8-encoded text payloads.
25915
26547
  :param min_compression_size: A Size(in bytes, kibibytes, mebibytes etc) that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (when undefined) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size. Default: - Compression is disabled.
25916
26548
  :param mode: The Mode that determines how API Gateway handles resource updates. Valid values are ``overwrite`` or ``merge``. For ``overwrite``, the new API definition replaces the existing one. The existing API identifier remains unchanged. For ``merge``, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen: - For REST APIs created before March 29, 2021, the default is ``overwrite`` - For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties. Default: - ``merge`` for REST APIs created after March 29, 2021, otherwise ``overwrite``
25917
26549
  :param cloud_watch_role: Automatically configure an AWS CloudWatch role for API Gateway. Default: - false if ``@aws-cdk/aws-apigateway:disableCloudWatchRole`` is enabled, true otherwise
@@ -25936,6 +26568,7 @@ class SpecRestApi(
25936
26568
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
25937
26569
  props = SpecRestApiProps(
25938
26570
  api_definition=api_definition,
26571
+ binary_media_types=binary_media_types,
25939
26572
  min_compression_size=min_compression_size,
25940
26573
  mode=mode,
25941
26574
  cloud_watch_role=cloud_watch_role,
@@ -26026,6 +26659,7 @@ class SpecRestApi(
26026
26659
  "rest_api_name": "restApiName",
26027
26660
  "retain_deployments": "retainDeployments",
26028
26661
  "api_definition": "apiDefinition",
26662
+ "binary_media_types": "binaryMediaTypes",
26029
26663
  "min_compression_size": "minCompressionSize",
26030
26664
  "mode": "mode",
26031
26665
  },
@@ -26050,6 +26684,7 @@ class SpecRestApiProps(RestApiBaseProps):
26050
26684
  rest_api_name: typing.Optional[builtins.str] = None,
26051
26685
  retain_deployments: typing.Optional[builtins.bool] = None,
26052
26686
  api_definition: ApiDefinition,
26687
+ binary_media_types: typing.Optional[typing.Sequence[builtins.str]] = None,
26053
26688
  min_compression_size: typing.Optional[_Size_7b441c34] = None,
26054
26689
  mode: typing.Optional[RestApiMode] = None,
26055
26690
  ) -> None:
@@ -26071,6 +26706,7 @@ class SpecRestApiProps(RestApiBaseProps):
26071
26706
  :param rest_api_name: A name for the API Gateway RestApi resource. Default: - ID of the RestApi construct.
26072
26707
  :param retain_deployments: Retains old deployment resources when the API changes. This allows manually reverting stages to point to old deployments via the AWS Console. Default: false
26073
26708
  :param api_definition: An OpenAPI definition compatible with API Gateway.
26709
+ :param binary_media_types: The list of binary media mime-types that are supported by the SpecRestApi resource, such as "image/png" or "application/octet-stream". Default: - SpecRestApi supports only UTF-8-encoded text payloads.
26074
26710
  :param min_compression_size: A Size(in bytes, kibibytes, mebibytes etc) that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (when undefined) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size. Default: - Compression is disabled.
26075
26711
  :param mode: The Mode that determines how API Gateway handles resource updates. Valid values are ``overwrite`` or ``merge``. For ``overwrite``, the new API definition replaces the existing one. The existing API identifier remains unchanged. For ``merge``, the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen: - For REST APIs created before March 29, 2021, the default is ``overwrite`` - For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level RestApi properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties. Default: - ``merge`` for REST APIs created after March 29, 2021, otherwise ``overwrite``
26076
26712
 
@@ -26107,6 +26743,7 @@ class SpecRestApiProps(RestApiBaseProps):
26107
26743
  check_type(argname="argument rest_api_name", value=rest_api_name, expected_type=type_hints["rest_api_name"])
26108
26744
  check_type(argname="argument retain_deployments", value=retain_deployments, expected_type=type_hints["retain_deployments"])
26109
26745
  check_type(argname="argument api_definition", value=api_definition, expected_type=type_hints["api_definition"])
26746
+ check_type(argname="argument binary_media_types", value=binary_media_types, expected_type=type_hints["binary_media_types"])
26110
26747
  check_type(argname="argument min_compression_size", value=min_compression_size, expected_type=type_hints["min_compression_size"])
26111
26748
  check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
26112
26749
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -26142,6 +26779,8 @@ class SpecRestApiProps(RestApiBaseProps):
26142
26779
  self._values["rest_api_name"] = rest_api_name
26143
26780
  if retain_deployments is not None:
26144
26781
  self._values["retain_deployments"] = retain_deployments
26782
+ if binary_media_types is not None:
26783
+ self._values["binary_media_types"] = binary_media_types
26145
26784
  if min_compression_size is not None:
26146
26785
  self._values["min_compression_size"] = min_compression_size
26147
26786
  if mode is not None:
@@ -26330,6 +26969,15 @@ class SpecRestApiProps(RestApiBaseProps):
26330
26969
  assert result is not None, "Required property 'api_definition' is missing"
26331
26970
  return typing.cast(ApiDefinition, result)
26332
26971
 
26972
+ @builtins.property
26973
+ def binary_media_types(self) -> typing.Optional[typing.List[builtins.str]]:
26974
+ '''The list of binary media mime-types that are supported by the SpecRestApi resource, such as "image/png" or "application/octet-stream".
26975
+
26976
+ :default: - SpecRestApi supports only UTF-8-encoded text payloads.
26977
+ '''
26978
+ result = self._values.get("binary_media_types")
26979
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
26980
+
26333
26981
  @builtins.property
26334
26982
  def min_compression_size(self) -> typing.Optional[_Size_7b441c34]:
26335
26983
  '''A Size(in bytes, kibibytes, mebibytes etc) that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (when undefined) on an API.
@@ -26523,6 +27171,7 @@ class StageBase(
26523
27171
  account: typing.Optional[builtins.str] = None,
26524
27172
  color: typing.Optional[builtins.str] = None,
26525
27173
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27174
+ id: typing.Optional[builtins.str] = None,
26526
27175
  label: typing.Optional[builtins.str] = None,
26527
27176
  period: typing.Optional[_Duration_4839e8c3] = None,
26528
27177
  region: typing.Optional[builtins.str] = None,
@@ -26530,6 +27179,7 @@ class StageBase(
26530
27179
  stack_region: typing.Optional[builtins.str] = None,
26531
27180
  statistic: typing.Optional[builtins.str] = None,
26532
27181
  unit: typing.Optional[_Unit_61bc6f70] = None,
27182
+ visible: typing.Optional[builtins.bool] = None,
26533
27183
  ) -> _Metric_e396a4dc:
26534
27184
  '''Returns the given named metric for this stage.
26535
27185
 
@@ -26537,6 +27187,7 @@ class StageBase(
26537
27187
  :param account: Account which this metric comes from. Default: - Deployment account.
26538
27188
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26539
27189
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27190
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26540
27191
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26541
27192
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26542
27193
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26544,6 +27195,7 @@ class StageBase(
26544
27195
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26545
27196
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26546
27197
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27198
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26547
27199
  '''
26548
27200
  if __debug__:
26549
27201
  type_hints = typing.get_type_hints(_typecheckingstub__e7aa140ce28102f6291e54fab42702aec75e06eb4ff034ae6897a3606e9c1ac3)
@@ -26552,6 +27204,7 @@ class StageBase(
26552
27204
  account=account,
26553
27205
  color=color,
26554
27206
  dimensions_map=dimensions_map,
27207
+ id=id,
26555
27208
  label=label,
26556
27209
  period=period,
26557
27210
  region=region,
@@ -26559,6 +27212,7 @@ class StageBase(
26559
27212
  stack_region=stack_region,
26560
27213
  statistic=statistic,
26561
27214
  unit=unit,
27215
+ visible=visible,
26562
27216
  )
26563
27217
 
26564
27218
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -26570,6 +27224,7 @@ class StageBase(
26570
27224
  account: typing.Optional[builtins.str] = None,
26571
27225
  color: typing.Optional[builtins.str] = None,
26572
27226
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27227
+ id: typing.Optional[builtins.str] = None,
26573
27228
  label: typing.Optional[builtins.str] = None,
26574
27229
  period: typing.Optional[_Duration_4839e8c3] = None,
26575
27230
  region: typing.Optional[builtins.str] = None,
@@ -26577,12 +27232,14 @@ class StageBase(
26577
27232
  stack_region: typing.Optional[builtins.str] = None,
26578
27233
  statistic: typing.Optional[builtins.str] = None,
26579
27234
  unit: typing.Optional[_Unit_61bc6f70] = None,
27235
+ visible: typing.Optional[builtins.bool] = None,
26580
27236
  ) -> _Metric_e396a4dc:
26581
27237
  '''Metric for the number of requests served from the API cache in a given period.
26582
27238
 
26583
27239
  :param account: Account which this metric comes from. Default: - Deployment account.
26584
27240
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26585
27241
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27242
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26586
27243
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26587
27244
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26588
27245
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26590,6 +27247,7 @@ class StageBase(
26590
27247
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26591
27248
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26592
27249
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27250
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26593
27251
 
26594
27252
  :default: - sum over 5 minutes
26595
27253
  '''
@@ -26597,6 +27255,7 @@ class StageBase(
26597
27255
  account=account,
26598
27256
  color=color,
26599
27257
  dimensions_map=dimensions_map,
27258
+ id=id,
26600
27259
  label=label,
26601
27260
  period=period,
26602
27261
  region=region,
@@ -26604,6 +27263,7 @@ class StageBase(
26604
27263
  stack_region=stack_region,
26605
27264
  statistic=statistic,
26606
27265
  unit=unit,
27266
+ visible=visible,
26607
27267
  )
26608
27268
 
26609
27269
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheHitCount", [props]))
@@ -26615,6 +27275,7 @@ class StageBase(
26615
27275
  account: typing.Optional[builtins.str] = None,
26616
27276
  color: typing.Optional[builtins.str] = None,
26617
27277
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27278
+ id: typing.Optional[builtins.str] = None,
26618
27279
  label: typing.Optional[builtins.str] = None,
26619
27280
  period: typing.Optional[_Duration_4839e8c3] = None,
26620
27281
  region: typing.Optional[builtins.str] = None,
@@ -26622,12 +27283,14 @@ class StageBase(
26622
27283
  stack_region: typing.Optional[builtins.str] = None,
26623
27284
  statistic: typing.Optional[builtins.str] = None,
26624
27285
  unit: typing.Optional[_Unit_61bc6f70] = None,
27286
+ visible: typing.Optional[builtins.bool] = None,
26625
27287
  ) -> _Metric_e396a4dc:
26626
27288
  '''Metric for the number of requests served from the backend in a given period, when API caching is enabled.
26627
27289
 
26628
27290
  :param account: Account which this metric comes from. Default: - Deployment account.
26629
27291
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26630
27292
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27293
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26631
27294
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26632
27295
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26633
27296
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26635,6 +27298,7 @@ class StageBase(
26635
27298
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26636
27299
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26637
27300
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27301
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26638
27302
 
26639
27303
  :default: - sum over 5 minutes
26640
27304
  '''
@@ -26642,6 +27306,7 @@ class StageBase(
26642
27306
  account=account,
26643
27307
  color=color,
26644
27308
  dimensions_map=dimensions_map,
27309
+ id=id,
26645
27310
  label=label,
26646
27311
  period=period,
26647
27312
  region=region,
@@ -26649,6 +27314,7 @@ class StageBase(
26649
27314
  stack_region=stack_region,
26650
27315
  statistic=statistic,
26651
27316
  unit=unit,
27317
+ visible=visible,
26652
27318
  )
26653
27319
 
26654
27320
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheMissCount", [props]))
@@ -26660,6 +27326,7 @@ class StageBase(
26660
27326
  account: typing.Optional[builtins.str] = None,
26661
27327
  color: typing.Optional[builtins.str] = None,
26662
27328
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27329
+ id: typing.Optional[builtins.str] = None,
26663
27330
  label: typing.Optional[builtins.str] = None,
26664
27331
  period: typing.Optional[_Duration_4839e8c3] = None,
26665
27332
  region: typing.Optional[builtins.str] = None,
@@ -26667,12 +27334,14 @@ class StageBase(
26667
27334
  stack_region: typing.Optional[builtins.str] = None,
26668
27335
  statistic: typing.Optional[builtins.str] = None,
26669
27336
  unit: typing.Optional[_Unit_61bc6f70] = None,
27337
+ visible: typing.Optional[builtins.bool] = None,
26670
27338
  ) -> _Metric_e396a4dc:
26671
27339
  '''Metric for the number of client-side errors captured in a given period.
26672
27340
 
26673
27341
  :param account: Account which this metric comes from. Default: - Deployment account.
26674
27342
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26675
27343
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27344
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26676
27345
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26677
27346
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26678
27347
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26680,6 +27349,7 @@ class StageBase(
26680
27349
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26681
27350
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26682
27351
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27352
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26683
27353
 
26684
27354
  :default: - sum over 5 minutes
26685
27355
  '''
@@ -26687,6 +27357,7 @@ class StageBase(
26687
27357
  account=account,
26688
27358
  color=color,
26689
27359
  dimensions_map=dimensions_map,
27360
+ id=id,
26690
27361
  label=label,
26691
27362
  period=period,
26692
27363
  region=region,
@@ -26694,6 +27365,7 @@ class StageBase(
26694
27365
  stack_region=stack_region,
26695
27366
  statistic=statistic,
26696
27367
  unit=unit,
27368
+ visible=visible,
26697
27369
  )
26698
27370
 
26699
27371
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
@@ -26705,6 +27377,7 @@ class StageBase(
26705
27377
  account: typing.Optional[builtins.str] = None,
26706
27378
  color: typing.Optional[builtins.str] = None,
26707
27379
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27380
+ id: typing.Optional[builtins.str] = None,
26708
27381
  label: typing.Optional[builtins.str] = None,
26709
27382
  period: typing.Optional[_Duration_4839e8c3] = None,
26710
27383
  region: typing.Optional[builtins.str] = None,
@@ -26712,12 +27385,14 @@ class StageBase(
26712
27385
  stack_region: typing.Optional[builtins.str] = None,
26713
27386
  statistic: typing.Optional[builtins.str] = None,
26714
27387
  unit: typing.Optional[_Unit_61bc6f70] = None,
27388
+ visible: typing.Optional[builtins.bool] = None,
26715
27389
  ) -> _Metric_e396a4dc:
26716
27390
  '''Metric for the total number API requests in a given period.
26717
27391
 
26718
27392
  :param account: Account which this metric comes from. Default: - Deployment account.
26719
27393
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26720
27394
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27395
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26721
27396
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26722
27397
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26723
27398
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26725,6 +27400,7 @@ class StageBase(
26725
27400
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26726
27401
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26727
27402
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27403
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26728
27404
 
26729
27405
  :default: - sample count over 5 minutes
26730
27406
  '''
@@ -26732,6 +27408,7 @@ class StageBase(
26732
27408
  account=account,
26733
27409
  color=color,
26734
27410
  dimensions_map=dimensions_map,
27411
+ id=id,
26735
27412
  label=label,
26736
27413
  period=period,
26737
27414
  region=region,
@@ -26739,6 +27416,7 @@ class StageBase(
26739
27416
  stack_region=stack_region,
26740
27417
  statistic=statistic,
26741
27418
  unit=unit,
27419
+ visible=visible,
26742
27420
  )
26743
27421
 
26744
27422
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
@@ -26750,6 +27428,7 @@ class StageBase(
26750
27428
  account: typing.Optional[builtins.str] = None,
26751
27429
  color: typing.Optional[builtins.str] = None,
26752
27430
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27431
+ id: typing.Optional[builtins.str] = None,
26753
27432
  label: typing.Optional[builtins.str] = None,
26754
27433
  period: typing.Optional[_Duration_4839e8c3] = None,
26755
27434
  region: typing.Optional[builtins.str] = None,
@@ -26757,12 +27436,14 @@ class StageBase(
26757
27436
  stack_region: typing.Optional[builtins.str] = None,
26758
27437
  statistic: typing.Optional[builtins.str] = None,
26759
27438
  unit: typing.Optional[_Unit_61bc6f70] = None,
27439
+ visible: typing.Optional[builtins.bool] = None,
26760
27440
  ) -> _Metric_e396a4dc:
26761
27441
  '''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
26762
27442
 
26763
27443
  :param account: Account which this metric comes from. Default: - Deployment account.
26764
27444
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26765
27445
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27446
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26766
27447
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26767
27448
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26768
27449
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26770,6 +27451,7 @@ class StageBase(
26770
27451
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26771
27452
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26772
27453
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27454
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26773
27455
 
26774
27456
  :default: - average over 5 minutes.
26775
27457
  '''
@@ -26777,6 +27459,7 @@ class StageBase(
26777
27459
  account=account,
26778
27460
  color=color,
26779
27461
  dimensions_map=dimensions_map,
27462
+ id=id,
26780
27463
  label=label,
26781
27464
  period=period,
26782
27465
  region=region,
@@ -26784,6 +27467,7 @@ class StageBase(
26784
27467
  stack_region=stack_region,
26785
27468
  statistic=statistic,
26786
27469
  unit=unit,
27470
+ visible=visible,
26787
27471
  )
26788
27472
 
26789
27473
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
@@ -26795,6 +27479,7 @@ class StageBase(
26795
27479
  account: typing.Optional[builtins.str] = None,
26796
27480
  color: typing.Optional[builtins.str] = None,
26797
27481
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27482
+ id: typing.Optional[builtins.str] = None,
26798
27483
  label: typing.Optional[builtins.str] = None,
26799
27484
  period: typing.Optional[_Duration_4839e8c3] = None,
26800
27485
  region: typing.Optional[builtins.str] = None,
@@ -26802,6 +27487,7 @@ class StageBase(
26802
27487
  stack_region: typing.Optional[builtins.str] = None,
26803
27488
  statistic: typing.Optional[builtins.str] = None,
26804
27489
  unit: typing.Optional[_Unit_61bc6f70] = None,
27490
+ visible: typing.Optional[builtins.bool] = None,
26805
27491
  ) -> _Metric_e396a4dc:
26806
27492
  '''The time between when API Gateway receives a request from a client and when it returns a response to the client.
26807
27493
 
@@ -26810,6 +27496,7 @@ class StageBase(
26810
27496
  :param account: Account which this metric comes from. Default: - Deployment account.
26811
27497
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26812
27498
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27499
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26813
27500
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26814
27501
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26815
27502
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26817,6 +27504,7 @@ class StageBase(
26817
27504
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26818
27505
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26819
27506
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27507
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26820
27508
 
26821
27509
  :default: - average over 5 minutes.
26822
27510
  '''
@@ -26824,6 +27512,7 @@ class StageBase(
26824
27512
  account=account,
26825
27513
  color=color,
26826
27514
  dimensions_map=dimensions_map,
27515
+ id=id,
26827
27516
  label=label,
26828
27517
  period=period,
26829
27518
  region=region,
@@ -26831,6 +27520,7 @@ class StageBase(
26831
27520
  stack_region=stack_region,
26832
27521
  statistic=statistic,
26833
27522
  unit=unit,
27523
+ visible=visible,
26834
27524
  )
26835
27525
 
26836
27526
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
@@ -26842,6 +27532,7 @@ class StageBase(
26842
27532
  account: typing.Optional[builtins.str] = None,
26843
27533
  color: typing.Optional[builtins.str] = None,
26844
27534
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27535
+ id: typing.Optional[builtins.str] = None,
26845
27536
  label: typing.Optional[builtins.str] = None,
26846
27537
  period: typing.Optional[_Duration_4839e8c3] = None,
26847
27538
  region: typing.Optional[builtins.str] = None,
@@ -26849,12 +27540,14 @@ class StageBase(
26849
27540
  stack_region: typing.Optional[builtins.str] = None,
26850
27541
  statistic: typing.Optional[builtins.str] = None,
26851
27542
  unit: typing.Optional[_Unit_61bc6f70] = None,
27543
+ visible: typing.Optional[builtins.bool] = None,
26852
27544
  ) -> _Metric_e396a4dc:
26853
27545
  '''Metric for the number of server-side errors captured in a given period.
26854
27546
 
26855
27547
  :param account: Account which this metric comes from. Default: - Deployment account.
26856
27548
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
26857
27549
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27550
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
26858
27551
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
26859
27552
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26860
27553
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26862,6 +27555,7 @@ class StageBase(
26862
27555
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26863
27556
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
26864
27557
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
27558
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
26865
27559
 
26866
27560
  :default: - sum over 5 minutes
26867
27561
  '''
@@ -26869,6 +27563,7 @@ class StageBase(
26869
27563
  account=account,
26870
27564
  color=color,
26871
27565
  dimensions_map=dimensions_map,
27566
+ id=id,
26872
27567
  label=label,
26873
27568
  period=period,
26874
27569
  region=region,
@@ -26876,6 +27571,7 @@ class StageBase(
26876
27571
  stack_region=stack_region,
26877
27572
  statistic=statistic,
26878
27573
  unit=unit,
27574
+ visible=visible,
26879
27575
  )
26880
27576
 
26881
27577
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
@@ -26919,6 +27615,12 @@ class StageBase(
26919
27615
  '''Name of this stage.'''
26920
27616
  ...
26921
27617
 
27618
+ @builtins.property
27619
+ @jsii.member(jsii_name="stageRef")
27620
+ def stage_ref(self) -> _StageReference_3eb94694:
27621
+ '''A reference to a Stage resource.'''
27622
+ return typing.cast(_StageReference_3eb94694, jsii.get(self, "stageRef"))
27623
+
26922
27624
 
26923
27625
  class _StageBaseProxy(
26924
27626
  StageBase,
@@ -29285,7 +29987,7 @@ class UsagePlan(
29285
29987
  @jsii.member(jsii_name="addApiKey")
29286
29988
  def add_api_key(
29287
29989
  self,
29288
- api_key: IApiKey,
29990
+ api_key: _IApiKeyRef_6e16b46a,
29289
29991
  *,
29290
29992
  override_logical_id: typing.Optional[builtins.str] = None,
29291
29993
  ) -> None:
@@ -29334,6 +30036,12 @@ class UsagePlan(
29334
30036
  '''
29335
30037
  return typing.cast(builtins.str, jsii.get(self, "usagePlanId"))
29336
30038
 
30039
+ @builtins.property
30040
+ @jsii.member(jsii_name="usagePlanRef")
30041
+ def usage_plan_ref(self) -> _UsagePlanReference_3d3ec4d2:
30042
+ '''A reference to a UsagePlan resource.'''
30043
+ return typing.cast(_UsagePlanReference_3d3ec4d2, jsii.get(self, "usagePlanRef"))
30044
+
29337
30045
 
29338
30046
  @jsii.data_type(
29339
30047
  jsii_type="aws-cdk-lib.aws_apigateway.UsagePlanPerApiStage",
@@ -29662,6 +30370,12 @@ class VpcLink(
29662
30370
  '''
29663
30371
  return typing.cast(builtins.str, jsii.get(self, "vpcLinkId"))
29664
30372
 
30373
+ @builtins.property
30374
+ @jsii.member(jsii_name="vpcLinkRef")
30375
+ def vpc_link_ref(self) -> _VpcLinkReference_cccde188:
30376
+ '''A reference to a VpcLink resource.'''
30377
+ return typing.cast(_VpcLinkReference_cccde188, jsii.get(self, "vpcLinkRef"))
30378
+
29665
30379
 
29666
30380
  @jsii.data_type(
29667
30381
  jsii_type="aws-cdk-lib.aws_apigateway.VpcLinkProps",
@@ -29897,6 +30611,12 @@ class ApiKey(
29897
30611
  '''Uniquely identifies this class.'''
29898
30612
  return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
29899
30613
 
30614
+ @builtins.property
30615
+ @jsii.member(jsii_name="apiKeyRef")
30616
+ def api_key_ref(self) -> _ApiKeyReference_6382fd3a:
30617
+ '''A reference to a ApiKey resource.'''
30618
+ return typing.cast(_ApiKeyReference_6382fd3a, jsii.get(self, "apiKeyRef"))
30619
+
29900
30620
  @builtins.property
29901
30621
  @jsii.member(jsii_name="keyArn")
29902
30622
  def key_arn(self) -> builtins.str:
@@ -30626,7 +31346,7 @@ class DomainName(
30626
31346
  @jsii.member(jsii_name="addApiMapping")
30627
31347
  def add_api_mapping(
30628
31348
  self,
30629
- target_stage: IStage,
31349
+ target_stage: _IStageRef_b829c330,
30630
31350
  *,
30631
31351
  base_path: typing.Optional[builtins.str] = None,
30632
31352
  ) -> None:
@@ -30651,7 +31371,7 @@ class DomainName(
30651
31371
  @jsii.member(jsii_name="addBasePathMapping")
30652
31372
  def add_base_path_mapping(
30653
31373
  self,
30654
- target_api: IRestApi,
31374
+ target_api: _IRestApiRef_72dcbda0,
30655
31375
  *,
30656
31376
  attach_to_stage: typing.Optional[builtins.bool] = None,
30657
31377
  base_path: typing.Optional[builtins.str] = None,
@@ -30701,6 +31421,12 @@ class DomainName(
30701
31421
  '''The Route53 hosted zone ID to use in order to connect a record set to this domain through an alias.'''
30702
31422
  return typing.cast(builtins.str, jsii.get(self, "domainNameAliasHostedZoneId"))
30703
31423
 
31424
+ @builtins.property
31425
+ @jsii.member(jsii_name="domainNameRef")
31426
+ def domain_name_ref(self) -> _DomainNameReference_f4138423:
31427
+ '''A reference to a DomainName resource.'''
31428
+ return typing.cast(_DomainNameReference_f4138423, jsii.get(self, "domainNameRef"))
31429
+
30704
31430
 
30705
31431
  @jsii.implements(IAccessLogDestination)
30706
31432
  class FirehoseLogDestination(
@@ -30744,7 +31470,7 @@ class FirehoseLogDestination(
30744
31470
  jsii.create(self.__class__, self, [stream])
30745
31471
 
30746
31472
  @jsii.member(jsii_name="bind")
30747
- def bind(self, stage: IStage) -> AccessLogDestinationConfig:
31473
+ def bind(self, stage: _IStageRef_b829c330) -> AccessLogDestinationConfig:
30748
31474
  '''Binds this destination to the Firehose delivery stream.
30749
31475
 
30750
31476
  :param stage: -
@@ -30824,12 +31550,39 @@ class GatewayResponse(
30824
31550
 
30825
31551
  jsii.create(self.__class__, self, [scope, id, props])
30826
31552
 
31553
+ @jsii.member(jsii_name="fromGatewayResponseId")
31554
+ @builtins.classmethod
31555
+ def from_gateway_response_id(
31556
+ cls,
31557
+ scope: _constructs_77d1e7e8.Construct,
31558
+ id: builtins.str,
31559
+ gateway_response_id: builtins.str,
31560
+ ) -> IGatewayResponse:
31561
+ '''Reference an existing GatewayResponse given a gateway response ID.
31562
+
31563
+ :param scope: -
31564
+ :param id: -
31565
+ :param gateway_response_id: -
31566
+ '''
31567
+ if __debug__:
31568
+ type_hints = typing.get_type_hints(_typecheckingstub__7867165fe1cd2b6780c9e541f8f709a08a02872d9895272cbd253b87e77c8da8)
31569
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
31570
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
31571
+ check_type(argname="argument gateway_response_id", value=gateway_response_id, expected_type=type_hints["gateway_response_id"])
31572
+ return typing.cast(IGatewayResponse, jsii.sinvoke(cls, "fromGatewayResponseId", [scope, id, gateway_response_id]))
31573
+
30827
31574
  @jsii.python.classproperty
30828
31575
  @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
30829
31576
  def PROPERTY_INJECTION_ID(cls) -> builtins.str:
30830
31577
  '''Uniquely identifies this class.'''
30831
31578
  return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
30832
31579
 
31580
+ @builtins.property
31581
+ @jsii.member(jsii_name="gatewayResponseRef")
31582
+ def gateway_response_ref(self) -> _GatewayResponseReference_0f1f239c:
31583
+ '''A reference to a GatewayResponse resource.'''
31584
+ return typing.cast(_GatewayResponseReference_0f1f239c, jsii.get(self, "gatewayResponseRef"))
31585
+
30833
31586
 
30834
31587
  class HttpIntegration(
30835
31588
  Integration,
@@ -30910,6 +31663,7 @@ class LambdaIntegration(
30910
31663
  *,
30911
31664
  allow_test_invoke: typing.Optional[builtins.bool] = None,
30912
31665
  proxy: typing.Optional[builtins.bool] = None,
31666
+ scope_permission_to_method: typing.Optional[builtins.bool] = None,
30913
31667
  cache_key_parameters: typing.Optional[typing.Sequence[builtins.str]] = None,
30914
31668
  cache_namespace: typing.Optional[builtins.str] = None,
30915
31669
  connection_type: typing.Optional[ConnectionType] = None,
@@ -30925,8 +31679,9 @@ class LambdaIntegration(
30925
31679
  ) -> None:
30926
31680
  '''
30927
31681
  :param handler: -
30928
- :param allow_test_invoke: Allow invoking method from AWS Console UI (for testing purposes). This will add another permission to the AWS Lambda resource policy which will allow the ``test-invoke-stage`` stage to invoke this handler. If this is set to ``false``, the function will only be usable from the deployment endpoint. Default: true
31682
+ :param allow_test_invoke: Allow invoking method from AWS Console UI (for testing purposes). This will add another permission to the AWS Lambda resource policy which will allow the ``test-invoke-stage`` stage to invoke this handler. If this is set to ``false``, the function will only be usable from the deployment endpoint. Note that this property is ignored when ``scopePermissionToMethod`` is ``false``. Default: true
30929
31683
  :param proxy: Use proxy integration or normal (request/response mapping) integration. Default: true
31684
+ :param scope_permission_to_method: Scope the permission for invoking the AWS Lambda down to the specific method associated with this integration. If this is set to ``false``, the permission will allow invoking the AWS Lambda from any method. This is useful for reducing the AWS Lambda policy size for cases where the same AWS Lambda function is reused for many integrations. Note that this will always allow test invocations. Default: true
30930
31685
  :param cache_key_parameters: A list of request parameters whose values are to be cached. It determines request parameters that will make it into the cache key.
30931
31686
  :param cache_namespace: An API-specific tag group of related cached parameters.
30932
31687
  :param connection_type: The type of network connection to the integration endpoint. Default: - ConnectionType.VPC_LINK if ``vpcLink`` property is configured; ConnectionType.Internet otherwise.
@@ -30946,6 +31701,7 @@ class LambdaIntegration(
30946
31701
  options = LambdaIntegrationOptions(
30947
31702
  allow_test_invoke=allow_test_invoke,
30948
31703
  proxy=proxy,
31704
+ scope_permission_to_method=scope_permission_to_method,
30949
31705
  cache_key_parameters=cache_key_parameters,
30950
31706
  cache_namespace=cache_namespace,
30951
31707
  connection_type=connection_type,
@@ -33609,6 +34365,12 @@ def _typecheckingstub__d532554505e61f81e1b9ec850cbf52d3ee1550f112073eae6daecd883
33609
34365
  """Type checking stubs"""
33610
34366
  pass
33611
34367
 
34368
+ def _typecheckingstub__0bc4acaae324fa465c0ae63ddfa13df8085530150092a3990e1815dea9b745ec(
34369
+ format: builtins.str,
34370
+ ) -> None:
34371
+ """Type checking stubs"""
34372
+ pass
34373
+
33612
34374
  def _typecheckingstub__4692c15f70ce18849ab172ed2332cc4added75850adcf2e0ed8a0ebce52c27db(
33613
34375
  format: builtins.str,
33614
34376
  ) -> None:
@@ -33628,7 +34390,7 @@ def _typecheckingstub__931fac6af706dd0dae384cc682b2ecb066666ff6165060417e461a392
33628
34390
  deploy_time: typing.Optional[builtins.bool] = None,
33629
34391
  display_name: typing.Optional[builtins.str] = None,
33630
34392
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
33631
- source_kms_key: typing.Optional[_IKey_5f11635f] = None,
34393
+ source_kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
33632
34394
  asset_hash: typing.Optional[builtins.str] = None,
33633
34395
  asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
33634
34396
  bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -33655,7 +34417,7 @@ def _typecheckingstub__3fdc39319ab31dc01370dce3eebe8d625768dc937b6e3ca507db636cd
33655
34417
 
33656
34418
  def _typecheckingstub__3ee382fc2c94d4bece70868d74861f5ede3af81a49e0b03d1b1d7f7808f09fd4(
33657
34419
  _scope: _constructs_77d1e7e8.Construct,
33658
- _rest_api: IRestApi,
34420
+ _rest_api: _IRestApiRef_72dcbda0,
33659
34421
  ) -> None:
33660
34422
  """Type checking stubs"""
33661
34423
  pass
@@ -33696,7 +34458,7 @@ def _typecheckingstub__8d060d6bc8fc5b369cfe71dc05efc964aa6b083b674baa7dc17f1762a
33696
34458
  deploy_time: typing.Optional[builtins.bool] = None,
33697
34459
  display_name: typing.Optional[builtins.str] = None,
33698
34460
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
33699
- source_kms_key: typing.Optional[_IKey_5f11635f] = None,
34461
+ source_kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
33700
34462
  asset_hash: typing.Optional[builtins.str] = None,
33701
34463
  asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
33702
34464
  bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -33715,7 +34477,7 @@ def _typecheckingstub__e81dd80c8a5aadd62f5dcc884b89ddc1076b787b54c75f996c03c1f18
33715
34477
 
33716
34478
  def _typecheckingstub__b1885a209c59071b4bad06f2e2988a4c685fbb214e4cfd8ee60a749d822b13fc(
33717
34479
  scope: _constructs_77d1e7e8.Construct,
33718
- rest_api: IRestApi,
34480
+ rest_api: _IRestApiRef_72dcbda0,
33719
34481
  ) -> None:
33720
34482
  """Type checking stubs"""
33721
34483
  pass
@@ -33739,8 +34501,8 @@ def _typecheckingstub__ef549043f328dc8eafa81dc926877350a07f0bbf5f070dbbc6d4486d7
33739
34501
  scope: _constructs_77d1e7e8.Construct,
33740
34502
  id: builtins.str,
33741
34503
  *,
33742
- domain_name: IDomainName,
33743
- rest_api: IRestApi,
34504
+ domain_name: _IDomainNameRef_8b0ccf94,
34505
+ rest_api: _IRestApiRef_72dcbda0,
33744
34506
  attach_to_stage: typing.Optional[builtins.bool] = None,
33745
34507
  base_path: typing.Optional[builtins.str] = None,
33746
34508
  stage: typing.Optional[Stage] = None,
@@ -33762,8 +34524,8 @@ def _typecheckingstub__9e348cc160af15e382c6a3c6d66cd04543644f3672b2679f19c801ae8
33762
34524
  attach_to_stage: typing.Optional[builtins.bool] = None,
33763
34525
  base_path: typing.Optional[builtins.str] = None,
33764
34526
  stage: typing.Optional[Stage] = None,
33765
- domain_name: IDomainName,
33766
- rest_api: IRestApi,
34527
+ domain_name: _IDomainNameRef_8b0ccf94,
34528
+ rest_api: _IRestApiRef_72dcbda0,
33767
34529
  ) -> None:
33768
34530
  """Type checking stubs"""
33769
34531
  pass
@@ -33818,6 +34580,14 @@ def _typecheckingstub__7b22ef3a96b2535227fcee63bac2bd1636a3ecaf8ae447d48e70ec926
33818
34580
  """Type checking stubs"""
33819
34581
  pass
33820
34582
 
34583
+ def _typecheckingstub__d28618723a7da86eac262dd6fcbd57647bc2aa89de83959534c6b5288f040fef(
34584
+ scope: _constructs_77d1e7e8.Construct,
34585
+ id: builtins.str,
34586
+ api_key_id: builtins.str,
34587
+ ) -> None:
34588
+ """Type checking stubs"""
34589
+ pass
34590
+
33821
34591
  def _typecheckingstub__3d6e2d573fd59cd7bda27f8af3a06d556bf1f848f8a8571e3bb89f6ae03687b8(
33822
34592
  inspector: _TreeInspector_488e0dd5,
33823
34593
  ) -> None:
@@ -34140,6 +34910,14 @@ def _typecheckingstub__b04e1c6e6561781583a05d34684fa7f16c7a0f9593b5bdadf17a39aa7
34140
34910
  """Type checking stubs"""
34141
34911
  pass
34142
34912
 
34913
+ def _typecheckingstub__0a5e31aa2352a567ea0a97f6b3c305db593bab1d23ed323eab3a574cdbc20b53(
34914
+ scope: _constructs_77d1e7e8.Construct,
34915
+ id: builtins.str,
34916
+ client_certificate_id: builtins.str,
34917
+ ) -> None:
34918
+ """Type checking stubs"""
34919
+ pass
34920
+
34143
34921
  def _typecheckingstub__c56b005c9ce07b196b1f4cb1c80e16999eacd5dbdfac93d2f4f64138b0808a7e(
34144
34922
  inspector: _TreeInspector_488e0dd5,
34145
34923
  ) -> None:
@@ -34433,6 +35211,22 @@ def _typecheckingstub__133ab79e698bd61c150ef7c699a84e864403caafbb03bd0bc5874cee6
34433
35211
  """Type checking stubs"""
34434
35212
  pass
34435
35213
 
35214
+ def _typecheckingstub__7573cabb5591aeca76fca113dbdb083344840ea756b892b5b440934d48a9afb3(
35215
+ scope: _constructs_77d1e7e8.Construct,
35216
+ id: builtins.str,
35217
+ domain_name: builtins.str,
35218
+ ) -> None:
35219
+ """Type checking stubs"""
35220
+ pass
35221
+
35222
+ def _typecheckingstub__7594371e62564d813ae77a2f2b52731cbf46dfc26d0b9ee7957708a268f7536f(
35223
+ scope: _constructs_77d1e7e8.Construct,
35224
+ id: builtins.str,
35225
+ arn: builtins.str,
35226
+ ) -> None:
35227
+ """Type checking stubs"""
35228
+ pass
35229
+
34436
35230
  def _typecheckingstub__37a1235a5256f1b7d85e64cb2b5f3e81e3b6388eed32f66d2b4549fc757b871a(
34437
35231
  inspector: _TreeInspector_488e0dd5,
34438
35232
  ) -> None:
@@ -34869,6 +35663,7 @@ def _typecheckingstub__7fc2a1b31e9e3f92210ced50c17b0bf1cfcdb472f8b61fcc31a3c633b
34869
35663
  passthrough_behavior: typing.Optional[builtins.str] = None,
34870
35664
  request_parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
34871
35665
  request_templates: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
35666
+ response_transfer_mode: typing.Optional[builtins.str] = None,
34872
35667
  timeout_in_millis: typing.Optional[jsii.Number] = None,
34873
35668
  uri: typing.Optional[builtins.str] = None,
34874
35669
  ) -> None:
@@ -35106,11 +35901,20 @@ def _typecheckingstub__781aae0a2f2512495cbd89d2be23edec0478e71fd6a59c0527cabb245
35106
35901
  name: typing.Optional[builtins.str] = None,
35107
35902
  parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
35108
35903
  policy: typing.Any = None,
35904
+ security_policy: typing.Optional[builtins.str] = None,
35109
35905
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
35110
35906
  ) -> None:
35111
35907
  """Type checking stubs"""
35112
35908
  pass
35113
35909
 
35910
+ def _typecheckingstub__f098f990bc47fb67b4869dd0692c7805f635c5b6966164b81e7977eedb0e23a7(
35911
+ scope: _constructs_77d1e7e8.Construct,
35912
+ id: builtins.str,
35913
+ rest_api_id: builtins.str,
35914
+ ) -> None:
35915
+ """Type checking stubs"""
35916
+ pass
35917
+
35114
35918
  def _typecheckingstub__0d311995dffe9db41f0b189d5aaebea2138fbb7863d3fb06df01c202917e8b13(
35115
35919
  inspector: _TreeInspector_488e0dd5,
35116
35920
  ) -> None:
@@ -35207,6 +36011,12 @@ def _typecheckingstub__b7c411e289712e4a9bfc8e944902e0103f628540a4cf7e48a8c916788
35207
36011
  """Type checking stubs"""
35208
36012
  pass
35209
36013
 
36014
+ def _typecheckingstub__b5cbad8ea7b13cc4138aea2c1f4832de11327b51e38539bb2f152732a2d44409(
36015
+ value: typing.Optional[builtins.str],
36016
+ ) -> None:
36017
+ """Type checking stubs"""
36018
+ pass
36019
+
35210
36020
  def _typecheckingstub__9ae71bb5beb4f360ca0016003cbb508243a9ad4b5e494d1a4655780f8350d620(
35211
36021
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
35212
36022
  ) -> None:
@@ -35248,6 +36058,7 @@ def _typecheckingstub__5e6d4ed4722f0c07021ff207940f8656b0bbeb24224daef1a2a167c70
35248
36058
  name: typing.Optional[builtins.str] = None,
35249
36059
  parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
35250
36060
  policy: typing.Any = None,
36061
+ security_policy: typing.Optional[builtins.str] = None,
35251
36062
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
35252
36063
  ) -> None:
35253
36064
  """Type checking stubs"""
@@ -35439,6 +36250,14 @@ def _typecheckingstub__8a8c11347e47e0f4cc9518ba40e4026dd908f54137f8dd41f789c4c65
35439
36250
  """Type checking stubs"""
35440
36251
  pass
35441
36252
 
36253
+ def _typecheckingstub__44855889c228ef5d7500d8d4056967324b295b7a5290ae6aa891ab901acb2c2e(
36254
+ scope: _constructs_77d1e7e8.Construct,
36255
+ id: builtins.str,
36256
+ usage_plan_id: builtins.str,
36257
+ ) -> None:
36258
+ """Type checking stubs"""
36259
+ pass
36260
+
35442
36261
  def _typecheckingstub__305ebc0d1bd2c496b732d04490b6e35befd6f95c0273c4a987a6d5335feaa2f4(
35443
36262
  inspector: _TreeInspector_488e0dd5,
35444
36263
  ) -> None:
@@ -35587,6 +36406,14 @@ def _typecheckingstub__4a1f69db69c9ab3edee19de9b16585e4355791d79ee3b330d18242cc4
35587
36406
  """Type checking stubs"""
35588
36407
  pass
35589
36408
 
36409
+ def _typecheckingstub__c1a057c69ce236d79b8b6fb912b05b1084e8253b79689c49d313f733ba403dfd(
36410
+ scope: _constructs_77d1e7e8.Construct,
36411
+ id: builtins.str,
36412
+ vpc_link_id: builtins.str,
36413
+ ) -> None:
36414
+ """Type checking stubs"""
36415
+ pass
36416
+
35590
36417
  def _typecheckingstub__ab88de0a7914cd8aabbb92e0ebc49325c3e07a7d032f4f5d29eb7cba850c71b6(
35591
36418
  inspector: _TreeInspector_488e0dd5,
35592
36419
  ) -> None:
@@ -35759,7 +36586,7 @@ def _typecheckingstub__e3a97849ce8a01a0a99c02ae97daf2651b1124b4c2bac9a50b3dbb318
35759
36586
  pass
35760
36587
 
35761
36588
  def _typecheckingstub__5584cb6e6dfde7a0ce69d852df52ee6697c36df3a33e7d95f1f8945c57eb76d0(
35762
- stage: IStage,
36589
+ stage: _IStageRef_b829c330,
35763
36590
  ) -> None:
35764
36591
  """Type checking stubs"""
35765
36592
  pass
@@ -35832,7 +36659,7 @@ def _typecheckingstub__0db60e65de0b59c265539f0763570e52f29515365793132c5be8ef41b
35832
36659
  pass
35833
36660
 
35834
36661
  def _typecheckingstub__0581a1cd8ecb86e004a1d843a397a02b17cb9a9aeacc0117b49cae486cf553be(
35835
- api_key: IApiKey,
36662
+ api_key: _IApiKeyRef_6e16b46a,
35836
36663
  *,
35837
36664
  override_logical_id: typing.Optional[builtins.str] = None,
35838
36665
  ) -> None:
@@ -35933,7 +36760,7 @@ def _typecheckingstub__f6cb930af96a75dfa56cd51da050efc5f3c79f1759af7579e8e639450
35933
36760
 
35934
36761
  def _typecheckingstub__689c3507e908daefb625f42f5bfc2c215e135591704691d515c49669d5c3dbc3(
35935
36762
  *,
35936
- additional_items: typing.Optional[typing.Sequence[typing.Union[JsonSchema, typing.Dict[builtins.str, typing.Any]]]] = None,
36763
+ additional_items: typing.Optional[typing.Union[builtins.bool, typing.Union[JsonSchema, typing.Dict[builtins.str, typing.Any]]]] = None,
35937
36764
  additional_properties: typing.Optional[typing.Union[builtins.bool, typing.Union[JsonSchema, typing.Dict[builtins.str, typing.Any]]]] = None,
35938
36765
  all_of: typing.Optional[typing.Sequence[typing.Union[JsonSchema, typing.Dict[builtins.str, typing.Any]]]] = None,
35939
36766
  any_of: typing.Optional[typing.Sequence[typing.Union[JsonSchema, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -36014,6 +36841,7 @@ def _typecheckingstub__ce30eee1096e0566120e3d64f9e65409fa005cc047656a224902fd86c
36014
36841
  vpc_link: typing.Optional[IVpcLink] = None,
36015
36842
  allow_test_invoke: typing.Optional[builtins.bool] = None,
36016
36843
  proxy: typing.Optional[builtins.bool] = None,
36844
+ scope_permission_to_method: typing.Optional[builtins.bool] = None,
36017
36845
  ) -> None:
36018
36846
  """Type checking stubs"""
36019
36847
  pass
@@ -36025,7 +36853,7 @@ def _typecheckingstub__a84eaa748025edeb06434794d8ce0f9b8ad3d9438d71bcf66f8fe753a
36025
36853
  pass
36026
36854
 
36027
36855
  def _typecheckingstub__4a19c59b494e920f4294a640b251c2f8c481a6f520483bb6a66bf0f645b448fc(
36028
- _stage: IStage,
36856
+ _stage: _IStageRef_b829c330,
36029
36857
  ) -> None:
36030
36858
  """Type checking stubs"""
36031
36859
  pass
@@ -36059,11 +36887,12 @@ def _typecheckingstub__2b4cbdc48aca0832309ead12cf98a5327de5337263bcb7451db5561ae
36059
36887
 
36060
36888
  def _typecheckingstub__5673792ec70e78f31bd42c8b5fa76d95f3d27fb475ced2b715241422b9a73c79(
36061
36889
  metric_name: builtins.str,
36062
- stage: IStage,
36890
+ stage: _IStageRef_b829c330,
36063
36891
  *,
36064
36892
  account: typing.Optional[builtins.str] = None,
36065
36893
  color: typing.Optional[builtins.str] = None,
36066
36894
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36895
+ id: typing.Optional[builtins.str] = None,
36067
36896
  label: typing.Optional[builtins.str] = None,
36068
36897
  period: typing.Optional[_Duration_4839e8c3] = None,
36069
36898
  region: typing.Optional[builtins.str] = None,
@@ -36071,16 +36900,18 @@ def _typecheckingstub__5673792ec70e78f31bd42c8b5fa76d95f3d27fb475ced2b715241422b
36071
36900
  stack_region: typing.Optional[builtins.str] = None,
36072
36901
  statistic: typing.Optional[builtins.str] = None,
36073
36902
  unit: typing.Optional[_Unit_61bc6f70] = None,
36903
+ visible: typing.Optional[builtins.bool] = None,
36074
36904
  ) -> None:
36075
36905
  """Type checking stubs"""
36076
36906
  pass
36077
36907
 
36078
36908
  def _typecheckingstub__64ac2608c9f1609b3b980aa9e9605f3bd74f2569716d2fa90b1409dd75b1f362(
36079
- stage: IStage,
36909
+ stage: _IStageRef_b829c330,
36080
36910
  *,
36081
36911
  account: typing.Optional[builtins.str] = None,
36082
36912
  color: typing.Optional[builtins.str] = None,
36083
36913
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36914
+ id: typing.Optional[builtins.str] = None,
36084
36915
  label: typing.Optional[builtins.str] = None,
36085
36916
  period: typing.Optional[_Duration_4839e8c3] = None,
36086
36917
  region: typing.Optional[builtins.str] = None,
@@ -36088,16 +36919,18 @@ def _typecheckingstub__64ac2608c9f1609b3b980aa9e9605f3bd74f2569716d2fa90b1409dd7
36088
36919
  stack_region: typing.Optional[builtins.str] = None,
36089
36920
  statistic: typing.Optional[builtins.str] = None,
36090
36921
  unit: typing.Optional[_Unit_61bc6f70] = None,
36922
+ visible: typing.Optional[builtins.bool] = None,
36091
36923
  ) -> None:
36092
36924
  """Type checking stubs"""
36093
36925
  pass
36094
36926
 
36095
36927
  def _typecheckingstub__2cf284ffe8f66028e735d60b6ecd9664dc929e5cd71b9b7ce14143816a0fbb89(
36096
- stage: IStage,
36928
+ stage: _IStageRef_b829c330,
36097
36929
  *,
36098
36930
  account: typing.Optional[builtins.str] = None,
36099
36931
  color: typing.Optional[builtins.str] = None,
36100
36932
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36933
+ id: typing.Optional[builtins.str] = None,
36101
36934
  label: typing.Optional[builtins.str] = None,
36102
36935
  period: typing.Optional[_Duration_4839e8c3] = None,
36103
36936
  region: typing.Optional[builtins.str] = None,
@@ -36105,16 +36938,18 @@ def _typecheckingstub__2cf284ffe8f66028e735d60b6ecd9664dc929e5cd71b9b7ce14143816
36105
36938
  stack_region: typing.Optional[builtins.str] = None,
36106
36939
  statistic: typing.Optional[builtins.str] = None,
36107
36940
  unit: typing.Optional[_Unit_61bc6f70] = None,
36941
+ visible: typing.Optional[builtins.bool] = None,
36108
36942
  ) -> None:
36109
36943
  """Type checking stubs"""
36110
36944
  pass
36111
36945
 
36112
36946
  def _typecheckingstub__0493ec2c246530b5b05f1be196bdc153e1978bea6c8f269860b366eda94549a2(
36113
- stage: IStage,
36947
+ stage: _IStageRef_b829c330,
36114
36948
  *,
36115
36949
  account: typing.Optional[builtins.str] = None,
36116
36950
  color: typing.Optional[builtins.str] = None,
36117
36951
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36952
+ id: typing.Optional[builtins.str] = None,
36118
36953
  label: typing.Optional[builtins.str] = None,
36119
36954
  period: typing.Optional[_Duration_4839e8c3] = None,
36120
36955
  region: typing.Optional[builtins.str] = None,
@@ -36122,16 +36957,18 @@ def _typecheckingstub__0493ec2c246530b5b05f1be196bdc153e1978bea6c8f269860b366eda
36122
36957
  stack_region: typing.Optional[builtins.str] = None,
36123
36958
  statistic: typing.Optional[builtins.str] = None,
36124
36959
  unit: typing.Optional[_Unit_61bc6f70] = None,
36960
+ visible: typing.Optional[builtins.bool] = None,
36125
36961
  ) -> None:
36126
36962
  """Type checking stubs"""
36127
36963
  pass
36128
36964
 
36129
36965
  def _typecheckingstub__001b2bf8bfa27908da0580fb4246b555f3e30524cd2601928dd174bcc243cba8(
36130
- stage: IStage,
36966
+ stage: _IStageRef_b829c330,
36131
36967
  *,
36132
36968
  account: typing.Optional[builtins.str] = None,
36133
36969
  color: typing.Optional[builtins.str] = None,
36134
36970
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36971
+ id: typing.Optional[builtins.str] = None,
36135
36972
  label: typing.Optional[builtins.str] = None,
36136
36973
  period: typing.Optional[_Duration_4839e8c3] = None,
36137
36974
  region: typing.Optional[builtins.str] = None,
@@ -36139,16 +36976,18 @@ def _typecheckingstub__001b2bf8bfa27908da0580fb4246b555f3e30524cd2601928dd174bcc
36139
36976
  stack_region: typing.Optional[builtins.str] = None,
36140
36977
  statistic: typing.Optional[builtins.str] = None,
36141
36978
  unit: typing.Optional[_Unit_61bc6f70] = None,
36979
+ visible: typing.Optional[builtins.bool] = None,
36142
36980
  ) -> None:
36143
36981
  """Type checking stubs"""
36144
36982
  pass
36145
36983
 
36146
36984
  def _typecheckingstub__bade8cd8b8758f071556fa580f6b28b70f2f6440e36b36dc871b3306d5141d63(
36147
- stage: IStage,
36985
+ stage: _IStageRef_b829c330,
36148
36986
  *,
36149
36987
  account: typing.Optional[builtins.str] = None,
36150
36988
  color: typing.Optional[builtins.str] = None,
36151
36989
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36990
+ id: typing.Optional[builtins.str] = None,
36152
36991
  label: typing.Optional[builtins.str] = None,
36153
36992
  period: typing.Optional[_Duration_4839e8c3] = None,
36154
36993
  region: typing.Optional[builtins.str] = None,
@@ -36156,16 +36995,18 @@ def _typecheckingstub__bade8cd8b8758f071556fa580f6b28b70f2f6440e36b36dc871b3306d
36156
36995
  stack_region: typing.Optional[builtins.str] = None,
36157
36996
  statistic: typing.Optional[builtins.str] = None,
36158
36997
  unit: typing.Optional[_Unit_61bc6f70] = None,
36998
+ visible: typing.Optional[builtins.bool] = None,
36159
36999
  ) -> None:
36160
37000
  """Type checking stubs"""
36161
37001
  pass
36162
37002
 
36163
37003
  def _typecheckingstub__967d05990ceae877a7b59ca744da0bf2c478639cc36a703b76a49213cf45800f(
36164
- stage: IStage,
37004
+ stage: _IStageRef_b829c330,
36165
37005
  *,
36166
37006
  account: typing.Optional[builtins.str] = None,
36167
37007
  color: typing.Optional[builtins.str] = None,
36168
37008
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
37009
+ id: typing.Optional[builtins.str] = None,
36169
37010
  label: typing.Optional[builtins.str] = None,
36170
37011
  period: typing.Optional[_Duration_4839e8c3] = None,
36171
37012
  region: typing.Optional[builtins.str] = None,
@@ -36173,16 +37014,18 @@ def _typecheckingstub__967d05990ceae877a7b59ca744da0bf2c478639cc36a703b76a49213c
36173
37014
  stack_region: typing.Optional[builtins.str] = None,
36174
37015
  statistic: typing.Optional[builtins.str] = None,
36175
37016
  unit: typing.Optional[_Unit_61bc6f70] = None,
37017
+ visible: typing.Optional[builtins.bool] = None,
36176
37018
  ) -> None:
36177
37019
  """Type checking stubs"""
36178
37020
  pass
36179
37021
 
36180
37022
  def _typecheckingstub__d41d28c85cd25934abfd3bd4223f1dfd9b5d6c8dbd0ceb1869a97c090d98e8bc(
36181
- stage: IStage,
37023
+ stage: _IStageRef_b829c330,
36182
37024
  *,
36183
37025
  account: typing.Optional[builtins.str] = None,
36184
37026
  color: typing.Optional[builtins.str] = None,
36185
37027
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
37028
+ id: typing.Optional[builtins.str] = None,
36186
37029
  label: typing.Optional[builtins.str] = None,
36187
37030
  period: typing.Optional[_Duration_4839e8c3] = None,
36188
37031
  region: typing.Optional[builtins.str] = None,
@@ -36190,6 +37033,7 @@ def _typecheckingstub__d41d28c85cd25934abfd3bd4223f1dfd9b5d6c8dbd0ceb1869a97c090
36190
37033
  stack_region: typing.Optional[builtins.str] = None,
36191
37034
  statistic: typing.Optional[builtins.str] = None,
36192
37035
  unit: typing.Optional[_Unit_61bc6f70] = None,
37036
+ visible: typing.Optional[builtins.bool] = None,
36193
37037
  ) -> None:
36194
37038
  """Type checking stubs"""
36195
37039
  pass
@@ -36591,6 +37435,7 @@ def _typecheckingstub__83e0007c5bc1aeac14243c8f05dab576ffb55853642cfe1f4a1352b59
36591
37435
  account: typing.Optional[builtins.str] = None,
36592
37436
  color: typing.Optional[builtins.str] = None,
36593
37437
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
37438
+ id: typing.Optional[builtins.str] = None,
36594
37439
  label: typing.Optional[builtins.str] = None,
36595
37440
  period: typing.Optional[_Duration_4839e8c3] = None,
36596
37441
  region: typing.Optional[builtins.str] = None,
@@ -36598,6 +37443,7 @@ def _typecheckingstub__83e0007c5bc1aeac14243c8f05dab576ffb55853642cfe1f4a1352b59
36598
37443
  stack_region: typing.Optional[builtins.str] = None,
36599
37444
  statistic: typing.Optional[builtins.str] = None,
36600
37445
  unit: typing.Optional[_Unit_61bc6f70] = None,
37446
+ visible: typing.Optional[builtins.bool] = None,
36601
37447
  ) -> None:
36602
37448
  """Type checking stubs"""
36603
37449
  pass
@@ -36683,7 +37529,7 @@ def _typecheckingstub__edb4c50a5394bb1e1b27cdf2e1b593a161a3d26d31adcd03f57d290d6
36683
37529
  pass
36684
37530
 
36685
37531
  def _typecheckingstub__17529ae5d8eea5254fdacb085378cd0c45db1755d86da79bc4f191ca2d7d11cf(
36686
- bucket: _IBucket_42e086fd,
37532
+ bucket: _IBucketRef_3debe44e,
36687
37533
  key: builtins.str,
36688
37534
  object_version: typing.Optional[builtins.str] = None,
36689
37535
  ) -> None:
@@ -36719,6 +37565,7 @@ def _typecheckingstub__4722b635be09e87466169ef31b6610061f0fa16d1cff99382f0584fde
36719
37565
  id: builtins.str,
36720
37566
  *,
36721
37567
  api_definition: ApiDefinition,
37568
+ binary_media_types: typing.Optional[typing.Sequence[builtins.str]] = None,
36722
37569
  min_compression_size: typing.Optional[_Size_7b441c34] = None,
36723
37570
  mode: typing.Optional[RestApiMode] = None,
36724
37571
  cloud_watch_role: typing.Optional[builtins.bool] = None,
@@ -36764,6 +37611,7 @@ def _typecheckingstub__4506705cb637aa3098ad358d76fa29dd7a218f7542020d2e9dbfe8182
36764
37611
  rest_api_name: typing.Optional[builtins.str] = None,
36765
37612
  retain_deployments: typing.Optional[builtins.bool] = None,
36766
37613
  api_definition: ApiDefinition,
37614
+ binary_media_types: typing.Optional[typing.Sequence[builtins.str]] = None,
36767
37615
  min_compression_size: typing.Optional[_Size_7b441c34] = None,
36768
37616
  mode: typing.Optional[RestApiMode] = None,
36769
37617
  ) -> None:
@@ -36809,6 +37657,7 @@ def _typecheckingstub__e7aa140ce28102f6291e54fab42702aec75e06eb4ff034ae6897a3606
36809
37657
  account: typing.Optional[builtins.str] = None,
36810
37658
  color: typing.Optional[builtins.str] = None,
36811
37659
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
37660
+ id: typing.Optional[builtins.str] = None,
36812
37661
  label: typing.Optional[builtins.str] = None,
36813
37662
  period: typing.Optional[_Duration_4839e8c3] = None,
36814
37663
  region: typing.Optional[builtins.str] = None,
@@ -36816,6 +37665,7 @@ def _typecheckingstub__e7aa140ce28102f6291e54fab42702aec75e06eb4ff034ae6897a3606
36816
37665
  stack_region: typing.Optional[builtins.str] = None,
36817
37666
  statistic: typing.Optional[builtins.str] = None,
36818
37667
  unit: typing.Optional[_Unit_61bc6f70] = None,
37668
+ visible: typing.Optional[builtins.bool] = None,
36819
37669
  ) -> None:
36820
37670
  """Type checking stubs"""
36821
37671
  pass
@@ -37013,7 +37863,7 @@ def _typecheckingstub__ab0eb11ee5a0c0bec0a62982098a57f7f8b2e2fbc41c99cc845ad7a13
37013
37863
  pass
37014
37864
 
37015
37865
  def _typecheckingstub__285a70fe54073228fa866e73042608af7f28bc4c6294e9973b244c1721d9e216(
37016
- api_key: IApiKey,
37866
+ api_key: _IApiKeyRef_6e16b46a,
37017
37867
  *,
37018
37868
  override_logical_id: typing.Optional[builtins.str] = None,
37019
37869
  ) -> None:
@@ -37211,7 +38061,7 @@ def _typecheckingstub__cad31f1fc315ece50ad1a940ee742a009c2f4345a907cdf5e18ebc6a8
37211
38061
  pass
37212
38062
 
37213
38063
  def _typecheckingstub__821fdc8b9fd1b8f6ead947633bcbfaee025d8a1adbd4241c3f0854b9a0db8097(
37214
- target_stage: IStage,
38064
+ target_stage: _IStageRef_b829c330,
37215
38065
  *,
37216
38066
  base_path: typing.Optional[builtins.str] = None,
37217
38067
  ) -> None:
@@ -37219,7 +38069,7 @@ def _typecheckingstub__821fdc8b9fd1b8f6ead947633bcbfaee025d8a1adbd4241c3f0854b9a
37219
38069
  pass
37220
38070
 
37221
38071
  def _typecheckingstub__d4b721986ff6c3d5c8679f934d8e6e82c46e724bc891e375b56c03d819d3a567(
37222
- target_api: IRestApi,
38072
+ target_api: _IRestApiRef_72dcbda0,
37223
38073
  *,
37224
38074
  attach_to_stage: typing.Optional[builtins.bool] = None,
37225
38075
  base_path: typing.Optional[builtins.str] = None,
@@ -37235,7 +38085,7 @@ def _typecheckingstub__9d15f4386812b1b679d1ebcdd2e9d668cdbc03344408b9122024c31fe
37235
38085
  pass
37236
38086
 
37237
38087
  def _typecheckingstub__179d80b091f382f3efa388133eb4dc48f8c0278a36829a78d55f8c9c52eccd07(
37238
- stage: IStage,
38088
+ stage: _IStageRef_b829c330,
37239
38089
  ) -> None:
37240
38090
  """Type checking stubs"""
37241
38091
  pass
@@ -37253,6 +38103,14 @@ def _typecheckingstub__ab65ab77c1458b70c613940a2005350c46a9b8cb897c082088a4ea041
37253
38103
  """Type checking stubs"""
37254
38104
  pass
37255
38105
 
38106
+ def _typecheckingstub__7867165fe1cd2b6780c9e541f8f709a08a02872d9895272cbd253b87e77c8da8(
38107
+ scope: _constructs_77d1e7e8.Construct,
38108
+ id: builtins.str,
38109
+ gateway_response_id: builtins.str,
38110
+ ) -> None:
38111
+ """Type checking stubs"""
38112
+ pass
38113
+
37256
38114
  def _typecheckingstub__d3ff98fce51dfc1d2d8d0db44fd7207e20f84a1f392be482d886f122a6dcdeec(
37257
38115
  url: builtins.str,
37258
38116
  *,
@@ -37268,6 +38126,7 @@ def _typecheckingstub__5e5180800d8c68a79e025f16a87f0381973d727e2296f047786dc6bbc
37268
38126
  *,
37269
38127
  allow_test_invoke: typing.Optional[builtins.bool] = None,
37270
38128
  proxy: typing.Optional[builtins.bool] = None,
38129
+ scope_permission_to_method: typing.Optional[builtins.bool] = None,
37271
38130
  cache_key_parameters: typing.Optional[typing.Sequence[builtins.str]] = None,
37272
38131
  cache_namespace: typing.Optional[builtins.str] = None,
37273
38132
  connection_type: typing.Optional[ConnectionType] = None,
@@ -37675,3 +38534,6 @@ def _typecheckingstub__e4e0dd5a5563a97619c37342a77235f5f54af4a7b6324b1a4257fe268
37675
38534
  ) -> None:
37676
38535
  """Type checking stubs"""
37677
38536
  pass
38537
+
38538
+ for cls in [IAccessLogDestination, IApiKey, IAuthorizer, IDomainName, IGatewayResponse, IModel, IRequestValidator, IResource, IRestApi, IStage, IUsagePlan, IVpcLink]:
38539
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])