aws-cdk-lib 2.215.0__py3-none-any.whl → 2.217.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (64) hide show
  1. aws_cdk/__init__.py +90 -58
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.215.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amplify/__init__.py +8 -8
  6. aws_cdk/aws_apigateway/__init__.py +26 -6
  7. aws_cdk/aws_apigatewayv2/__init__.py +32 -21
  8. aws_cdk/aws_appmesh/__init__.py +12 -12
  9. aws_cdk/aws_appstream/__init__.py +14 -4
  10. aws_cdk/aws_appsync/__init__.py +3 -3
  11. aws_cdk/aws_aps/__init__.py +459 -0
  12. aws_cdk/aws_batch/__init__.py +6 -2
  13. aws_cdk/aws_bedrock/__init__.py +162 -0
  14. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  15. aws_cdk/aws_certificatemanager/__init__.py +9 -10
  16. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  17. aws_cdk/aws_cloudformation/__init__.py +14 -14
  18. aws_cdk/aws_cloudfront/__init__.py +91 -10
  19. aws_cdk/aws_cloudfront_origins/__init__.py +422 -47
  20. aws_cdk/aws_cognito/__init__.py +2 -2
  21. aws_cdk/aws_connect/__init__.py +138 -10
  22. aws_cdk/aws_cur/__init__.py +57 -3
  23. aws_cdk/aws_datasync/__init__.py +351 -0
  24. aws_cdk/aws_datazone/__init__.py +675 -2
  25. aws_cdk/aws_dynamodb/__init__.py +123 -0
  26. aws_cdk/aws_ec2/__init__.py +55 -10
  27. aws_cdk/aws_ecr/__init__.py +4 -0
  28. aws_cdk/aws_ecs/__init__.py +55 -12
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +275 -0
  30. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  31. aws_cdk/aws_events/__init__.py +187 -0
  32. aws_cdk/aws_evs/__init__.py +58 -4
  33. aws_cdk/aws_gamelift/__init__.py +72 -56
  34. aws_cdk/aws_iam/__init__.py +1 -1
  35. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
  36. aws_cdk/aws_iotsitewise/__init__.py +75 -111
  37. aws_cdk/aws_kinesisanalytics/__init__.py +315 -125
  38. aws_cdk/aws_kms/__init__.py +10 -2
  39. aws_cdk/aws_lambda/__init__.py +62 -8
  40. aws_cdk/aws_medialive/__init__.py +127 -0
  41. aws_cdk/aws_mediapackage/__init__.py +2 -2
  42. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  43. aws_cdk/aws_networkmanager/__init__.py +63 -0
  44. aws_cdk/aws_odb/__init__.py +2082 -195
  45. aws_cdk/aws_omics/__init__.py +1414 -171
  46. aws_cdk/aws_opensearchserverless/__init__.py +164 -21
  47. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  48. aws_cdk/aws_pcs/__init__.py +9 -9
  49. aws_cdk/aws_quicksight/__init__.py +295 -3
  50. aws_cdk/aws_rds/__init__.py +338 -58
  51. aws_cdk/aws_route53/__init__.py +5926 -4376
  52. aws_cdk/aws_sagemaker/__init__.py +251 -1
  53. aws_cdk/aws_servicecatalog/__init__.py +162 -154
  54. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +669 -81
  56. aws_cdk/aws_transfer/__init__.py +13 -12
  57. aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
  58. aws_cdk/aws_workspacesinstances/__init__.py +641 -2
  59. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
  60. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +64 -62
  61. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
  62. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
  63. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
  64. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
@@ -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
- "portfolio_id": "portfolioId",
1761
- "principal_arn": "principalArn",
1762
1760
  "principal_type": "principalType",
1763
1761
  "accept_language": "acceptLanguage",
1762
+ "portfolio_id": "portfolioId",
1763
+ "principal_arn": "principalArn",
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,
1772
1770
  principal_type: builtins.str,
1773
1771
  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 portfolio_id: The portfolio identifier.
1778
- :param principal_arn: The ARN of the principal ( IAM user, role, or group).
1779
1777
  :param principal_type: The principal type. The supported values are ``IAM`` and ``IAM_PATTERN`` .
1780
1778
  :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
1779
+ :param portfolio_id: The portfolio identifier.
1780
+ :param principal_arn: The ARN of the principal ( IAM user, role, or group).
1781
1781
 
