aws-cdk-lib 2.215.0__py3-none-any.whl → 2.217.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 (64) hide show
  1. aws_cdk/__init__.py +90 -58
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.215.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amplify/__init__.py +8 -8
  6. aws_cdk/aws_apigateway/__init__.py +26 -6
  7. aws_cdk/aws_apigatewayv2/__init__.py +32 -21
  8. aws_cdk/aws_appmesh/__init__.py +12 -12
  9. aws_cdk/aws_appstream/__init__.py +14 -4
  10. aws_cdk/aws_appsync/__init__.py +3 -3
  11. aws_cdk/aws_aps/__init__.py +459 -0
  12. aws_cdk/aws_batch/__init__.py +6 -2
  13. aws_cdk/aws_bedrock/__init__.py +162 -0
  14. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  15. aws_cdk/aws_certificatemanager/__init__.py +9 -10
  16. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  17. aws_cdk/aws_cloudformation/__init__.py +14 -14
  18. aws_cdk/aws_cloudfront/__init__.py +91 -10
  19. aws_cdk/aws_cloudfront_origins/__init__.py +422 -47
  20. aws_cdk/aws_cognito/__init__.py +2 -2
  21. aws_cdk/aws_connect/__init__.py +138 -10
  22. aws_cdk/aws_cur/__init__.py +57 -3
  23. aws_cdk/aws_datasync/__init__.py +351 -0
  24. aws_cdk/aws_datazone/__init__.py +675 -2
  25. aws_cdk/aws_dynamodb/__init__.py +123 -0
  26. aws_cdk/aws_ec2/__init__.py +55 -10
  27. aws_cdk/aws_ecr/__init__.py +4 -0
  28. aws_cdk/aws_ecs/__init__.py +55 -12
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +275 -0
  30. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  31. aws_cdk/aws_events/__init__.py +187 -0
  32. aws_cdk/aws_evs/__init__.py +58 -4
  33. aws_cdk/aws_gamelift/__init__.py +72 -56
  34. aws_cdk/aws_iam/__init__.py +1 -1
  35. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
  36. aws_cdk/aws_iotsitewise/__init__.py +75 -111
  37. aws_cdk/aws_kinesisanalytics/__init__.py +315 -125
  38. aws_cdk/aws_kms/__init__.py +10 -2
  39. aws_cdk/aws_lambda/__init__.py +62 -8
  40. aws_cdk/aws_medialive/__init__.py +127 -0
  41. aws_cdk/aws_mediapackage/__init__.py +2 -2
  42. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  43. aws_cdk/aws_networkmanager/__init__.py +63 -0
  44. aws_cdk/aws_odb/__init__.py +2082 -195
  45. aws_cdk/aws_omics/__init__.py +1414 -171
  46. aws_cdk/aws_opensearchserverless/__init__.py +164 -21
  47. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  48. aws_cdk/aws_pcs/__init__.py +9 -9
  49. aws_cdk/aws_quicksight/__init__.py +295 -3
  50. aws_cdk/aws_rds/__init__.py +338 -58
  51. aws_cdk/aws_route53/__init__.py +5926 -4376
  52. aws_cdk/aws_sagemaker/__init__.py +251 -1
  53. aws_cdk/aws_servicecatalog/__init__.py +162 -154
  54. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +669 -81
  56. aws_cdk/aws_transfer/__init__.py +13 -12
  57. aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
  58. aws_cdk/aws_workspacesinstances/__init__.py +641 -2
  59. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
  60. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +64 -62
  61. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
  62. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
  63. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
  64. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
@@ -268,6 +268,7 @@ class CfnRuleGroupsNamespaceProps:
268
268
  "source": "source",
269
269
  "alias": "alias",
270
270
  "role_configuration": "roleConfiguration",
271
+ "scraper_logging_configuration": "scraperLoggingConfiguration",
271
272
  "tags": "tags",
272
273
  },
273
274
  )
@@ -280,6 +281,7 @@ class CfnScraperProps:
280
281
  source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
281
282
  alias: typing.Optional[builtins.str] = None,
282
283
  role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.RoleConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
284
+ scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
283
285
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
284
286
  ) -> None:
285
287
  '''Properties for defining a ``CfnScraper``.
@@ -289,6 +291,7 @@ class CfnScraperProps:
289
291
  :param source: The Amazon EKS cluster from which the scraper collects metrics.
290
292
  :param alias: An optional user-assigned scraper alias.
291
293
  :param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
294
+ :param scraper_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
292
295
  :param tags: (Optional) The list of tag keys and values associated with the scraper.
293
296
 
294
297
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
@@ -325,6 +328,23 @@ class CfnScraperProps:
325
328
  source_role_arn="sourceRoleArn",
326
329
  target_role_arn="targetRoleArn"
327
330
  ),
331
+ scraper_logging_configuration=aps.CfnScraper.ScraperLoggingConfigurationProperty(
332
+ logging_destination=aps.CfnScraper.ScraperLoggingDestinationProperty(
333
+ cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
334
+ log_group_arn="logGroupArn"
335
+ )
336
+ ),
337
+ scraper_components=[aps.CfnScraper.ScraperComponentProperty(
338
+ type="type",
339
+
340
+ # the properties below are optional
341
+ config=aps.CfnScraper.ComponentConfigProperty(
342
+ options={
343
+ "options_key": "options"
344
+ }
345
+ )
346
+ )]
347
+ ),
328
348
  tags=[CfnTag(
329
349
  key="key",
330
350
  value="value"
@@ -338,6 +358,7 @@ class CfnScraperProps:
338
358
  check_type(argname="argument source", value=source, expected_type=type_hints["source"])
339
359
  check_type(argname="argument alias", value=alias, expected_type=type_hints["alias"])
340
360
  check_type(argname="argument role_configuration", value=role_configuration, expected_type=type_hints["role_configuration"])
361
+ check_type(argname="argument scraper_logging_configuration", value=scraper_logging_configuration, expected_type=type_hints["scraper_logging_configuration"])
341
362
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
342
363
  self._values: typing.Dict[builtins.str, typing.Any] = {
343
364
  "destination": destination,
@@ -348,6 +369,8 @@ class CfnScraperProps:
348
369
  self._values["alias"] = alias
349
370
  if role_configuration is not None:
350
371
  self._values["role_configuration"] = role_configuration
372
+ if scraper_logging_configuration is not None:
373
+ self._values["scraper_logging_configuration"] = scraper_logging_configuration
351
374
  if tags is not None:
352
375
  self._values["tags"] = tags
353
376
 
@@ -407,6 +430,17 @@ class CfnScraperProps:
407
430
  result = self._values.get("role_configuration")
408
431
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]], result)
409
432
 
433
+ @builtins.property
434
+ def scraper_logging_configuration(
435
+ self,
436
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]]:
437
+ '''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
438
+
439
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-scraperloggingconfiguration
440
+ '''
441
+ result = self._values.get("scraper_logging_configuration")
442
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]], result)
443
+
410
444
  @builtins.property
411
445
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
412
446
  '''(Optional) The list of tag keys and values associated with the scraper.
@@ -1328,6 +1362,23 @@ class CfnScraper(
1328
1362
  source_role_arn="sourceRoleArn",
1329
1363
  target_role_arn="targetRoleArn"
1330
1364
  ),
1365
+ scraper_logging_configuration=aps.CfnScraper.ScraperLoggingConfigurationProperty(
1366
+ logging_destination=aps.CfnScraper.ScraperLoggingDestinationProperty(
1367
+ cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
1368
+ log_group_arn="logGroupArn"
1369
+ )
1370
+ ),
1371
+ scraper_components=[aps.CfnScraper.ScraperComponentProperty(
1372
+ type="type",
1373
+
1374
+ # the properties below are optional
1375
+ config=aps.CfnScraper.ComponentConfigProperty(
1376
+ options={
1377
+ "options_key": "options"
1378
+ }
1379
+ )
1380
+ )]
1381
+ ),
1331
1382
  tags=[CfnTag(
1332
1383
  key="key",
1333
1384
  value="value"
@@ -1345,6 +1396,7 @@ class CfnScraper(
1345
1396
  source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
1346
1397
  alias: typing.Optional[builtins.str] = None,
1347
1398
  role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.RoleConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1399
+ scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1348
1400
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1349
1401
  ) -> None:
1350
1402
  '''
@@ -1355,6 +1407,7 @@ class CfnScraper(
1355
1407
  :param source: The Amazon EKS cluster from which the scraper collects metrics.
1356
1408
  :param alias: An optional user-assigned scraper alias.
1357
1409
  :param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
1410
+ :param scraper_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
1358
1411
  :param tags: (Optional) The list of tag keys and values associated with the scraper.
1359
1412
  '''
1360
1413
  if __debug__:
@@ -1367,6 +1420,7 @@ class CfnScraper(
1367
1420
  source=source,
1368
1421
  alias=alias,
1369
1422
  role_configuration=role_configuration,
1423
+ scraper_logging_configuration=scraper_logging_configuration,
1370
1424
  tags=tags,
1371
1425
  )
1372
1426
 
@@ -1537,6 +1591,24 @@ class CfnScraper(
1537
1591
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1538
1592
  jsii.set(self, "roleConfiguration", value) # pyright: ignore[reportArgumentType]
1539
1593
 
1594
+ @builtins.property
1595
+ @jsii.member(jsii_name="scraperLoggingConfiguration")
1596
+ def scraper_logging_configuration(
1597
+ self,
1598
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]]:
1599
+ '''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.'''
1600
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]], jsii.get(self, "scraperLoggingConfiguration"))
1601
+
1602
+ @scraper_logging_configuration.setter
1603
+ def scraper_logging_configuration(
1604
+ self,
1605
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingConfigurationProperty"]],
1606
+ ) -> None:
1607
+ if __debug__:
1608
+ type_hints = typing.get_type_hints(_typecheckingstub__98c937c38a5c278540b0a6d9654c4dc0d8dbc46a2f3145fd9275f2a8fd9ce000)
1609
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1610
+ jsii.set(self, "scraperLoggingConfiguration", value) # pyright: ignore[reportArgumentType]
1611
+
1540
1612
  @builtins.property
1541
1613
  @jsii.member(jsii_name="tags")
1542
1614
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -1602,6 +1674,120 @@ class CfnScraper(
1602
1674
  k + "=" + repr(v) for k, v in self._values.items()
1603
1675
  )
1604
1676
 
1677
+ @jsii.data_type(
1678
+ jsii_type="aws-cdk-lib.aws_aps.CfnScraper.CloudWatchLogDestinationProperty",
1679
+ jsii_struct_bases=[],
1680
+ name_mapping={"log_group_arn": "logGroupArn"},
1681
+ )
1682
+ class CloudWatchLogDestinationProperty:
1683
+ def __init__(
1684
+ self,
1685
+ *,
1686
+ log_group_arn: typing.Optional[builtins.str] = None,
1687
+ ) -> None:
1688
+ '''Represents a cloudwatch logs destination for scraper logging.
1689
+
1690
+ :param log_group_arn: ARN of the CloudWatch log group.
1691
+
1692
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-cloudwatchlogdestination.html
1693
+ :exampleMetadata: fixture=_generated
1694
+
1695
+ Example::
1696
+
1697
+ # The code below shows an example of how to instantiate this type.
1698
+ # The values are placeholders you should change.
1699
+ from aws_cdk import aws_aps as aps
1700
+
1701
+ cloud_watch_log_destination_property = aps.CfnScraper.CloudWatchLogDestinationProperty(
1702
+ log_group_arn="logGroupArn"
1703
+ )
1704
+ '''
1705
+ if __debug__:
1706
+ type_hints = typing.get_type_hints(_typecheckingstub__d4d1b8a234d9b0461189ac94d16b7043b8e40fc1a62680a811ba8396bc54a5d6)
1707
+ check_type(argname="argument log_group_arn", value=log_group_arn, expected_type=type_hints["log_group_arn"])
1708
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1709
+ if log_group_arn is not None:
1710
+ self._values["log_group_arn"] = log_group_arn
1711
+
1712
+ @builtins.property
1713
+ def log_group_arn(self) -> typing.Optional[builtins.str]:
1714
+ '''ARN of the CloudWatch log group.
1715
+
1716
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-cloudwatchlogdestination.html#cfn-aps-scraper-cloudwatchlogdestination-loggrouparn
1717
+ '''
1718
+ result = self._values.get("log_group_arn")
1719
+ return typing.cast(typing.Optional[builtins.str], result)
1720
+
1721
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1722
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1723
+
1724
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1725
+ return not (rhs == self)
1726
+
1727
+ def __repr__(self) -> str:
1728
+ return "CloudWatchLogDestinationProperty(%s)" % ", ".join(
1729
+ k + "=" + repr(v) for k, v in self._values.items()
1730
+ )
1731
+
1732
+ @jsii.data_type(
1733
+ jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ComponentConfigProperty",
1734
+ jsii_struct_bases=[],
1735
+ name_mapping={"options": "options"},
1736
+ )
1737
+ class ComponentConfigProperty:
1738
+ def __init__(
1739
+ self,
1740
+ *,
1741
+ options: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
1742
+ ) -> None:
1743
+ '''Configuration settings for a scraper component.
1744
+
1745
+ :param options: Configuration options for the scraper component.
1746
+
1747
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-componentconfig.html
1748
+ :exampleMetadata: fixture=_generated
1749
+
1750
+ Example::
1751
+
1752
+ # The code below shows an example of how to instantiate this type.
1753
+ # The values are placeholders you should change.
1754
+ from aws_cdk import aws_aps as aps
1755
+
1756
+ component_config_property = aps.CfnScraper.ComponentConfigProperty(
1757
+ options={
1758
+ "options_key": "options"
1759
+ }
1760
+ )
1761
+ '''
1762
+ if __debug__:
1763
+ type_hints = typing.get_type_hints(_typecheckingstub__c81abd8a9526f73204a9bfa774d69e9b3ec81f7592dafabd756679cc66dcb1e1)
1764
+ check_type(argname="argument options", value=options, expected_type=type_hints["options"])
1765
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1766
+ if options is not None:
1767
+ self._values["options"] = options
1768
+
1769
+ @builtins.property
1770
+ def options(
1771
+ self,
1772
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
1773
+ '''Configuration options for the scraper component.
1774
+
1775
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-componentconfig.html#cfn-aps-scraper-componentconfig-options
1776
+ '''
1777
+ result = self._values.get("options")
1778
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
1779
+
1780
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1781
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1782
+
1783
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1784
+ return not (rhs == self)
1785
+
1786
+ def __repr__(self) -> str:
1787
+ return "ComponentConfigProperty(%s)" % ", ".join(
1788
+ k + "=" + repr(v) for k, v in self._values.items()
1789
+ )
1790
+
1605
1791
  @jsii.data_type(
1606
1792
  jsii_type="aws-cdk-lib.aws_aps.CfnScraper.DestinationProperty",
1607
1793
  jsii_struct_bases=[],
@@ -1881,6 +2067,234 @@ class CfnScraper(
1881
2067
  k + "=" + repr(v) for k, v in self._values.items()
1882
2068
  )
1883
2069
 
2070
+ @jsii.data_type(
2071
+ jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ScraperComponentProperty",
2072
+ jsii_struct_bases=[],
2073
+ name_mapping={"type": "type", "config": "config"},
2074
+ )
2075
+ class ScraperComponentProperty:
2076
+ def __init__(
2077
+ self,
2078
+ *,
2079
+ type: builtins.str,
2080
+ config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ComponentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2081
+ ) -> None:
2082
+ '''A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.
2083
+
2084
+ :param type: The type of the scraper component.
2085
+ :param config: The configuration settings for the scraper component.
2086
+
2087
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponent.html
2088
+ :exampleMetadata: fixture=_generated
2089
+
2090
+ Example::
2091
+
2092
+ # The code below shows an example of how to instantiate this type.
2093
+ # The values are placeholders you should change.
2094
+ from aws_cdk import aws_aps as aps
2095
+
2096
+ scraper_component_property = aps.CfnScraper.ScraperComponentProperty(
2097
+ type="type",
2098
+
2099
+ # the properties below are optional
2100
+ config=aps.CfnScraper.ComponentConfigProperty(
2101
+ options={
2102
+ "options_key": "options"
2103
+ }
2104
+ )
2105
+ )
2106
+ '''
2107
+ if __debug__:
2108
+ type_hints = typing.get_type_hints(_typecheckingstub__be259f573540cfe3fb130cbc10c656811dffac0fb6663b27b9f4982549990b6a)
2109
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
2110
+ check_type(argname="argument config", value=config, expected_type=type_hints["config"])
2111
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2112
+ "type": type,
2113
+ }
2114
+ if config is not None:
2115
+ self._values["config"] = config
2116
+
2117
+ @builtins.property
2118
+ def type(self) -> builtins.str:
2119
+ '''The type of the scraper component.
2120
+
2121
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponent.html#cfn-aps-scraper-scrapercomponent-type
2122
+ '''
2123
+ result = self._values.get("type")
2124
+ assert result is not None, "Required property 'type' is missing"
2125
+ return typing.cast(builtins.str, result)
2126
+
2127
+ @builtins.property
2128
+ def config(
2129
+ self,
2130
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ComponentConfigProperty"]]:
2131
+ '''The configuration settings for the scraper component.
2132
+
2133
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponent.html#cfn-aps-scraper-scrapercomponent-config
2134
+ '''
2135
+ result = self._values.get("config")
2136
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.ComponentConfigProperty"]], result)
2137
+
2138
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2139
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2140
+
2141
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2142
+ return not (rhs == self)
2143
+
2144
+ def __repr__(self) -> str:
2145
+ return "ScraperComponentProperty(%s)" % ", ".join(
2146
+ k + "=" + repr(v) for k, v in self._values.items()
2147
+ )
2148
+
2149
+ @jsii.data_type(
2150
+ jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ScraperLoggingConfigurationProperty",
2151
+ jsii_struct_bases=[],
2152
+ name_mapping={
2153
+ "logging_destination": "loggingDestination",
2154
+ "scraper_components": "scraperComponents",
2155
+ },
2156
+ )
2157
+ class ScraperLoggingConfigurationProperty:
2158
+ def __init__(
2159
+ self,
2160
+ *,
2161
+ logging_destination: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperLoggingDestinationProperty", typing.Dict[builtins.str, typing.Any]]],
2162
+ scraper_components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.ScraperComponentProperty", typing.Dict[builtins.str, typing.Any]]]]],
2163
+ ) -> None:
2164
+ '''Configuration for scraper logging.
2165
+
2166
+ :param logging_destination: Destination for scraper logging.
2167
+ :param scraper_components:
2168
+
2169
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingconfiguration.html
2170
+ :exampleMetadata: fixture=_generated
2171
+
2172
+ Example::
2173
+
2174
+ # The code below shows an example of how to instantiate this type.
2175
+ # The values are placeholders you should change.
2176
+ from aws_cdk import aws_aps as aps
2177
+
2178
+ scraper_logging_configuration_property = aps.CfnScraper.ScraperLoggingConfigurationProperty(
2179
+ logging_destination=aps.CfnScraper.ScraperLoggingDestinationProperty(
2180
+ cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
2181
+ log_group_arn="logGroupArn"
2182
+ )
2183
+ ),
2184
+ scraper_components=[aps.CfnScraper.ScraperComponentProperty(
2185
+ type="type",
2186
+
2187
+ # the properties below are optional
2188
+ config=aps.CfnScraper.ComponentConfigProperty(
2189
+ options={
2190
+ "options_key": "options"
2191
+ }
2192
+ )
2193
+ )]
2194
+ )
2195
+ '''
2196
+ if __debug__:
2197
+ type_hints = typing.get_type_hints(_typecheckingstub__ea5221003b2ff43404935c67045669a8a84790d807c849eadd6df28ea9b60feb)
2198
+ check_type(argname="argument logging_destination", value=logging_destination, expected_type=type_hints["logging_destination"])
2199
+ check_type(argname="argument scraper_components", value=scraper_components, expected_type=type_hints["scraper_components"])
2200
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2201
+ "logging_destination": logging_destination,
2202
+ "scraper_components": scraper_components,
2203
+ }
2204
+
2205
+ @builtins.property
2206
+ def logging_destination(
2207
+ self,
2208
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingDestinationProperty"]:
2209
+ '''Destination for scraper logging.
2210
+
2211
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingconfiguration.html#cfn-aps-scraper-scraperloggingconfiguration-loggingdestination
2212
+ '''
2213
+ result = self._values.get("logging_destination")
2214
+ assert result is not None, "Required property 'logging_destination' is missing"
2215
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperLoggingDestinationProperty"], result)
2216
+
2217
+ @builtins.property
2218
+ def scraper_components(
2219
+ self,
2220
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperComponentProperty"]]]:
2221
+ '''
2222
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingconfiguration.html#cfn-aps-scraper-scraperloggingconfiguration-scrapercomponents
2223
+ '''
2224
+ result = self._values.get("scraper_components")
2225
+ assert result is not None, "Required property 'scraper_components' is missing"
2226
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnScraper.ScraperComponentProperty"]]], result)
2227
+
2228
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2229
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2230
+
2231
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2232
+ return not (rhs == self)
2233
+
2234
+ def __repr__(self) -> str:
2235
+ return "ScraperLoggingConfigurationProperty(%s)" % ", ".join(
2236
+ k + "=" + repr(v) for k, v in self._values.items()
2237
+ )
2238
+
2239
+ @jsii.data_type(
2240
+ jsii_type="aws-cdk-lib.aws_aps.CfnScraper.ScraperLoggingDestinationProperty",
2241
+ jsii_struct_bases=[],
2242
+ name_mapping={"cloud_watch_logs": "cloudWatchLogs"},
2243
+ )
2244
+ class ScraperLoggingDestinationProperty:
2245
+ def __init__(
2246
+ self,
2247
+ *,
2248
+ cloud_watch_logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScraper.CloudWatchLogDestinationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2249
+ ) -> None:
2250
+ '''The destination where scraper logs are sent.
2251
+
2252
+ :param cloud_watch_logs: The CloudWatch Logs configuration for the scraper logging destination.
2253
+
2254
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingdestination.html
2255
+ :exampleMetadata: fixture=_generated
2256
+
2257
+ Example::
2258
+
2259
+ # The code below shows an example of how to instantiate this type.
2260
+ # The values are placeholders you should change.
2261
+ from aws_cdk import aws_aps as aps
2262
+
2263
+ scraper_logging_destination_property = aps.CfnScraper.ScraperLoggingDestinationProperty(
2264
+ cloud_watch_logs=aps.CfnScraper.CloudWatchLogDestinationProperty(
2265
+ log_group_arn="logGroupArn"
2266
+ )
2267
+ )
2268
+ '''
2269
+ if __debug__:
2270
+ type_hints = typing.get_type_hints(_typecheckingstub__63a27055fededd95d1bc1fba74349c5f0f37894ed254d1e1ce3d670ded2f515f)
2271
+ check_type(argname="argument cloud_watch_logs", value=cloud_watch_logs, expected_type=type_hints["cloud_watch_logs"])
2272
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2273
+ if cloud_watch_logs is not None:
2274
+ self._values["cloud_watch_logs"] = cloud_watch_logs
2275
+
2276
+ @builtins.property
2277
+ def cloud_watch_logs(
2278
+ self,
2279
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.CloudWatchLogDestinationProperty"]]:
2280
+ '''The CloudWatch Logs configuration for the scraper logging destination.
2281
+
2282
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingdestination.html#cfn-aps-scraper-scraperloggingdestination-cloudwatchlogs
2283
+ '''
2284
+ result = self._values.get("cloud_watch_logs")
2285
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.CloudWatchLogDestinationProperty"]], result)
2286
+
2287
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2288
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2289
+
2290
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2291
+ return not (rhs == self)
2292
+
2293
+ def __repr__(self) -> str:
2294
+ return "ScraperLoggingDestinationProperty(%s)" % ", ".join(
2295
+ k + "=" + repr(v) for k, v in self._values.items()
2296
+ )
2297
+
1884
2298
  @jsii.data_type(
1885
2299
  jsii_type="aws-cdk-lib.aws_aps.CfnScraper.SourceProperty",
1886
2300
  jsii_struct_bases=[],
@@ -2876,6 +3290,7 @@ def _typecheckingstub__f302dfc2aa92636b313e32f5d91a0ccfd79ebde0259b977f6291d4c83
2876
3290
  source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
2877
3291
  alias: typing.Optional[builtins.str] = None,
2878
3292
  role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.RoleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3293
+ scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2879
3294
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2880
3295
  ) -> None:
2881
3296
  """Type checking stubs"""
@@ -3013,6 +3428,7 @@ def _typecheckingstub__4d4cb1653b22b80f73c5fa4972418519c1d58f8ac033d22184f1b74ee
3013
3428
  source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
3014
3429
  alias: typing.Optional[builtins.str] = None,
3015
3430
  role_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.RoleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3431
+ scraper_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3016
3432
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3017
3433
  ) -> None:
3018
3434
  """Type checking stubs"""
@@ -3060,6 +3476,12 @@ def _typecheckingstub__a8492f7c00f66de3309f136730786a3ad81d27f787146130fdb2b6191
3060
3476
  """Type checking stubs"""
3061
3477
  pass
3062
3478
 
3479
+ def _typecheckingstub__98c937c38a5c278540b0a6d9654c4dc0d8dbc46a2f3145fd9275f2a8fd9ce000(
3480
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScraper.ScraperLoggingConfigurationProperty]],
3481
+ ) -> None:
3482
+ """Type checking stubs"""
3483
+ pass
3484
+
3063
3485
  def _typecheckingstub__265ada3fe1d3014c11a5af4d87c8e4b691d29a917e8643b804a82b7c3223573f(
3064
3486
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
3065
3487
  ) -> None:
@@ -3073,6 +3495,20 @@ def _typecheckingstub__02c8f0a43ed30375a3d1b283c2450f310915b0f0fcff6103d168cb18a
3073
3495
  """Type checking stubs"""
3074
3496
  pass
3075
3497
 
3498
+ def _typecheckingstub__d4d1b8a234d9b0461189ac94d16b7043b8e40fc1a62680a811ba8396bc54a5d6(
3499
+ *,
3500
+ log_group_arn: typing.Optional[builtins.str] = None,
3501
+ ) -> None:
3502
+ """Type checking stubs"""
3503
+ pass
3504
+
3505
+ def _typecheckingstub__c81abd8a9526f73204a9bfa774d69e9b3ec81f7592dafabd756679cc66dcb1e1(
3506
+ *,
3507
+ options: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
3508
+ ) -> None:
3509
+ """Type checking stubs"""
3510
+ pass
3511
+
3076
3512
  def _typecheckingstub__e9dfeb013903b3b566e12e34ac903da7aaad96412ee8622e798d0f4931b78c31(
3077
3513
  *,
3078
3514
  amp_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.AmpConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -3104,6 +3540,29 @@ def _typecheckingstub__61507a1463486662c27c8fec99a5cb181f22e5f346b7bb6d10823ad9b
3104
3540
  """Type checking stubs"""
3105
3541
  pass
3106
3542
 
3543
+ def _typecheckingstub__be259f573540cfe3fb130cbc10c656811dffac0fb6663b27b9f4982549990b6a(
3544
+ *,
3545
+ type: builtins.str,
3546
+ config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ComponentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3547
+ ) -> None:
3548
+ """Type checking stubs"""
3549
+ pass
3550
+
3551
+ def _typecheckingstub__ea5221003b2ff43404935c67045669a8a84790d807c849eadd6df28ea9b60feb(
3552
+ *,
3553
+ logging_destination: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperLoggingDestinationProperty, typing.Dict[builtins.str, typing.Any]]],
3554
+ scraper_components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.ScraperComponentProperty, typing.Dict[builtins.str, typing.Any]]]]],
3555
+ ) -> None:
3556
+ """Type checking stubs"""
3557
+ pass
3558
+
3559
+ def _typecheckingstub__63a27055fededd95d1bc1fba74349c5f0f37894ed254d1e1ce3d670ded2f515f(
3560
+ *,
3561
+ cloud_watch_logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.CloudWatchLogDestinationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3562
+ ) -> None:
3563
+ """Type checking stubs"""
3564
+ pass
3565
+
3107
3566
  def _typecheckingstub__655e83ac40d7d6fcc3362aa2c25fcfadc0beb5744ef393de105d7d152821a330(
3108
3567
  *,
3109
3568
  eks_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScraper.EksConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -14351,7 +14351,7 @@ class CfnComputeEnvironment(
14351
14351
 
14352
14352
  This object isn't applicable to jobs that are running on Fargate resources.
14353
14353
 
14354
- :param image_type: The image type to match with the instance type to select an AMI. The supported values are different for ``ECS`` and ``EKS`` resources. - **ECS** - If the ``imageIdOverride`` parameter isn't specified, then a recent `Amazon ECS-optimized Amazon Linux 2 AMI <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami>`_ ( ``ECS_AL2`` ) is used. If a new image type is specified in an update, but neither an ``imageId`` nor a ``imageIdOverride`` parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by AWS Batch is used. - **ECS_AL2** - `Amazon Linux 2 <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami>`_ : Default for all non-GPU instance families. - **ECS_AL2_NVIDIA** - `Amazon Linux 2 (GPU) <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami>`_ : Default for all GPU instance families (for example ``P4`` and ``G4`` ) and can be used for all non AWS Graviton-based instance types. - **ECS_AL2023** - `Amazon Linux 2023 <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html>`_ : AWS Batch supports Amazon Linux 2023. .. epigraph:: Amazon Linux 2023 does not support ``A1`` instances. - **ECS_AL2023_NVIDIA** - `Amazon Linux 2023 (GPU) <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami>`_ : For all GPU instance families and can be used for all non AWS Graviton-based instance types. .. epigraph:: ECS_AL2023_NVIDIA doesn't support ``p3`` and ``g3`` instance types. - **ECS_AL1** - `Amazon Linux <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami>`_ . Amazon Linux has reached the end-of-life of standard support. For more information, see `Amazon Linux AMI <https://docs.aws.amazon.com/amazon-linux-ami/>`_ . - **EKS** - If the ``imageIdOverride`` parameter isn't specified, then a recent `Amazon EKS-optimized Amazon Linux AMI <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ ( ``EKS_AL2`` ) is used. If a new image type is specified in an update, but neither an ``imageId`` nor a ``imageIdOverride`` parameter is specified, then the latest Amazon EKS optimized AMI for that image type that AWS Batch supports is used. .. epigraph:: Starting end of October 2025 Amazon EKS optimized Amazon Linux 2023 AMIs will be the default on AWS Batch for EKS versions prior to 1.33. Starting from Kubernetes version 1.33, EKS optimized Amazon Linux 2023 AMIs will be the default when it becomes supported on AWS Batch . AWS will end support for Amazon EKS AL2-optimized and AL2-accelerated AMIs, starting 11/26/25. You can continue using AWS Batch -provided Amazon EKS optimized Amazon Linux 2 AMIs on your Amazon EKS compute environments beyond the 11/26/25 end-of-support date, these compute environments will no longer receive any new software updates, security patches, or bug fixes from AWS . For more information on upgrading from AL2 to AL2023, see `How to upgrade from EKS AL2 to EKS AL2023 <https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html>`_ in the *AWS Batch User Guide* . - **EKS_AL2** - `Amazon Linux 2 <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : Default for all non-GPU instance families. - **EKS_AL2_NVIDIA** - `Amazon Linux 2 (accelerated) <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : Default for all GPU instance families (for example, ``P4`` and ``G4`` ) and can be used for all non AWS Graviton-based instance types. - **EKS_AL2023** - `Amazon Linux 2023 <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : AWS Batch supports Amazon Linux 2023. .. epigraph:: Amazon Linux 2023 does not support ``A1`` instances. - **EKS_AL2023_NVIDIA** - `Amazon Linux 2023 (accelerated) <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : GPU instance families and can be used for all non AWS Graviton-based instance types.
14354
+ :param image_type: The image type to match with the instance type to select an AMI. The supported values are different for ``ECS`` and ``EKS`` resources. - **ECS** - If the ``imageIdOverride`` parameter isn't specified, then a recent `Amazon ECS-optimized Amazon Linux 2 AMI <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami>`_ ( ``ECS_AL2`` ) is used. If a new image type is specified in an update, but neither an ``imageId`` nor a ``imageIdOverride`` parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by AWS Batch is used. .. epigraph:: AWS will end support for Amazon ECS optimized AL2-optimized and AL2-accelerated AMIs. Starting in January 2026, AWS Batch will change the default AMI for new Amazon ECS compute environments from Amazon Linux 2 to Amazon Linux 2023. We recommend migrating AWS Batch Amazon ECS compute environments to Amazon Linux 2023 to maintain optimal performance and security. For more information on upgrading from AL2 to AL2023, see `How to migrate from ECS AL2 to ECS AL2023 <https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html>`_ in the *AWS Batch User Guide* . - **ECS_AL2** - `Amazon Linux 2 <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami>`_ : Default for all non-GPU instance families. - **ECS_AL2_NVIDIA** - `Amazon Linux 2 (GPU) <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami>`_ : Default for all GPU instance families (for example ``P4`` and ``G4`` ) and can be used for all non AWS Graviton-based instance types. - **ECS_AL2023** - `Amazon Linux 2023 <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html>`_ : AWS Batch supports Amazon Linux 2023. .. epigraph:: Amazon Linux 2023 does not support ``A1`` instances. - **ECS_AL2023_NVIDIA** - `Amazon Linux 2023 (GPU) <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami>`_ : For all GPU instance families and can be used for all non AWS Graviton-based instance types. .. epigraph:: ECS_AL2023_NVIDIA doesn't support ``p3`` and ``g3`` instance types. - **EKS** - If the ``imageIdOverride`` parameter isn't specified, then a recent `Amazon EKS-optimized Amazon Linux AMI <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ ( ``EKS_AL2`` ) is used. If a new image type is specified in an update, but neither an ``imageId`` nor a ``imageIdOverride`` parameter is specified, then the latest Amazon EKS optimized AMI for that image type that AWS Batch supports is used. .. epigraph:: Starting end of October 2025 Amazon EKS optimized Amazon Linux 2023 AMIs will be the default on AWS Batch for EKS versions prior to 1.33. Starting from Kubernetes version 1.33, EKS optimized Amazon Linux 2023 AMIs will be the default when it becomes supported on AWS Batch . AWS will end support for Amazon EKS AL2-optimized and AL2-accelerated AMIs, starting 11/26/25. You can continue using AWS Batch -provided Amazon EKS optimized Amazon Linux 2 AMIs on your Amazon EKS compute environments beyond the 11/26/25 end-of-support date, these compute environments will no longer receive any new software updates, security patches, or bug fixes from AWS . For more information on upgrading from AL2 to AL2023, see `How to upgrade from EKS AL2 to EKS AL2023 <https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html>`_ in the *AWS Batch User Guide* . - **EKS_AL2** - `Amazon Linux 2 <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : Default for all non-GPU instance families. - **EKS_AL2_NVIDIA** - `Amazon Linux 2 (accelerated) <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : Default for all GPU instance families (for example, ``P4`` and ``G4`` ) and can be used for all non AWS Graviton-based instance types. - **EKS_AL2023** - `Amazon Linux 2023 <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : AWS Batch supports Amazon Linux 2023. .. epigraph:: Amazon Linux 2023 does not support ``A1`` instances. - **EKS_AL2023_NVIDIA** - `Amazon Linux 2023 (accelerated) <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ : GPU instance families and can be used for all non AWS Graviton-based instance types.
14355
14355
  :param image_id_override: The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the ``imageId`` set in the ``computeResource`` object. .. epigraph:: The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see `Amazon ECS-optimized Amazon Linux 2 AMI <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
14356
14356
  :param image_kubernetes_version: The Kubernetes version for the compute environment. If you don't specify a value, the latest version that AWS Batch supports is used.
14357
14357
 
@@ -14392,6 +14392,11 @@ class CfnComputeEnvironment(
14392
14392
  The supported values are different for ``ECS`` and ``EKS`` resources.
14393
14393
 
14394
14394
  - **ECS** - If the ``imageIdOverride`` parameter isn't specified, then a recent `Amazon ECS-optimized Amazon Linux 2 AMI <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami>`_ ( ``ECS_AL2`` ) is used. If a new image type is specified in an update, but neither an ``imageId`` nor a ``imageIdOverride`` parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by AWS Batch is used.
14395
+
14396
+ .. epigraph::
14397
+
14398
+ AWS will end support for Amazon ECS optimized AL2-optimized and AL2-accelerated AMIs. Starting in January 2026, AWS Batch will change the default AMI for new Amazon ECS compute environments from Amazon Linux 2 to Amazon Linux 2023. We recommend migrating AWS Batch Amazon ECS compute environments to Amazon Linux 2023 to maintain optimal performance and security. For more information on upgrading from AL2 to AL2023, see `How to migrate from ECS AL2 to ECS AL2023 <https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html>`_ in the *AWS Batch User Guide* .
14399
+
14395
14400
  - **ECS_AL2** - `Amazon Linux 2 <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami>`_ : Default for all non-GPU instance families.
14396
14401
  - **ECS_AL2_NVIDIA** - `Amazon Linux 2 (GPU) <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami>`_ : Default for all GPU instance families (for example ``P4`` and ``G4`` ) and can be used for all non AWS Graviton-based instance types.
14397
14402
  - **ECS_AL2023** - `Amazon Linux 2023 <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html>`_ : AWS Batch supports Amazon Linux 2023.
@@ -14406,7 +14411,6 @@ class CfnComputeEnvironment(
14406
14411
 
14407
14412
  ECS_AL2023_NVIDIA doesn't support ``p3`` and ``g3`` instance types.
14408
14413
 
14409
- - **ECS_AL1** - `Amazon Linux <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami>`_ . Amazon Linux has reached the end-of-life of standard support. For more information, see `Amazon Linux AMI <https://docs.aws.amazon.com/amazon-linux-ami/>`_ .
14410
14414
  - **EKS** - If the ``imageIdOverride`` parameter isn't specified, then a recent `Amazon EKS-optimized Amazon Linux AMI <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html>`_ ( ``EKS_AL2`` ) is used. If a new image type is specified in an update, but neither an ``imageId`` nor a ``imageIdOverride`` parameter is specified, then the latest Amazon EKS optimized AMI for that image type that AWS Batch supports is used.
14411
14415
 
14412
14416
  .. epigraph::