aws-cdk-lib 2.134.0__py3-none-any.whl → 2.136.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 (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.136.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 +2908 -284
  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 +30 -36
  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 +75 -15
  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 +44 -13
  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 +219 -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 +80 -39
  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.136.0.dist-info}/METADATA +2 -2
  277. aws_cdk_lib-2.136.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.136.0.dist-info}/LICENSE +0 -0
  280. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/NOTICE +0 -0
  281. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/WHEEL +0 -0
  282. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.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
 
@@ -18894,35 +18900,29 @@ class Compatibility(enum.Enum):
18894
18900
  is_default=True
18895
18901
  )
18896
18902
 
18897
- cluster = ecs.Cluster(self, "Ec2Cluster", vpc=vpc)
18898
- cluster.add_capacity("DefaultAutoScalingGroup",
18899
- instance_type=ec2.InstanceType("t2.micro"),
18900
- vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
18901
- )
18903
+ cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
18902
18904
 
18903
18905
  task_definition = ecs.TaskDefinition(self, "TD",
18904
- compatibility=ecs.Compatibility.EC2
18906
+ memory_mi_b="512",
18907
+ cpu="256",
18908
+ compatibility=ecs.Compatibility.FARGATE
18905
18909
  )
18906
18910
 
18907
- task_definition.add_container("TheContainer",
18911
+ container_definition = task_definition.add_container("TheContainer",
18908
18912
  image=ecs.ContainerImage.from_registry("foo/bar"),
18909
18913
  memory_limit_mi_b=256
18910
18914
  )
18911
18915
 
18912
- run_task = tasks.EcsRunTask(self, "Run",
18916
+ run_task = tasks.EcsRunTask(self, "RunFargate",
18913
18917
  integration_pattern=sfn.IntegrationPattern.RUN_JOB,
18914
18918
  cluster=cluster,
18915
18919
  task_definition=task_definition,
18916
- launch_target=tasks.EcsEc2LaunchTarget(
18917
- placement_strategies=[
18918
- ecs.PlacementStrategy.spread_across_instances(),
18919
- ecs.PlacementStrategy.packed_by_cpu(),
18920
- ecs.PlacementStrategy.randomly()
18921
- ],
18922
- placement_constraints=[
18923
- ecs.PlacementConstraint.member_of("blieptuut")
18924
- ]
18925
- ),
18920
+ assign_public_ip=True,
18921
+ container_overrides=[tasks.ContainerOverride(
18922
+ container_definition=container_definition,
18923
+ environment=[tasks.TaskEnvironmentVariable(name="SOME_KEY", value=sfn.JsonPath.string_at("$.SomeKey"))]
18924
+ )],
18925
+ launch_target=tasks.EcsFargateLaunchTarget(),
18926
18926
  propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
18927
18927
  )
18928
18928
  '''
@@ -35682,35 +35682,29 @@ class TaskDefinitionProps(CommonTaskDefinitionProps):
35682
35682
  is_default=True
35683
35683
  )
35684
35684
 
35685
- cluster = ecs.Cluster(self, "Ec2Cluster", vpc=vpc)
35686
- cluster.add_capacity("DefaultAutoScalingGroup",
35687
- instance_type=ec2.InstanceType("t2.micro"),
35688
- vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
35689
- )
35685
+ cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
35690
35686
 
35691
35687
  task_definition = ecs.TaskDefinition(self, "TD",
35692
- compatibility=ecs.Compatibility.EC2
35688
+ memory_mi_b="512",
35689
+ cpu="256",
35690
+ compatibility=ecs.Compatibility.FARGATE
35693
35691
  )
35694
35692
 
35695
- task_definition.add_container("TheContainer",
35693
+ container_definition = task_definition.add_container("TheContainer",
35696
35694
  image=ecs.ContainerImage.from_registry("foo/bar"),
35697
35695
  memory_limit_mi_b=256
35698
35696
  )
35699
35697
 
35700
- run_task = tasks.EcsRunTask(self, "Run",
35698
+ run_task = tasks.EcsRunTask(self, "RunFargate",
35701
35699
  integration_pattern=sfn.IntegrationPattern.RUN_JOB,
35702
35700
  cluster=cluster,
35703
35701
  task_definition=task_definition,
35704
- launch_target=tasks.EcsEc2LaunchTarget(
35705
- placement_strategies=[
35706
- ecs.PlacementStrategy.spread_across_instances(),
35707
- ecs.PlacementStrategy.packed_by_cpu(),
35708
- ecs.PlacementStrategy.randomly()
35709
- ],
35710
- placement_constraints=[
35711
- ecs.PlacementConstraint.member_of("blieptuut")
35712
- ]
35713
- ),
35702
+ assign_public_ip=True,
35703
+ container_overrides=[tasks.ContainerOverride(
35704
+ container_definition=container_definition,
35705
+ environment=[tasks.TaskEnvironmentVariable(name="SOME_KEY", value=sfn.JsonPath.string_at("$.SomeKey"))]
35706
+ )],
35707
+ launch_target=tasks.EcsFargateLaunchTarget(),
35714
35708
  propagated_tag_source=ecs.PropagatedTagSource.TASK_DEFINITION
35715
35709
  )
35716
35710
  '''
@@ -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):
@@ -19403,7 +19436,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
19403
19436
  :param protocol: The protocol used for communication with the target. This is not applicable for Lambda targets. Default: - Determined from port if known
19404
19437
  :param protocol_version: The protocol version to use. Default: ApplicationProtocolVersion.HTTP1
19405
19438
  :param slow_start: The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group. The range is 30-900 seconds (15 minutes). Default: 0
19406
- :param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default: Duration.days(1)
19439
+ :param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default: - Stickiness is disabled
19407
19440
  :param stickiness_cookie_name: The name of an application-based stickiness cookie. Names that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer. Note: ``stickinessCookieName`` parameter depends on the presence of ``stickinessCookieDuration`` parameter. If ``stickinessCookieDuration`` is not set, ``stickinessCookieName`` will be omitted. Default: - If ``stickinessCookieDuration`` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
19408
19441
  :param targets: The targets to add to this target group. Can be ``Instance``, ``IPAddress``, or any self-registering load balancing target. If you use either ``Instance`` or ``IPAddress`` as targets, all target must be of the same type. Default: - No targets.
19409
19442
 
@@ -19592,7 +19625,7 @@ class ApplicationTargetGroupProps(BaseTargetGroupProps):
19592
19625
  After this period, the cookie is considered stale. The minimum value is
19593
19626
  1 second and the maximum value is 7 days (604800 seconds).
19594
19627
 
19595
- :default: Duration.days(1)
19628
+ :default: - Stickiness is disabled
19596
19629
  '''
19597
19630
  result = self._values.get("stickiness_cookie_duration")
19598
19631
  return typing.cast(typing.Optional[_Duration_4839e8c3], result)
@@ -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,
@@ -22550,7 +22603,7 @@ class ApplicationTargetGroup(
22550
22603
  :param protocol: The protocol used for communication with the target. This is not applicable for Lambda targets. Default: - Determined from port if known
22551
22604
  :param protocol_version: The protocol version to use. Default: ApplicationProtocolVersion.HTTP1
22552
22605
  :param slow_start: The time period during which the load balancer sends a newly registered target a linearly increasing share of the traffic to the target group. The range is 30-900 seconds (15 minutes). Default: 0
22553
- :param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default: Duration.days(1)
22606
+ :param stickiness_cookie_duration: The stickiness cookie expiration period. Setting this value enables load balancer stickiness. After this period, the cookie is considered stale. The minimum value is 1 second and the maximum value is 7 days (604800 seconds). Default: - Stickiness is disabled
22554
22607
  :param stickiness_cookie_name: The name of an application-based stickiness cookie. Names that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer. Note: ``stickinessCookieName`` parameter depends on the presence of ``stickinessCookieDuration`` parameter. If ``stickinessCookieDuration`` is not set, ``stickinessCookieName`` will be omitted. Default: - If ``stickinessCookieDuration`` is set, a load-balancer generated cookie is used. Otherwise, no stickiness is defined.
22555
22608
  :param targets: The targets to add to this target group. Can be ``Instance``, ``IPAddress``, or any self-registering load balancing target. If you use either ``Instance`` or ``IPAddress`` as targets, all target must be of the same type. Default: - No targets.
22556
22609
  :param deregistration_delay: The amount of time for Elastic Load Balancing to wait before deregistering a target. The range is 0-3600 seconds. Default: 300
@@ -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