1782
1782
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html
1783
1783
  :exampleMetadata: fixture=_generated
@@ -1789,47 +1789,29 @@ 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",
1794
1792
  principal_type="principalType",
1795
1793
 
1796
1794
  # the properties below are optional
1797
- accept_language="acceptLanguage"
1795
+ accept_language="acceptLanguage",
1796
+ portfolio_id="portfolioId",
1797
+ principal_arn="principalArn"
1798
1798
  )
1799
1799
  '''
1800
1800
  if __debug__:
1801
1801
  type_hints = typing.get_type_hints(_typecheckingstub__86aa94ae9b8977b851184740615709136e8ab87d84e565bd4ed1c37202e743af)
1802
- check_type(argname="argument portfolio_id", value=portfolio_id, expected_type=type_hints["portfolio_id"])
1803
- check_type(argname="argument principal_arn", value=principal_arn, expected_type=type_hints["principal_arn"])
1804
1802
  check_type(argname="argument principal_type", value=principal_type, expected_type=type_hints["principal_type"])
1805
1803
  check_type(argname="argument accept_language", value=accept_language, expected_type=type_hints["accept_language"])
1804
+ check_type(argname="argument portfolio_id", value=portfolio_id, expected_type=type_hints["portfolio_id"])
1805
+ check_type(argname="argument principal_arn", value=principal_arn, expected_type=type_hints["principal_arn"])
1806
1806
  self._values: typing.Dict[builtins.str, typing.Any] = {
1807
- "portfolio_id": portfolio_id,
1808
- "principal_arn": principal_arn,
1809
1807
  "principal_type": principal_type,
1810
1808
  }
1811
1809
  if accept_language is not None:
1812
1810
  self._values["accept_language"] = accept_language
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)
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
1833
1815
 
1834
1816
  @builtins.property
1835
1817
  def principal_type(self) -> builtins.str:
@@ -1855,6 +1837,24 @@ class CfnPortfolioPrincipalAssociationProps:
1855
1837
  result = self._values.get("accept_language")
1856
1838
  return typing.cast(typing.Optional[builtins.str], result)
1857
1839
 
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
 
@@ -1871,9 +1871,9 @@ class CfnPortfolioPrincipalAssociationProps:
1871
1871
  jsii_type="aws-cdk-lib.aws_servicecatalog.CfnPortfolioProductAssociationProps",
1872
1872
  jsii_struct_bases=[],
1873
1873
  name_mapping={
1874
+ "accept_language": "acceptLanguage",
1874
1875
  "portfolio_id": "portfolioId",
1875
1876
  "product_id": "productId",
1876
- "accept_language": "acceptLanguage",
1877
1877
  "source_portfolio_id": "sourcePortfolioId",
1878
1878
  },
1879
1879
  )
@@ -1881,16 +1881,16 @@ class CfnPortfolioProductAssociationProps:
1881
1881
  def __init__(
1882
1882
  self,
1883
1883
  *,
1884
- portfolio_id: builtins.str,
1885
- product_id: builtins.str,
1886
1884
  accept_language: typing.Optional[builtins.str] = None,
1885
+ portfolio_id: typing.Optional[builtins.str] = None,
1886
+ product_id: typing.Optional[builtins.str] = None,
1887
1887
  source_portfolio_id: typing.Optional[builtins.str] = None,
1888
1888
  ) -> None:
1889
1889
  '''Properties for defining a ``CfnPortfolioProductAssociation``.
1890
1890
 
1891
+ :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
1891
1892
  :param portfolio_id: The portfolio identifier.
1892
1893
  :param product_id: The product identifier.
1893
- :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
1894
1894
  :param source_portfolio_id: The identifier of the source portfolio.
1895
1895
 
1896
1896
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html
@@ -1903,59 +1903,56 @@ class CfnPortfolioProductAssociationProps:
1903
1903
  from aws_cdk import aws_servicecatalog as servicecatalog
1904
1904
 
1905
1905
  cfn_portfolio_product_association_props = servicecatalog.CfnPortfolioProductAssociationProps(
1906
+ accept_language="acceptLanguage",
1906
1907
  portfolio_id="portfolioId",
1907
1908
  product_id="productId",
1908
-
1909
- # the properties below are optional
1910
- accept_language="acceptLanguage",
1911
1909
  source_portfolio_id="sourcePortfolioId"
1912
1910
  )
1913
1911
  '''
1914
1912
  if __debug__:
1915
1913
  type_hints = typing.get_type_hints(_typecheckingstub__97355e439ae20c66a13583fbc70b7a8de7f038ae88e7d60775df912c8ba748c0)
1914
+ check_type(argname="argument accept_language", value=accept_language, expected_type=type_hints["accept_language"])
1916
1915
  check_type(argname="argument portfolio_id", value=portfolio_id, expected_type=type_hints["portfolio_id"])
1917
1916
  check_type(argname="argument product_id", value=product_id, expected_type=type_hints["product_id"])
1918
- check_type(argname="argument accept_language", value=accept_language, expected_type=type_hints["accept_language"])
1919
1917
  check_type(argname="argument source_portfolio_id", value=source_portfolio_id, expected_type=type_hints["source_portfolio_id"])
1920
- self._values: typing.Dict[builtins.str, typing.Any] = {
1921
- "portfolio_id": portfolio_id,
1922
- "product_id": product_id,
1923
- }
1918
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1924
1919
  if accept_language is not None:
1925
1920
  self._values["accept_language"] = accept_language
1921
+ if portfolio_id is not None:
1922
+ self._values["portfolio_id"] = portfolio_id
1923
+ if product_id is not None:
1924
+ self._values["product_id"] = product_id
1926
1925
  if source_portfolio_id is not None:
1927
1926
  self._values["source_portfolio_id"] = source_portfolio_id
1928
1927
 
1929
1928
  @builtins.property
1930
- def portfolio_id(self) -> builtins.str:
1929
+ def accept_language(self) -> typing.Optional[builtins.str]:
1930
+ '''The language code.
1931
+
1932
+ - ``jp`` - Japanese
1933
+ - ``zh`` - Chinese
1934
+
1935
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-acceptlanguage
1936
+ '''
1937
+ result = self._values.get("accept_language")
1938
+ return typing.cast(typing.Optional[builtins.str], result)
1939
+
1940
+ @builtins.property
1941
+ def portfolio_id(self) -> typing.Optional[builtins.str]:
1931
1942
  '''The portfolio identifier.
1932
1943
 
1933
1944
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-portfolioid
1934
1945
  '''
1935
1946
  result = self._values.get("portfolio_id")
1936
- assert result is not None, "Required property 'portfolio_id' is missing"
1937
- return typing.cast(builtins.str, result)
1947
+ return typing.cast(typing.Optional[builtins.str], result)
1938
1948
 
1939
1949
  @builtins.property
1940
- def product_id(self) -> builtins.str:
1950
+ def product_id(self) -> typing.Optional[builtins.str]:
1941
1951
  '''The product identifier.
1942
1952
 
1943
1953
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-productid
1944
1954
  '''
1945
1955
  result = self._values.get("product_id")
1946
- assert result is not None, "Required property 'product_id' is missing"
1947
- return typing.cast(builtins.str, result)
1948
-
1949
- @builtins.property
1950
- def accept_language(self) -> typing.Optional[builtins.str]:
1951
- '''The language code.
1952
-
1953
- - ``jp`` - Japanese
1954
- - ``zh`` - Chinese
1955
-
1956
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-acceptlanguage
1957
- '''
1958
- result = self._values.get("accept_language")
1959
1956
  return typing.cast(typing.Optional[builtins.str], result)
1960
1957
 
1961
1958
  @builtins.property
@@ -5627,13 +5624,14 @@ class PortfolioPrincipalAssociationReference:
5627
5624
  @jsii.data_type(
5628
5625
  jsii_type="aws-cdk-lib.aws_servicecatalog.PortfolioProductAssociationReference",
5629
5626
  jsii_struct_bases=[],
5630
- name_mapping={"portfolio_product_association_id": "portfolioProductAssociationId"},
5627
+ name_mapping={"portfolio_id": "portfolioId", "product_id": "productId"},
5631
5628
  )
5632
5629
  class PortfolioProductAssociationReference:
5633
- def __init__(self, *, portfolio_product_association_id: builtins.str) -> None:
5630
+ def __init__(self, *, portfolio_id: builtins.str, product_id: builtins.str) -> None:
5634
5631
  '''A reference to a PortfolioProductAssociation resource.
5635
5632
 
5636
- :param portfolio_product_association_id: The Id of the PortfolioProductAssociation resource.
5633
+ :param portfolio_id: The PortfolioId of the PortfolioProductAssociation resource.
5634
+ :param product_id: The ProductId of the PortfolioProductAssociation resource.
5637
5635
 
5638
5636
  :exampleMetadata: fixture=_generated
5639
5637
 
@@ -5644,21 +5642,31 @@ class PortfolioProductAssociationReference:
5644
5642
  from aws_cdk import aws_servicecatalog as servicecatalog
5645
5643
 
5646
5644
  portfolio_product_association_reference = servicecatalog.PortfolioProductAssociationReference(
5647
- portfolio_product_association_id="portfolioProductAssociationId"
5645
+ portfolio_id="portfolioId",
5646
+ product_id="productId"
5648
5647
  )
5649
5648
  '''
5650
5649
  if __debug__:
5651
5650
  type_hints = typing.get_type_hints(_typecheckingstub__16f8ca87db7922e5db79b96a382f11f60f939784f7535a92f4d0967a66b4a0fc)
5652
- check_type(argname="argument portfolio_product_association_id", value=portfolio_product_association_id, expected_type=type_hints["portfolio_product_association_id"])
5651
+ check_type(argname="argument portfolio_id", value=portfolio_id, expected_type=type_hints["portfolio_id"])
5652
+ check_type(argname="argument product_id", value=product_id, expected_type=type_hints["product_id"])
5653
5653
  self._values: typing.Dict[builtins.str, typing.Any] = {
5654
- "portfolio_product_association_id": portfolio_product_association_id,
5654
+ "portfolio_id": portfolio_id,
5655
+ "product_id": product_id,
5655
5656
  }
5656
5657
 
5657
5658
  @builtins.property
5658
- def portfolio_product_association_id(self) -> builtins.str:
5659
- '''The Id of the PortfolioProductAssociation resource.'''
5660
- result = self._values.get("portfolio_product_association_id")
5661
- assert result is not None, "Required property 'portfolio_product_association_id' is missing"
5659
+ def portfolio_id(self) -> builtins.str:
5660
+ '''The PortfolioId of the PortfolioProductAssociation resource.'''
5661
+ result = self._values.get("portfolio_id")
5662
+ assert result is not None, "Required property 'portfolio_id' is missing"
5663
+ return typing.cast(builtins.str, result)
5664
+
5665
+ @builtins.property
5666
+ def product_id(self) -> builtins.str:
5667
+ '''The ProductId of the PortfolioProductAssociation resource.'''
5668
+ result = self._values.get("product_id")
5669
+ assert result is not None, "Required property 'product_id' is missing"
5662
5670
  return typing.cast(builtins.str, result)
5663
5671
 
5664
5672
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
@@ -9448,7 +9456,8 @@ class CfnLaunchTemplateConstraint(
9448
9456
  @builtins.property
9449
9457
  @jsii.member(jsii_name="attrId")
9450
9458
  def attr_id(self) -> builtins.str:
9451
- '''
9459
+ '''Unique identifier for the constraint.
9460
+
9452
9461
  :cloudformationAttribute: Id
9453
9462
  '''
