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
@@ -1513,6 +1513,27 @@ class CfnOrganization(
1513
1513
 
1514
1514
  jsii.create(self.__class__, self, [scope, id, props])
1515
1515
 
1516
+ @jsii.member(jsii_name="fromOrganizationArn")
1517
+ @builtins.classmethod
1518
+ def from_organization_arn(
1519
+ cls,
1520
+ scope: _constructs_77d1e7e8.Construct,
1521
+ id: builtins.str,
1522
+ arn: builtins.str,
1523
+ ) -> IOrganizationRef:
1524
+ '''Creates a new IOrganizationRef from an ARN.
1525
+
1526
+ :param scope: -
1527
+ :param id: -
1528
+ :param arn: -
1529
+ '''
1530
+ if __debug__:
1531
+ type_hints = typing.get_type_hints(_typecheckingstub__515848a45ac1a11e94d10eb67b5e95998c0de9463e4e884bdcf825dd5ba51a78)
1532
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1533
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1534
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
1535
+ return typing.cast(IOrganizationRef, jsii.sinvoke(cls, "fromOrganizationArn", [scope, id, arn]))
1536
+
1516
1537
  @jsii.member(jsii_name="inspect")
1517
1538
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1518
1539
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1687,6 +1708,27 @@ class CfnOrganizationalUnit(
1687
1708
 
1688
1709
  jsii.create(self.__class__, self, [scope, id, props])
1689
1710
 
1711
+ @jsii.member(jsii_name="fromOrganizationalUnitArn")
1712
+ @builtins.classmethod
1713
+ def from_organizational_unit_arn(
1714
+ cls,
1715
+ scope: _constructs_77d1e7e8.Construct,
1716
+ id: builtins.str,
1717
+ arn: builtins.str,
1718
+ ) -> IOrganizationalUnitRef:
1719
+ '''Creates a new IOrganizationalUnitRef from an ARN.
1720
+
1721
+ :param scope: -
1722
+ :param id: -
1723
+ :param arn: -
1724
+ '''
1725
+ if __debug__:
1726
+ type_hints = typing.get_type_hints(_typecheckingstub__03592f7b01a6f8ddca2d70c028bd30d41c1e1e7673d1f09e0c518ae88c596b85)
1727
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1728
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1729
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
1730
+ return typing.cast(IOrganizationalUnitRef, jsii.sinvoke(cls, "fromOrganizationalUnitArn", [scope, id, arn]))
1731
+
1690
1732
  @jsii.member(jsii_name="inspect")
1691
1733
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1692
1734
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1877,6 +1919,27 @@ class CfnPolicy(
1877
1919
 
1878
1920
  jsii.create(self.__class__, self, [scope, id, props])
1879
1921
 
1922
+ @jsii.member(jsii_name="fromPolicyArn")
1923
+ @builtins.classmethod
1924
+ def from_policy_arn(
1925
+ cls,
1926
+ scope: _constructs_77d1e7e8.Construct,
1927
+ id: builtins.str,
1928
+ arn: builtins.str,
1929
+ ) -> IPolicyRef:
1930
+ '''Creates a new IPolicyRef from an ARN.
1931
+
1932
+ :param scope: -
1933
+ :param id: -
1934
+ :param arn: -
1935
+ '''
1936
+ if __debug__:
1937
+ type_hints = typing.get_type_hints(_typecheckingstub__c3f1c0ab279b67e9d070030146738cd68d5527bbbd1348d1af95c6ae82aee964)
1938
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1939
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1940
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
1941
+ return typing.cast(IPolicyRef, jsii.sinvoke(cls, "fromPolicyArn", [scope, id, arn]))
1942
+
1880
1943
  @jsii.member(jsii_name="inspect")
1881
1944
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1882
1945
  '''Examines the CloudFormation resource and discloses attributes.
@@ -2096,6 +2159,27 @@ class CfnResourcePolicy(
2096
2159
 
2097
2160
  jsii.create(self.__class__, self, [scope, id, props])
2098
2161
 
2162
+ @jsii.member(jsii_name="fromResourcePolicyArn")
2163
+ @builtins.classmethod
2164
+ def from_resource_policy_arn(
2165
+ cls,
2166
+ scope: _constructs_77d1e7e8.Construct,
2167
+ id: builtins.str,
2168
+ arn: builtins.str,
2169
+ ) -> IResourcePolicyRef:
2170
+ '''Creates a new IResourcePolicyRef from an ARN.
2171
+
2172
+ :param scope: -
2173
+ :param id: -
2174
+ :param arn: -
2175
+ '''
2176
+ if __debug__:
2177
+ type_hints = typing.get_type_hints(_typecheckingstub__26577d2abcd168bbb27ce47e6969e6dc2d8cdcc945dbb56f84cd9fac2e3cd336)
2178
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2179
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2180
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
2181
+ return typing.cast(IResourcePolicyRef, jsii.sinvoke(cls, "fromResourcePolicyArn", [scope, id, arn]))
2182
+
2099
2183
  @jsii.member(jsii_name="inspect")
2100
2184
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
2101
2185
  '''Examines the CloudFormation resource and discloses attributes.
@@ -2368,6 +2452,14 @@ def _typecheckingstub__450a54c6b7334fcb8f406a9a29b8e1f90a618bcbd127f2d5a6a9fa43f
2368
2452
  """Type checking stubs"""
2369
2453
  pass
2370
2454
 
2455
+ def _typecheckingstub__515848a45ac1a11e94d10eb67b5e95998c0de9463e4e884bdcf825dd5ba51a78(
2456
+ scope: _constructs_77d1e7e8.Construct,
2457
+ id: builtins.str,
2458
+ arn: builtins.str,
2459
+ ) -> None:
2460
+ """Type checking stubs"""
2461
+ pass
2462
+
2371
2463
  def _typecheckingstub__a0b1a88993c76738edf5e9d3584d058cabe1cfc259fb5d620589d5c23507de91(
2372
2464
  inspector: _TreeInspector_488e0dd5,
2373
2465
  ) -> None:
@@ -2397,6 +2489,14 @@ def _typecheckingstub__05eb3e3a6c1c8de7f03913252600dcc42e4c1e99dbbab3f47a3fb8e4c
2397
2489
  """Type checking stubs"""
2398
2490
  pass
2399
2491
 
2492
+ def _typecheckingstub__03592f7b01a6f8ddca2d70c028bd30d41c1e1e7673d1f09e0c518ae88c596b85(
2493
+ scope: _constructs_77d1e7e8.Construct,
2494
+ id: builtins.str,
2495
+ arn: builtins.str,
2496
+ ) -> None:
2497
+ """Type checking stubs"""
2498
+ pass
2499
+
2400
2500
  def _typecheckingstub__b0f1c1e40ee57749b1e3e89c931bad8d33532e5bc09dccfa20942e74efb5d7d5(
2401
2501
  inspector: _TreeInspector_488e0dd5,
2402
2502
  ) -> None:
@@ -2441,6 +2541,14 @@ def _typecheckingstub__9c8ac465f7818132d3539ff8d8e22250305dad104185434533d033da8
2441
2541
  """Type checking stubs"""
2442
2542
  pass
2443
2543
 
2544
+ def _typecheckingstub__c3f1c0ab279b67e9d070030146738cd68d5527bbbd1348d1af95c6ae82aee964(
2545
+ scope: _constructs_77d1e7e8.Construct,
2546
+ id: builtins.str,
2547
+ arn: builtins.str,
2548
+ ) -> None:
2549
+ """Type checking stubs"""
2550
+ pass
2551
+
2444
2552
  def _typecheckingstub__08e107e9c8d61d1f582ba132c6a4d229d6f0e045a4e54986638403cf2fea7f0d(
2445
2553
  inspector: _TreeInspector_488e0dd5,
2446
2554
  ) -> None:
@@ -2499,6 +2607,14 @@ def _typecheckingstub__d9208421dfafb85e674bb3b797871f578fa0566480e15ed57d8dbc67f
2499
2607
  """Type checking stubs"""
2500
2608
  pass
2501
2609
 
2610
+ def _typecheckingstub__26577d2abcd168bbb27ce47e6969e6dc2d8cdcc945dbb56f84cd9fac2e3cd336(
2611
+ scope: _constructs_77d1e7e8.Construct,
2612
+ id: builtins.str,
2613
+ arn: builtins.str,
2614
+ ) -> None:
2615
+ """Type checking stubs"""
2616
+ pass
2617
+
2502
2618
  def _typecheckingstub__e3580a73dde22a778909b428073f1b84b8c546326b9e40056a8a6853799683bf(
2503
2619
  inspector: _TreeInspector_488e0dd5,
2504
2620
  ) -> None:
@@ -923,6 +923,48 @@ class CfnApplicationInstance(
923
923
 
924
924
  jsii.create(self.__class__, self, [scope, id, props])
925
925
 
926
+ @jsii.member(jsii_name="fromApplicationInstanceArn")
927
+ @builtins.classmethod
928
+ def from_application_instance_arn(
929
+ cls,
930
+ scope: _constructs_77d1e7e8.Construct,
931
+ id: builtins.str,
932
+ arn: builtins.str,
933
+ ) -> IApplicationInstanceRef:
934
+ '''Creates a new IApplicationInstanceRef from an ARN.
935
+
936
+ :param scope: -
937
+ :param id: -
938
+ :param arn: -
939
+ '''
940
+ if __debug__:
941
+ type_hints = typing.get_type_hints(_typecheckingstub__a9f4f68f6afad3612ec12bf875c21240c719f76be3cb147ecb5aa8e2041ee7b3)
942
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
943
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
944
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
945
+ return typing.cast(IApplicationInstanceRef, jsii.sinvoke(cls, "fromApplicationInstanceArn", [scope, id, arn]))
946
+
947
+ @jsii.member(jsii_name="fromApplicationInstanceId")
948
+ @builtins.classmethod
949
+ def from_application_instance_id(
950
+ cls,
951
+ scope: _constructs_77d1e7e8.Construct,
952
+ id: builtins.str,
953
+ application_instance_id: builtins.str,
954
+ ) -> IApplicationInstanceRef:
955
+ '''Creates a new IApplicationInstanceRef from a applicationInstanceId.
956
+
957
+ :param scope: -
958
+ :param id: -
959
+ :param application_instance_id: -
960
+ '''
961
+ if __debug__:
962
+ type_hints = typing.get_type_hints(_typecheckingstub__cf3c71beda280e35f7832b3400f0af821e251042c4f89db4b42f5975db8cb61e)
963
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
964
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
965
+ check_type(argname="argument application_instance_id", value=application_instance_id, expected_type=type_hints["application_instance_id"])
966
+ return typing.cast(IApplicationInstanceRef, jsii.sinvoke(cls, "fromApplicationInstanceId", [scope, id, application_instance_id]))
967
+
926
968
  @jsii.member(jsii_name="inspect")
927
969
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
928
970
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1345,6 +1387,48 @@ class CfnPackage(
1345
1387
 
1346
1388
  jsii.create(self.__class__, self, [scope, id, props])
1347
1389
 
1390
+ @jsii.member(jsii_name="fromPackageArn")
1391
+ @builtins.classmethod
1392
+ def from_package_arn(
1393
+ cls,
1394
+ scope: _constructs_77d1e7e8.Construct,
1395
+ id: builtins.str,
1396
+ arn: builtins.str,
1397
+ ) -> IPackageRef:
1398
+ '''Creates a new IPackageRef from an ARN.
1399
+
1400
+ :param scope: -
1401
+ :param id: -
1402
+ :param arn: -
1403
+ '''
1404
+ if __debug__:
1405
+ type_hints = typing.get_type_hints(_typecheckingstub__dbb1b4451fa22057cbdadb664b6b5291a345b0219fd29e15b98a5e75bc902dc5)
1406
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1407
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1408
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
1409
+ return typing.cast(IPackageRef, jsii.sinvoke(cls, "fromPackageArn", [scope, id, arn]))
1410
+
1411
+ @jsii.member(jsii_name="fromPackageId")
1412
+ @builtins.classmethod
1413
+ def from_package_id(
1414
+ cls,
1415
+ scope: _constructs_77d1e7e8.Construct,
1416
+ id: builtins.str,
1417
+ package_id: builtins.str,
1418
+ ) -> IPackageRef:
1419
+ '''Creates a new IPackageRef from a packageId.
1420
+
1421
+ :param scope: -
1422
+ :param id: -
1423
+ :param package_id: -
1424
+ '''
1425
+ if __debug__:
1426
+ type_hints = typing.get_type_hints(_typecheckingstub__036c08570129c334f6bca1d78d3bbd858ea49a86a6495c2d28a66c5f7fdd60a9)
1427
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1428
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1429
+ check_type(argname="argument package_id", value=package_id, expected_type=type_hints["package_id"])
1430
+ return typing.cast(IPackageRef, jsii.sinvoke(cls, "fromPackageId", [scope, id, package_id]))
1431
+
1348
1432
  @jsii.member(jsii_name="inspect")
1349
1433
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1350
1434
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1981,6 +2065,22 @@ def _typecheckingstub__efd0ba4cd6c0b4ee9023df6f956444617b610a622dce5eb667859d9d3
1981
2065
  """Type checking stubs"""
1982
2066
  pass
1983
2067
 
2068
+ def _typecheckingstub__a9f4f68f6afad3612ec12bf875c21240c719f76be3cb147ecb5aa8e2041ee7b3(
2069
+ scope: _constructs_77d1e7e8.Construct,
2070
+ id: builtins.str,
2071
+ arn: builtins.str,
2072
+ ) -> None:
2073
+ """Type checking stubs"""
2074
+ pass
2075
+
2076
+ def _typecheckingstub__cf3c71beda280e35f7832b3400f0af821e251042c4f89db4b42f5975db8cb61e(
2077
+ scope: _constructs_77d1e7e8.Construct,
2078
+ id: builtins.str,
2079
+ application_instance_id: builtins.str,
2080
+ ) -> None:
2081
+ """Type checking stubs"""
2082
+ pass
2083
+
1984
2084
  def _typecheckingstub__f02c8fd6f1a71465462afea3d559ebb5b8ea0af1bc67afc99474bf782789ec30(
1985
2085
  inspector: _TreeInspector_488e0dd5,
1986
2086
  ) -> None:
@@ -2066,6 +2166,22 @@ def _typecheckingstub__014b23b28acc37a82edebe15e1628f0ee03393a0354f498b25ce8519a
2066
2166
  """Type checking stubs"""
2067
2167
  pass
2068
2168
 
2169
+ def _typecheckingstub__dbb1b4451fa22057cbdadb664b6b5291a345b0219fd29e15b98a5e75bc902dc5(
2170
+ scope: _constructs_77d1e7e8.Construct,
2171
+ id: builtins.str,
2172
+ arn: builtins.str,
2173
+ ) -> None:
2174
+ """Type checking stubs"""
2175
+ pass
2176
+
2177
+ def _typecheckingstub__036c08570129c334f6bca1d78d3bbd858ea49a86a6495c2d28a66c5f7fdd60a9(
2178
+ scope: _constructs_77d1e7e8.Construct,
2179
+ id: builtins.str,
2180
+ package_id: builtins.str,
2181
+ ) -> None:
2182
+ """Type checking stubs"""
2183
+ pass
2184
+
2069
2185
  def _typecheckingstub__d571cb582323b52428cb462f12dd0ba0765010a338ed79ea157b3fc920aa535a(
2070
2186
  inspector: _TreeInspector_488e0dd5,
2071
2187
  ) -> None:
@@ -296,7 +296,7 @@ class CfnComputeNodeGroupProps:
296
296
  :param cluster_id: The ID of the cluster of the compute node group.
297
297
  :param custom_launch_template: An Amazon EC2 launch template AWS PCS uses to launch compute nodes.
298
298
  :param iam_instance_profile_arn: The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the ``pcs:RegisterComputeNodeGroupInstance`` permission and the role name must start with ``AWSPCS`` or must have the path ``/aws-pcs/`` . For more information, see `IAM instance profiles for AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/security-instance-profiles.html>`_ in the *AWS PCS User Guide* .
299
- :param instance_configs: A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.
299
+ :param instance_configs: A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
300
300
  :param scaling_configuration: Specifies the boundaries of the compute node group auto scaling.
301
301
  :param subnet_ids: The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
302
302
  :param ami_id: The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
@@ -424,7 +424,7 @@ class CfnComputeNodeGroupProps:
424
424
  def instance_configs(
425
425
  self,
426
426
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputeNodeGroup.InstanceConfigProperty"]]]:
427
- '''A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.
427
+ '''A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
428
428
 
429
429
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-instanceconfigs
430
430
  '''
@@ -1307,7 +1307,7 @@ class CfnCluster(
1307
1307
  ) -> None:
1308
1308
  '''The shared Slurm key for authentication, also known as the *cluster secret* .
1309
1309
 
1310
- :param secret_arn: The Amazon Resource Name (ARN) of the the shared Slurm key.
1310
+ :param secret_arn: The Amazon Resource Name (ARN) of the shared Slurm key.
1311
1311
  :param secret_version: The version of the shared Slurm key.
1312
1312
 
1313
1313
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-authkey.html
@@ -1335,7 +1335,7 @@ class CfnCluster(
1335
1335
 
1336
1336
  @builtins.property
1337
1337
  def secret_arn(self) -> builtins.str:
1338
- '''The Amazon Resource Name (ARN) of the the shared Slurm key.
1338
+ '''The Amazon Resource Name (ARN) of the shared Slurm key.
1339
1339
 
1340
1340
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-authkey.html#cfn-pcs-cluster-authkey-secretarn
1341
1341
  '''
@@ -2042,7 +2042,7 @@ class CfnComputeNodeGroup(
2042
2042
  :param cluster_id: The ID of the cluster of the compute node group.
2043
2043
  :param custom_launch_template: An Amazon EC2 launch template AWS PCS uses to launch compute nodes.
2044
2044
  :param iam_instance_profile_arn: The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the ``pcs:RegisterComputeNodeGroupInstance`` permission and the role name must start with ``AWSPCS`` or must have the path ``/aws-pcs/`` . For more information, see `IAM instance profiles for AWS PCS <https://docs.aws.amazon.com//pcs/latest/userguide/security-instance-profiles.html>`_ in the *AWS PCS User Guide* .
2045
- :param instance_configs: A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.
2045
+ :param instance_configs: A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
2046
2046
  :param scaling_configuration: Specifies the boundaries of the compute node group auto scaling.
2047
2047
  :param subnet_ids: The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
2048
2048
  :param ami_id: The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
@@ -2209,7 +2209,7 @@ class CfnComputeNodeGroup(
2209
2209
  def instance_configs(
2210
2210
  self,
2211
2211
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputeNodeGroup.InstanceConfigProperty"]]]:
2212
- '''A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.'''
2212
+ '''A list of EC2 instance configurations that AWS PCS can provision in the compute node group.'''
2213
2213
  return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputeNodeGroup.InstanceConfigProperty"]]], jsii.get(self, "instanceConfigs"))
2214
2214
 
2215
2215
  @instance_configs.setter
@@ -2779,7 +2779,7 @@ class CfnComputeNodeGroup(
2779
2779
  ) -> None:
2780
2780
  '''Additional configuration when you specify ``SPOT`` as the ``purchaseOption`` for the ``CreateComputeNodeGroup`` API action.
2781
2781
 
2782
- :param allocation_strategy: The Amazon EC2 allocation strategy AWS AWS PCS uses to provision EC2 instances. AWS AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2782
+ :param allocation_strategy: The Amazon EC2 allocation strategy AWS PCS uses to provision EC2 instances. AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2783
2783
 
2784
2784
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-spotoptions.html
2785
2785
  :exampleMetadata: fixture=_generated
@@ -2803,9 +2803,9 @@ class CfnComputeNodeGroup(
2803
2803
 
2804
2804
  @builtins.property
2805
2805
  def allocation_strategy(self) -> typing.Optional[builtins.str]:
2806
- '''The Amazon EC2 allocation strategy AWS AWS PCS uses to provision EC2 instances.
2806
+ '''The Amazon EC2 allocation strategy AWS PCS uses to provision EC2 instances.
2807
2807
 
2808
- AWS AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2808
+ AWS PCS supports *lowest price* , *capacity optimized* , and *price capacity optimized* . For more information, see `Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html>`_ in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to *price capacity optimized* .
2809
2809
 
2810
2810
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-spotoptions.html#cfn-pcs-computenodegroup-spotoptions-allocationstrategy
2811
2811
  '''
@@ -6777,6 +6777,48 @@ class CfnApp(
6777
6777
 
6778
6778
  jsii.create(self.__class__, self, [scope, id, props])
6779
6779
 
6780
+ @jsii.member(jsii_name="fromAppArn")
6781
+ @builtins.classmethod
6782
+ def from_app_arn(
6783
+ cls,
6784
+ scope: _constructs_77d1e7e8.Construct,
6785
+ id: builtins.str,
6786
+ arn: builtins.str,
6787
+ ) -> IAppRef:
6788
+ '''Creates a new IAppRef from an ARN.
6789
+
6790
+ :param scope: -
6791
+ :param id: -
6792
+ :param arn: -
6793
+ '''
6794
+ if __debug__:
6795
+ type_hints = typing.get_type_hints(_typecheckingstub__70f0e32e7cd279e91fc578d15e5825d6dcb28ef1b582e7668a98f90634869397)
6796
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
6797
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
6798
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
6799
+ return typing.cast(IAppRef, jsii.sinvoke(cls, "fromAppArn", [scope, id, arn]))
6800
+
6801
+ @jsii.member(jsii_name="fromAppId")
6802
+ @builtins.classmethod
6803
+ def from_app_id(
6804
+ cls,
6805
+ scope: _constructs_77d1e7e8.Construct,
6806
+ id: builtins.str,
6807
+ app_id: builtins.str,
6808
+ ) -> IAppRef:
6809
+ '''Creates a new IAppRef from a appId.
6810
+
6811
+ :param scope: -
6812
+ :param id: -
6813
+ :param app_id: -
6814
+ '''
6815
+ if __debug__:
6816
+ type_hints = typing.get_type_hints(_typecheckingstub__a2975d35784fc720a55f6e6753dfa83c2c5fbcdf77820d02fea580038ac4febd)
6817
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
6818
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
6819
+ check_type(argname="argument app_id", value=app_id, expected_type=type_hints["app_id"])
6820
+ return typing.cast(IAppRef, jsii.sinvoke(cls, "fromAppId", [scope, id, app_id]))
6821
+
6780
6822
  @jsii.member(jsii_name="inspect")
6781
6823
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
6782
6824
  '''Examines the CloudFormation resource and discloses attributes.
@@ -8052,6 +8094,27 @@ class CfnCampaign(
8052
8094
 
8053
8095
  jsii.create(self.__class__, self, [scope, id, props])
8054
8096
 
8097
+ @jsii.member(jsii_name="fromCampaignArn")
8098
+ @builtins.classmethod
8099
+ def from_campaign_arn(
8100
+ cls,
8101
+ scope: _constructs_77d1e7e8.Construct,
8102
+ id: builtins.str,
8103
+ arn: builtins.str,
8104
+ ) -> ICampaignRef:
8105
+ '''Creates a new ICampaignRef from an ARN.
8106
+
8107
+ :param scope: -
8108
+ :param id: -
8109
+ :param arn: -
8110
+ '''
8111
+ if __debug__:
8112
+ type_hints = typing.get_type_hints(_typecheckingstub__ab591ee16a73472ae59021eed25e4aed98dd4fa5ba18769df90d60eb0376628e)
8113
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
8114
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
8115
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
8116
+ return typing.cast(ICampaignRef, jsii.sinvoke(cls, "fromCampaignArn", [scope, id, arn]))
8117
+
8055
8118
  @jsii.member(jsii_name="inspect")
8056
8119
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
8057
8120
  '''Examines the CloudFormation resource and discloses attributes.
@@ -14650,6 +14713,27 @@ class CfnSegment(
14650
14713
 
14651
14714
  jsii.create(self.__class__, self, [scope, id, props])
14652
14715
 
14716
+ @jsii.member(jsii_name="fromSegmentArn")
14717
+ @builtins.classmethod
14718
+ def from_segment_arn(
14719
+ cls,
14720
+ scope: _constructs_77d1e7e8.Construct,
14721
+ id: builtins.str,
14722
+ arn: builtins.str,
14723
+ ) -> ISegmentRef:
14724
+ '''Creates a new ISegmentRef from an ARN.
14725
+
14726
+ :param scope: -
14727
+ :param id: -
14728
+ :param arn: -
14729
+ '''
14730
+ if __debug__:
14731
+ type_hints = typing.get_type_hints(_typecheckingstub__bc304a7477cb00665c766619671fb5c20dbf4598b1c401d36d4cda5b8640cf6b)
14732
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
14733
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
14734
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
14735
+ return typing.cast(ISegmentRef, jsii.sinvoke(cls, "fromSegmentArn", [scope, id, arn]))
14736
+
14653
14737
  @jsii.member(jsii_name="inspect")
14654
14738
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
14655
14739
  '''Examines the CloudFormation resource and discloses attributes.
@@ -17222,6 +17306,22 @@ def _typecheckingstub__6b0f8bd367843c451288aaaaf44baa44f09abffc0daba385520088889
17222
17306
  """Type checking stubs"""
17223
17307
  pass
17224
17308
 
17309
+ def _typecheckingstub__70f0e32e7cd279e91fc578d15e5825d6dcb28ef1b582e7668a98f90634869397(
17310
+ scope: _constructs_77d1e7e8.Construct,
17311
+ id: builtins.str,
17312
+ arn: builtins.str,
17313
+ ) -> None:
17314
+ """Type checking stubs"""
17315
+ pass
17316
+
17317
+ def _typecheckingstub__a2975d35784fc720a55f6e6753dfa83c2c5fbcdf77820d02fea580038ac4febd(
17318
+ scope: _constructs_77d1e7e8.Construct,
17319
+ id: builtins.str,
17320
+ app_id: builtins.str,
17321
+ ) -> None:
17322
+ """Type checking stubs"""
17323
+ pass
17324
+
17225
17325
  def _typecheckingstub__70a1a0b3dc0d592b65e802e1e0b8f6d8ec8f0dc7df60bf7d1633880668ff742e(
17226
17326
  inspector: _TreeInspector_488e0dd5,
17227
17327
  ) -> None:
@@ -17402,6 +17502,14 @@ def _typecheckingstub__37daefd9aecddac1551b6da8a771d74af1f7a13678f1d1fb2d351fab8
17402
17502
  """Type checking stubs"""
17403
17503
  pass
17404
17504
 
17505
+ def _typecheckingstub__ab591ee16a73472ae59021eed25e4aed98dd4fa5ba18769df90d60eb0376628e(
17506
+ scope: _constructs_77d1e7e8.Construct,
17507
+ id: builtins.str,
17508
+ arn: builtins.str,
17509
+ ) -> None:
17510
+ """Type checking stubs"""
17511
+ pass
17512
+
17405
17513
  def _typecheckingstub__9e15e4e500736a6e94e0b0439baae0e844c072ad04e21f846e6d90b4d664758f(
17406
17514
  inspector: _TreeInspector_488e0dd5,
17407
17515
  ) -> None:
@@ -18311,6 +18419,14 @@ def _typecheckingstub__f709a034a24c1bdbcf2c3ad69a8ec499d4a31c52228cfccf041a018ef
18311
18419
  """Type checking stubs"""
18312
18420
  pass
18313
18421
 
18422
+ def _typecheckingstub__bc304a7477cb00665c766619671fb5c20dbf4598b1c401d36d4cda5b8640cf6b(
18423
+ scope: _constructs_77d1e7e8.Construct,
18424
+ id: builtins.str,
18425
+ arn: builtins.str,
18426
+ ) -> None:
18427
+ """Type checking stubs"""
18428
+ pass
18429
+
18314
18430
  def _typecheckingstub__ab85436978fff9eb6b667bf369ce182d580e19493d318100b008eac7b205fad6(
18315
18431
  inspector: _TreeInspector_488e0dd5,
18316
18432
  ) -> None: