aws-cdk-lib 2.217.0__py3-none-any.whl → 2.219.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 (140) hide show
  1. aws_cdk/__init__.py +19 -19
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.217.0.jsii.tgz → aws-cdk-lib@2.219.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +185 -87
  5. aws_cdk/aws_apigateway/__init__.py +242 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +58 -0
  7. aws_cdk/aws_appconfig/__init__.py +145 -0
  8. aws_cdk/aws_appflow/__init__.py +116 -0
  9. aws_cdk/aws_appintegrations/__init__.py +116 -0
  10. aws_cdk/aws_appstream/__init__.py +87 -0
  11. aws_cdk/aws_appsync/__init__.py +58 -0
  12. aws_cdk/aws_apptest/__init__.py +58 -0
  13. aws_cdk/aws_athena/__init__.py +58 -0
  14. aws_cdk/aws_auditmanager/__init__.py +58 -0
  15. aws_cdk/aws_backup/__init__.py +145 -0
  16. aws_cdk/aws_batch/__init__.py +58 -0
  17. aws_cdk/aws_bcmdataexports/__init__.py +9 -0
  18. aws_cdk/aws_bedrock/__init__.py +501 -1
  19. aws_cdk/aws_bedrockagentcore/__init__.py +297 -157
  20. aws_cdk/aws_cassandra/__init__.py +29 -0
  21. aws_cdk/aws_certificatemanager/__init__.py +29 -0
  22. aws_cdk/aws_cloudfront/__init__.py +57 -0
  23. aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
  24. aws_cdk/aws_cloudtrail/__init__.py +58 -0
  25. aws_cdk/aws_cloudwatch/__init__.py +145 -0
  26. aws_cdk/aws_codebuild/__init__.py +454 -74
  27. aws_cdk/aws_codedeploy/__init__.py +29 -0
  28. aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
  29. aws_cdk/aws_codepipeline/__init__.py +29 -0
  30. aws_cdk/aws_cognito/__init__.py +87 -0
  31. aws_cdk/aws_config/__init__.py +58 -0
  32. aws_cdk/aws_connect/__init__.py +9 -9
  33. aws_cdk/aws_cur/__init__.py +34 -3
  34. aws_cdk/aws_customerprofiles/__init__.py +58 -0
  35. aws_cdk/aws_datapipeline/__init__.py +29 -0
  36. aws_cdk/aws_datasync/__init__.py +44 -22
  37. aws_cdk/aws_datazone/__init__.py +93 -33
  38. aws_cdk/aws_dms/__init__.py +61 -5
  39. aws_cdk/aws_docdb/__init__.py +153 -25
  40. aws_cdk/aws_dsql/__init__.py +29 -0
  41. aws_cdk/aws_dynamodb/__init__.py +58 -0
  42. aws_cdk/aws_ec2/__init__.py +4598 -22
  43. aws_cdk/aws_ecr/__init__.py +116 -0
  44. aws_cdk/aws_ecs/__init__.py +2768 -79
  45. aws_cdk/aws_efs/__init__.py +116 -0
  46. aws_cdk/aws_eks/__init__.py +118 -0
  47. aws_cdk/aws_elasticache/__init__.py +261 -0
  48. aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
  49. aws_cdk/aws_emr/__init__.py +87 -0
  50. aws_cdk/aws_emrcontainers/__init__.py +58 -0
  51. aws_cdk/aws_emrserverless/__init__.py +58 -0
  52. aws_cdk/aws_entityresolution/__init__.py +163 -0
  53. aws_cdk/aws_events/__init__.py +290 -0
  54. aws_cdk/aws_finspace/__init__.py +58 -0
  55. aws_cdk/aws_gamelift/__init__.py +435 -0
  56. aws_cdk/aws_glue/__init__.py +145 -0
  57. aws_cdk/aws_greengrass/__init__.py +464 -0
  58. aws_cdk/aws_greengrassv2/__init__.py +29 -0
  59. aws_cdk/aws_groundstation/__init__.py +87 -0
  60. aws_cdk/aws_guardduty/__init__.py +87 -0
  61. aws_cdk/aws_healthimaging/__init__.py +58 -0
  62. aws_cdk/aws_healthlake/__init__.py +29 -0
  63. aws_cdk/aws_internetmonitor/__init__.py +58 -0
  64. aws_cdk/aws_iot/__init__.py +957 -0
  65. aws_cdk/aws_iotanalytics/__init__.py +116 -0
  66. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +58 -0
  67. aws_cdk/aws_iotevents/__init__.py +87 -0
  68. aws_cdk/aws_iotfleethub/__init__.py +58 -0
  69. aws_cdk/aws_iotfleetwise/__init__.py +116 -0
  70. aws_cdk/aws_iotsitewise/__init__.py +493 -0
  71. aws_cdk/aws_iottwinmaker/__init__.py +145 -0
  72. aws_cdk/aws_iotwireless/__init__.py +464 -0
  73. aws_cdk/aws_kendra/__init__.py +116 -0
  74. aws_cdk/aws_kinesis/__init__.py +58 -0
  75. aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
  76. aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
  77. aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
  78. aws_cdk/aws_kinesisvideo/__init__.py +29 -0
  79. aws_cdk/aws_kms/__init__.py +58 -0
  80. aws_cdk/aws_lambda/__init__.py +58 -0
  81. aws_cdk/aws_lex/__init__.py +29 -0
  82. aws_cdk/aws_location/__init__.py +348 -0
  83. aws_cdk/aws_logs/__init__.py +232 -0
  84. aws_cdk/aws_lookoutequipment/__init__.py +29 -0
  85. aws_cdk/aws_lookoutvision/__init__.py +58 -0
  86. aws_cdk/aws_managedblockchain/__init__.py +145 -0
  87. aws_cdk/aws_medialive/__init__.py +435 -0
  88. aws_cdk/aws_mediatailor/__init__.py +174 -0
  89. aws_cdk/aws_memorydb/__init__.py +203 -0
  90. aws_cdk/aws_msk/__init__.py +4 -2
  91. aws_cdk/aws_mwaa/__init__.py +58 -0
  92. aws_cdk/aws_networkfirewall/__init__.py +6 -2
  93. aws_cdk/aws_networkmanager/__init__.py +29 -0
  94. aws_cdk/aws_nimblestudio/__init__.py +29 -0
  95. aws_cdk/aws_omics/__init__.py +174 -0
  96. aws_cdk/aws_opensearchserverless/__init__.py +58 -0
  97. aws_cdk/aws_opensearchservice/__init__.py +58 -0
  98. aws_cdk/aws_opsworks/__init__.py +29 -0
  99. aws_cdk/aws_organizations/__init__.py +116 -0
  100. aws_cdk/aws_panorama/__init__.py +116 -0
  101. aws_cdk/aws_pinpoint/__init__.py +116 -0
  102. aws_cdk/aws_qbusiness/__init__.py +232 -0
  103. aws_cdk/aws_qldb/__init__.py +29 -0
  104. aws_cdk/aws_quicksight/__init__.py +38 -0
  105. aws_cdk/aws_rds/__init__.py +97 -14
  106. aws_cdk/aws_redshift/__init__.py +29 -0
  107. aws_cdk/aws_rekognition/__init__.py +87 -0
  108. aws_cdk/aws_resourcegroups/__init__.py +58 -0
  109. aws_cdk/aws_rolesanywhere/__init__.py +145 -0
  110. aws_cdk/aws_route53/__init__.py +8 -2
  111. aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
  112. aws_cdk/aws_route53resolver/__init__.py +29 -0
  113. aws_cdk/aws_s3/__init__.py +116 -0
  114. aws_cdk/aws_s3express/__init__.py +116 -0
  115. aws_cdk/aws_sagemaker/__init__.py +464 -0
  116. aws_cdk/aws_scheduler/__init__.py +29 -0
  117. aws_cdk/aws_secretsmanager/__init__.py +29 -0
  118. aws_cdk/aws_servicecatalog/__init__.py +107 -86
  119. aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
  120. aws_cdk/aws_servicediscovery/__init__.py +58 -0
  121. aws_cdk/aws_ses/__init__.py +261 -0
  122. aws_cdk/aws_simspaceweaver/__init__.py +29 -0
  123. aws_cdk/aws_smsvoice/__init__.py +319 -0
  124. aws_cdk/aws_ssm/__init__.py +87 -0
  125. aws_cdk/aws_synthetics/__init__.py +29 -0
  126. aws_cdk/aws_timestream/__init__.py +87 -0
  127. aws_cdk/aws_transfer/__init__.py +261 -0
  128. aws_cdk/aws_verifiedpermissions/__init__.py +58 -0
  129. aws_cdk/aws_voiceid/__init__.py +29 -0
  130. aws_cdk/aws_wisdom/__init__.py +232 -0
  131. aws_cdk/aws_workspaces/__init__.py +58 -0
  132. aws_cdk/aws_workspacesinstances/__init__.py +29 -0
  133. aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
  134. aws_cdk/pipelines/__init__.py +5 -1
  135. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/METADATA +2 -2
  136. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/RECORD +140 -140
  137. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/LICENSE +0 -0
  138. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/NOTICE +0 -0
  139. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/WHEEL +0 -0
  140. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/top_level.txt +0 -0