9454
9463
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
@@ -9746,12 +9755,12 @@ class CfnPortfolioPrincipalAssociation(
9746
9755
  from aws_cdk import aws_servicecatalog as servicecatalog
9747
9756
 
9748
9757
  cfn_portfolio_principal_association = servicecatalog.CfnPortfolioPrincipalAssociation(self, "MyCfnPortfolioPrincipalAssociation",
9749
- portfolio_id="portfolioId",
9750
- principal_arn="principalArn",
9751
9758
  principal_type="principalType",
9752
9759
 
9753
9760
  # the properties below are optional
9754
- accept_language="acceptLanguage"
9761
+ accept_language="acceptLanguage",
9762
+ portfolio_id="portfolioId",
9763
+ principal_arn="principalArn"
9755
9764
  )
9756
9765
  '''
9757
9766
 
@@ -9760,28 +9769,28 @@ class CfnPortfolioPrincipalAssociation(
9760
9769
  scope: _constructs_77d1e7e8.Construct,
9761
9770
  id: builtins.str,
9762
9771
  *,
9763
- portfolio_id: builtins.str,
9764
- principal_arn: builtins.str,
9765
9772
  principal_type: builtins.str,
9766
9773
  accept_language: typing.Optional[builtins.str] = None,
9774
+ portfolio_id: typing.Optional[builtins.str] = None,
9775
+ principal_arn: typing.Optional[builtins.str] = None,
9767
9776
  ) -> None:
9768
9777
  '''
9769
9778
  :param scope: Scope in which this resource is defined.
9770
9779
  :param id: Construct identifier for this resource (unique in its scope).
9771
- :param portfolio_id: The portfolio identifier.
9772
- :param principal_arn: The ARN of the principal ( IAM user, role, or group).
9773
9780
  :param principal_type: The principal type. The supported values are ``IAM`` and ``IAM_PATTERN`` .
9774
9781
  :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
9782
+ :param portfolio_id: The portfolio identifier.
9783
+ :param principal_arn: The ARN of the principal ( IAM user, role, or group).
9775
9784
  '''
9776
9785
  if __debug__:
9777
9786
  type_hints = typing.get_type_hints(_typecheckingstub__2b8a7d450a71f88f29341f360bc05a021b910027171e4e63c9be6c67c4d53b2a)
9778
9787
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
9779
9788
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9780
9789
  props = CfnPortfolioPrincipalAssociationProps(
9781
- portfolio_id=portfolio_id,
9782
- principal_arn=principal_arn,
9783
9790
  principal_type=principal_type,
9784
9791
  accept_language=accept_language,
9792
+ portfolio_id=portfolio_id,
9793
+ principal_arn=principal_arn,
9785
9794
  )
9786
9795
 
9787
9796
  jsii.create(self.__class__, self, [scope, id, props])
@@ -9837,32 +9846,6 @@ class CfnPortfolioPrincipalAssociation(
9837
9846
  '''A reference to a PortfolioPrincipalAssociation resource.'''
9838
9847
  return typing.cast(PortfolioPrincipalAssociationReference, jsii.get(self, "portfolioPrincipalAssociationRef"))
9839
9848
 
9840
- @builtins.property
9841
- @jsii.member(jsii_name="portfolioId")
9842
- def portfolio_id(self) -> builtins.str:
9843
- '''The portfolio identifier.'''
9844
- return typing.cast(builtins.str, jsii.get(self, "portfolioId"))
9845
-
9846
- @portfolio_id.setter
9847
- def portfolio_id(self, value: builtins.str) -> None:
9848
- if __debug__:
9849
- type_hints = typing.get_type_hints(_typecheckingstub__726706747073f477b14d5b31fa14aba7087b2fc4265414101c6069e458c605ef)
9850
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9851
- jsii.set(self, "portfolioId", value) # pyright: ignore[reportArgumentType]
9852
-
9853
- @builtins.property
9854
- @jsii.member(jsii_name="principalArn")
9855
- def principal_arn(self) -> builtins.str:
9856
- '''The ARN of the principal ( IAM user, role, or group).'''
9857
- return typing.cast(builtins.str, jsii.get(self, "principalArn"))
9858
-
9859
- @principal_arn.setter
9860
- def principal_arn(self, value: builtins.str) -> None:
9861
- if __debug__:
9862
- type_hints = typing.get_type_hints(_typecheckingstub__71c52a4171fa242df45a083617e532d09ea08d89eea6a461f83e7608b28c48bb)
9863
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9864
- jsii.set(self, "principalArn", value) # pyright: ignore[reportArgumentType]
9865
-
9866
9849
  @builtins.property
9867
9850
  @jsii.member(jsii_name="principalType")
9868
9851
  def principal_type(self) -> builtins.str:
@@ -9889,6 +9872,32 @@ class CfnPortfolioPrincipalAssociation(
9889
9872
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9890
9873
  jsii.set(self, "acceptLanguage", value) # pyright: ignore[reportArgumentType]
9891
9874
 
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
+
9892
9901
 
9893
9902
  @jsii.implements(_IInspectable_c2943556, IPortfolioProductAssociationRef)
9894
9903
  class CfnPortfolioProductAssociation(
@@ -9911,11 +9920,9 @@ class CfnPortfolioProductAssociation(
9911
9920
  from aws_cdk import aws_servicecatalog as servicecatalog
9912
9921
 
9913
9922
  cfn_portfolio_product_association = servicecatalog.CfnPortfolioProductAssociation(self, "MyCfnPortfolioProductAssociation",
9923
+ accept_language="acceptLanguage",
9914
9924
  portfolio_id="portfolioId",
9915
9925
  product_id="productId",
9916
-
9917
- # the properties below are optional
9918
- accept_language="acceptLanguage",
9919
9926
  source_portfolio_id="sourcePortfolioId"
9920
9927
  )
9921
9928
  '''
@@ -9925,17 +9932,17 @@ class CfnPortfolioProductAssociation(
9925
9932
  scope: _constructs_77d1e7e8.Construct,
9926
9933
  id: builtins.str,
9927
9934
  *,
9928
- portfolio_id: builtins.str,
9929
- product_id: builtins.str,
9930
9935
  accept_language: typing.Optional[builtins.str] = None,
9936
+ portfolio_id: typing.Optional[builtins.str] = None,
9937
+ product_id: typing.Optional[builtins.str] = None,
9931
9938
  source_portfolio_id: typing.Optional[builtins.str] = None,
9932
9939
  ) -> None:
9933
9940
  '''
9934
9941
  :param scope: Scope in which this resource is defined.
9935
9942
  :param id: Construct identifier for this resource (unique in its scope).
9943
+ :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
9936
9944
  :param portfolio_id: The portfolio identifier.
9937
9945
  :param product_id: The product identifier.
9938
- :param accept_language: The language code. - ``jp`` - Japanese - ``zh`` - Chinese
9939
9946
  :param source_portfolio_id: The identifier of the source portfolio.
9940
9947
  '''
9941
9948
  if __debug__:
@@ -9943,9 +9950,9 @@ class CfnPortfolioProductAssociation(
9943
9950
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
9944
9951
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9945
9952
  props = CfnPortfolioProductAssociationProps(
9953
+ accept_language=accept_language,
9946
9954
  portfolio_id=portfolio_id,
9947
9955
  product_id=product_id,
9948
- accept_language=accept_language,
9949
9956
  source_portfolio_id=source_portfolio_id,
9950
9957
  )
9951
9958
 
@@ -10000,14 +10007,27 @@ class CfnPortfolioProductAssociation(
10000
10007
  '''A reference to a PortfolioProductAssociation resource.'''
10001
10008
  return typing.cast(PortfolioProductAssociationReference, jsii.get(self, "portfolioProductAssociationRef"))
10002
10009
 
10010
+ @builtins.property
10011
+ @jsii.member(jsii_name="acceptLanguage")
10012
+ def accept_language(self) -> typing.Optional[builtins.str]:
10013
+ '''The language code.'''
10014
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "acceptLanguage"))
10015
+
10016
+ @accept_language.setter
10017
+ def accept_language(self, value: typing.Optional[builtins.str]) -> None:
10018
+ if __debug__:
10019
+ type_hints = typing.get_type_hints(_typecheckingstub__c7d396eed36a68172694b616bafad7ef385373f22a1d8c3dc49608d69ec9e526)
10020
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10021
+ jsii.set(self, "acceptLanguage", value) # pyright: ignore[reportArgumentType]
10022
+
10003
10023
  @builtins.property
10004
10024
  @jsii.member(jsii_name="portfolioId")
10005
- def portfolio_id(self) -> builtins.str:
10025
+ def portfolio_id(self) -> typing.Optional[builtins.str]:
10006
10026
  '''The portfolio identifier.'''
10007
- return typing.cast(builtins.str, jsii.get(self, "portfolioId"))
10027
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "portfolioId"))
10008
10028
 
10009
10029
  @portfolio_id.setter
10010
- def portfolio_id(self, value: builtins.str) -> None:
10030
+ def portfolio_id(self, value: typing.Optional[builtins.str]) -> None:
10011
10031
  if __debug__:
10012
10032
  type_hints = typing.get_type_hints(_typecheckingstub__19f425d3e28d58e160bed9adb81d5653e2000512b6a76bfcf27a70e272988f14)
10013
10033
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
@@ -10015,30 +10035,17 @@ class CfnPortfolioProductAssociation(
10015
10035
 
10016
10036
  @builtins.property
10017
10037
  @jsii.member(jsii_name="productId")
10018
- def product_id(self) -> builtins.str:
10038
+ def product_id(self) -> typing.Optional[builtins.str]:
10019
10039
  '''The product identifier.'''
10020
- return typing.cast(builtins.str, jsii.get(self, "productId"))
10040
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "productId"))
10021
10041
 
10022
10042
  @product_id.setter
10023
- def product_id(self, value: builtins.str) -> None:
10043
+ def product_id(self, value: typing.Optional[builtins.str]) -> None:
10024
10044
  if __debug__:
10025
10045
  type_hints = typing.get_type_hints(_typecheckingstub__3098433a8204e6c52183ab4756af784eb3f510cb7bdb7fe68b7c21ef9e4d78cf)
10026
10046
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10027
10047
  jsii.set(self, "productId", value) # pyright: ignore[reportArgumentType]
10028
10048
 
10029
- @builtins.property
10030
- @jsii.member(jsii_name="acceptLanguage")
10031
- def accept_language(self) -> typing.Optional[builtins.str]:
10032
- '''The language code.'''
10033
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "acceptLanguage"))
10034
-
10035
- @accept_language.setter
10036
- def accept_language(self, value: typing.Optional[builtins.str]) -> None:
10037
- if __debug__:
10038
- type_hints = typing.get_type_hints(_typecheckingstub__c7d396eed36a68172694b616bafad7ef385373f22a1d8c3dc49608d69ec9e526)
10039
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10040
- jsii.set(self, "acceptLanguage", value) # pyright: ignore[reportArgumentType]
10041
-
10042
10049
  @builtins.property
10043
10050
  @jsii.member(jsii_name="sourcePortfolioId")
10044
10051
  def source_portfolio_id(self) -> typing.Optional[builtins.str]:
@@ -11696,19 +11703,19 @@ def _typecheckingstub__782bde46fdc76fe863545140febd1fe95f163b327614047bf13a8ac26
11696
11703
 
11697
11704
  def _typecheckingstub__86aa94ae9b8977b851184740615709136e8ab87d84e565bd4ed1c37202e743af(
11698
11705
  *,
11699
- portfolio_id: builtins.str,
11700
- principal_arn: builtins.str,
11701
11706
  principal_type: builtins.str,
11702
11707
  accept_language: typing.Optional[builtins.str] = None,
11708
+ portfolio_id: typing.Optional[builtins.str] = None,
11709
+ principal_arn: typing.Optional[builtins.str] = None,
11703
11710
  ) -> None:
11704
11711
  """Type checking stubs"""
11705
11712
  pass
11706
11713
 
11707
11714
  def _typecheckingstub__97355e439ae20c66a13583fbc70b7a8de7f038ae88e7d60775df912c8ba748c0(
11708
11715
  *,
11709
- portfolio_id: builtins.str,
11710
- product_id: builtins.str,
11711
11716
  accept_language: typing.Optional[builtins.str] = None,
11717
+ portfolio_id: typing.Optional[builtins.str] = None,
11718
+ product_id: typing.Optional[builtins.str] = None,
11712
11719
  source_portfolio_id: typing.Optional[builtins.str] = None,
11713
11720
  ) -> None:
11714
11721
  """Type checking stubs"""
@@ -12179,7 +12186,8 @@ def _typecheckingstub__c7ef68af4b2af04fe6a77831d825e0f8e0c22a01698dad7f094da6200
12179
12186
 
12180
12187
  def _typecheckingstub__16f8ca87db7922e5db79b96a382f11f60f939784f7535a92f4d0967a66b4a0fc(
12181
12188
  *,
12182
- portfolio_product_association_id: builtins.str,
12189
+ portfolio_id: builtins.str,
12190
+ product_id: builtins.str,
12183
12191
  ) -> None:
12184
12192
  """Type checking stubs"""
12185
12193
  pass
@@ -12937,10 +12945,10 @@ def _typecheckingstub__2b8a7d450a71f88f29341f360bc05a021b910027171e4e63c9be6c67c
12937
12945
  scope: _constructs_77d1e7e8.Construct,
12938
12946
  id: builtins.str,
12939
12947
  *,
12940
- portfolio_id: builtins.str,
12941
- principal_arn: builtins.str,
12942
12948
  principal_type: builtins.str,
12943
12949
  accept_language: typing.Optional[builtins.str] = None,
12950
+ portfolio_id: typing.Optional[builtins.str] = None,
12951
+ principal_arn: typing.Optional[builtins.str] = None,
12944
12952
  ) -> None:
12945
12953
  """Type checking stubs"""
12946
12954
  pass
@@ -12957,25 +12965,25 @@ def _typecheckingstub__257e8fbedbaa67aa61288a1f94be02039da4ac33558591be208505deb
12957
12965
  """Type checking stubs"""
12958
12966
  pass
12959
12967
 
12960
- def _typecheckingstub__726706747073f477b14d5b31fa14aba7087b2fc4265414101c6069e458c605ef(
12968
+ def _typecheckingstub__66dbe3deef345271ae1cfb35b0e313622b15892928d8581127c03e117db33585(
12961
12969
  value: builtins.str,
12962
12970
  ) -> None:
12963
12971
  """Type checking stubs"""
12964
12972
  pass
12965
12973
 
12966
- def _typecheckingstub__71c52a4171fa242df45a083617e532d09ea08d89eea6a461f83e7608b28c48bb(
12967
- value: builtins.str,
12974
+ def _typecheckingstub__1390265bc6b4e797f81f5a56c99acfec9dceeb8b223c28fc92f325ebf1ee9136(
12975
+ value: typing.Optional[builtins.str],
12968
12976
  ) -> None:
12969
12977
  """Type checking stubs"""
12970
12978
  pass
12971
12979
 
12972
- def _typecheckingstub__66dbe3deef345271ae1cfb35b0e313622b15892928d8581127c03e117db33585(
12973
- value: builtins.str,
12980
+ def _typecheckingstub__726706747073f477b14d5b31fa14aba7087b2fc4265414101c6069e458c605ef(
12981
+ value: typing.Optional[builtins.str],
12974
12982
  ) -> None:
12975
12983
  """Type checking stubs"""
12976
12984
  pass
12977
12985
 
12978
- def _typecheckingstub__1390265bc6b4e797f81f5a56c99acfec9dceeb8b223c28fc92f325ebf1ee9136(
12986
+ def _typecheckingstub__71c52a4171fa242df45a083617e532d09ea08d89eea6a461f83e7608b28c48bb(
12979
12987
  value: typing.Optional[builtins.str],
12980
12988
  ) -> None:
12981
12989
  """Type checking stubs"""
@@ -12985,9 +12993,9 @@ def _typecheckingstub__25cb0daf817ffe74f2f0c38badd3f1db5ae0cb2012f78855ecb4495b5
12985
12993
  scope: _constructs_77d1e7e8.Construct,
12986
12994
  id: builtins.str,
12987
12995
  *,
12988
- portfolio_id: builtins.str,
12989
- product_id: builtins.str,
12990
12996
  accept_language: typing.Optional[builtins.str] = None,
12997
+ portfolio_id: typing.Optional[builtins.str] = None,
12998
+ product_id: typing.Optional[builtins.str] = None,
12991
12999
  source_portfolio_id: typing.Optional[builtins.str] = None,
12992
13000
  ) -> None:
12993
13001
  """Type checking stubs"""
@@ -13005,19 +13013,19 @@ def _typecheckingstub__32a7d6ef335f62572e1892401cb2c591da9aaabfd6b667b07c91465fd
13005
13013
  """Type checking stubs"""
13006
13014
  pass
13007
13015
 
13008
- def _typecheckingstub__19f425d3e28d58e160bed9adb81d5653e2000512b6a76bfcf27a70e272988f14(
13009
- value: builtins.str,
13016
+ def _typecheckingstub__c7d396eed36a68172694b616bafad7ef385373f22a1d8c3dc49608d69ec9e526(
13017
+ value: typing.Optional[builtins.str],
13010
13018
  ) -> None:
13011
13019
  """Type checking stubs"""
13012
13020
  pass
13013
13021
 
13014
- def _typecheckingstub__3098433a8204e6c52183ab4756af784eb3f510cb7bdb7fe68b7c21ef9e4d78cf(
13015
- value: builtins.str,
13022
+ def _typecheckingstub__19f425d3e28d58e160bed9adb81d5653e2000512b6a76bfcf27a70e272988f14(
13023
+ value: typing.Optional[builtins.str],
13016
13024
  ) -> None:
13017
13025
  """Type checking stubs"""
13018
13026
  pass
13019
13027
 
13020
- def _typecheckingstub__c7d396eed36a68172694b616bafad7ef385373f22a1d8c3dc49608d69ec9e526(
13028
+ def _typecheckingstub__3098433a8204e6c52183ab4756af784eb3f510cb7bdb7fe68b7c21ef9e4d78cf(
13021
13029
  value: typing.Optional[builtins.str],
13022
13030
  ) -> None:
13023
13031
  """Type checking stubs"""