aws-cdk-lib 2.134.0__py3-none-any.whl → 2.135.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.
Files changed (282) hide show
  1. aws_cdk/__init__.py +5 -0
  2. aws_cdk/_jsii/__init__.py +4 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.134.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +3 -0
  5. aws_cdk/assertions/__init__.py +3 -0
  6. aws_cdk/aws_accessanalyzer/__init__.py +3 -0
  7. aws_cdk/aws_acmpca/__init__.py +3 -0
  8. aws_cdk/aws_amazonmq/__init__.py +3 -0
  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_apigatewayv2_authorizers/__init__.py +3 -0
  14. aws_cdk/aws_apigatewayv2_integrations/__init__.py +3 -0
  15. aws_cdk/aws_appconfig/__init__.py +3 -0
  16. aws_cdk/aws_appflow/__init__.py +3 -0
  17. aws_cdk/aws_appintegrations/__init__.py +30 -21
  18. aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
  19. aws_cdk/aws_applicationinsights/__init__.py +3 -0
  20. aws_cdk/aws_appmesh/__init__.py +4 -1
  21. aws_cdk/aws_apprunner/__init__.py +3 -0
  22. aws_cdk/aws_appstream/__init__.py +3 -0
  23. aws_cdk/aws_appsync/__init__.py +3 -0
  24. aws_cdk/aws_aps/__init__.py +805 -1
  25. aws_cdk/aws_arczonalshift/__init__.py +3 -0
  26. aws_cdk/aws_athena/__init__.py +3 -0
  27. aws_cdk/aws_auditmanager/__init__.py +3 -0
  28. aws_cdk/aws_autoscaling/__init__.py +3 -0
  29. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  30. aws_cdk/aws_autoscaling_hooktargets/__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 +3 -0
  34. aws_cdk/aws_backupgateway/__init__.py +3 -0
  35. aws_cdk/aws_batch/__init__.py +3 -0
  36. aws_cdk/aws_bedrock/__init__.py +3 -0
  37. aws_cdk/aws_billingconductor/__init__.py +3 -0
  38. aws_cdk/aws_budgets/__init__.py +3 -0
  39. aws_cdk/aws_cassandra/__init__.py +3 -0
  40. aws_cdk/aws_ce/__init__.py +3 -0
  41. aws_cdk/aws_certificatemanager/__init__.py +3 -0
  42. aws_cdk/aws_chatbot/__init__.py +3 -0
  43. aws_cdk/aws_cleanrooms/__init__.py +183 -6
  44. aws_cdk/aws_cloud9/__init__.py +3 -0
  45. aws_cdk/aws_cloudformation/__init__.py +3 -0
  46. aws_cdk/aws_cloudfront/__init__.py +3 -0
  47. aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
  48. aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
  49. aws_cdk/aws_cloudtrail/__init__.py +3 -0
  50. aws_cdk/aws_cloudwatch/__init__.py +3 -0
  51. aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
  52. aws_cdk/aws_codeartifact/__init__.py +3 -0
  53. aws_cdk/aws_codebuild/__init__.py +17 -11
  54. aws_cdk/aws_codecommit/__init__.py +3 -0
  55. aws_cdk/aws_codedeploy/__init__.py +3 -0
  56. aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
  57. aws_cdk/aws_codegurureviewer/__init__.py +3 -0
  58. aws_cdk/aws_codepipeline/__init__.py +3 -0
  59. aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
  60. aws_cdk/aws_codestar/__init__.py +3 -0
  61. aws_cdk/aws_codestarconnections/__init__.py +91 -2
  62. aws_cdk/aws_codestarnotifications/__init__.py +3 -0
  63. aws_cdk/aws_cognito/__init__.py +3 -0
  64. aws_cdk/aws_comprehend/__init__.py +3 -0
  65. aws_cdk/aws_config/__init__.py +3 -0
  66. aws_cdk/aws_connect/__init__.py +21 -0
  67. aws_cdk/aws_connectcampaigns/__init__.py +3 -0
  68. aws_cdk/aws_controltower/__init__.py +3 -0
  69. aws_cdk/aws_cur/__init__.py +3 -0
  70. aws_cdk/aws_customerprofiles/__init__.py +3 -0
  71. aws_cdk/aws_databrew/__init__.py +3 -0
  72. aws_cdk/aws_datapipeline/__init__.py +3 -0
  73. aws_cdk/aws_datasync/__init__.py +3 -0
  74. aws_cdk/aws_datazone/__init__.py +3 -0
  75. aws_cdk/aws_dax/__init__.py +3 -0
  76. aws_cdk/aws_detective/__init__.py +3 -0
  77. aws_cdk/aws_devicefarm/__init__.py +3 -0
  78. aws_cdk/aws_devopsguru/__init__.py +3 -0
  79. aws_cdk/aws_directoryservice/__init__.py +3 -0
  80. aws_cdk/aws_dlm/__init__.py +3 -0
  81. aws_cdk/aws_dms/__init__.py +30 -9
  82. aws_cdk/aws_docdb/__init__.py +3 -0
  83. aws_cdk/aws_docdbelastic/__init__.py +20 -9
  84. aws_cdk/aws_dynamodb/__init__.py +3 -0
  85. aws_cdk/aws_ec2/__init__.py +2891 -265
  86. aws_cdk/aws_ecr/__init__.py +3 -0
  87. aws_cdk/aws_ecr_assets/__init__.py +3 -0
  88. aws_cdk/aws_ecs/__init__.py +6 -0
  89. aws_cdk/aws_ecs_patterns/__init__.py +3 -0
  90. aws_cdk/aws_efs/__init__.py +3 -0
  91. aws_cdk/aws_eks/__init__.py +42 -22
  92. aws_cdk/aws_elasticache/__init__.py +3 -0
  93. aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
  94. aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
  95. aws_cdk/aws_elasticloadbalancingv2/__init__.py +72 -12
  96. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
  97. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
  98. aws_cdk/aws_elasticsearch/__init__.py +3 -0
  99. aws_cdk/aws_emr/__init__.py +3 -0
  100. aws_cdk/aws_emrcontainers/__init__.py +3 -0
  101. aws_cdk/aws_emrserverless/__init__.py +3 -0
  102. aws_cdk/aws_entityresolution/__init__.py +5 -2
  103. aws_cdk/aws_events/__init__.py +3 -0
  104. aws_cdk/aws_events_targets/__init__.py +3 -0
  105. aws_cdk/aws_eventschemas/__init__.py +3 -0
  106. aws_cdk/aws_evidently/__init__.py +3 -0
  107. aws_cdk/aws_finspace/__init__.py +3 -0
  108. aws_cdk/aws_fis/__init__.py +3 -0
  109. aws_cdk/aws_fms/__init__.py +3 -0
  110. aws_cdk/aws_forecast/__init__.py +3 -0
  111. aws_cdk/aws_frauddetector/__init__.py +3 -0
  112. aws_cdk/aws_fsx/__init__.py +3 -0
  113. aws_cdk/aws_gamelift/__init__.py +3 -0
  114. aws_cdk/aws_globalaccelerator/__init__.py +5 -2
  115. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
  116. aws_cdk/aws_glue/__init__.py +18 -8
  117. aws_cdk/aws_grafana/__init__.py +3 -0
  118. aws_cdk/aws_greengrass/__init__.py +3 -0
  119. aws_cdk/aws_greengrassv2/__init__.py +3 -0
  120. aws_cdk/aws_groundstation/__init__.py +3 -0
  121. aws_cdk/aws_guardduty/__init__.py +3 -0
  122. aws_cdk/aws_healthimaging/__init__.py +3 -0
  123. aws_cdk/aws_healthlake/__init__.py +3 -0
  124. aws_cdk/aws_iam/__init__.py +3 -0
  125. aws_cdk/aws_identitystore/__init__.py +3 -0
  126. aws_cdk/aws_imagebuilder/__init__.py +3 -0
  127. aws_cdk/aws_inspector/__init__.py +3 -0
  128. aws_cdk/aws_inspectorv2/__init__.py +3 -0
  129. aws_cdk/aws_internetmonitor/__init__.py +3 -0
  130. aws_cdk/aws_iot/__init__.py +3 -0
  131. aws_cdk/aws_iot1click/__init__.py +3 -0
  132. aws_cdk/aws_iotanalytics/__init__.py +3 -0
  133. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
  134. aws_cdk/aws_iotevents/__init__.py +3 -0
  135. aws_cdk/aws_iotfleethub/__init__.py +3 -0
  136. aws_cdk/aws_iotfleetwise/__init__.py +3 -0
  137. aws_cdk/aws_iotsitewise/__init__.py +37 -14
  138. aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
  139. aws_cdk/aws_iottwinmaker/__init__.py +3 -0
  140. aws_cdk/aws_iotwireless/__init__.py +3 -0
  141. aws_cdk/aws_ivs/__init__.py +3 -0
  142. aws_cdk/aws_ivschat/__init__.py +3 -0
  143. aws_cdk/aws_kafkaconnect/__init__.py +30 -27
  144. aws_cdk/aws_kendra/__init__.py +22 -15
  145. aws_cdk/aws_kendraranking/__init__.py +3 -0
  146. aws_cdk/aws_kinesis/__init__.py +3 -0
  147. aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
  148. aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
  149. aws_cdk/aws_kinesisfirehose/__init__.py +11 -4
  150. aws_cdk/aws_kinesisvideo/__init__.py +3 -0
  151. aws_cdk/aws_kms/__init__.py +3 -0
  152. aws_cdk/aws_lakeformation/__init__.py +3 -0
  153. aws_cdk/aws_lambda/__init__.py +9 -0
  154. aws_cdk/aws_lambda_destinations/__init__.py +3 -0
  155. aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
  156. aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
  157. aws_cdk/aws_lex/__init__.py +3 -0
  158. aws_cdk/aws_licensemanager/__init__.py +3 -0
  159. aws_cdk/aws_lightsail/__init__.py +3 -0
  160. aws_cdk/aws_location/__init__.py +3 -0
  161. aws_cdk/aws_logs/__init__.py +3 -0
  162. aws_cdk/aws_logs_destinations/__init__.py +3 -0
  163. aws_cdk/aws_lookoutequipment/__init__.py +3 -0
  164. aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
  165. aws_cdk/aws_lookoutvision/__init__.py +3 -0
  166. aws_cdk/aws_m2/__init__.py +3 -0
  167. aws_cdk/aws_macie/__init__.py +3 -0
  168. aws_cdk/aws_managedblockchain/__init__.py +5 -3
  169. aws_cdk/aws_mediaconnect/__init__.py +3 -0
  170. aws_cdk/aws_mediaconvert/__init__.py +3 -0
  171. aws_cdk/aws_medialive/__init__.py +3 -0
  172. aws_cdk/aws_mediapackage/__init__.py +3 -0
  173. aws_cdk/aws_mediapackagev2/__init__.py +3 -0
  174. aws_cdk/aws_mediastore/__init__.py +3 -0
  175. aws_cdk/aws_mediatailor/__init__.py +3 -0
  176. aws_cdk/aws_memorydb/__init__.py +3 -0
  177. aws_cdk/aws_msk/__init__.py +3 -0
  178. aws_cdk/aws_mwaa/__init__.py +3 -0
  179. aws_cdk/aws_neptune/__init__.py +3 -0
  180. aws_cdk/aws_neptunegraph/__init__.py +3 -0
  181. aws_cdk/aws_networkfirewall/__init__.py +3 -0
  182. aws_cdk/aws_networkmanager/__init__.py +3 -0
  183. aws_cdk/aws_nimblestudio/__init__.py +3 -0
  184. aws_cdk/aws_oam/__init__.py +6 -3
  185. aws_cdk/aws_omics/__init__.py +3 -0
  186. aws_cdk/aws_opensearchserverless/__init__.py +3 -0
  187. aws_cdk/aws_opensearchservice/__init__.py +8 -2
  188. aws_cdk/aws_opsworks/__init__.py +3 -0
  189. aws_cdk/aws_opsworkscm/__init__.py +3 -0
  190. aws_cdk/aws_organizations/__init__.py +3 -0
  191. aws_cdk/aws_osis/__init__.py +3 -0
  192. aws_cdk/aws_panorama/__init__.py +3 -0
  193. aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
  194. aws_cdk/aws_personalize/__init__.py +3 -0
  195. aws_cdk/aws_pinpoint/__init__.py +3 -0
  196. aws_cdk/aws_pinpointemail/__init__.py +3 -0
  197. aws_cdk/aws_pipes/__init__.py +3 -0
  198. aws_cdk/aws_proton/__init__.py +3 -0
  199. aws_cdk/aws_qldb/__init__.py +3 -0
  200. aws_cdk/aws_quicksight/__init__.py +3 -0
  201. aws_cdk/aws_ram/__init__.py +3 -0
  202. aws_cdk/aws_rds/__init__.py +102 -13
  203. aws_cdk/aws_redshift/__init__.py +3 -0
  204. aws_cdk/aws_redshiftserverless/__init__.py +3 -0
  205. aws_cdk/aws_refactorspaces/__init__.py +3 -0
  206. aws_cdk/aws_rekognition/__init__.py +3 -0
  207. aws_cdk/aws_resiliencehub/__init__.py +3 -0
  208. aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
  209. aws_cdk/aws_resourcegroups/__init__.py +3 -0
  210. aws_cdk/aws_robomaker/__init__.py +3 -0
  211. aws_cdk/aws_rolesanywhere/__init__.py +3 -0
  212. aws_cdk/aws_route53/__init__.py +52 -0
  213. aws_cdk/aws_route53_patterns/__init__.py +3 -0
  214. aws_cdk/aws_route53_targets/__init__.py +3 -0
  215. aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
  216. aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
  217. aws_cdk/aws_route53resolver/__init__.py +3 -0
  218. aws_cdk/aws_rum/__init__.py +3 -0
  219. aws_cdk/aws_s3/__init__.py +3 -0
  220. aws_cdk/aws_s3_assets/__init__.py +3 -0
  221. aws_cdk/aws_s3_deployment/__init__.py +3 -0
  222. aws_cdk/aws_s3_notifications/__init__.py +3 -0
  223. aws_cdk/aws_s3express/__init__.py +3 -0
  224. aws_cdk/aws_s3objectlambda/__init__.py +3 -0
  225. aws_cdk/aws_s3outposts/__init__.py +3 -0
  226. aws_cdk/aws_sagemaker/__init__.py +3 -0
  227. aws_cdk/aws_sam/__init__.py +3 -0
  228. aws_cdk/aws_scheduler/__init__.py +3 -0
  229. aws_cdk/aws_sdb/__init__.py +3 -0
  230. aws_cdk/aws_secretsmanager/__init__.py +3 -0
  231. aws_cdk/aws_securityhub/__init__.py +59 -14
  232. aws_cdk/aws_securitylake/__init__.py +859 -0
  233. aws_cdk/aws_servicecatalog/__init__.py +3 -0
  234. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
  235. aws_cdk/aws_servicediscovery/__init__.py +3 -0
  236. aws_cdk/aws_ses/__init__.py +3 -0
  237. aws_cdk/aws_ses_actions/__init__.py +3 -0
  238. aws_cdk/aws_shield/__init__.py +3 -0
  239. aws_cdk/aws_signer/__init__.py +3 -0
  240. aws_cdk/aws_simspaceweaver/__init__.py +3 -0
  241. aws_cdk/aws_sns/__init__.py +48 -13
  242. aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
  243. aws_cdk/aws_sqs/__init__.py +3 -0
  244. aws_cdk/aws_ssm/__init__.py +3 -0
  245. aws_cdk/aws_ssmcontacts/__init__.py +3 -0
  246. aws_cdk/aws_ssmincidents/__init__.py +3 -0
  247. aws_cdk/aws_sso/__init__.py +3 -0
  248. aws_cdk/aws_stepfunctions/__init__.py +3 -0
  249. aws_cdk/aws_stepfunctions_tasks/__init__.py +3 -0
  250. aws_cdk/aws_supportapp/__init__.py +3 -0
  251. aws_cdk/aws_synthetics/__init__.py +3 -0
  252. aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
  253. aws_cdk/aws_timestream/__init__.py +3 -0
  254. aws_cdk/aws_transfer/__init__.py +3 -0
  255. aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
  256. aws_cdk/aws_voiceid/__init__.py +3 -0
  257. aws_cdk/aws_vpclattice/__init__.py +3 -0
  258. aws_cdk/aws_waf/__init__.py +3 -0
  259. aws_cdk/aws_wafregional/__init__.py +3 -0
  260. aws_cdk/aws_wafv2/__init__.py +3 -0
  261. aws_cdk/aws_wisdom/__init__.py +3 -0
  262. aws_cdk/aws_workspaces/__init__.py +3 -0
  263. aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
  264. aws_cdk/aws_workspacesweb/__init__.py +3 -0
  265. aws_cdk/aws_xray/__init__.py +3 -0
  266. aws_cdk/cloud_assembly_schema/__init__.py +3 -0
  267. aws_cdk/cloudformation_include/__init__.py +3 -0
  268. aws_cdk/custom_resources/__init__.py +7 -4
  269. aws_cdk/cx_api/__init__.py +3 -0
  270. aws_cdk/lambda_layer_awscli/__init__.py +3 -0
  271. aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
  272. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
  273. aws_cdk/pipelines/__init__.py +3 -0
  274. aws_cdk/region_info/__init__.py +3 -0
  275. aws_cdk/triggers/__init__.py +3 -0
  276. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
  277. aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
  278. aws_cdk_lib-2.134.0.dist-info/RECORD +0 -281
  279. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
  280. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
  281. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
  282. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
@@ -220,6 +220,9 @@ repository.add_to_resource_policy(iam.PolicyStatement(
220
220
  ))
221
221
  ```
222
222
  '''
223
+ from pkgutil import extend_path
224
+ __path__ = extend_path(__path__, __name__)
225
+
223
226
  import abc
224
227
  import builtins
225
228
  import datetime
@@ -220,6 +220,9 @@ To do that, you can use `asset.repository.addToResourcePolicy(statement)` to
220
220
  grant the desired principal the following permissions: "ecr:GetDownloadUrlForLayer",
221
221
  "ecr:BatchGetImage" and "ecr:BatchCheckLayerAvailability".
222
222
  '''
223
+ from pkgutil import extend_path
224
+ __path__ = extend_path(__path__, __name__)
225
+
223
226
  import abc
224
227
  import builtins
225
228
  import datetime
@@ -1863,6 +1863,9 @@ task_definition.add_container("TheContainer",
1863
1863
  )
1864
1864
  ```
1865
1865
  '''
1866
+ from pkgutil import extend_path
1867
+ __path__ = extend_path(__path__, __name__)
1868
+
1866
1869
  import abc
1867
1870
  import builtins
1868
1871
  import datetime
@@ -16874,6 +16877,9 @@ class CfnTaskSet(
16874
16877
  '''Create a task set in the specified cluster and service.
16875
16878
 
16876
16879
  This is used when a service uses the ``EXTERNAL`` deployment controller type. For more information, see `Amazon ECS deployment types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
16880
+ .. epigraph::
16881
+
16882
+ On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.
16877
16883
 
16878
16884
  For information about the maximum number of task sets and otther quotas, see `Amazon ECS service quotas <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
16879
16885
 
@@ -1088,6 +1088,9 @@ queue_processing_fargate_service = ecs_patterns.NetworkLoadBalancedFargateServic
1088
1088
  )
1089
1089
  ```
1090
1090
  '''
1091
+ from pkgutil import extend_path
1092
+ __path__ = extend_path(__path__, __name__)
1093
+
1091
1094
  import abc
1092
1095
  import builtins
1093
1096
  import datetime
@@ -244,6 +244,9 @@ file_system = efs.FileSystem(self, "EfsFileSystem",
244
244
  )
245
245
  ```
246
246
  '''
247
+ from pkgutil import extend_path
248
+ __path__ = extend_path(__path__, __name__)
249
+
247
250
  import abc
248
251
  import builtins
249
252
  import datetime
@@ -196,8 +196,7 @@ cluster = eks.Cluster(self, "HelloEKS",
196
196
  cluster.add_nodegroup_capacity("custom-node-group",
197
197
  instance_types=[ec2.InstanceType("m5.large")],
198
198
  min_size=4,
199
- disk_size=100,
200
- ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
199
+ disk_size=100
201
200
  )
202
201
  ```
203
202
 
@@ -217,6 +216,25 @@ cluster.add_nodegroup_capacity("custom-node-group",
217
216
  )
218
217
  ```
219
218
 
219
+ To define the type of the AMI for the node group, you may explicitly define `amiType` according to your requirements, supported amiType could be found [HERE](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks.NodegroupAmiType.html).
220
+
221
+ ```python
222
+ # cluster: eks.Cluster
223
+
224
+
225
+ # X86_64 based AMI managed node group
226
+ cluster.add_nodegroup_capacity("custom-node-group",
227
+ instance_types=[ec2.InstanceType("m5.large")], # NOTE: if amiType is x86_64-based image, the instance types here must be x86_64-based.
228
+ ami_type=eks.NodegroupAmiType.AL2023_X86_64_STANDARD
229
+ )
230
+
231
+ # ARM_64 based AMI managed node group
232
+ cluster.add_nodegroup_capacity("custom-node-group",
233
+ instance_types=[ec2.InstanceType("m6g.medium")], # NOTE: if amiType is ARM-based image, the instance types here must be ARM-based.
234
+ ami_type=eks.NodegroupAmiType.AL2023_ARM_64_STANDARD
235
+ )
236
+ ```
237
+
220
238
  To define the maximum number of instances which can be simultaneously replaced in a node group during a version update you can set `maxUnavailable` or `maxUnavailablePercentage` options.
221
239
 
222
240
  > For more details visit [Updating a managed node group](https://docs.aws.amazon.com/eks/latest/userguide/update-managed-node-group.html)
@@ -1747,6 +1765,9 @@ cluster = eks.Cluster(self, "Cluster",
1747
1765
  * [Service Account dependencies](https://github.com/aws/aws-cdk/issues/9910)
1748
1766
  * [Support isolated VPCs](https://github.com/aws/aws-cdk/issues/12171)
1749
1767
  '''
1768
+ from pkgutil import extend_path
1769
+ __path__ = extend_path(__path__, __name__)
1770
+
1750
1771
  import abc
1751
1772
  import builtins
1752
1773
  import datetime
@@ -12723,8 +12744,7 @@ class KubernetesVersion(
12723
12744
  cluster.add_nodegroup_capacity("custom-node-group",
12724
12745
  instance_types=[ec2.InstanceType("m5.large")],
12725
12746
  min_size=4,
12726
- disk_size=100,
12727
- ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
12747
+ disk_size=100
12728
12748
  )
12729
12749
  '''
12730
12750
 
@@ -15021,16 +15041,16 @@ class Cluster(
15021
15041
 
15022
15042
  Example::
15023
15043
 
15024
- cluster = eks.Cluster(self, "HelloEKS",
15025
- version=eks.KubernetesVersion.V1_29,
15026
- default_capacity=0
15044
+ # or
15045
+ # vpc: ec2.Vpc
15046
+ eks.Cluster(self, "MyCluster",
15047
+ kubectl_memory=Size.gibibytes(4),
15048
+ version=eks.KubernetesVersion.V1_29
15027
15049
  )
15028
-
15029
- cluster.add_nodegroup_capacity("custom-node-group",
15030
- instance_types=[ec2.InstanceType("m5.large")],
15031
- min_size=4,
15032
- disk_size=100,
15033
- ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
15050
+ eks.Cluster.from_cluster_attributes(self, "MyCluster",
15051
+ kubectl_memory=Size.gibibytes(4),
15052
+ vpc=vpc,
15053
+ cluster_name="cluster-name"
15034
15054
  )
15035
15055
  '''
15036
15056
 
@@ -16650,16 +16670,16 @@ class ClusterProps(ClusterOptions):
16650
16670
 
16651
16671
  Example::
16652
16672
 
16653
- cluster = eks.Cluster(self, "HelloEKS",
16654
- version=eks.KubernetesVersion.V1_29,
16655
- default_capacity=0
16673
+ # or
16674
+ # vpc: ec2.Vpc
16675
+ eks.Cluster(self, "MyCluster",
16676
+ kubectl_memory=Size.gibibytes(4),
16677
+ version=eks.KubernetesVersion.V1_29
16656
16678
  )
16657
-
16658
- cluster.add_nodegroup_capacity("custom-node-group",
16659
- instance_types=[ec2.InstanceType("m5.large")],
16660
- min_size=4,
16661
- disk_size=100,
16662
- ami_type=eks.NodegroupAmiType.AL2_X86_64_GPU
16679
+ eks.Cluster.from_cluster_attributes(self, "MyCluster",
16680
+ kubectl_memory=Size.gibibytes(4),
16681
+ vpc=vpc,
16682
+ cluster_name="cluster-name"
16663
16683
  )
16664
16684
  '''
16665
16685
  if isinstance(alb_controller, dict):
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -63,6 +63,9 @@ instance = ec2.Instance(self, "targetInstance",
63
63
  lb.add_target(elb.InstanceTarget(instance))
64
64
  ```
65
65
  '''
66
+ from pkgutil import extend_path
67
+ __path__ = extend_path(__path__, __name__)
68
+
66
69
  import abc
67
70
  import builtins
68
71
  import datetime
@@ -240,6 +240,23 @@ lb = elbv2.ApplicationLoadBalancer(self, "LB",
240
240
 
241
241
  For more information, see [Load balancer attributes](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes)
242
242
 
243
+ ### Setting up Access Log Bucket on Application Load Balancer
244
+
245
+ The only server-side encryption option that's supported is Amazon S3-managed keys (SSE-S3). For more information
246
+ Documentation: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html
247
+
248
+ ```python
249
+ # vpc: ec2.Vpc
250
+
251
+
252
+ bucket = s3.Bucket(self, "ALBAccessLogsBucket",
253
+ encryption=s3.BucketEncryption.S3_MANAGED
254
+ )
255
+
256
+ lb = elbv2.ApplicationLoadBalancer(self, "LB", vpc=vpc)
257
+ lb.log_access_logs(bucket)
258
+ ```
259
+
243
260
  ## Defining a Network Load Balancer
244
261
 
245
262
  Network Load Balancers are defined in a similar way to Application Load
@@ -754,6 +771,9 @@ target_group = elbv2.ApplicationTargetGroup.from_target_group_attributes(self, "
754
771
  target_group_metrics = target_group.metrics
755
772
  ```
756
773
  '''
774
+ from pkgutil import extend_path
775
+ __path__ = extend_path(__path__, __name__)
776
+
757
777
  import abc
758
778
  import builtins
759
779
  import datetime
@@ -19151,21 +19171,34 @@ class ApplicationLoadBalancerProps(BaseLoadBalancerProps):
19151
19171
 
19152
19172
  Example::
19153
19173
 
19154
- # cluster: ecs.Cluster
19155
- # task_definition: ecs.TaskDefinition
19174
+ from aws_cdk.aws_autoscaling import AutoScalingGroup
19175
+ # asg: AutoScalingGroup
19156
19176
  # vpc: ec2.Vpc
19157
19177
 
19158
- service = ecs.FargateService(self, "Service", cluster=cluster, task_definition=task_definition)
19159
19178
 
19160
- lb = elbv2.ApplicationLoadBalancer(self, "LB", vpc=vpc, internet_facing=True)
19161
- listener = lb.add_listener("Listener", port=80)
19162
- service.register_load_balancer_targets(
19163
- container_name="web",
19164
- container_port=80,
19165
- new_target_group_id="ECS",
19166
- listener=ecs.ListenerConfig.application_listener(listener,
19167
- protocol=elbv2.ApplicationProtocol.HTTPS
19168
- )
19179
+ # Create the load balancer in a VPC. 'internetFacing' is 'false'
19180
+ # by default, which creates an internal load balancer.
19181
+ lb = elbv2.ApplicationLoadBalancer(self, "LB",
19182
+ vpc=vpc,
19183
+ internet_facing=True
19184
+ )
19185
+
19186
+ # Add a listener and open up the load balancer's security group
19187
+ # to the world.
19188
+ listener = lb.add_listener("Listener",
19189
+ port=80,
19190
+
19191
+ # 'open: true' is the default, you can leave it out if you want. Set it
19192
+ # to 'false' and use `listener.connections` if you want to be selective
19193
+ # about who can access the load balancer.
19194
+ open=True
19195
+ )
19196
+
19197
+ # Create an AutoScaling group and add it as a load balancing
19198
+ # target to the listener.
19199
+ listener.add_targets("ApplicationFleet",
19200
+ port=8080,
19201
+ targets=[asg]
19169
19202
  )
19170
19203
  '''
19171
19204
  if isinstance(vpc_subnets, dict):
@@ -21449,6 +21482,26 @@ class ApplicationLoadBalancer(
21449
21482
  check_type(argname="argument security_group", value=security_group, expected_type=type_hints["security_group"])
21450
21483
  return typing.cast(None, jsii.invoke(self, "addSecurityGroup", [security_group]))
21451
21484
 
21485
+ @jsii.member(jsii_name="logAccessLogs")
21486
+ def log_access_logs(
21487
+ self,
21488
+ bucket: _IBucket_42e086fd,
21489
+ prefix: typing.Optional[builtins.str] = None,
21490
+ ) -> None:
21491
+ '''Enable access logging for this load balancer.
21492
+
21493
+ A region must be specified on the stack containing the load balancer; you cannot enable logging on
21494
+ environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html
21495
+
21496
+ :param bucket: -
21497
+ :param prefix: -
21498
+ '''
21499
+ if __debug__:
21500
+ type_hints = typing.get_type_hints(_typecheckingstub__14e58136aa424614ad3deed70de619716d36a85a2336e0d16a5d5e3edc8431cd)
21501
+ check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
21502
+ check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
21503
+ return typing.cast(None, jsii.invoke(self, "logAccessLogs", [bucket, prefix]))
21504
+
21452
21505
  @jsii.member(jsii_name="metric")
21453
21506
  def metric(
21454
21507
  self,
@@ -25435,6 +25488,13 @@ def _typecheckingstub__57e7fd3d637561416b99cc18ce93e12b3ff0fd16aa199643bcfdcb4f3
25435
25488
  """Type checking stubs"""
25436
25489
  pass
25437
25490
 
25491
+ def _typecheckingstub__14e58136aa424614ad3deed70de619716d36a85a2336e0d16a5d5e3edc8431cd(
25492
+ bucket: _IBucket_42e086fd,
25493
+ prefix: typing.Optional[builtins.str] = None,
25494
+ ) -> None:
25495
+ """Type checking stubs"""
25496
+ pass
25497
+
25438
25498
  def _typecheckingstub__062c936e075fbff0552978e79ddc8d8cb01378ba1804b2546d14bd0383a824a0(
25439
25499
  metric_name: builtins.str,
25440
25500
  *,
@@ -71,6 +71,9 @@ CfnOutput(self, "DNS",
71
71
  )
72
72
  ```
73
73
  '''
74
+ from pkgutil import extend_path
75
+ __path__ = extend_path(__path__, __name__)
76
+
74
77
  import abc
75
78
  import builtins
76
79
  import datetime
@@ -3,6 +3,9 @@
3
3
 
4
4
  This package contains targets for ELBv2. See the README of the `aws-cdk-lib/aws-elasticloadbalancingv2` library.
5
5
  '''
6
+ from pkgutil import extend_path
7
+ __path__ = extend_path(__path__, __name__)
8
+
6
9
  import abc
7
10
  import builtins
8
11
  import datetime
@@ -427,6 +427,9 @@ Follow these steps to migrate your application without data loss:
427
427
  * Synthesize and deploy your CDK application to reconfigure/recreate the modified dependent resources. The CloudFormation stacks should now contain the same resources as existed prior to migration.
428
428
  * Proceed with development as normal!
429
429
  '''
430
+ from pkgutil import extend_path
431
+ __path__ = extend_path(__path__, __name__)
432
+
430
433
  import abc
431
434
  import builtins
432
435
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
35
35
 
36
36
  <!--END CFNONLY DISCLAIMER-->
37
37
  '''
38
+ from pkgutil import extend_path
39
+ __path__ = extend_path(__path__, __name__)
40
+
38
41
  import abc
39
42
  import builtins
40
43
  import datetime
@@ -1705,7 +1708,7 @@ class CfnMatchingWorkflow(
1705
1708
  '''An object which defines the ``resolutionType`` and the ``ruleBasedProperties`` .
1706
1709
 
1707
1710
  :param provider_properties: The properties of the provider service.
1708
- :param resolution_type: The type of matching. There are two types of matching: ``RULE_MATCHING`` and ``ML_MATCHING`` .
1711
+ :param resolution_type: The type of matching. There are three types of matching: ``RULE_MATCHING`` , ``ML_MATCHING`` , and ``PROVIDER`` .
1709
1712
  :param rule_based_properties: An object which defines the list of matching rules to run and has a field ``Rules`` , which is a list of rule objects.
1710
1713
 
1711
1714
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html
@@ -1767,7 +1770,7 @@ class CfnMatchingWorkflow(
1767
1770
  def resolution_type(self) -> typing.Optional[builtins.str]:
1768
1771
  '''The type of matching.
1769
1772
 
1770
- There are two types of matching: ``RULE_MATCHING`` and ``ML_MATCHING`` .
1773
+ There are three types of matching: ``RULE_MATCHING`` , ``ML_MATCHING`` , and ``PROVIDER`` .
1771
1774
 
1772
1775
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html#cfn-entityresolution-matchingworkflow-resolutiontechniques-resolutiontype
1773
1776
  '''
@@ -248,6 +248,9 @@ event_bus = events.EventBus.from_event_bus_arn(self, "ImportedEventBus", "arn:aw
248
248
  event_bus.grant_put_events_to(lambda_function)
249
249
  ```
250
250
  '''
251
+ from pkgutil import extend_path
252
+ __path__ = extend_path(__path__, __name__)
253
+
251
254
  import abc
252
255
  import builtins
253
256
  import datetime
@@ -480,6 +480,9 @@ rule.add_target(targets.EcsTask(
480
480
  ))
481
481
  ```
482
482
  '''
483
+ from pkgutil import extend_path
484
+ __path__ = extend_path(__path__, __name__)
485
+
483
486
  import abc
484
487
  import builtins
485
488
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -193,6 +193,9 @@ When you turn data compression on for an existing file system, only newly writte
193
193
  The L2 construct for the FSx for Windows File Server has not yet been implemented. To instantiate an FSx for Windows
194
194
  file system, the L1 constructs can be used as defined by CloudFormation.
195
195
  '''
196
+ from pkgutil import extend_path
197
+ __path__ = extend_path(__path__, __name__)
198
+
196
199
  import abc
197
200
  import builtins
198
201
  import datetime
@@ -30,6 +30,9 @@ For more information on the resources and properties available for this service,
30
30
 
31
31
  <!--END CFNONLY DISCLAIMER-->
32
32
  '''
33
+ from pkgutil import extend_path
34
+ __path__ = extend_path(__path__, __name__)
35
+
33
36
  import abc
34
37
  import builtins
35
38
  import datetime
@@ -194,6 +194,9 @@ aga_sg = endpoint_group.connections_peer("GlobalAcceleratorSG", vpc)
194
194
  alb.connections.allow_from(aga_sg, ec2.Port.tcp(443))
195
195
  ```
196
196
  '''
197
+ from pkgutil import extend_path
198
+ __path__ = extend_path(__path__, __name__)
199
+
197
200
  import abc
198
201
  import builtins
199
202
  import datetime
@@ -1143,7 +1146,7 @@ class CfnEndpointGroup(
1143
1146
  A resource must be valid and active when you add it as an endpoint.
1144
1147
 
1145
1148
  :param endpoint_id: An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must be valid and active when you add it as an endpoint. For cross-account endpoints, this must be the ARN of the resource.
1146
- :param attachment_arn: The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
1149
+ :param attachment_arn: The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints.
1147
1150
  :param client_ip_preservation_enabled: Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. The value is true or false. The default value is true for new accelerators. If the value is set to true, the client's IP address is preserved in the ``X-Forwarded-For`` request header as traffic travels to applications on the Application Load Balancer endpoint fronted by the accelerator. For more information, see `Preserve Client IP Addresses <https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html>`_ in the *AWS Global Accelerator Developer Guide* . Default: - true
1148
1151
  :param weight: The weight associated with the endpoint. When you add weights to endpoints, you configure Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint. For more information, see `Endpoint Weights <https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html>`_ in the *AWS Global Accelerator Developer Guide* . Default: - 100
1149
1152
 
@@ -1197,7 +1200,7 @@ class CfnEndpointGroup(
1197
1200
 
1198
1201
  @builtins.property
1199
1202
  def attachment_arn(self) -> typing.Optional[builtins.str]:
1200
- '''The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.
1203
+ '''The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints.
1201
1204
 
1202
1205
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-endpointconfiguration.html#cfn-globalaccelerator-endpointgroup-endpointconfiguration-attachmentarn
1203
1206
  '''
@@ -9,6 +9,9 @@ See the README of the `aws-cdk-lib/aws-globalaccelerator` library for more infor
9
9
  AWS Global Accelerator, and examples of all the integration classes available in
10
10
  this module.
11
11
  '''
12
+ from pkgutil import extend_path
13
+ __path__ = extend_path(__path__, __name__)
14
+
12
15
  import abc
13
16
  import builtins
14
17
  import datetime