@@ -5796,6 +5796,27 @@ class CfnSecret(
5796
5796
 
5797
5797
  jsii.create(self.__class__, self, [scope, id, props])
5798
5798
 
5799
+ @jsii.member(jsii_name="fromSecretId")
5800
+ @builtins.classmethod
5801
+ def from_secret_id(
5802
+ cls,
5803
+ scope: _constructs_77d1e7e8.Construct,
5804
+ id: builtins.str,
5805
+ secret_id: builtins.str,
5806
+ ) -> ISecretRef:
5807
+ '''Creates a new ISecretRef from a secretId.
5808
+
5809
+ :param scope: -
5810
+ :param id: -
5811
+ :param secret_id: -
5812
+ '''
5813
+ if __debug__:
5814
+ type_hints = typing.get_type_hints(_typecheckingstub__e3c3961c2a9f7641d6de2ed58080b5085d027497e32beb9b7b96c3365420ad89)
5815
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5816
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5817
+ check_type(argname="argument secret_id", value=secret_id, expected_type=type_hints["secret_id"])
5818
+ return typing.cast(ISecretRef, jsii.sinvoke(cls, "fromSecretId", [scope, id, secret_id]))
5819
+
5799
5820
  @jsii.member(jsii_name="inspect")
5800
5821
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
5801
5822
  '''Examines the CloudFormation resource and discloses attributes.
@@ -7249,6 +7270,14 @@ def _typecheckingstub__85d618e732c6b1f020908289780221a8947553437136d3d13945c0f22
7249
7270
  """Type checking stubs"""
7250
7271
  pass
7251
7272
 
7273
+ def _typecheckingstub__e3c3961c2a9f7641d6de2ed58080b5085d027497e32beb9b7b96c3365420ad89(
7274
+ scope: _constructs_77d1e7e8.Construct,
7275
+ id: builtins.str,
7276
+ secret_id: builtins.str,
7277
+ ) -> None:
7278
+ """Type checking stubs"""
7279
+ pass
7280
+
7252
7281
  def _typecheckingstub__3e292aeb07dc3753c7a4e07c46e793e9a5c7266734d09d7d045223f304d4275f(
7253
7282
  inspector: _TreeInspector_488e0dd5,
7254
7283
  ) -> None:
@@ -1757,27 +1757,27 @@ class CfnLaunchTemplateConstraintProps:
1757
1757
  jsii_type="aws-cdk-lib.aws_servicecatalog.CfnPortfolioPrincipalAssociationProps",
1758
1758
  jsii_struct_bases=[],
1759
1759
  name_mapping={
1760
- "principal_type": "principalType",
1761
- "accept_language": "acceptLanguage",
1762
1760
  "portfolio_id": "portfolioId",
1763
1761
  "principal_arn": "principalArn",
1762
+ "principal_type": "principalType",
1763
+ "accept_language": "acceptLanguage",
1764
1764
  },
1765
1765
  )
1766
1766
  class CfnPortfolioPrincipalAssociationProps:
1767
1767
  def __init__(
1768
1768
  self,
1769
1769
  *,
1770
+ portfolio_id: builtins.str,
1771
+ principal_arn: builtins.str,
1770
1772
  principal_type: builtins.str,
1771
1773
  accept_language: typing.Optional[builtins.str] = None,
1772
- portfolio_id: typing.Optional[builtins.str] = None,
1773
- principal_arn: typing.Optional[builtins.str] = None,
1774
1774
  ) -> None:
1775
1775
  '''Properties for defining a ``CfnPortfolioPrincipalAssociation``.
1776
1776
 
1777
- :param principal_type: The principal type. The supported values are ``IAM`` and ``IAM_PATTERN`` .
1778
- :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
1779
1777
  :param portfolio_id: The portfolio identifier.
1780
1778
  :param principal_arn: The ARN of the principal ( IAM user, role, or group).
1779
+ :param principal_type: The principal type. The supported values are ``IAM`` and ``IAM_PATTERN`` .
1780
+ :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
1781
1781
 
1782
1782
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html
1783
1783
  :exampleMetadata: fixture=_generated
@@ -1789,29 +1789,47 @@ class CfnPortfolioPrincipalAssociationProps:
1789
1789
  from aws_cdk import aws_servicecatalog as servicecatalog
1790
1790
 
1791
1791
  cfn_portfolio_principal_association_props = servicecatalog.CfnPortfolioPrincipalAssociationProps(
1792
+ portfolio_id="portfolioId",
1793
+ principal_arn="principalArn",
1792
1794
  principal_type="principalType",
1793
1795
 
1794
1796
  # the properties below are optional
1795
- accept_language="acceptLanguage",
1796
- portfolio_id="portfolioId",
1797
- principal_arn="principalArn"
1797
+ accept_language="acceptLanguage"
1798
1798
  )
1799
1799
  '''
1800
1800
  if __debug__:
1801
1801
  type_hints = typing.get_type_hints(_typecheckingstub__86aa94ae9b8977b851184740615709136e8ab87d84e565bd4ed1c37202e743af)
1802
- check_type(argname="argument principal_type", value=principal_type, expected_type=type_hints["principal_type"])
1803
- check_type(argname="argument accept_language", value=accept_language, expected_type=type_hints["accept_language"])
1804
1802
  check_type(argname="argument portfolio_id", value=portfolio_id, expected_type=type_hints["portfolio_id"])
1805
1803
  check_type(argname="argument principal_arn", value=principal_arn, expected_type=type_hints["principal_arn"])
1804
+ check_type(argname="argument principal_type", value=principal_type, expected_type=type_hints["principal_type"])
1805
+ check_type(argname="argument accept_language", value=accept_language, expected_type=type_hints["accept_language"])
1806
1806
  self._values: typing.Dict[builtins.str, typing.Any] = {
1807
+ "portfolio_id": portfolio_id,
1808
+ "principal_arn": principal_arn,
1807
1809
  "principal_type": principal_type,
1808
1810
  }
1809
1811
  if accept_language is not None:
1810
1812
  self._values["accept_language"] = accept_language
1811
- if portfolio_id is not None:
1812
- self._values["portfolio_id"] = portfolio_id
1813
- if principal_arn is not None:
1814
- self._values["principal_arn"] = principal_arn
1813
+
1814
+ @builtins.property
1815
+ def portfolio_id(self) -> builtins.str:
1816
+ '''The portfolio identifier.
1817
+
1818
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-portfolioid
1819
+ '''
1820
+ result = self._values.get("portfolio_id")
1821
+ assert result is not None, "Required property 'portfolio_id' is missing"
1822
+ return typing.cast(builtins.str, result)
1823
+
1824
+ @builtins.property
1825
+ def principal_arn(self) -> builtins.str:
1826
+ '''The ARN of the principal ( IAM user, role, or group).
1827
+
1828
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-principalarn
1829
+ '''
1830
+ result = self._values.get("principal_arn")
1831
+ assert result is not None, "Required property 'principal_arn' is missing"
1832
+ return typing.cast(builtins.str, result)
1815
1833
 
1816
1834
  @builtins.property
1817
1835
  def principal_type(self) -> builtins.str:
@@ -1837,24 +1855,6 @@ class CfnPortfolioPrincipalAssociationProps:
1837
1855
  result = self._values.get("accept_language")
1838
1856
  return typing.cast(typing.Optional[builtins.str], result)
1839
1857
 
1840
- @builtins.property
1841
- def portfolio_id(self) -> typing.Optional[builtins.str]:
1842
- '''The portfolio identifier.
1843
-
1844
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-portfolioid
1845
- '''
1846
- result = self._values.get("portfolio_id")
1847
- return typing.cast(typing.Optional[builtins.str], result)
1848
-
1849
- @builtins.property
1850
- def principal_arn(self) -> typing.Optional[builtins.str]:
1851
- '''The ARN of the principal ( IAM user, role, or group).
1852
-
1853
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-principalarn
1854
- '''
1855
- result = self._values.get("principal_arn")
1856
- return typing.cast(typing.Optional[builtins.str], result)
1857
-
1858
1858
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1859
1859
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1860
1860
 
@@ -9605,6 +9605,27 @@ class CfnPortfolio(
9605
9605
 
9606
9606
  jsii.create(self.__class__, self, [scope, id, props])
9607
9607
 
9608
+ @jsii.member(jsii_name="fromPortfolioId")
9609
+ @builtins.classmethod
9610
+ def from_portfolio_id(
9611
+ cls,
9612
+ scope: _constructs_77d1e7e8.Construct,
9613
+ id: builtins.str,
9614
+ portfolio_id: builtins.str,
9615
+ ) -> IPortfolioRef:
9616
+ '''Creates a new IPortfolioRef from a portfolioId.
9617
+
9618
+ :param scope: -
9619
+ :param id: -
9620
+ :param portfolio_id: -
9621
+ '''
9622
+ if __debug__:
9623
+ type_hints = typing.get_type_hints(_typecheckingstub__44128417aff4104adae0046cf0d101d90c4fc22515494313689b7b4561643abc)
9624
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
9625
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9626
+ check_type(argname="argument portfolio_id", value=portfolio_id, expected_type=type_hints["portfolio_id"])
9627
+ return typing.cast(IPortfolioRef, jsii.sinvoke(cls, "fromPortfolioId", [scope, id, portfolio_id]))
9628
+
9608
9629
  @jsii.member(jsii_name="inspect")
9609
9630
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
9610
9631
  '''Examines the CloudFormation resource and discloses attributes.
@@ -9755,12 +9776,12 @@ class CfnPortfolioPrincipalAssociation(
9755
9776
  from aws_cdk import aws_servicecatalog as servicecatalog
9756
9777
 
9757
9778
  cfn_portfolio_principal_association = servicecatalog.CfnPortfolioPrincipalAssociation(self, "MyCfnPortfolioPrincipalAssociation",
9779
+ portfolio_id="portfolioId",
9780
+ principal_arn="principalArn",
9758
9781
  principal_type="principalType",
9759
9782
 
9760
9783
  # the properties below are optional
9761
- accept_language="acceptLanguage",
9762
- portfolio_id="portfolioId",
9763
- principal_arn="principalArn"
9784
+ accept_language="acceptLanguage"
9764
9785
  )
9765
9786
  '''
9766
9787
 
@@ -9769,28 +9790,28 @@ class CfnPortfolioPrincipalAssociation(
9769
9790
  scope: _constructs_77d1e7e8.Construct,
9770
9791
  id: builtins.str,
9771
9792
  *,
9793
+ portfolio_id: builtins.str,
9794
+ principal_arn: builtins.str,
9772
9795
  principal_type: builtins.str,
9773
9796
  accept_language: typing.Optional[builtins.str] = None,
9774
- portfolio_id: typing.Optional[builtins.str] = None,
9775
- principal_arn: typing.Optional[builtins.str] = None,
9776
9797
  ) -> None:
9777
9798
  '''
9778
9799
  :param scope: Scope in which this resource is defined.
9779
9800
  :param id: Construct identifier for this resource (unique in its scope).
9780
- :param principal_type: The principal type. The supported values are ``IAM`` and ``IAM_PATTERN`` .
9781
- :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
9782
9801
  :param portfolio_id: The portfolio identifier.
9783
9802
  :param principal_arn: The ARN of the principal ( IAM user, role, or group).
9803
+ :param principal_type: The principal type. The supported values are ``IAM`` and ``IAM_PATTERN`` .
9804
+ :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
9784
9805
  '''
9785
9806
  if __debug__:
9786
9807
  type_hints = typing.get_type_hints(_typecheckingstub__2b8a7d450a71f88f29341f360bc05a021b910027171e4e63c9be6c67c4d53b2a)
9787
9808
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
9788
9809
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9789
9810
  props = CfnPortfolioPrincipalAssociationProps(
9790
- principal_type=principal_type,
9791
- accept_language=accept_language,
9792
9811
  portfolio_id=portfolio_id,
9793
9812
  principal_arn=principal_arn,
9813
+ principal_type=principal_type,
9814
+ accept_language=accept_language,
9794
9815
  )
9795
9816
 
9796
9817
  jsii.create(self.__class__, self, [scope, id, props])
@@ -9846,6 +9867,32 @@ class CfnPortfolioPrincipalAssociation(
9846
9867
  '''A reference to a PortfolioPrincipalAssociation resource.'''
9847
9868
  return typing.cast(PortfolioPrincipalAssociationReference, jsii.get(self, "portfolioPrincipalAssociationRef"))
9848
9869
 
9870
+ @builtins.property
9871
+ @jsii.member(jsii_name="portfolioId")
9872
+ def portfolio_id(self) -> builtins.str:
9873
+ '''The portfolio identifier.'''
9874
+ return typing.cast(builtins.str, jsii.get(self, "portfolioId"))
9875
+
9876
+ @portfolio_id.setter
9877
+ def portfolio_id(self, value: builtins.str) -> None:
9878
+ if __debug__:
9879
+ type_hints = typing.get_type_hints(_typecheckingstub__726706747073f477b14d5b31fa14aba7087b2fc4265414101c6069e458c605ef)
9880
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9881
+ jsii.set(self, "portfolioId", value) # pyright: ignore[reportArgumentType]
9882
+
9883
+ @builtins.property
9884
+ @jsii.member(jsii_name="principalArn")
9885
+ def principal_arn(self) -> builtins.str:
9886
+ '''The ARN of the principal ( IAM user, role, or group).'''
9887
+ return typing.cast(builtins.str, jsii.get(self, "principalArn"))
9888
+
9889
+ @principal_arn.setter
9890
+ def principal_arn(self, value: builtins.str) -> None:
9891
+ if __debug__:
9892
+ type_hints = typing.get_type_hints(_typecheckingstub__71c52a4171fa242df45a083617e532d09ea08d89eea6a461f83e7608b28c48bb)
9893
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9894
+ jsii.set(self, "principalArn", value) # pyright: ignore[reportArgumentType]
9895
+
9849
9896
  @builtins.property
9850
9897
  @jsii.member(jsii_name="principalType")
9851
9898
  def principal_type(self) -> builtins.str:
@@ -9872,32 +9919,6 @@ class CfnPortfolioPrincipalAssociation(
9872
9919
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9873
9920
  jsii.set(self, "acceptLanguage", value) # pyright: ignore[reportArgumentType]
9874
9921
 
9875
- @builtins.property
9876
- @jsii.member(jsii_name="portfolioId")
9877
- def portfolio_id(self) -> typing.Optional[builtins.str]:
9878
- '''The portfolio identifier.'''
9879
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "portfolioId"))
9880
-
9881
- @portfolio_id.setter
9882
- def portfolio_id(self, value: typing.Optional[builtins.str]) -> None:
9883
- if __debug__:
9884
- type_hints = typing.get_type_hints(_typecheckingstub__726706747073f477b14d5b31fa14aba7087b2fc4265414101c6069e458c605ef)
9885
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9886
- jsii.set(self, "portfolioId", value) # pyright: ignore[reportArgumentType]
9887
-
9888
- @builtins.property
9889
- @jsii.member(jsii_name="principalArn")
9890
- def principal_arn(self) -> typing.Optional[builtins.str]:
9891
- '''The ARN of the principal ( IAM user, role, or group).'''
9892
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "principalArn"))
9893
-
9894
- @principal_arn.setter
9895
- def principal_arn(self, value: typing.Optional[builtins.str]) -> None:
9896
- if __debug__:
9897
- type_hints = typing.get_type_hints(_typecheckingstub__71c52a4171fa242df45a083617e532d09ea08d89eea6a461f83e7608b28c48bb)
9898
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9899
- jsii.set(self, "principalArn", value) # pyright: ignore[reportArgumentType]
9900
-
9901
9922
 
9902
9923
  @jsii.implements(_IInspectable_c2943556, IPortfolioProductAssociationRef)
9903
9924
  class CfnPortfolioProductAssociation(
@@ -9988,14 +10009,6 @@ class CfnPortfolioProductAssociation(
9988
10009
  '''The CloudFormation resource type name for this resource class.'''
9989
10010
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
9990
10011
 
9991
- @builtins.property
9992
- @jsii.member(jsii_name="attrId")
9993
- def attr_id(self) -> builtins.str:
9994
- '''
9995
- :cloudformationAttribute: Id
9996
- '''
9997
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
9998
-
9999
10012
  @builtins.property
10000
10013
  @jsii.member(jsii_name="cfnProperties")
10001
10014
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -11703,10 +11716,10 @@ def _typecheckingstub__782bde46fdc76fe863545140febd1fe95f163b327614047bf13a8ac26
11703
11716
 
11704
11717
  def _typecheckingstub__86aa94ae9b8977b851184740615709136e8ab87d84e565bd4ed1c37202e743af(
11705
11718
  *,
11719
+ portfolio_id: builtins.str,
11720
+ principal_arn: builtins.str,
11706
11721
  principal_type: builtins.str,
11707
11722
  accept_language: typing.Optional[builtins.str] = None,
11708
- portfolio_id: typing.Optional[builtins.str] = None,
11709
- principal_arn: typing.Optional[builtins.str] = None,
11710
11723
  ) -> None:
11711
11724
  """Type checking stubs"""
11712
11725
  pass
@@ -12899,6 +12912,14 @@ def _typecheckingstub__92ae108da2b169227ca9ff5c8793d6e40826005130d9af692285850c9
12899
12912
  """Type checking stubs"""
12900
12913
  pass
12901
12914
 
12915
+ def _typecheckingstub__44128417aff4104adae0046cf0d101d90c4fc22515494313689b7b4561643abc(
12916
+ scope: _constructs_77d1e7e8.Construct,
12917
+ id: builtins.str,
12918
+ portfolio_id: builtins.str,
12919
+ ) -> None:
12920
+ """Type checking stubs"""
12921
+ pass
12922
+
12902
12923
  def _typecheckingstub__445bcb8d7fa40ab94351986e2668ed98bfac15db2665136953859395a36b4b51(
12903
12924
  inspector: _TreeInspector_488e0dd5,
12904
12925
  ) -> None:
@@ -12945,10 +12966,10 @@ def _typecheckingstub__2b8a7d450a71f88f29341f360bc05a021b910027171e4e63c9be6c67c
12945
12966
  scope: _constructs_77d1e7e8.Construct,
12946
12967
  id: builtins.str,
12947
12968
  *,
12969
+ portfolio_id: builtins.str,
12970
+ principal_arn: builtins.str,
12948
12971
  principal_type: builtins.str,
12949
12972
  accept_language: typing.Optional[builtins.str] = None,
12950
- portfolio_id: typing.Optional[builtins.str] = None,
12951
- principal_arn: typing.Optional[builtins.str] = None,
12952
12973
  ) -> None:
12953
12974
  """Type checking stubs"""
12954
12975
  pass
@@ -12965,25 +12986,25 @@ def _typecheckingstub__257e8fbedbaa67aa61288a1f94be02039da4ac33558591be208505deb
12965
12986
  """Type checking stubs"""
12966
12987
  pass
12967
12988
 
12968
- def _typecheckingstub__66dbe3deef345271ae1cfb35b0e313622b15892928d8581127c03e117db33585(
12989
+ def _typecheckingstub__726706747073f477b14d5b31fa14aba7087b2fc4265414101c6069e458c605ef(
12969
12990
  value: builtins.str,
12970
12991
  ) -> None:
12971
12992
  """Type checking stubs"""
12972
12993
  pass
12973
12994
 
12974
- def _typecheckingstub__1390265bc6b4e797f81f5a56c99acfec9dceeb8b223c28fc92f325ebf1ee9136(
12975
- value: typing.Optional[builtins.str],
12995
+ def _typecheckingstub__71c52a4171fa242df45a083617e532d09ea08d89eea6a461f83e7608b28c48bb(
12996
+ value: builtins.str,
12976
12997
  ) -> None:
12977
12998
  """Type checking stubs"""
12978
12999
  pass
12979
13000
 
12980
- def _typecheckingstub__726706747073f477b14d5b31fa14aba7087b2fc4265414101c6069e458c605ef(
12981
- value: typing.Optional[builtins.str],
13001
+ def _typecheckingstub__66dbe3deef345271ae1cfb35b0e313622b15892928d8581127c03e117db33585(
13002
+ value: builtins.str,
12982
13003
  ) -> None:
12983
13004
  """Type checking stubs"""
12984
13005
  pass
12985
13006
 
12986
- def _typecheckingstub__71c52a4171fa242df45a083617e532d09ea08d89eea6a461f83e7608b28c48bb(
13007
+ def _typecheckingstub__1390265bc6b4e797f81f5a56c99acfec9dceeb8b223c28fc92f325ebf1ee9136(
12987
13008
  value: typing.Optional[builtins.str],
12988
13009
  ) -> None:
12989
13010
  """Type checking stubs"""
@@ -953,6 +953,48 @@ class CfnApplication(
953
953
 
954
954
  jsii.create(self.__class__, self, [scope, id, props])
955
955
 
956
+ @jsii.member(jsii_name="fromApplicationArn")
957
+ @builtins.classmethod
958
+ def from_application_arn(
959
+ cls,
960
+ scope: _constructs_77d1e7e8.Construct,
961
+ id: builtins.str,
962
+ arn: builtins.str,
963
+ ) -> IApplicationRef:
964
+ '''Creates a new IApplicationRef from an ARN.
965
+
966
+ :param scope: -
967
+ :param id: -
968
+ :param arn: -
969
+ '''
970
+ if __debug__:
971
+ type_hints = typing.get_type_hints(_typecheckingstub__955a2e8ef9349aa04e3db911200984b604b9a25a10f842542d8fedf3bbd11c5b)
972
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
973
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
974
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
975
+ return typing.cast(IApplicationRef, jsii.sinvoke(cls, "fromApplicationArn", [scope, id, arn]))
976
+
977
+ @jsii.member(jsii_name="fromApplicationId")
978
+ @builtins.classmethod
979
+ def from_application_id(
980
+ cls,
981
+ scope: _constructs_77d1e7e8.Construct,
982
+ id: builtins.str,
983
+ application_id: builtins.str,
984
+ ) -> IApplicationRef:
985
+ '''Creates a new IApplicationRef from a applicationId.
986
+
987
+ :param scope: -
988
+ :param id: -
989
+ :param application_id: -
990
+ '''
991
+ if __debug__:
992
+ type_hints = typing.get_type_hints(_typecheckingstub__c856b19bc43eda16caf59ab994b1bd9cf310ba6ac9f9888cae037aa1fd3b0144)
993
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
994
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
995
+ check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
996
+ return typing.cast(IApplicationRef, jsii.sinvoke(cls, "fromApplicationId", [scope, id, application_id]))
997
+
956
998
  @jsii.member(jsii_name="inspect")
957
999
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
958
1000
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1156,6 +1198,48 @@ class CfnAttributeGroup(
1156
1198
 
1157
1199
  jsii.create(self.__class__, self, [scope, id, props])
1158
1200
 
1201
+ @jsii.member(jsii_name="fromAttributeGroupArn")
1202
+ @builtins.classmethod
1203
+ def from_attribute_group_arn(
1204
+ cls,
1205
+ scope: _constructs_77d1e7e8.Construct,
1206
+ id: builtins.str,
1207
+ arn: builtins.str,
1208
+ ) -> IAttributeGroupRef:
1209
+ '''Creates a new IAttributeGroupRef from an ARN.
1210
+
1211
+ :param scope: -
1212
+ :param id: -
1213
+ :param arn: -
1214
+ '''
1215
+ if __debug__:
1216
+ type_hints = typing.get_type_hints(_typecheckingstub__af4bda4ff0ff6c60024477e288e493dcc0130f0d394de6e34fa6396c49a74c92)
1217
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1218
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1219
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
1220
+ return typing.cast(IAttributeGroupRef, jsii.sinvoke(cls, "fromAttributeGroupArn", [scope, id, arn]))
1221
+
1222
+ @jsii.member(jsii_name="fromAttributeGroupId")
1223
+ @builtins.classmethod
1224
+ def from_attribute_group_id(
1225
+ cls,
1226
+ scope: _constructs_77d1e7e8.Construct,
1227
+ id: builtins.str,
1228
+ attribute_group_id: builtins.str,
1229
+ ) -> IAttributeGroupRef:
1230
+ '''Creates a new IAttributeGroupRef from a attributeGroupId.
1231
+
1232
+ :param scope: -
1233
+ :param id: -
1234
+ :param attribute_group_id: -
1235
+ '''
1236
+ if __debug__:
1237
+ type_hints = typing.get_type_hints(_typecheckingstub__8f72c219f00d2f2ceb6ddda988187c930677404d7a861ad884a3a3ac9cbfc16f)
1238
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1239
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1240
+ check_type(argname="argument attribute_group_id", value=attribute_group_id, expected_type=type_hints["attribute_group_id"])
1241
+ return typing.cast(IAttributeGroupRef, jsii.sinvoke(cls, "fromAttributeGroupId", [scope, id, attribute_group_id]))
1242
+
1159
1243
  @jsii.member(jsii_name="inspect")
1160
1244
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1161
1245
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1682,6 +1766,22 @@ def _typecheckingstub__91487768dfb6dbf9a0c92291ea29984fa2e03a14eb546f250cf397d25
1682
1766
  """Type checking stubs"""
1683
1767
  pass
1684
1768
 
1769
+ def _typecheckingstub__955a2e8ef9349aa04e3db911200984b604b9a25a10f842542d8fedf3bbd11c5b(
1770
+ scope: _constructs_77d1e7e8.Construct,
1771
+ id: builtins.str,
1772
+ arn: builtins.str,
1773
+ ) -> None:
1774
+ """Type checking stubs"""
1775
+ pass
1776
+
1777
+ def _typecheckingstub__c856b19bc43eda16caf59ab994b1bd9cf310ba6ac9f9888cae037aa1fd3b0144(
1778
+ scope: _constructs_77d1e7e8.Construct,
1779
+ id: builtins.str,
1780
+ application_id: builtins.str,
1781
+ ) -> None:
1782
+ """Type checking stubs"""
1783
+ pass
1784
+
1685
1785
  def _typecheckingstub__6be1bb8c9136b473debe566d21e0967713957428516c09e09b72630210e7c453(
1686
1786
  inspector: _TreeInspector_488e0dd5,
1687
1787
  ) -> None:
@@ -1724,6 +1824,22 @@ def _typecheckingstub__0d30783c939e9f88ec79a761d7c3f519f2a0838afdc04bd3644e3b2f8
1724
1824
  """Type checking stubs"""
1725
1825
  pass
1726
1826
 
1827
+ def _typecheckingstub__af4bda4ff0ff6c60024477e288e493dcc0130f0d394de6e34fa6396c49a74c92(
1828
+ scope: _constructs_77d1e7e8.Construct,
1829
+ id: builtins.str,
1830
+ arn: builtins.str,
1831
+ ) -> None:
1832
+ """Type checking stubs"""
1833
+ pass
1834
+
1835
+ def _typecheckingstub__8f72c219f00d2f2ceb6ddda988187c930677404d7a861ad884a3a3ac9cbfc16f(
1836
+ scope: _constructs_77d1e7e8.Construct,
1837
+ id: builtins.str,
1838
+ attribute_group_id: builtins.str,
1839
+ ) -> None:
1840
+ """Type checking stubs"""
1841
+ pass
1842
+
1727
1843
  def _typecheckingstub__8aeccce963693b654c1717c2e0421d969367b8759138483e8a26cb5b5cc59967(
1728
1844
  inspector: _TreeInspector_488e0dd5,
1729
1845
  ) -> None:
@@ -6457,6 +6457,48 @@ class CfnService(
6457
6457
 
6458
6458
  jsii.create(self.__class__, self, [scope, id, props])
6459
6459
 
6460
+ @jsii.member(jsii_name="fromServiceArn")
6461
+ @builtins.classmethod
6462
+ def from_service_arn(
6463
+ cls,
6464
+ scope: _constructs_77d1e7e8.Construct,
6465
+ id: builtins.str,
6466
+ arn: builtins.str,
6467
+ ) -> IServiceRef:
6468
+ '''Creates a new IServiceRef from an ARN.
6469
+
6470
+ :param scope: -
6471
+ :param id: -
6472
+ :param arn: -
6473
+ '''
6474
+ if __debug__:
6475
+ type_hints = typing.get_type_hints(_typecheckingstub__50690470e73ef7cd3ff20a5dbdb67420dca6af2d45267b098383607637aac22e)
6476
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
6477
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
6478
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
6479
+ return typing.cast(IServiceRef, jsii.sinvoke(cls, "fromServiceArn", [scope, id, arn]))
6480
+
6481
+ @jsii.member(jsii_name="fromServiceId")
6482
+ @builtins.classmethod
6483
+ def from_service_id(
6484
+ cls,
6485
+ scope: _constructs_77d1e7e8.Construct,
6486
+ id: builtins.str,
6487
+ service_id: builtins.str,
6488
+ ) -> IServiceRef:
6489
+ '''Creates a new IServiceRef from a serviceId.
6490
+
6491
+ :param scope: -
6492
+ :param id: -
6493
+ :param service_id: -
6494
+ '''
6495
+ if __debug__:
6496
+ type_hints = typing.get_type_hints(_typecheckingstub__bc01dac739c93292486dd4ca3d1b7f12acb51088c4fe602fe2714b29f96f7ffc)
6497
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
6498
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
6499
+ check_type(argname="argument service_id", value=service_id, expected_type=type_hints["service_id"])
6500
+ return typing.cast(IServiceRef, jsii.sinvoke(cls, "fromServiceId", [scope, id, service_id]))
6501
+
6460
6502
  @jsii.member(jsii_name="inspect")
6461
6503
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
6462
6504
  '''Examines the CloudFormation resource and discloses attributes.
@@ -8210,6 +8252,22 @@ def _typecheckingstub__fe683ec1ba955070fa4b5c6770ac570af81044f6f1cfff34bc3ffffe7
8210
8252
  """Type checking stubs"""
8211
8253
  pass
8212
8254
 
8255
+ def _typecheckingstub__50690470e73ef7cd3ff20a5dbdb67420dca6af2d45267b098383607637aac22e(
8256
+ scope: _constructs_77d1e7e8.Construct,
8257
+ id: builtins.str,
8258
+ arn: builtins.str,
8259
+ ) -> None:
8260
+ """Type checking stubs"""
8261
+ pass
8262
+
8263
+ def _typecheckingstub__bc01dac739c93292486dd4ca3d1b7f12acb51088c4fe602fe2714b29f96f7ffc(
8264
+ scope: _constructs_77d1e7e8.Construct,
8265
+ id: builtins.str,
8266
+ service_id: builtins.str,
8267
+ ) -> None:
8268
+ """Type checking stubs"""
8269
+ pass
8270
+
8213
8271
  def _typecheckingstub__713d7d0bfb1535bc7ed461a8b2f884bc1b329dfad1a3b802e34adb9b36e4a4b1(
8214
8272
  inspector: _TreeInspector_488e0dd5,
8215
8273
  ) -> None: