aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.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 (151) hide show
  1. aws_cdk/__init__.py +60 -28
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.218.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amazonmq/__init__.py +87 -0
  6. aws_cdk/aws_amplify/__init__.py +8 -8
  7. aws_cdk/aws_apigateway/__init__.py +229 -6
  8. aws_cdk/aws_apigatewayv2/__init__.py +60 -2
  9. aws_cdk/aws_appconfig/__init__.py +145 -0
  10. aws_cdk/aws_appflow/__init__.py +116 -0
  11. aws_cdk/aws_appintegrations/__init__.py +116 -0
  12. aws_cdk/aws_appmesh/__init__.py +12 -12
  13. aws_cdk/aws_appstream/__init__.py +101 -4
  14. aws_cdk/aws_appsync/__init__.py +61 -3
  15. aws_cdk/aws_apptest/__init__.py +58 -0
  16. aws_cdk/aws_aps/__init__.py +459 -0
  17. aws_cdk/aws_athena/__init__.py +58 -0
  18. aws_cdk/aws_auditmanager/__init__.py +58 -0
  19. aws_cdk/aws_backup/__init__.py +145 -0
  20. aws_cdk/aws_batch/__init__.py +64 -2
  21. aws_cdk/aws_bedrock/__init__.py +277 -0
  22. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  23. aws_cdk/aws_cassandra/__init__.py +29 -0
  24. aws_cdk/aws_certificatemanager/__init__.py +38 -10
  25. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  26. aws_cdk/aws_cloudformation/__init__.py +14 -14
  27. aws_cdk/aws_cloudfront/__init__.py +69 -8
  28. aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
  29. aws_cdk/aws_cloudtrail/__init__.py +58 -0
  30. aws_cdk/aws_cloudwatch/__init__.py +145 -0
  31. aws_cdk/aws_codebuild/__init__.py +115 -12
  32. aws_cdk/aws_codedeploy/__init__.py +29 -0
  33. aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
  34. aws_cdk/aws_codepipeline/__init__.py +29 -0
  35. aws_cdk/aws_cognito/__init__.py +89 -2
  36. aws_cdk/aws_config/__init__.py +58 -0
  37. aws_cdk/aws_connect/__init__.py +138 -10
  38. aws_cdk/aws_cur/__init__.py +86 -3
  39. aws_cdk/aws_customerprofiles/__init__.py +58 -0
  40. aws_cdk/aws_datapipeline/__init__.py +29 -0
  41. aws_cdk/aws_datasync/__init__.py +351 -0
  42. aws_cdk/aws_datazone/__init__.py +733 -2
  43. aws_cdk/aws_directoryservice/__init__.py +29 -0
  44. aws_cdk/aws_dms/__init__.py +58 -0
  45. aws_cdk/aws_docdb/__init__.py +153 -25
  46. aws_cdk/aws_dsql/__init__.py +29 -0
  47. aws_cdk/aws_dynamodb/__init__.py +181 -0
  48. aws_cdk/aws_ec2/__init__.py +2031 -10
  49. aws_cdk/aws_ecr/__init__.py +116 -0
  50. aws_cdk/aws_ecs/__init__.py +142 -12
  51. aws_cdk/aws_efs/__init__.py +116 -0
  52. aws_cdk/aws_eks/__init__.py +118 -0
  53. aws_cdk/aws_elasticache/__init__.py +261 -0
  54. aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
  55. aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
  56. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  57. aws_cdk/aws_emr/__init__.py +87 -0
  58. aws_cdk/aws_emrcontainers/__init__.py +58 -0
  59. aws_cdk/aws_emrserverless/__init__.py +58 -0
  60. aws_cdk/aws_entityresolution/__init__.py +145 -0
  61. aws_cdk/aws_events/__init__.py +290 -0
  62. aws_cdk/aws_evs/__init__.py +58 -4
  63. aws_cdk/aws_finspace/__init__.py +58 -0
  64. aws_cdk/aws_gamelift/__init__.py +507 -56
  65. aws_cdk/aws_glue/__init__.py +145 -0
  66. aws_cdk/aws_greengrass/__init__.py +464 -0
  67. aws_cdk/aws_groundstation/__init__.py +87 -0
  68. aws_cdk/aws_guardduty/__init__.py +87 -0
  69. aws_cdk/aws_healthimaging/__init__.py +58 -0
  70. aws_cdk/aws_healthlake/__init__.py +29 -0
  71. aws_cdk/aws_iam/__init__.py +1 -1
  72. aws_cdk/aws_internetmonitor/__init__.py +58 -0
  73. aws_cdk/aws_iot/__init__.py +957 -0
  74. aws_cdk/aws_iotanalytics/__init__.py +116 -0
  75. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
  76. aws_cdk/aws_iotevents/__init__.py +87 -0
  77. aws_cdk/aws_iotfleethub/__init__.py +58 -0
  78. aws_cdk/aws_iotfleetwise/__init__.py +116 -0
  79. aws_cdk/aws_iotsitewise/__init__.py +568 -111
  80. aws_cdk/aws_iottwinmaker/__init__.py +145 -0
  81. aws_cdk/aws_iotwireless/__init__.py +464 -0
  82. aws_cdk/aws_kendra/__init__.py +116 -0
  83. aws_cdk/aws_kinesis/__init__.py +58 -0
  84. aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
  85. aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
  86. aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
  87. aws_cdk/aws_kinesisvideo/__init__.py +29 -0
  88. aws_cdk/aws_kms/__init__.py +68 -2
  89. aws_cdk/aws_lambda/__init__.py +104 -0
  90. aws_cdk/aws_lex/__init__.py +29 -0
  91. aws_cdk/aws_location/__init__.py +348 -0
  92. aws_cdk/aws_logs/__init__.py +232 -0
  93. aws_cdk/aws_lookoutequipment/__init__.py +29 -0
  94. aws_cdk/aws_lookoutvision/__init__.py +58 -0
  95. aws_cdk/aws_managedblockchain/__init__.py +145 -0
  96. aws_cdk/aws_medialive/__init__.py +562 -0
  97. aws_cdk/aws_mediapackage/__init__.py +2 -2
  98. aws_cdk/aws_mediatailor/__init__.py +174 -0
  99. aws_cdk/aws_memorydb/__init__.py +203 -0
  100. aws_cdk/aws_mwaa/__init__.py +58 -0
  101. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  102. aws_cdk/aws_networkmanager/__init__.py +92 -0
  103. aws_cdk/aws_nimblestudio/__init__.py +29 -0
  104. aws_cdk/aws_odb/__init__.py +2082 -195
  105. aws_cdk/aws_omics/__init__.py +1520 -103
  106. aws_cdk/aws_opensearchserverless/__init__.py +222 -21
  107. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  108. aws_cdk/aws_opsworks/__init__.py +29 -0
  109. aws_cdk/aws_opsworkscm/__init__.py +29 -0
  110. aws_cdk/aws_organizations/__init__.py +116 -0
  111. aws_cdk/aws_panorama/__init__.py +116 -0
  112. aws_cdk/aws_pcs/__init__.py +9 -9
  113. aws_cdk/aws_pinpoint/__init__.py +116 -0
  114. aws_cdk/aws_qbusiness/__init__.py +232 -0
  115. aws_cdk/aws_qldb/__init__.py +29 -0
  116. aws_cdk/aws_quicksight/__init__.py +295 -3
  117. aws_cdk/aws_rds/__init__.py +402 -58
  118. aws_cdk/aws_redshift/__init__.py +29 -0
  119. aws_cdk/aws_rekognition/__init__.py +87 -0
  120. aws_cdk/aws_resourcegroups/__init__.py +58 -0
  121. aws_cdk/aws_rolesanywhere/__init__.py +145 -0
  122. aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
  123. aws_cdk/aws_route53resolver/__init__.py +29 -0
  124. aws_cdk/aws_s3/__init__.py +116 -0
  125. aws_cdk/aws_s3express/__init__.py +116 -0
  126. aws_cdk/aws_sagemaker/__init__.py +715 -1
  127. aws_cdk/aws_scheduler/__init__.py +29 -0
  128. aws_cdk/aws_secretsmanager/__init__.py +29 -0
  129. aws_cdk/aws_servicecatalog/__init__.py +191 -154
  130. aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
  131. aws_cdk/aws_servicediscovery/__init__.py +58 -0
  132. aws_cdk/aws_ses/__init__.py +261 -0
  133. aws_cdk/aws_simspaceweaver/__init__.py +29 -0
  134. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  135. aws_cdk/aws_ssm/__init__.py +87 -0
  136. aws_cdk/aws_synthetics/__init__.py +29 -0
  137. aws_cdk/aws_timestream/__init__.py +87 -0
  138. aws_cdk/aws_transfer/__init__.py +274 -12
  139. aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
  140. aws_cdk/aws_voiceid/__init__.py +29 -0
  141. aws_cdk/aws_wisdom/__init__.py +232 -0
  142. aws_cdk/aws_workspaces/__init__.py +58 -0
  143. aws_cdk/aws_workspacesinstances/__init__.py +670 -2
  144. aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
  145. aws_cdk/pipelines/__init__.py +5 -1
  146. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
  147. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
  148. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
  149. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
  150. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
  151. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/top_level.txt +0 -0
@@ -541,6 +541,48 @@ class CfnAssessment(
541
541
 
542
542
  jsii.create(self.__class__, self, [scope_, id, props])
543
543
 
544
+ @jsii.member(jsii_name="fromAssessmentArn")
545
+ @builtins.classmethod
546
+ def from_assessment_arn(
547
+ cls,
548
+ scope: _constructs_77d1e7e8.Construct,
549
+ id: builtins.str,
550
+ arn: builtins.str,
551
+ ) -> IAssessmentRef:
552
+ '''Creates a new IAssessmentRef from an ARN.
553
+
554
+ :param scope: -
555
+ :param id: -
556
+ :param arn: -
557
+ '''
558
+ if __debug__:
559
+ type_hints = typing.get_type_hints(_typecheckingstub__53998ced82653765b84ddead2a4dff0ff2e45ab68892348e05eacca82bb124dc)
560
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
561
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
562
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
563
+ return typing.cast(IAssessmentRef, jsii.sinvoke(cls, "fromAssessmentArn", [scope, id, arn]))
564
+
565
+ @jsii.member(jsii_name="fromAssessmentId")
566
+ @builtins.classmethod
567
+ def from_assessment_id(
568
+ cls,
569
+ scope: _constructs_77d1e7e8.Construct,
570
+ id: builtins.str,
571
+ assessment_id: builtins.str,
572
+ ) -> IAssessmentRef:
573
+ '''Creates a new IAssessmentRef from a assessmentId.
574
+
575
+ :param scope: -
576
+ :param id: -
577
+ :param assessment_id: -
578
+ '''
579
+ if __debug__:
580
+ type_hints = typing.get_type_hints(_typecheckingstub__43eb8aeb11f425b57f8a93b31b847effe83f1e71d092fac1c67aa18396a4326f)
581
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
582
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
583
+ check_type(argname="argument assessment_id", value=assessment_id, expected_type=type_hints["assessment_id"])
584
+ return typing.cast(IAssessmentRef, jsii.sinvoke(cls, "fromAssessmentId", [scope, id, assessment_id]))
585
+
544
586
  @jsii.member(jsii_name="inspect")
545
587
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
546
588
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1428,6 +1470,22 @@ def _typecheckingstub__92bc07048cc88ff5fa41ca724a6b42a6ae66b35846d9ddafe90b7f486
1428
1470
  """Type checking stubs"""
1429
1471
  pass
1430
1472
 
1473
+ def _typecheckingstub__53998ced82653765b84ddead2a4dff0ff2e45ab68892348e05eacca82bb124dc(
1474
+ scope: _constructs_77d1e7e8.Construct,
1475
+ id: builtins.str,
1476
+ arn: builtins.str,
1477
+ ) -> None:
1478
+ """Type checking stubs"""
1479
+ pass
1480
+
1481
+ def _typecheckingstub__43eb8aeb11f425b57f8a93b31b847effe83f1e71d092fac1c67aa18396a4326f(
1482
+ scope: _constructs_77d1e7e8.Construct,
1483
+ id: builtins.str,
1484
+ assessment_id: builtins.str,
1485
+ ) -> None:
1486
+ """Type checking stubs"""
1487
+ pass
1488
+
1431
1489
  def _typecheckingstub__03e38c1f5231f872be6e5945b84145421d5aa9adad701fbe2da3ed8f537a8bf5(
1432
1490
  inspector: _TreeInspector_488e0dd5,
1433
1491
  ) -> None:
@@ -4520,6 +4520,48 @@ class CfnBackupPlan(
4520
4520
 
4521
4521
  jsii.create(self.__class__, self, [scope, id, props])
4522
4522
 
4523
+ @jsii.member(jsii_name="fromBackupPlanArn")
4524
+ @builtins.classmethod
4525
+ def from_backup_plan_arn(
4526
+ cls,
4527
+ scope: _constructs_77d1e7e8.Construct,
4528
+ id: builtins.str,
4529
+ arn: builtins.str,
4530
+ ) -> IBackupPlanRef:
4531
+ '''Creates a new IBackupPlanRef from an ARN.
4532
+
4533
+ :param scope: -
4534
+ :param id: -
4535
+ :param arn: -
4536
+ '''
4537
+ if __debug__:
4538
+ type_hints = typing.get_type_hints(_typecheckingstub__19a621581dc951af9f595672bab4c44806829db988a9a543e73c82aa211347cc)
4539
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4540
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4541
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
4542
+ return typing.cast(IBackupPlanRef, jsii.sinvoke(cls, "fromBackupPlanArn", [scope, id, arn]))
4543
+
4544
+ @jsii.member(jsii_name="fromBackupPlanId")
4545
+ @builtins.classmethod
4546
+ def from_backup_plan_id(
4547
+ cls,
4548
+ scope: _constructs_77d1e7e8.Construct,
4549
+ id: builtins.str,
4550
+ backup_plan_id: builtins.str,
4551
+ ) -> IBackupPlanRef:
4552
+ '''Creates a new IBackupPlanRef from a backupPlanId.
4553
+
4554
+ :param scope: -
4555
+ :param id: -
4556
+ :param backup_plan_id: -
4557
+ '''
4558
+ if __debug__:
4559
+ type_hints = typing.get_type_hints(_typecheckingstub__c10f5f2e9e380d8e917a10f74122d09d2b555c99380ffa6da4e01197e1e097dd)
4560
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4561
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4562
+ check_type(argname="argument backup_plan_id", value=backup_plan_id, expected_type=type_hints["backup_plan_id"])
4563
+ return typing.cast(IBackupPlanRef, jsii.sinvoke(cls, "fromBackupPlanId", [scope, id, backup_plan_id]))
4564
+
4523
4565
  @jsii.member(jsii_name="inspect")
4524
4566
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4525
4567
  '''Examines the CloudFormation resource and discloses attributes.
@@ -6087,6 +6129,48 @@ class CfnBackupVault(
6087
6129
 
6088
6130
  jsii.create(self.__class__, self, [scope, id, props])
6089
6131
 
6132
+ @jsii.member(jsii_name="fromBackupVaultArn")
6133
+ @builtins.classmethod
6134
+ def from_backup_vault_arn(
6135
+ cls,
6136
+ scope: _constructs_77d1e7e8.Construct,
6137
+ id: builtins.str,
6138
+ arn: builtins.str,
6139
+ ) -> IBackupVaultRef:
6140
+ '''Creates a new IBackupVaultRef from an ARN.
6141
+
6142
+ :param scope: -
6143
+ :param id: -
6144
+ :param arn: -
6145
+ '''
6146
+ if __debug__:
6147
+ type_hints = typing.get_type_hints(_typecheckingstub__2986d116c33dbb1dc995c507e7df9b0cf2f344f357d0a1404d0c2ece4c1fc5b2)
6148
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
6149
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
6150
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
6151
+ return typing.cast(IBackupVaultRef, jsii.sinvoke(cls, "fromBackupVaultArn", [scope, id, arn]))
6152
+
6153
+ @jsii.member(jsii_name="fromBackupVaultName")
6154
+ @builtins.classmethod
6155
+ def from_backup_vault_name(
6156
+ cls,
6157
+ scope: _constructs_77d1e7e8.Construct,
6158
+ id: builtins.str,
6159
+ backup_vault_name: builtins.str,
6160
+ ) -> IBackupVaultRef:
6161
+ '''Creates a new IBackupVaultRef from a backupVaultName.
6162
+
6163
+ :param scope: -
6164
+ :param id: -
6165
+ :param backup_vault_name: -
6166
+ '''
6167
+ if __debug__:
6168
+ type_hints = typing.get_type_hints(_typecheckingstub__cc137647a726cfa7058e572fdb03e73df8b9f52e786f61edcd64eb6c3fc59645)
6169
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
6170
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
6171
+ check_type(argname="argument backup_vault_name", value=backup_vault_name, expected_type=type_hints["backup_vault_name"])
6172
+ return typing.cast(IBackupVaultRef, jsii.sinvoke(cls, "fromBackupVaultName", [scope, id, backup_vault_name]))
6173
+
6090
6174
  @jsii.member(jsii_name="inspect")
6091
6175
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
6092
6176
  '''Examines the CloudFormation resource and discloses attributes.
@@ -7792,6 +7876,27 @@ class CfnRestoreTestingPlan(
7792
7876
 
7793
7877
  jsii.create(self.__class__, self, [scope, id, props])
7794
7878
 
7879
+ @jsii.member(jsii_name="fromRestoreTestingPlanArn")
7880
+ @builtins.classmethod
7881
+ def from_restore_testing_plan_arn(
7882
+ cls,
7883
+ scope: _constructs_77d1e7e8.Construct,
7884
+ id: builtins.str,
7885
+ arn: builtins.str,
7886
+ ) -> IRestoreTestingPlanRef:
7887
+ '''Creates a new IRestoreTestingPlanRef from an ARN.
7888
+
7889
+ :param scope: -
7890
+ :param id: -
7891
+ :param arn: -
7892
+ '''
7893
+ if __debug__:
7894
+ type_hints = typing.get_type_hints(_typecheckingstub__f47a7b3e034a517883e53c07ea077732197f8b6f1c58c90dc62e677611bcf32b)
7895
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
7896
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
7897
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
7898
+ return typing.cast(IRestoreTestingPlanRef, jsii.sinvoke(cls, "fromRestoreTestingPlanArn", [scope, id, arn]))
7899
+
7795
7900
  @jsii.member(jsii_name="inspect")
7796
7901
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
7797
7902
  '''Examines the CloudFormation resource and discloses attributes.
@@ -9020,6 +9125,22 @@ def _typecheckingstub__8250888ac08b345ef300cc4ce53cc267858e31401cdc7b6a427c98f5b
9020
9125
  """Type checking stubs"""
9021
9126
  pass
9022
9127
 
9128
+ def _typecheckingstub__19a621581dc951af9f595672bab4c44806829db988a9a543e73c82aa211347cc(
9129
+ scope: _constructs_77d1e7e8.Construct,
9130
+ id: builtins.str,
9131
+ arn: builtins.str,
9132
+ ) -> None:
9133
+ """Type checking stubs"""
9134
+ pass
9135
+
9136
+ def _typecheckingstub__c10f5f2e9e380d8e917a10f74122d09d2b555c99380ffa6da4e01197e1e097dd(
9137
+ scope: _constructs_77d1e7e8.Construct,
9138
+ id: builtins.str,
9139
+ backup_plan_id: builtins.str,
9140
+ ) -> None:
9141
+ """Type checking stubs"""
9142
+ pass
9143
+
9023
9144
  def _typecheckingstub__ff313ad9e84c3475e4286a17d3e066d3b8ff12dcdde29c7a2727bf7529fa7fbb(
9024
9145
  inspector: _TreeInspector_488e0dd5,
9025
9146
  ) -> None:
@@ -9189,6 +9310,22 @@ def _typecheckingstub__91f579bea882f82608d503a3e561568131d8e8e6d825c152c63d59622
9189
9310
  """Type checking stubs"""
9190
9311
  pass
9191
9312
 
9313
+ def _typecheckingstub__2986d116c33dbb1dc995c507e7df9b0cf2f344f357d0a1404d0c2ece4c1fc5b2(
9314
+ scope: _constructs_77d1e7e8.Construct,
9315
+ id: builtins.str,
9316
+ arn: builtins.str,
9317
+ ) -> None:
9318
+ """Type checking stubs"""
9319
+ pass
9320
+
9321
+ def _typecheckingstub__cc137647a726cfa7058e572fdb03e73df8b9f52e786f61edcd64eb6c3fc59645(
9322
+ scope: _constructs_77d1e7e8.Construct,
9323
+ id: builtins.str,
9324
+ backup_vault_name: builtins.str,
9325
+ ) -> None:
9326
+ """Type checking stubs"""
9327
+ pass
9328
+
9192
9329
  def _typecheckingstub__c5303f64257feccbaac430e6766ee8dd85d8293dcda5a0b514f9128fa193e156(
9193
9330
  inspector: _TreeInspector_488e0dd5,
9194
9331
  ) -> None:
@@ -9487,6 +9624,14 @@ def _typecheckingstub__ce1d12683247bbd0bcd185e807f3b41b4b53ee7cfd847d57ecbf875d4
9487
9624
  """Type checking stubs"""
9488
9625
  pass
9489
9626
 
9627
+ def _typecheckingstub__f47a7b3e034a517883e53c07ea077732197f8b6f1c58c90dc62e677611bcf32b(
9628
+ scope: _constructs_77d1e7e8.Construct,
9629
+ id: builtins.str,
9630
+ arn: builtins.str,
9631
+ ) -> None:
9632
+ """Type checking stubs"""
9633
+ pass
9634
+
9490
9635
  def _typecheckingstub__d5ba5ffd43036caff767719ec070ceb8bbd591fd4d39ca36636cd2d29d4a56ff(
9491
9636
  inspector: _TreeInspector_488e0dd5,
9492
9637
  ) -> None:
@@ -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::
@@ -15226,6 +15230,48 @@ class CfnJobDefinition(
15226
15230
 
15227
15231
  jsii.create(self.__class__, self, [scope, id, props])
15228
15232
 
15233
+ @jsii.member(jsii_name="fromJobDefinitionArn")
15234
+ @builtins.classmethod
15235
+ def from_job_definition_arn(
15236
+ cls,
15237
+ scope: _constructs_77d1e7e8.Construct,
15238
+ id: builtins.str,
15239
+ arn: builtins.str,
15240
+ ) -> IJobDefinitionRef:
15241
+ '''Creates a new IJobDefinitionRef from an ARN.
15242
+
15243
+ :param scope: -
15244
+ :param id: -
15245
+ :param arn: -
15246
+ '''
15247
+ if __debug__:
15248
+ type_hints = typing.get_type_hints(_typecheckingstub__9eb64c713801d4b9b5ffb80a279b71c78cb6317fd0c771df22f2646f9d957f0d)
15249
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
15250
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
15251
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
15252
+ return typing.cast(IJobDefinitionRef, jsii.sinvoke(cls, "fromJobDefinitionArn", [scope, id, arn]))
15253
+
15254
+ @jsii.member(jsii_name="fromJobDefinitionName")
15255
+ @builtins.classmethod
15256
+ def from_job_definition_name(
15257
+ cls,
15258
+ scope: _constructs_77d1e7e8.Construct,
15259
+ id: builtins.str,
15260
+ job_definition_name: builtins.str,
15261
+ ) -> IJobDefinitionRef:
15262
+ '''Creates a new IJobDefinitionRef from a jobDefinitionName.
15263
+
15264
+ :param scope: -
15265
+ :param id: -
15266
+ :param job_definition_name: -
15267
+ '''
15268
+ if __debug__:
15269
+ type_hints = typing.get_type_hints(_typecheckingstub__825692ecdcf61885a93251433de856e5a5f6a3a7d68b8673883d418e98bd1956)
15270
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
15271
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
15272
+ check_type(argname="argument job_definition_name", value=job_definition_name, expected_type=type_hints["job_definition_name"])
15273
+ return typing.cast(IJobDefinitionRef, jsii.sinvoke(cls, "fromJobDefinitionName", [scope, id, job_definition_name]))
15274
+
15229
15275
  @jsii.member(jsii_name="inspect")
15230
15276
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
15231
15277
  '''Examines the CloudFormation resource and discloses attributes.
@@ -27391,6 +27437,22 @@ def _typecheckingstub__37959c68856ab28ea1a57515db976bc2215806d52c75f6166834df6ae
27391
27437
  """Type checking stubs"""
27392
27438
  pass
27393
27439
 
27440
+ def _typecheckingstub__9eb64c713801d4b9b5ffb80a279b71c78cb6317fd0c771df22f2646f9d957f0d(
27441
+ scope: _constructs_77d1e7e8.Construct,
27442
+ id: builtins.str,
27443
+ arn: builtins.str,
27444
+ ) -> None:
27445
+ """Type checking stubs"""
27446
+ pass
27447
+
27448
+ def _typecheckingstub__825692ecdcf61885a93251433de856e5a5f6a3a7d68b8673883d418e98bd1956(
27449
+ scope: _constructs_77d1e7e8.Construct,
27450
+ id: builtins.str,
27451
+ job_definition_name: builtins.str,
27452
+ ) -> None:
27453
+ """Type checking stubs"""
27454
+ pass
27455
+
27394
27456
  def _typecheckingstub__84b6af858f7642dbc10029a34c2ed90c61a840b3c9d8a639fbe0690b4aa593d9(
27395
27457
  inspector: _TreeInspector_488e0dd5,
27396
27458
  ) -> None: