aws-cdk-lib 2.219.0__py3-none-any.whl → 2.221.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 (290) hide show
  1. aws_cdk/__init__.py +33 -35
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +3 -0
  5. aws_cdk/aws_accessanalyzer/__init__.py +3 -0
  6. aws_cdk/aws_acmpca/__init__.py +4 -1
  7. aws_cdk/aws_aiops/__init__.py +3 -0
  8. aws_cdk/aws_amazonmq/__init__.py +3 -29
  9. aws_cdk/aws_amplify/__init__.py +3 -0
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
  11. aws_cdk/aws_apigateway/__init__.py +3 -0
  12. aws_cdk/aws_apigatewayv2/__init__.py +3 -0
  13. aws_cdk/aws_appconfig/__init__.py +3 -29
  14. aws_cdk/aws_appflow/__init__.py +3 -0
  15. aws_cdk/aws_appintegrations/__init__.py +3 -0
  16. aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
  17. aws_cdk/aws_applicationinsights/__init__.py +3 -0
  18. aws_cdk/aws_applicationsignals/__init__.py +453 -2
  19. aws_cdk/aws_appmesh/__init__.py +3 -0
  20. aws_cdk/aws_apprunner/__init__.py +3 -0
  21. aws_cdk/aws_appstream/__init__.py +3 -0
  22. aws_cdk/aws_appsync/__init__.py +3 -0
  23. aws_cdk/aws_apptest/__init__.py +3 -0
  24. aws_cdk/aws_aps/__init__.py +1168 -83
  25. aws_cdk/aws_arcregionswitch/__init__.py +11 -0
  26. aws_cdk/aws_arczonalshift/__init__.py +3 -0
  27. aws_cdk/aws_athena/__init__.py +3 -0
  28. aws_cdk/aws_auditmanager/__init__.py +3 -0
  29. aws_cdk/aws_autoscaling/__init__.py +3 -0
  30. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  31. aws_cdk/aws_autoscalingplans/__init__.py +3 -0
  32. aws_cdk/aws_b2bi/__init__.py +3 -0
  33. aws_cdk/aws_backup/__init__.py +32 -29
  34. aws_cdk/aws_backupgateway/__init__.py +3 -0
  35. aws_cdk/aws_batch/__init__.py +112 -7
  36. aws_cdk/aws_bcmdataexports/__init__.py +3 -0
  37. aws_cdk/aws_bedrock/__init__.py +53 -45
  38. aws_cdk/aws_bedrockagentcore/__init__.py +8499 -1732
  39. aws_cdk/aws_billingconductor/__init__.py +3 -0
  40. aws_cdk/aws_budgets/__init__.py +3 -0
  41. aws_cdk/aws_cassandra/__init__.py +3 -0
  42. aws_cdk/aws_ce/__init__.py +3 -0
  43. aws_cdk/aws_certificatemanager/__init__.py +3 -0
  44. aws_cdk/aws_chatbot/__init__.py +3 -0
  45. aws_cdk/aws_cleanrooms/__init__.py +3 -0
  46. aws_cdk/aws_cleanroomsml/__init__.py +3 -0
  47. aws_cdk/aws_cloud9/__init__.py +3 -0
  48. aws_cdk/aws_cloudformation/__init__.py +3 -0
  49. aws_cdk/aws_cloudfront/__init__.py +69 -3
  50. aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
  51. aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
  52. aws_cdk/aws_cloudtrail/__init__.py +3 -0
  53. aws_cdk/aws_cloudwatch/__init__.py +8 -5
  54. aws_cdk/aws_codeartifact/__init__.py +3 -0
  55. aws_cdk/aws_codebuild/__init__.py +3 -0
  56. aws_cdk/aws_codecommit/__init__.py +3 -0
  57. aws_cdk/aws_codeconnections/__init__.py +3 -0
  58. aws_cdk/aws_codedeploy/__init__.py +3 -0
  59. aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
  60. aws_cdk/aws_codegurureviewer/__init__.py +3 -0
  61. aws_cdk/aws_codepipeline/__init__.py +3 -0
  62. aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
  63. aws_cdk/aws_codestar/__init__.py +3 -0
  64. aws_cdk/aws_codestarconnections/__init__.py +3 -0
  65. aws_cdk/aws_codestarnotifications/__init__.py +3 -0
  66. aws_cdk/aws_cognito/__init__.py +9 -4
  67. aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
  68. aws_cdk/aws_comprehend/__init__.py +3 -0
  69. aws_cdk/aws_config/__init__.py +3 -0
  70. aws_cdk/aws_connect/__init__.py +1232 -2
  71. aws_cdk/aws_connectcampaigns/__init__.py +3 -0
  72. aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
  73. aws_cdk/aws_controltower/__init__.py +3 -0
  74. aws_cdk/aws_cur/__init__.py +3 -0
  75. aws_cdk/aws_customerprofiles/__init__.py +3 -29
  76. aws_cdk/aws_databrew/__init__.py +3 -0
  77. aws_cdk/aws_datapipeline/__init__.py +3 -0
  78. aws_cdk/aws_datasync/__init__.py +3 -0
  79. aws_cdk/aws_datazone/__init__.py +17 -15
  80. aws_cdk/aws_dax/__init__.py +15 -3
  81. aws_cdk/aws_deadline/__init__.py +3 -0
  82. aws_cdk/aws_detective/__init__.py +3 -0
  83. aws_cdk/aws_devicefarm/__init__.py +3 -0
  84. aws_cdk/aws_devopsguru/__init__.py +3 -0
  85. aws_cdk/aws_directoryservice/__init__.py +32 -0
  86. aws_cdk/aws_dlm/__init__.py +3 -0
  87. aws_cdk/aws_dms/__init__.py +3 -0
  88. aws_cdk/aws_docdb/__init__.py +14 -3
  89. aws_cdk/aws_docdbelastic/__init__.py +3 -0
  90. aws_cdk/aws_dsql/__init__.py +3 -0
  91. aws_cdk/aws_dynamodb/__init__.py +3 -0
  92. aws_cdk/aws_ec2/__init__.py +205 -48
  93. aws_cdk/aws_ecr/__init__.py +156 -33
  94. aws_cdk/aws_ecs/__init__.py +429 -182
  95. aws_cdk/aws_efs/__init__.py +3 -0
  96. aws_cdk/aws_eks/__init__.py +117 -67
  97. aws_cdk/aws_elasticache/__init__.py +3 -0
  98. aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
  99. aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
  100. aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
  101. aws_cdk/aws_elasticsearch/__init__.py +3 -0
  102. aws_cdk/aws_emr/__init__.py +3 -0
  103. aws_cdk/aws_emrcontainers/__init__.py +3 -0
  104. aws_cdk/aws_emrserverless/__init__.py +12 -11
  105. aws_cdk/aws_entityresolution/__init__.py +3 -0
  106. aws_cdk/aws_events/__init__.py +73 -29
  107. aws_cdk/aws_events_targets/__init__.py +3 -0
  108. aws_cdk/aws_eventschemas/__init__.py +3 -0
  109. aws_cdk/aws_evidently/__init__.py +3 -0
  110. aws_cdk/aws_evs/__init__.py +3 -0
  111. aws_cdk/aws_finspace/__init__.py +3 -0
  112. aws_cdk/aws_fis/__init__.py +3 -0
  113. aws_cdk/aws_fms/__init__.py +3 -0
  114. aws_cdk/aws_forecast/__init__.py +3 -0
  115. aws_cdk/aws_frauddetector/__init__.py +3 -0
  116. aws_cdk/aws_fsx/__init__.py +7 -4
  117. aws_cdk/aws_gamelift/__init__.py +3 -0
  118. aws_cdk/aws_gameliftstreams/__init__.py +8 -5
  119. aws_cdk/aws_globalaccelerator/__init__.py +3 -0
  120. aws_cdk/aws_glue/__init__.py +11 -80
  121. aws_cdk/aws_grafana/__init__.py +3 -0
  122. aws_cdk/aws_greengrass/__init__.py +3 -0
  123. aws_cdk/aws_greengrassv2/__init__.py +3 -0
  124. aws_cdk/aws_groundstation/__init__.py +3 -0
  125. aws_cdk/aws_guardduty/__init__.py +3 -0
  126. aws_cdk/aws_healthimaging/__init__.py +3 -0
  127. aws_cdk/aws_healthlake/__init__.py +3 -0
  128. aws_cdk/aws_iam/__init__.py +30 -32
  129. aws_cdk/aws_identitystore/__init__.py +3 -0
  130. aws_cdk/aws_imagebuilder/__init__.py +896 -0
  131. aws_cdk/aws_inspector/__init__.py +3 -0
  132. aws_cdk/aws_inspectorv2/__init__.py +3 -0
  133. aws_cdk/aws_internetmonitor/__init__.py +3 -0
  134. aws_cdk/aws_invoicing/__init__.py +3 -0
  135. aws_cdk/aws_iot/__init__.py +3 -0
  136. aws_cdk/aws_iotanalytics/__init__.py +3 -0
  137. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
  138. aws_cdk/aws_iotevents/__init__.py +3 -0
  139. aws_cdk/aws_iotfleethub/__init__.py +3 -0
  140. aws_cdk/aws_iotfleetwise/__init__.py +3 -0
  141. aws_cdk/aws_iotsitewise/__init__.py +139 -80
  142. aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
  143. aws_cdk/aws_iottwinmaker/__init__.py +3 -87
  144. aws_cdk/aws_iotwireless/__init__.py +61 -0
  145. aws_cdk/aws_ivs/__init__.py +3 -0
  146. aws_cdk/aws_ivschat/__init__.py +3 -0
  147. aws_cdk/aws_kafkaconnect/__init__.py +3 -0
  148. aws_cdk/aws_kendra/__init__.py +3 -58
  149. aws_cdk/aws_kendraranking/__init__.py +3 -0
  150. aws_cdk/aws_kinesis/__init__.py +98 -4
  151. aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
  152. aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
  153. aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
  154. aws_cdk/aws_kinesisvideo/__init__.py +3 -29
  155. aws_cdk/aws_kms/__init__.py +3 -0
  156. aws_cdk/aws_lakeformation/__init__.py +3 -0
  157. aws_cdk/aws_lambda/__init__.py +57 -7
  158. aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
  159. aws_cdk/aws_launchwizard/__init__.py +3 -0
  160. aws_cdk/aws_lex/__init__.py +3 -29
  161. aws_cdk/aws_licensemanager/__init__.py +3 -0
  162. aws_cdk/aws_lightsail/__init__.py +587 -0
  163. aws_cdk/aws_location/__init__.py +3 -0
  164. aws_cdk/aws_logs/__init__.py +283 -9
  165. aws_cdk/aws_lookoutequipment/__init__.py +3 -29
  166. aws_cdk/aws_lookoutmetrics/__init__.py +17 -2
  167. aws_cdk/aws_lookoutvision/__init__.py +3 -0
  168. aws_cdk/aws_m2/__init__.py +62 -13
  169. aws_cdk/aws_macie/__init__.py +3 -0
  170. aws_cdk/aws_managedblockchain/__init__.py +3 -0
  171. aws_cdk/aws_mediaconnect/__init__.py +3 -0
  172. aws_cdk/aws_mediaconvert/__init__.py +3 -0
  173. aws_cdk/aws_medialive/__init__.py +279 -33
  174. aws_cdk/aws_mediapackage/__init__.py +3 -0
  175. aws_cdk/aws_mediapackagev2/__init__.py +3 -0
  176. aws_cdk/aws_mediastore/__init__.py +3 -0
  177. aws_cdk/aws_mediatailor/__init__.py +3 -58
  178. aws_cdk/aws_memorydb/__init__.py +3 -0
  179. aws_cdk/aws_mpa/__init__.py +3 -0
  180. aws_cdk/aws_msk/__init__.py +3 -0
  181. aws_cdk/aws_mwaa/__init__.py +8 -5
  182. aws_cdk/aws_neptune/__init__.py +188 -70
  183. aws_cdk/aws_neptunegraph/__init__.py +3 -0
  184. aws_cdk/aws_networkfirewall/__init__.py +3 -0
  185. aws_cdk/aws_networkmanager/__init__.py +32 -0
  186. aws_cdk/aws_nimblestudio/__init__.py +3 -0
  187. aws_cdk/aws_notifications/__init__.py +3 -0
  188. aws_cdk/aws_notificationscontacts/__init__.py +3 -0
  189. aws_cdk/aws_oam/__init__.py +3 -0
  190. aws_cdk/aws_observabilityadmin/__init__.py +1365 -187
  191. aws_cdk/aws_odb/__init__.py +4 -1
  192. aws_cdk/aws_omics/__init__.py +10 -1
  193. aws_cdk/aws_opensearchserverless/__init__.py +3 -0
  194. aws_cdk/aws_opensearchservice/__init__.py +9 -0
  195. aws_cdk/aws_opsworks/__init__.py +3 -0
  196. aws_cdk/aws_opsworkscm/__init__.py +3 -0
  197. aws_cdk/aws_organizations/__init__.py +3 -116
  198. aws_cdk/aws_osis/__init__.py +157 -0
  199. aws_cdk/aws_panorama/__init__.py +3 -0
  200. aws_cdk/aws_paymentcryptography/__init__.py +3 -0
  201. aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
  202. aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
  203. aws_cdk/aws_pcs/__init__.py +227 -33
  204. aws_cdk/aws_personalize/__init__.py +3 -0
  205. aws_cdk/aws_pinpoint/__init__.py +61 -58
  206. aws_cdk/aws_pinpointemail/__init__.py +3 -0
  207. aws_cdk/aws_pipes/__init__.py +3 -0
  208. aws_cdk/aws_proton/__init__.py +3 -0
  209. aws_cdk/aws_qbusiness/__init__.py +3 -174
  210. aws_cdk/aws_qldb/__init__.py +3 -29
  211. aws_cdk/aws_quicksight/__init__.py +493 -406
  212. aws_cdk/aws_ram/__init__.py +3 -0
  213. aws_cdk/aws_rbin/__init__.py +3 -0
  214. aws_cdk/aws_rds/__init__.py +71 -42
  215. aws_cdk/aws_redshift/__init__.py +3 -0
  216. aws_cdk/aws_redshiftserverless/__init__.py +3 -0
  217. aws_cdk/aws_refactorspaces/__init__.py +21 -6
  218. aws_cdk/aws_rekognition/__init__.py +3 -29
  219. aws_cdk/aws_resiliencehub/__init__.py +3 -0
  220. aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
  221. aws_cdk/aws_resourcegroups/__init__.py +3 -0
  222. aws_cdk/aws_robomaker/__init__.py +3 -0
  223. aws_cdk/aws_rolesanywhere/__init__.py +3 -0
  224. aws_cdk/aws_route53/__init__.py +148 -24
  225. aws_cdk/aws_route53_targets/__init__.py +3 -0
  226. aws_cdk/aws_route53profiles/__init__.py +3 -0
  227. aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
  228. aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
  229. aws_cdk/aws_route53resolver/__init__.py +11 -4
  230. aws_cdk/aws_rum/__init__.py +3 -0
  231. aws_cdk/aws_s3/__init__.py +80 -43
  232. aws_cdk/aws_s3_deployment/__init__.py +3 -0
  233. aws_cdk/aws_s3express/__init__.py +3 -0
  234. aws_cdk/aws_s3objectlambda/__init__.py +47 -12
  235. aws_cdk/aws_s3outposts/__init__.py +3 -0
  236. aws_cdk/aws_s3tables/__init__.py +3 -0
  237. aws_cdk/aws_sagemaker/__init__.py +166 -87
  238. aws_cdk/aws_sam/__init__.py +3 -0
  239. aws_cdk/aws_scheduler/__init__.py +3 -29
  240. aws_cdk/aws_sdb/__init__.py +3 -0
  241. aws_cdk/aws_secretsmanager/__init__.py +3 -0
  242. aws_cdk/aws_securityhub/__init__.py +3 -0
  243. aws_cdk/aws_securitylake/__init__.py +3 -0
  244. aws_cdk/aws_servicecatalog/__init__.py +161 -144
  245. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
  246. aws_cdk/aws_servicediscovery/__init__.py +3 -0
  247. aws_cdk/aws_ses/__init__.py +3 -0
  248. aws_cdk/aws_shield/__init__.py +3 -0
  249. aws_cdk/aws_signer/__init__.py +3 -0
  250. aws_cdk/aws_simspaceweaver/__init__.py +3 -0
  251. aws_cdk/aws_smsvoice/__init__.py +3 -29
  252. aws_cdk/aws_sns/__init__.py +3 -0
  253. aws_cdk/aws_sqs/__init__.py +3 -0
  254. aws_cdk/aws_ssm/__init__.py +10 -3
  255. aws_cdk/aws_ssmcontacts/__init__.py +3 -0
  256. aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
  257. aws_cdk/aws_ssmincidents/__init__.py +3 -0
  258. aws_cdk/aws_ssmquicksetup/__init__.py +470 -3
  259. aws_cdk/aws_sso/__init__.py +3 -0
  260. aws_cdk/aws_stepfunctions/__init__.py +23 -19
  261. aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
  262. aws_cdk/aws_supportapp/__init__.py +3 -0
  263. aws_cdk/aws_synthetics/__init__.py +80 -27
  264. aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
  265. aws_cdk/aws_timestream/__init__.py +3 -29
  266. aws_cdk/aws_transfer/__init__.py +20 -34
  267. aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
  268. aws_cdk/aws_voiceid/__init__.py +3 -0
  269. aws_cdk/aws_vpclattice/__init__.py +7 -4
  270. aws_cdk/aws_waf/__init__.py +3 -0
  271. aws_cdk/aws_wafregional/__init__.py +3 -0
  272. aws_cdk/aws_wafv2/__init__.py +3 -0
  273. aws_cdk/aws_wisdom/__init__.py +3 -116
  274. aws_cdk/aws_workspaces/__init__.py +3 -0
  275. aws_cdk/aws_workspacesinstances/__init__.py +3 -0
  276. aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
  277. aws_cdk/aws_workspacesweb/__init__.py +3 -0
  278. aws_cdk/aws_xray/__init__.py +3 -0
  279. aws_cdk/cloud_assembly_schema/__init__.py +3 -0
  280. aws_cdk/cx_api/__init__.py +34 -0
  281. aws_cdk/pipelines/__init__.py +3 -0
  282. aws_cdk/region_info/__init__.py +3 -0
  283. aws_cdk/triggers/__init__.py +3 -0
  284. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
  285. aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
  286. aws_cdk_lib-2.219.0.dist-info/RECORD +0 -313
  287. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
  288. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
  289. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
  290. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
@@ -4165,6 +4165,7 @@ class CfnListenerProps:
4165
4165
  "conditions": "conditions",
4166
4166
  "priority": "priority",
4167
4167
  "listener_arn": "listenerArn",
4168
+ "transforms": "transforms",
4168
4169
  },
4169
4170
  )
4170
4171
  class CfnListenerRuleProps:
@@ -4175,6 +4176,7 @@ class CfnListenerRuleProps:
4175
4176
  conditions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.RuleConditionProperty", typing.Dict[builtins.str, typing.Any]]]]],
4176
4177
  priority: jsii.Number,
4177
4178
  listener_arn: typing.Optional[builtins.str] = None,
4179
+ transforms: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.TransformProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4178
4180
  ) -> None:
4179
4181
  '''Properties for defining a ``CfnListenerRule``.
4180
4182
 
@@ -4182,6 +4184,7 @@ class CfnListenerRuleProps:
4182
4184
  :param conditions: The conditions. The rule can optionally include up to one of each of the following conditions: ``http-request-method`` , ``host-header`` , ``path-pattern`` , and ``source-ip`` . A rule can also optionally include one or more of each of the following conditions: ``http-header`` and ``query-string`` .
4183
4185
  :param priority: The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
4184
4186
  :param listener_arn: The Amazon Resource Name (ARN) of the listener.
4187
+ :param transforms:
4185
4188
 
4186
4189
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html
4187
4190
  :exampleMetadata: fixture=_generated
@@ -4262,16 +4265,19 @@ class CfnListenerRuleProps:
4262
4265
  conditions=[elbv2.CfnListenerRule.RuleConditionProperty(
4263
4266
  field="field",
4264
4267
  host_header_config=elbv2.CfnListenerRule.HostHeaderConfigProperty(
4268
+ regex_values=["regexValues"],
4265
4269
  values=["values"]
4266
4270
  ),
4267
4271
  http_header_config=elbv2.CfnListenerRule.HttpHeaderConfigProperty(
4268
4272
  http_header_name="httpHeaderName",
4273
+ regex_values=["regexValues"],
4269
4274
  values=["values"]
4270
4275
  ),
4271
4276
  http_request_method_config=elbv2.CfnListenerRule.HttpRequestMethodConfigProperty(
4272
4277
  values=["values"]
4273
4278
  ),
4274
4279
  path_pattern_config=elbv2.CfnListenerRule.PathPatternConfigProperty(
4280
+ regex_values=["regexValues"],
4275
4281
  values=["values"]
4276
4282
  ),
4277
4283
  query_string_config=elbv2.CfnListenerRule.QueryStringConfigProperty(
@@ -4280,6 +4286,7 @@ class CfnListenerRuleProps:
4280
4286
  value="value"
4281
4287
  )]
4282
4288
  ),
4289
+ regex_values=["regexValues"],
4283
4290
  source_ip_config=elbv2.CfnListenerRule.SourceIpConfigProperty(
4284
4291
  values=["values"]
4285
4292
  ),
@@ -4288,7 +4295,24 @@ class CfnListenerRuleProps:
4288
4295
  priority=123,
4289
4296
 
4290
4297
  # the properties below are optional
4291
- listener_arn="listenerArn"
4298
+ listener_arn="listenerArn",
4299
+ transforms=[elbv2.CfnListenerRule.TransformProperty(
4300
+ type="type",
4301
+
4302
+ # the properties below are optional
4303
+ host_header_rewrite_config=elbv2.CfnListenerRule.RewriteConfigObjectProperty(
4304
+ rewrites=[elbv2.CfnListenerRule.RewriteConfigProperty(
4305
+ regex="regex",
4306
+ replace="replace"
4307
+ )]
4308
+ ),
4309
+ url_rewrite_config=elbv2.CfnListenerRule.RewriteConfigObjectProperty(
4310
+ rewrites=[elbv2.CfnListenerRule.RewriteConfigProperty(
4311
+ regex="regex",
4312
+ replace="replace"
4313
+ )]
4314
+ )
4315
+ )]
4292
4316
  )
4293
4317
  '''
4294
4318
  if __debug__:
@@ -4297,6 +4321,7 @@ class CfnListenerRuleProps:
4297
4321
  check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
4298
4322
  check_type(argname="argument priority", value=priority, expected_type=type_hints["priority"])
4299
4323
  check_type(argname="argument listener_arn", value=listener_arn, expected_type=type_hints["listener_arn"])
4324
+ check_type(argname="argument transforms", value=transforms, expected_type=type_hints["transforms"])
4300
4325
  self._values: typing.Dict[builtins.str, typing.Any] = {
4301
4326
  "actions": actions,
4302
4327
  "conditions": conditions,
@@ -4304,6 +4329,8 @@ class CfnListenerRuleProps:
4304
4329
  }
4305
4330
  if listener_arn is not None:
4306
4331
  self._values["listener_arn"] = listener_arn
4332
+ if transforms is not None:
4333
+ self._values["transforms"] = transforms
4307
4334
 
4308
4335
  @builtins.property
4309
4336
  def actions(
@@ -4354,6 +4381,16 @@ class CfnListenerRuleProps:
4354
4381
  result = self._values.get("listener_arn")
4355
4382
  return typing.cast(typing.Optional[builtins.str], result)
4356
4383
 
4384
+ @builtins.property
4385
+ def transforms(
4386
+ self,
4387
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.TransformProperty"]]]]:
4388
+ '''
4389
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html#cfn-elasticloadbalancingv2-listenerrule-transforms
4390
+ '''
4391
+ result = self._values.get("transforms")
4392
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.TransformProperty"]]]], result)
4393
+
4357
4394
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4358
4395
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4359
4396
 
@@ -4407,7 +4444,7 @@ class CfnLoadBalancerProps:
4407
4444
  ) -> None:
4408
4445
  '''Properties for defining a ``CfnLoadBalancer``.
4409
4446
 
4410
- :param enable_capacity_reservation_provision_stabilize: Default: - false
4447
+ :param enable_capacity_reservation_provision_stabilize: Indicates whether to enable stabilization when creating or updating an LCU reservation. This ensures that the final stack status reflects the status of the LCU reservation. The default is ``false`` . Default: - false
4411
4448
  :param enable_prefix_for_ipv6_source_nat: [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ``dualstack`` . The default value is ``off`` .
4412
4449
  :param enforce_security_group_inbound_rules_on_private_link_traffic: Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink . The default is ``on`` . You can't configure this property on a Network Load Balancer unless you associated a security group with the load balancer when you created it.
4413
4450
  :param ip_address_type: The IP address type. Internal load balancers must use ``ipv4`` . [Application Load Balancers] The possible values are ``ipv4`` (IPv4 addresses), ``dualstack`` (IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (public IPv6 addresses and private IPv4 and IPv6 addresses). Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors. [Network Load Balancers and Gateway Load Balancers] The possible values are ``ipv4`` (IPv4 addresses) and ``dualstack`` (IPv4 and IPv6 addresses).
@@ -4514,7 +4551,10 @@ class CfnLoadBalancerProps:
4514
4551
  def enable_capacity_reservation_provision_stabilize(
4515
4552
  self,
4516
4553
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
4517
- '''
4554
+ '''Indicates whether to enable stabilization when creating or updating an LCU reservation.
4555
+
4556
+ This ensures that the final stack status reflects the status of the LCU reservation. The default is ``false`` .
4557
+
4518
4558
  :default: - false
4519
4559
 
4520
4560
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-enablecapacityreservationprovisionstabilize
@@ -11065,10 +11105,10 @@ class ListenerAction(
11065
11105
  :param authenticate_cognito_config: [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito`` .
11066
11106
  :param authenticate_oidc_config: [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc`` .
11067
11107
  :param fixed_response_config: [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response`` .
11068
- :param forward_config: Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
11108
+ :param forward_config: Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
11069
11109
  :param order: The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
11070
11110
  :param redirect_config: [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect`` .
11071
- :param target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
11111
+ :param target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
11072
11112
  '''
11073
11113
  action_json = CfnListenerRule.ActionProperty(
11074
11114
  type=type,
@@ -18150,10 +18190,10 @@ class CfnListener(
18150
18190
  :param authenticate_cognito_config: [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito`` .
18151
18191
  :param authenticate_oidc_config: [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc`` .
18152
18192
  :param fixed_response_config: [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response`` .
18153
- :param forward_config: Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
18193
+ :param forward_config: Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
18154
18194
  :param order: The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
18155
18195
  :param redirect_config: [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect`` .
18156
- :param target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
18196
+ :param target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
18157
18197
 
18158
18198
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-action.html
18159
18199
  :exampleMetadata: fixture=_generated
@@ -18312,9 +18352,9 @@ class CfnListener(
18312
18352
  def forward_config(
18313
18353
  self,
18314
18354
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListener.ForwardConfigProperty"]]:
18315
- '''Information for creating an action that distributes requests among one or more target groups.
18355
+ '''Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward`` .
18316
18356
 
18317
- For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
18357
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
18318
18358
 
18319
18359
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-action.html#cfn-elasticloadbalancingv2-listener-action-forwardconfig
18320
18360
  '''
@@ -18349,7 +18389,7 @@ class CfnListener(
18349
18389
  def target_group_arn(self) -> typing.Optional[builtins.str]:
18350
18390
  '''The Amazon Resource Name (ARN) of the target group.
18351
18391
 
18352
- Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
18392
+ Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
18353
18393
 
18354
18394
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-action.html#cfn-elasticloadbalancingv2-listener-action-targetgrouparn
18355
18395
  '''
@@ -18979,9 +19019,9 @@ class CfnListener(
18979
19019
  target_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListener.TargetGroupTupleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
18980
19020
  target_group_stickiness_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListener.TargetGroupStickinessConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
18981
19021
  ) -> None:
18982
- '''Information for creating an action that distributes requests among one or more target groups.
19022
+ '''Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward`` .
18983
19023
 
18984
- For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
19024
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
18985
19025
 
18986
19026
  :param target_groups: Information about how traffic will be distributed between multiple target groups in a forward rule.
18987
19027
  :param target_group_stickiness_config: Information about the target group stickiness for a rule.
@@ -19432,7 +19472,7 @@ class CfnListener(
19432
19472
  ) -> None:
19433
19473
  '''Information about the target group stickiness for a rule.
19434
19474
 
19435
- :param duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
19475
+ :param duration_seconds: [Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
19436
19476
  :param enabled: Indicates whether target group stickiness is enabled.
19437
19477
 
19438
19478
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-targetgroupstickinessconfig.html
@@ -19461,7 +19501,7 @@ class CfnListener(
19461
19501
 
19462
19502
  @builtins.property
19463
19503
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
19464
- '''The time period, in seconds, during which requests from a client should be routed to the same target group.
19504
+ '''[Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group.
19465
19505
 
19466
19506
  The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
19467
19507
 
@@ -19843,16 +19883,19 @@ class CfnListenerRule(
19843
19883
  conditions=[elbv2.CfnListenerRule.RuleConditionProperty(
19844
19884
  field="field",
19845
19885
  host_header_config=elbv2.CfnListenerRule.HostHeaderConfigProperty(
19886
+ regex_values=["regexValues"],
19846
19887
  values=["values"]
19847
19888
  ),
19848
19889
  http_header_config=elbv2.CfnListenerRule.HttpHeaderConfigProperty(
19849
19890
  http_header_name="httpHeaderName",
19891
+ regex_values=["regexValues"],
19850
19892
  values=["values"]
19851
19893
  ),
19852
19894
  http_request_method_config=elbv2.CfnListenerRule.HttpRequestMethodConfigProperty(
19853
19895
  values=["values"]
19854
19896
  ),
19855
19897
  path_pattern_config=elbv2.CfnListenerRule.PathPatternConfigProperty(
19898
+ regex_values=["regexValues"],
19856
19899
  values=["values"]
19857
19900
  ),
19858
19901
  query_string_config=elbv2.CfnListenerRule.QueryStringConfigProperty(
@@ -19861,6 +19904,7 @@ class CfnListenerRule(
19861
19904
  value="value"
19862
19905
  )]
19863
19906
  ),
19907
+ regex_values=["regexValues"],
19864
19908
  source_ip_config=elbv2.CfnListenerRule.SourceIpConfigProperty(
19865
19909
  values=["values"]
19866
19910
  ),
@@ -19869,7 +19913,24 @@ class CfnListenerRule(
19869
19913
  priority=123,
19870
19914
 
19871
19915
  # the properties below are optional
19872
- listener_arn="listenerArn"
19916
+ listener_arn="listenerArn",
19917
+ transforms=[elbv2.CfnListenerRule.TransformProperty(
19918
+ type="type",
19919
+
19920
+ # the properties below are optional
19921
+ host_header_rewrite_config=elbv2.CfnListenerRule.RewriteConfigObjectProperty(
19922
+ rewrites=[elbv2.CfnListenerRule.RewriteConfigProperty(
19923
+ regex="regex",
19924
+ replace="replace"
19925
+ )]
19926
+ ),
19927
+ url_rewrite_config=elbv2.CfnListenerRule.RewriteConfigObjectProperty(
19928
+ rewrites=[elbv2.CfnListenerRule.RewriteConfigProperty(
19929
+ regex="regex",
19930
+ replace="replace"
19931
+ )]
19932
+ )
19933
+ )]
19873
19934
  )
19874
19935
  '''
19875
19936
 
@@ -19882,6 +19943,7 @@ class CfnListenerRule(
19882
19943
  conditions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.RuleConditionProperty", typing.Dict[builtins.str, typing.Any]]]]],
19883
19944
  priority: jsii.Number,
19884
19945
  listener_arn: typing.Optional[builtins.str] = None,
19946
+ transforms: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.TransformProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
19885
19947
  ) -> None:
19886
19948
  '''
19887
19949
  :param scope: Scope in which this resource is defined.
@@ -19890,6 +19952,7 @@ class CfnListenerRule(
19890
19952
  :param conditions: The conditions. The rule can optionally include up to one of each of the following conditions: ``http-request-method`` , ``host-header`` , ``path-pattern`` , and ``source-ip`` . A rule can also optionally include one or more of each of the following conditions: ``http-header`` and ``query-string`` .
19891
19953
  :param priority: The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
19892
19954
  :param listener_arn: The Amazon Resource Name (ARN) of the listener.
19955
+ :param transforms:
19893
19956
  '''
19894
19957
  if __debug__:
19895
19958
  type_hints = typing.get_type_hints(_typecheckingstub__ae1e13bd1e6ee2145702f187cf74339faebe22401d39b3e4507fd776f5c1fb00)
@@ -19900,6 +19963,7 @@ class CfnListenerRule(
19900
19963
  conditions=conditions,
19901
19964
  priority=priority,
19902
19965
  listener_arn=listener_arn,
19966
+ transforms=transforms,
19903
19967
  )
19904
19968
 
19905
19969
  jsii.create(self.__class__, self, [scope, id, props])
@@ -20028,6 +20092,23 @@ class CfnListenerRule(
20028
20092
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
20029
20093
  jsii.set(self, "listenerArn", value) # pyright: ignore[reportArgumentType]
20030
20094
 
20095
+ @builtins.property
20096
+ @jsii.member(jsii_name="transforms")
20097
+ def transforms(
20098
+ self,
20099
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.TransformProperty"]]]]:
20100
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.TransformProperty"]]]], jsii.get(self, "transforms"))
20101
+
20102
+ @transforms.setter
20103
+ def transforms(
20104
+ self,
20105
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.TransformProperty"]]]],
20106
+ ) -> None:
20107
+ if __debug__:
20108
+ type_hints = typing.get_type_hints(_typecheckingstub__419a5d3af31f0f6ae614e1f0769137efa882317f1538e54380e430e493e35cd9)
20109
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
20110
+ jsii.set(self, "transforms", value) # pyright: ignore[reportArgumentType]
20111
+
20031
20112
  @jsii.data_type(
20032
20113
  jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.ActionProperty",
20033
20114
  jsii_struct_bases=[],
@@ -20061,10 +20142,10 @@ class CfnListenerRule(
20061
20142
  :param authenticate_cognito_config: [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito`` .
20062
20143
  :param authenticate_oidc_config: [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc`` .
20063
20144
  :param fixed_response_config: [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response`` .
20064
- :param forward_config: Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
20145
+ :param forward_config: Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
20065
20146
  :param order: The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
20066
20147
  :param redirect_config: [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect`` .
20067
- :param target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
20148
+ :param target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
20068
20149
 
20069
20150
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-action.html
20070
20151
  :exampleMetadata: fixture=_generated
@@ -20223,9 +20304,9 @@ class CfnListenerRule(
20223
20304
  def forward_config(
20224
20305
  self,
20225
20306
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.ForwardConfigProperty"]]:
20226
- '''Information for creating an action that distributes requests among one or more target groups.
20307
+ '''Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward`` .
20227
20308
 
20228
- For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
20309
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
20229
20310
 
20230
20311
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-action.html#cfn-elasticloadbalancingv2-listenerrule-action-forwardconfig
20231
20312
  '''
@@ -20260,7 +20341,7 @@ class CfnListenerRule(
20260
20341
  def target_group_arn(self) -> typing.Optional[builtins.str]:
20261
20342
  '''The Amazon Resource Name (ARN) of the target group.
20262
20343
 
20263
- Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
20344
+ Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
20264
20345
 
20265
20346
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-action.html#cfn-elasticloadbalancingv2-listenerrule-action-targetgrouparn
20266
20347
  '''
@@ -20835,9 +20916,9 @@ class CfnListenerRule(
20835
20916
  target_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.TargetGroupTupleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
20836
20917
  target_group_stickiness_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.TargetGroupStickinessConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
20837
20918
  ) -> None:
20838
- '''Information for creating an action that distributes requests among one or more target groups.
20919
+ '''Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward`` .
20839
20920
 
20840
- For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward`` . If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
20921
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn`` , you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn`` .
20841
20922
 
20842
20923
  :param target_groups: Information about how traffic will be distributed between multiple target groups in a forward rule.
20843
20924
  :param target_group_stickiness_config: Information about the target group stickiness for a rule.
@@ -20908,17 +20989,19 @@ class CfnListenerRule(
20908
20989
  @jsii.data_type(
20909
20990
  jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.HostHeaderConfigProperty",
20910
20991
  jsii_struct_bases=[],
20911
- name_mapping={"values": "values"},
20992
+ name_mapping={"regex_values": "regexValues", "values": "values"},
20912
20993
  )
20913
20994
  class HostHeaderConfigProperty:
20914
20995
  def __init__(
20915
20996
  self,
20916
20997
  *,
20998
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
20917
20999
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
20918
21000
  ) -> None:
20919
21001
  '''Information about a host header condition.
20920
21002
 
20921
- :param values: The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character. If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
21003
+ :param regex_values:
21004
+ :param values: The host names. The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character. If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
20922
21005
 
20923
21006
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-hostheaderconfig.html
20924
21007
  :exampleMetadata: fixture=_generated
@@ -20930,21 +21013,33 @@ class CfnListenerRule(
20930
21013
  from aws_cdk import aws_elasticloadbalancingv2 as elbv2
20931
21014
 
20932
21015
  host_header_config_property = elbv2.CfnListenerRule.HostHeaderConfigProperty(
21016
+ regex_values=["regexValues"],
20933
21017
  values=["values"]
20934
21018
  )
20935
21019
  '''
20936
21020
  if __debug__:
20937
21021
  type_hints = typing.get_type_hints(_typecheckingstub__1b5898a49fd69ca72a0823cc1f4cde0c5980f5ac1c3ff34184628db9c4c3d642)
21022
+ check_type(argname="argument regex_values", value=regex_values, expected_type=type_hints["regex_values"])
20938
21023
  check_type(argname="argument values", value=values, expected_type=type_hints["values"])
20939
21024
  self._values: typing.Dict[builtins.str, typing.Any] = {}
21025
+ if regex_values is not None:
21026
+ self._values["regex_values"] = regex_values
20940
21027
  if values is not None:
20941
21028
  self._values["values"] = values
20942
21029
 
21030
+ @builtins.property
21031
+ def regex_values(self) -> typing.Optional[typing.List[builtins.str]]:
21032
+ '''
21033
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-hostheaderconfig.html#cfn-elasticloadbalancingv2-listenerrule-hostheaderconfig-regexvalues
21034
+ '''
21035
+ result = self._values.get("regex_values")
21036
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
21037
+
20943
21038
  @builtins.property
20944
21039
  def values(self) -> typing.Optional[typing.List[builtins.str]]:
20945
21040
  '''The host names.
20946
21041
 
20947
- The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character.
21042
+ The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character.
20948
21043
 
20949
21044
  If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
20950
21045
 
@@ -20967,13 +21062,18 @@ class CfnListenerRule(
20967
21062
  @jsii.data_type(
20968
21063
  jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.HttpHeaderConfigProperty",
20969
21064
  jsii_struct_bases=[],
20970
- name_mapping={"http_header_name": "httpHeaderName", "values": "values"},
21065
+ name_mapping={
21066
+ "http_header_name": "httpHeaderName",
21067
+ "regex_values": "regexValues",
21068
+ "values": "values",
21069
+ },
20971
21070
  )
20972
21071
  class HttpHeaderConfigProperty:
20973
21072
  def __init__(
20974
21073
  self,
20975
21074
  *,
20976
21075
  http_header_name: typing.Optional[builtins.str] = None,
21076
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
20977
21077
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
20978
21078
  ) -> None:
20979
21079
  '''Information about an HTTP header condition.
@@ -20981,7 +21081,8 @@ class CfnListenerRule(
20981
21081
  There is a set of standard HTTP header fields. You can also define custom HTTP header fields.
20982
21082
 
20983
21083
  :param http_header_name: The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
20984
- :param values: The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
21084
+ :param regex_values:
21085
+ :param values: The strings to compare against the value of the HTTP header. The maximum length of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request, we search them in order until a match is found. If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
20985
21086
 
20986
21087
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httpheaderconfig.html
20987
21088
  :exampleMetadata: fixture=_generated
@@ -20994,16 +21095,20 @@ class CfnListenerRule(
20994
21095
 
20995
21096
  http_header_config_property = elbv2.CfnListenerRule.HttpHeaderConfigProperty(
20996
21097
  http_header_name="httpHeaderName",
21098
+ regex_values=["regexValues"],
20997
21099
  values=["values"]
20998
21100
  )
20999
21101
  '''
21000
21102
  if __debug__:
21001
21103
  type_hints = typing.get_type_hints(_typecheckingstub__fc8bc3be7581c3c74e13fd0af458f85ee288dc502b075ed589b066c9d37feb40)
21002
21104
  check_type(argname="argument http_header_name", value=http_header_name, expected_type=type_hints["http_header_name"])
21105
+ check_type(argname="argument regex_values", value=regex_values, expected_type=type_hints["regex_values"])
21003
21106
  check_type(argname="argument values", value=values, expected_type=type_hints["values"])
21004
21107
  self._values: typing.Dict[builtins.str, typing.Any] = {}
21005
21108
  if http_header_name is not None:
21006
21109
  self._values["http_header_name"] = http_header_name
21110
+ if regex_values is not None:
21111
+ self._values["regex_values"] = regex_values
21007
21112
  if values is not None:
21008
21113
  self._values["values"] = values
21009
21114
 
@@ -21018,11 +21123,19 @@ class CfnListenerRule(
21018
21123
  result = self._values.get("http_header_name")
21019
21124
  return typing.cast(typing.Optional[builtins.str], result)
21020
21125
 
21126
+ @builtins.property
21127
+ def regex_values(self) -> typing.Optional[typing.List[builtins.str]]:
21128
+ '''
21129
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httpheaderconfig.html#cfn-elasticloadbalancingv2-listenerrule-httpheaderconfig-regexvalues
21130
+ '''
21131
+ result = self._values.get("regex_values")
21132
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
21133
+
21021
21134
  @builtins.property
21022
21135
  def values(self) -> typing.Optional[typing.List[builtins.str]]:
21023
21136
  '''The strings to compare against the value of the HTTP header.
21024
21137
 
21025
- The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
21138
+ The maximum length of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
21026
21139
 
21027
21140
  If the same header appears multiple times in the request, we search them in order until a match is found.
21028
21141
 
@@ -21059,7 +21172,7 @@ class CfnListenerRule(
21059
21172
 
21060
21173
  HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the `HTTP Method Registry <https://docs.aws.amazon.com/https://www.iana.org/assignments/http-methods/http-methods.xhtml>`_ . You can also define custom HTTP methods.
21061
21174
 
21062
- :param values: The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
21175
+ :param values: The name of the request method. The maximum length is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
21063
21176
 
21064
21177
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httprequestmethodconfig.html
21065
21178
  :exampleMetadata: fixture=_generated
@@ -21085,7 +21198,7 @@ class CfnListenerRule(
21085
21198
  def values(self) -> typing.Optional[typing.List[builtins.str]]:
21086
21199
  '''The name of the request method.
21087
21200
 
21088
- The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.
21201
+ The maximum length is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.
21089
21202
 
21090
21203
  If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
21091
21204
 
@@ -21108,16 +21221,18 @@ class CfnListenerRule(
21108
21221
  @jsii.data_type(
21109
21222
  jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.PathPatternConfigProperty",
21110
21223
  jsii_struct_bases=[],
21111
- name_mapping={"values": "values"},
21224
+ name_mapping={"regex_values": "regexValues", "values": "values"},
21112
21225
  )
21113
21226
  class PathPatternConfigProperty:
21114
21227
  def __init__(
21115
21228
  self,
21116
21229
  *,
21230
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
21117
21231
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
21118
21232
  ) -> None:
21119
21233
  '''Information about a path pattern condition.
21120
21234
 
21235
+ :param regex_values:
21121
21236
  :param values: The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
21122
21237
 
21123
21238
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-pathpatternconfig.html
@@ -21130,16 +21245,28 @@ class CfnListenerRule(
21130
21245
  from aws_cdk import aws_elasticloadbalancingv2 as elbv2
21131
21246
 
21132
21247
  path_pattern_config_property = elbv2.CfnListenerRule.PathPatternConfigProperty(
21248
+ regex_values=["regexValues"],
21133
21249
  values=["values"]
21134
21250
  )
21135
21251
  '''
21136
21252
  if __debug__:
21137
21253
  type_hints = typing.get_type_hints(_typecheckingstub__e6e360611a9f0b6038a980c629c84350310b974cff3f7263e93acf13f081ebc5)
21254
+ check_type(argname="argument regex_values", value=regex_values, expected_type=type_hints["regex_values"])
21138
21255
  check_type(argname="argument values", value=values, expected_type=type_hints["values"])
21139
21256
  self._values: typing.Dict[builtins.str, typing.Any] = {}
21257
+ if regex_values is not None:
21258
+ self._values["regex_values"] = regex_values
21140
21259
  if values is not None:
21141
21260
  self._values["values"] = values
21142
21261
 
21262
+ @builtins.property
21263
+ def regex_values(self) -> typing.Optional[typing.List[builtins.str]]:
21264
+ '''
21265
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-pathpatternconfig.html#cfn-elasticloadbalancingv2-listenerrule-pathpatternconfig-regexvalues
21266
+ '''
21267
+ result = self._values.get("regex_values")
21268
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
21269
+
21143
21270
  @builtins.property
21144
21271
  def values(self) -> typing.Optional[typing.List[builtins.str]]:
21145
21272
  '''The path patterns to compare against the request URL.
@@ -21179,7 +21306,7 @@ class CfnListenerRule(
21179
21306
 
21180
21307
  The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.
21181
21308
 
21182
- :param values: The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
21309
+ :param values: The key/value pairs or values to find in the query string. The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '' character. If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
21183
21310
 
21184
21311
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-querystringconfig.html
21185
21312
  :exampleMetadata: fixture=_generated
@@ -21210,7 +21337,7 @@ class CfnListenerRule(
21210
21337
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.QueryStringKeyValueProperty"]]]]:
21211
21338
  '''The key/value pairs or values to find in the query string.
21212
21339
 
21213
- The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '' character.
21340
+ The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '' character.
21214
21341
 
21215
21342
  If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
21216
21343
 
@@ -21466,6 +21593,128 @@ class CfnListenerRule(
21466
21593
  k + "=" + repr(v) for k, v in self._values.items()
21467
21594
  )
21468
21595
 
21596
+ @jsii.data_type(
21597
+ jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.RewriteConfigObjectProperty",
21598
+ jsii_struct_bases=[],
21599
+ name_mapping={"rewrites": "rewrites"},
21600
+ )
21601
+ class RewriteConfigObjectProperty:
21602
+ def __init__(
21603
+ self,
21604
+ *,
21605
+ rewrites: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.RewriteConfigProperty", typing.Dict[builtins.str, typing.Any]]]]],
21606
+ ) -> None:
21607
+ '''
21608
+ :param rewrites:
21609
+
21610
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfigobject.html
21611
+ :exampleMetadata: fixture=_generated
21612
+
21613
+ Example::
21614
+
21615
+ # The code below shows an example of how to instantiate this type.
21616
+ # The values are placeholders you should change.
21617
+ from aws_cdk import aws_elasticloadbalancingv2 as elbv2
21618
+
21619
+ rewrite_config_object_property = elbv2.CfnListenerRule.RewriteConfigObjectProperty(
21620
+ rewrites=[elbv2.CfnListenerRule.RewriteConfigProperty(
21621
+ regex="regex",
21622
+ replace="replace"
21623
+ )]
21624
+ )
21625
+ '''
21626
+ if __debug__:
21627
+ type_hints = typing.get_type_hints(_typecheckingstub__d22b4408908861a36e3f920a4f6c3a1838cc20f9a19985df5f304eca3edc5e40)
21628
+ check_type(argname="argument rewrites", value=rewrites, expected_type=type_hints["rewrites"])
21629
+ self._values: typing.Dict[builtins.str, typing.Any] = {
21630
+ "rewrites": rewrites,
21631
+ }
21632
+
21633
+ @builtins.property
21634
+ def rewrites(
21635
+ self,
21636
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.RewriteConfigProperty"]]]:
21637
+ '''
21638
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfigobject.html#cfn-elasticloadbalancingv2-listenerrule-rewriteconfigobject-rewrites
21639
+ '''
21640
+ result = self._values.get("rewrites")
21641
+ assert result is not None, "Required property 'rewrites' is missing"
21642
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.RewriteConfigProperty"]]], result)
21643
+
21644
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
21645
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
21646
+
21647
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
21648
+ return not (rhs == self)
21649
+
21650
+ def __repr__(self) -> str:
21651
+ return "RewriteConfigObjectProperty(%s)" % ", ".join(
21652
+ k + "=" + repr(v) for k, v in self._values.items()
21653
+ )
21654
+
21655
+ @jsii.data_type(
21656
+ jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.RewriteConfigProperty",
21657
+ jsii_struct_bases=[],
21658
+ name_mapping={"regex": "regex", "replace": "replace"},
21659
+ )
21660
+ class RewriteConfigProperty:
21661
+ def __init__(self, *, regex: builtins.str, replace: builtins.str) -> None:
21662
+ '''
21663
+ :param regex:
21664
+ :param replace:
21665
+
21666
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfig.html
21667
+ :exampleMetadata: fixture=_generated
21668
+
21669
+ Example::
21670
+
21671
+ # The code below shows an example of how to instantiate this type.
21672
+ # The values are placeholders you should change.
21673
+ from aws_cdk import aws_elasticloadbalancingv2 as elbv2
21674
+
21675
+ rewrite_config_property = elbv2.CfnListenerRule.RewriteConfigProperty(
21676
+ regex="regex",
21677
+ replace="replace"
21678
+ )
21679
+ '''
21680
+ if __debug__:
21681
+ type_hints = typing.get_type_hints(_typecheckingstub__4c3f3a6e86413710fa57369e22bb4b764e58ae1c95bfcad66327ab3f9a73c775)
21682
+ check_type(argname="argument regex", value=regex, expected_type=type_hints["regex"])
21683
+ check_type(argname="argument replace", value=replace, expected_type=type_hints["replace"])
21684
+ self._values: typing.Dict[builtins.str, typing.Any] = {
21685
+ "regex": regex,
21686
+ "replace": replace,
21687
+ }
21688
+
21689
+ @builtins.property
21690
+ def regex(self) -> builtins.str:
21691
+ '''
21692
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfig.html#cfn-elasticloadbalancingv2-listenerrule-rewriteconfig-regex
21693
+ '''
21694
+ result = self._values.get("regex")
21695
+ assert result is not None, "Required property 'regex' is missing"
21696
+ return typing.cast(builtins.str, result)
21697
+
21698
+ @builtins.property
21699
+ def replace(self) -> builtins.str:
21700
+ '''
21701
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfig.html#cfn-elasticloadbalancingv2-listenerrule-rewriteconfig-replace
21702
+ '''
21703
+ result = self._values.get("replace")
21704
+ assert result is not None, "Required property 'replace' is missing"
21705
+ return typing.cast(builtins.str, result)
21706
+
21707
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
21708
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
21709
+
21710
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
21711
+ return not (rhs == self)
21712
+
21713
+ def __repr__(self) -> str:
21714
+ return "RewriteConfigProperty(%s)" % ", ".join(
21715
+ k + "=" + repr(v) for k, v in self._values.items()
21716
+ )
21717
+
21469
21718
  @jsii.data_type(
21470
21719
  jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.RuleConditionProperty",
21471
21720
  jsii_struct_bases=[],
@@ -21476,6 +21725,7 @@ class CfnListenerRule(
21476
21725
  "http_request_method_config": "httpRequestMethodConfig",
21477
21726
  "path_pattern_config": "pathPatternConfig",
21478
21727
  "query_string_config": "queryStringConfig",
21728
+ "regex_values": "regexValues",
21479
21729
  "source_ip_config": "sourceIpConfig",
21480
21730
  "values": "values",
21481
21731
  },
@@ -21490,6 +21740,7 @@ class CfnListenerRule(
21490
21740
  http_request_method_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.HttpRequestMethodConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
21491
21741
  path_pattern_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.PathPatternConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
21492
21742
  query_string_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.QueryStringConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
21743
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
21493
21744
  source_ip_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.SourceIpConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
21494
21745
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
21495
21746
  ) -> None:
@@ -21501,6 +21752,7 @@ class CfnListenerRule(
21501
21752
  :param http_request_method_config: Information for an HTTP method condition. Specify only when ``Field`` is ``http-request-method`` .
21502
21753
  :param path_pattern_config: Information for a path pattern condition. Specify only when ``Field`` is ``path-pattern`` .
21503
21754
  :param query_string_config: Information for a query string condition. Specify only when ``Field`` is ``query-string`` .
21755
+ :param regex_values:
21504
21756
  :param source_ip_config: Information for a source IP condition. Specify only when ``Field`` is ``source-ip`` .
21505
21757
  :param values: The condition value. Specify only when ``Field`` is ``host-header`` or ``path-pattern`` . Alternatively, to specify multiple host names or multiple path patterns, use ``HostHeaderConfig`` or ``PathPatternConfig`` . If ``Field`` is ``host-header`` and you're not using ``HostHeaderConfig`` , you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters. - A-Z, a-z, 0-9 - - . - - (matches 0 or more characters) - ? (matches exactly 1 character) If ``Field`` is ``path-pattern`` and you're not using ``PathPatternConfig`` , you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. - A-Z, a-z, 0-9 - _ - . $ / ~ " ' @ : + - & (using &) - - (matches 0 or more characters) - ? (matches exactly 1 character)
21506
21758
 
@@ -21516,16 +21768,19 @@ class CfnListenerRule(
21516
21768
  rule_condition_property = elbv2.CfnListenerRule.RuleConditionProperty(
21517
21769
  field="field",
21518
21770
  host_header_config=elbv2.CfnListenerRule.HostHeaderConfigProperty(
21771
+ regex_values=["regexValues"],
21519
21772
  values=["values"]
21520
21773
  ),
21521
21774
  http_header_config=elbv2.CfnListenerRule.HttpHeaderConfigProperty(
21522
21775
  http_header_name="httpHeaderName",
21776
+ regex_values=["regexValues"],
21523
21777
  values=["values"]
21524
21778
  ),
21525
21779
  http_request_method_config=elbv2.CfnListenerRule.HttpRequestMethodConfigProperty(
21526
21780
  values=["values"]
21527
21781
  ),
21528
21782
  path_pattern_config=elbv2.CfnListenerRule.PathPatternConfigProperty(
21783
+ regex_values=["regexValues"],
21529
21784
  values=["values"]
21530
21785
  ),
21531
21786
  query_string_config=elbv2.CfnListenerRule.QueryStringConfigProperty(
@@ -21534,6 +21789,7 @@ class CfnListenerRule(
21534
21789
  value="value"
21535
21790
  )]
21536
21791
  ),
21792
+ regex_values=["regexValues"],
21537
21793
  source_ip_config=elbv2.CfnListenerRule.SourceIpConfigProperty(
21538
21794
  values=["values"]
21539
21795
  ),
@@ -21548,6 +21804,7 @@ class CfnListenerRule(
21548
21804
  check_type(argname="argument http_request_method_config", value=http_request_method_config, expected_type=type_hints["http_request_method_config"])
21549
21805
  check_type(argname="argument path_pattern_config", value=path_pattern_config, expected_type=type_hints["path_pattern_config"])
21550
21806
  check_type(argname="argument query_string_config", value=query_string_config, expected_type=type_hints["query_string_config"])
21807
+ check_type(argname="argument regex_values", value=regex_values, expected_type=type_hints["regex_values"])
21551
21808
  check_type(argname="argument source_ip_config", value=source_ip_config, expected_type=type_hints["source_ip_config"])
21552
21809
  check_type(argname="argument values", value=values, expected_type=type_hints["values"])
21553
21810
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -21563,6 +21820,8 @@ class CfnListenerRule(
21563
21820
  self._values["path_pattern_config"] = path_pattern_config
21564
21821
  if query_string_config is not None:
21565
21822
  self._values["query_string_config"] = query_string_config
21823
+ if regex_values is not None:
21824
+ self._values["regex_values"] = regex_values
21566
21825
  if source_ip_config is not None:
21567
21826
  self._values["source_ip_config"] = source_ip_config
21568
21827
  if values is not None:
@@ -21649,6 +21908,14 @@ class CfnListenerRule(
21649
21908
  result = self._values.get("query_string_config")
21650
21909
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.QueryStringConfigProperty"]], result)
21651
21910
 
21911
+ @builtins.property
21912
+ def regex_values(self) -> typing.Optional[typing.List[builtins.str]]:
21913
+ '''
21914
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rulecondition.html#cfn-elasticloadbalancingv2-listenerrule-rulecondition-regexvalues
21915
+ '''
21916
+ result = self._values.get("regex_values")
21917
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
21918
+
21652
21919
  @builtins.property
21653
21920
  def source_ip_config(
21654
21921
  self,
@@ -21778,7 +22045,7 @@ class CfnListenerRule(
21778
22045
  ) -> None:
21779
22046
  '''Information about the target group stickiness for a rule.
21780
22047
 
21781
- :param duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
22048
+ :param duration_seconds: [Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
21782
22049
  :param enabled: Indicates whether target group stickiness is enabled.
21783
22050
 
21784
22051
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-targetgroupstickinessconfig.html
@@ -21807,7 +22074,7 @@ class CfnListenerRule(
21807
22074
 
21808
22075
  @builtins.property
21809
22076
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
21810
- '''The time period, in seconds, during which requests from a client should be routed to the same target group.
22077
+ '''[Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group.
21811
22078
 
21812
22079
  The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
21813
22080
 
@@ -21910,6 +22177,108 @@ class CfnListenerRule(
21910
22177
  k + "=" + repr(v) for k, v in self._values.items()
21911
22178
  )
21912
22179
 
22180
+ @jsii.data_type(
22181
+ jsii_type="aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.TransformProperty",
22182
+ jsii_struct_bases=[],
22183
+ name_mapping={
22184
+ "type": "type",
22185
+ "host_header_rewrite_config": "hostHeaderRewriteConfig",
22186
+ "url_rewrite_config": "urlRewriteConfig",
22187
+ },
22188
+ )
22189
+ class TransformProperty:
22190
+ def __init__(
22191
+ self,
22192
+ *,
22193
+ type: builtins.str,
22194
+ host_header_rewrite_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.RewriteConfigObjectProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
22195
+ url_rewrite_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnListenerRule.RewriteConfigObjectProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
22196
+ ) -> None:
22197
+ '''
22198
+ :param type:
22199
+ :param host_header_rewrite_config:
22200
+ :param url_rewrite_config:
22201
+
22202
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-transform.html
22203
+ :exampleMetadata: fixture=_generated
22204
+
22205
+ Example::
22206
+
22207
+ # The code below shows an example of how to instantiate this type.
22208
+ # The values are placeholders you should change.
22209
+ from aws_cdk import aws_elasticloadbalancingv2 as elbv2
22210
+
22211
+ transform_property = elbv2.CfnListenerRule.TransformProperty(
22212
+ type="type",
22213
+
22214
+ # the properties below are optional
22215
+ host_header_rewrite_config=elbv2.CfnListenerRule.RewriteConfigObjectProperty(
22216
+ rewrites=[elbv2.CfnListenerRule.RewriteConfigProperty(
22217
+ regex="regex",
22218
+ replace="replace"
22219
+ )]
22220
+ ),
22221
+ url_rewrite_config=elbv2.CfnListenerRule.RewriteConfigObjectProperty(
22222
+ rewrites=[elbv2.CfnListenerRule.RewriteConfigProperty(
22223
+ regex="regex",
22224
+ replace="replace"
22225
+ )]
22226
+ )
22227
+ )
22228
+ '''
22229
+ if __debug__:
22230
+ type_hints = typing.get_type_hints(_typecheckingstub__f6f25c4596bc3291a9eb0f8cf6830c9b4a4b0949d0bad500d5fefdbb325293fd)
22231
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
22232
+ check_type(argname="argument host_header_rewrite_config", value=host_header_rewrite_config, expected_type=type_hints["host_header_rewrite_config"])
22233
+ check_type(argname="argument url_rewrite_config", value=url_rewrite_config, expected_type=type_hints["url_rewrite_config"])
22234
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22235
+ "type": type,
22236
+ }
22237
+ if host_header_rewrite_config is not None:
22238
+ self._values["host_header_rewrite_config"] = host_header_rewrite_config
22239
+ if url_rewrite_config is not None:
22240
+ self._values["url_rewrite_config"] = url_rewrite_config
22241
+
22242
+ @builtins.property
22243
+ def type(self) -> builtins.str:
22244
+ '''
22245
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-transform.html#cfn-elasticloadbalancingv2-listenerrule-transform-type
22246
+ '''
22247
+ result = self._values.get("type")
22248
+ assert result is not None, "Required property 'type' is missing"
22249
+ return typing.cast(builtins.str, result)
22250
+
22251
+ @builtins.property
22252
+ def host_header_rewrite_config(
22253
+ self,
22254
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.RewriteConfigObjectProperty"]]:
22255
+ '''
22256
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-transform.html#cfn-elasticloadbalancingv2-listenerrule-transform-hostheaderrewriteconfig
22257
+ '''
22258
+ result = self._values.get("host_header_rewrite_config")
22259
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.RewriteConfigObjectProperty"]], result)
22260
+
22261
+ @builtins.property
22262
+ def url_rewrite_config(
22263
+ self,
22264
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.RewriteConfigObjectProperty"]]:
22265
+ '''
22266
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-transform.html#cfn-elasticloadbalancingv2-listenerrule-transform-urlrewriteconfig
22267
+ '''
22268
+ result = self._values.get("url_rewrite_config")
22269
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnListenerRule.RewriteConfigObjectProperty"]], result)
22270
+
22271
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22272
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
22273
+
22274
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
22275
+ return not (rhs == self)
22276
+
22277
+ def __repr__(self) -> str:
22278
+ return "TransformProperty(%s)" % ", ".join(
22279
+ k + "=" + repr(v) for k, v in self._values.items()
22280
+ )
22281
+
21913
22282
 
21914
22283
  @jsii.implements(_IInspectable_c2943556, ILoadBalancerRef, _ITaggable_36806126)
21915
22284
  class CfnLoadBalancer(
@@ -21986,7 +22355,7 @@ class CfnLoadBalancer(
21986
22355
  '''
21987
22356
  :param scope: Scope in which this resource is defined.
21988
22357
  :param id: Construct identifier for this resource (unique in its scope).
21989
- :param enable_capacity_reservation_provision_stabilize: Default: - false
22358
+ :param enable_capacity_reservation_provision_stabilize: Indicates whether to enable stabilization when creating or updating an LCU reservation. This ensures that the final stack status reflects the status of the LCU reservation. The default is ``false`` . Default: - false
21990
22359
  :param enable_prefix_for_ipv6_source_nat: [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ``dualstack`` . The default value is ``off`` .
21991
22360
  :param enforce_security_group_inbound_rules_on_private_link_traffic: Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through AWS PrivateLink . The default is ``on`` . You can't configure this property on a Network Load Balancer unless you associated a security group with the load balancer when you created it.
21992
22361
  :param ip_address_type: The IP address type. Internal load balancers must use ``ipv4`` . [Application Load Balancers] The possible values are ``ipv4`` (IPv4 addresses), ``dualstack`` (IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (public IPv6 addresses and private IPv4 and IPv6 addresses). Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors. [Network Load Balancers and Gateway Load Balancers] The possible values are ``ipv4`` (IPv4 addresses) and ``dualstack`` (IPv4 and IPv6 addresses).
@@ -22138,6 +22507,7 @@ class CfnLoadBalancer(
22138
22507
  def enable_capacity_reservation_provision_stabilize(
22139
22508
  self,
22140
22509
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
22510
+ '''Indicates whether to enable stabilization when creating or updating an LCU reservation.'''
22141
22511
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enableCapacityReservationProvisionStabilize"))
22142
22512
 
22143
22513
  @enable_capacity_reservation_provision_stabilize.setter
@@ -28430,6 +28800,7 @@ def _typecheckingstub__ca75076613edf0bf6ade8ee145bc71de34aa66567d90d5721bd40f862
28430
28800
  conditions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.RuleConditionProperty, typing.Dict[builtins.str, typing.Any]]]]],
28431
28801
  priority: jsii.Number,
28432
28802
  listener_arn: typing.Optional[builtins.str] = None,
28803
+ transforms: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.TransformProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
28433
28804
  ) -> None:
28434
28805
  """Type checking stubs"""
28435
28806
  pass
@@ -29638,6 +30009,7 @@ def _typecheckingstub__ae1e13bd1e6ee2145702f187cf74339faebe22401d39b3e4507fd776f
29638
30009
  conditions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.RuleConditionProperty, typing.Dict[builtins.str, typing.Any]]]]],
29639
30010
  priority: jsii.Number,
29640
30011
  listener_arn: typing.Optional[builtins.str] = None,
30012
+ transforms: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.TransformProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
29641
30013
  ) -> None:
29642
30014
  """Type checking stubs"""
29643
30015
  pass
@@ -29678,6 +30050,12 @@ def _typecheckingstub__5adb80db0269c5891b4a71aef172af30d3d5bd9e5d96d9809336d9aa1
29678
30050
  """Type checking stubs"""
29679
30051
  pass
29680
30052
 
30053
+ def _typecheckingstub__419a5d3af31f0f6ae614e1f0769137efa882317f1538e54380e430e493e35cd9(
30054
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnListenerRule.TransformProperty]]]],
30055
+ ) -> None:
30056
+ """Type checking stubs"""
30057
+ pass
30058
+
29681
30059
  def _typecheckingstub__7150acf06b4a7b7a17a48e47fbd6b5811449714f9389fb8e4f5e930aeaec2e17(
29682
30060
  *,
29683
30061
  type: builtins.str,
@@ -29743,6 +30121,7 @@ def _typecheckingstub__a222c6dcf7d01b3749391e772443eef278796e8879c110a3ac64e4cca
29743
30121
 
29744
30122
  def _typecheckingstub__1b5898a49fd69ca72a0823cc1f4cde0c5980f5ac1c3ff34184628db9c4c3d642(
29745
30123
  *,
30124
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
29746
30125
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
29747
30126
  ) -> None:
29748
30127
  """Type checking stubs"""
@@ -29751,6 +30130,7 @@ def _typecheckingstub__1b5898a49fd69ca72a0823cc1f4cde0c5980f5ac1c3ff34184628db9c
29751
30130
  def _typecheckingstub__fc8bc3be7581c3c74e13fd0af458f85ee288dc502b075ed589b066c9d37feb40(
29752
30131
  *,
29753
30132
  http_header_name: typing.Optional[builtins.str] = None,
30133
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
29754
30134
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
29755
30135
  ) -> None:
29756
30136
  """Type checking stubs"""
@@ -29765,6 +30145,7 @@ def _typecheckingstub__f3fe6a1ff6af190d9fb8cf22cffb0c9765117a47c52e2458d5d8ed20b
29765
30145
 
29766
30146
  def _typecheckingstub__e6e360611a9f0b6038a980c629c84350310b974cff3f7263e93acf13f081ebc5(
29767
30147
  *,
30148
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
29768
30149
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
29769
30150
  ) -> None:
29770
30151
  """Type checking stubs"""
@@ -29797,6 +30178,21 @@ def _typecheckingstub__b3c17c21af6d672794fd622b97546367ce3d4977a505e496758481673
29797
30178
  """Type checking stubs"""
29798
30179
  pass
29799
30180
 
30181
+ def _typecheckingstub__d22b4408908861a36e3f920a4f6c3a1838cc20f9a19985df5f304eca3edc5e40(
30182
+ *,
30183
+ rewrites: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.RewriteConfigProperty, typing.Dict[builtins.str, typing.Any]]]]],
30184
+ ) -> None:
30185
+ """Type checking stubs"""
30186
+ pass
30187
+
30188
+ def _typecheckingstub__4c3f3a6e86413710fa57369e22bb4b764e58ae1c95bfcad66327ab3f9a73c775(
30189
+ *,
30190
+ regex: builtins.str,
30191
+ replace: builtins.str,
30192
+ ) -> None:
30193
+ """Type checking stubs"""
30194
+ pass
30195
+
29800
30196
  def _typecheckingstub__ac8481b9d3e9b96b0aa37f48f9477db265b5e8adfee281cb486821b04d7fb23c(
29801
30197
  *,
29802
30198
  field: typing.Optional[builtins.str] = None,
@@ -29805,6 +30201,7 @@ def _typecheckingstub__ac8481b9d3e9b96b0aa37f48f9477db265b5e8adfee281cb486821b04
29805
30201
  http_request_method_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.HttpRequestMethodConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
29806
30202
  path_pattern_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.PathPatternConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
29807
30203
  query_string_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.QueryStringConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
30204
+ regex_values: typing.Optional[typing.Sequence[builtins.str]] = None,
29808
30205
  source_ip_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.SourceIpConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
29809
30206
  values: typing.Optional[typing.Sequence[builtins.str]] = None,
29810
30207
  ) -> None:
@@ -29834,6 +30231,15 @@ def _typecheckingstub__536593b57bfb34d0266501ba53a438ea659bbcb686bea52b916e875da
29834
30231
  """Type checking stubs"""
29835
30232
  pass
29836
30233
 
30234
+ def _typecheckingstub__f6f25c4596bc3291a9eb0f8cf6830c9b4a4b0949d0bad500d5fefdbb325293fd(
30235
+ *,
30236
+ type: builtins.str,
30237
+ host_header_rewrite_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.RewriteConfigObjectProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
30238
+ url_rewrite_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnListenerRule.RewriteConfigObjectProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
30239
+ ) -> None:
30240
+ """Type checking stubs"""
30241
+ pass
30242
+
29837
30243
  def _typecheckingstub__907e1e3e88136a6a7bdcdac293563447ed893c77b9f7b1e7154fb1749585483f(
29838
30244
  scope: _constructs_77d1e7e8.Construct,
29839
30245
  id: builtins.str,
@@ -30827,3 +31233,6 @@ def _typecheckingstub__53d72da0daaf3bca2bf3a45722a5d9d665f24ce2ef58be7bfea7dc854
30827
31233
  ) -> None:
30828
31234
  """Type checking stubs"""
30829
31235
  pass
31236
+
31237
+ for cls in [IApplicationListener, IApplicationLoadBalancer, IApplicationLoadBalancerMetrics, IApplicationLoadBalancerTarget, IApplicationTargetGroup, IApplicationTargetGroupMetrics, IListener, IListenerAction, IListenerCertificate, IListenerCertificateRef, IListenerRef, IListenerRuleRef, ILoadBalancerRef, ILoadBalancerV2, INetworkListener, INetworkLoadBalancer, INetworkLoadBalancerMetrics, INetworkLoadBalancerTarget, INetworkTargetGroup, INetworkTargetGroupMetrics, ITargetGroup, ITargetGroupRef, ITrustStore, ITrustStoreRef, ITrustStoreRevocationRef]:
31238
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])