aws-cdk-lib 2.181.1__py3-none-any.whl → 2.183.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 (69) hide show
  1. aws_cdk/__init__.py +751 -41
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.181.1.jsii.tgz → aws-cdk-lib@2.183.0.jsii.tgz} +0 -0
  4. aws_cdk/assertions/__init__.py +59 -0
  5. aws_cdk/aws_apigateway/__init__.py +122 -66
  6. aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
  7. aws_cdk/aws_appsync/__init__.py +30 -4
  8. aws_cdk/aws_autoscaling/__init__.py +409 -36
  9. aws_cdk/aws_batch/__init__.py +638 -14
  10. aws_cdk/aws_bedrock/__init__.py +6009 -2326
  11. aws_cdk/aws_ce/__init__.py +141 -3
  12. aws_cdk/aws_certificatemanager/__init__.py +24 -0
  13. aws_cdk/aws_cloudformation/__init__.py +310 -35
  14. aws_cdk/aws_cloudfront/__init__.py +1 -0
  15. aws_cdk/aws_cloudtrail/__init__.py +8 -8
  16. aws_cdk/aws_codebuild/__init__.py +4 -10
  17. aws_cdk/aws_cognito/__init__.py +3 -3
  18. aws_cdk/aws_datazone/__init__.py +82 -0
  19. aws_cdk/aws_dms/__init__.py +350 -0
  20. aws_cdk/aws_ec2/__init__.py +95 -17
  21. aws_cdk/aws_ecr/__init__.py +10 -4
  22. aws_cdk/aws_ecs/__init__.py +58 -9
  23. aws_cdk/aws_eks/__init__.py +32 -3
  24. aws_cdk/aws_elasticache/__init__.py +3 -3
  25. aws_cdk/aws_emr/__init__.py +9 -3
  26. aws_cdk/aws_fsx/__init__.py +2 -0
  27. aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
  28. aws_cdk/aws_guardduty/__init__.py +38 -26
  29. aws_cdk/aws_iam/__init__.py +295 -37
  30. aws_cdk/aws_inspector/__init__.py +180 -1
  31. aws_cdk/aws_iot/__init__.py +616 -22
  32. aws_cdk/aws_iotfleetwise/__init__.py +72 -10
  33. aws_cdk/aws_iotsitewise/__init__.py +14 -11
  34. aws_cdk/aws_kafkaconnect/__init__.py +4 -2
  35. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  36. aws_cdk/aws_lambda/__init__.py +17 -0
  37. aws_cdk/aws_logs/__init__.py +135 -0
  38. aws_cdk/aws_medialive/__init__.py +86 -86
  39. aws_cdk/aws_mediapackagev2/__init__.py +22 -14
  40. aws_cdk/aws_msk/__init__.py +236 -128
  41. aws_cdk/aws_neptunegraph/__init__.py +3 -3
  42. aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
  43. aws_cdk/aws_opensearchservice/__init__.py +261 -1
  44. aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
  45. aws_cdk/aws_pipes/__init__.py +6 -2
  46. aws_cdk/aws_quicksight/__init__.py +6712 -20758
  47. aws_cdk/aws_rds/__init__.py +174 -30
  48. aws_cdk/aws_redshift/__init__.py +8 -8
  49. aws_cdk/aws_s3/__init__.py +8 -0
  50. aws_cdk/aws_sagemaker/__init__.py +80 -18
  51. aws_cdk/aws_securitylake/__init__.py +3 -0
  52. aws_cdk/aws_sns/__init__.py +76 -1
  53. aws_cdk/aws_synthetics/__init__.py +2 -0
  54. aws_cdk/aws_transfer/__init__.py +241 -40
  55. aws_cdk/aws_vpclattice/__init__.py +144 -9
  56. aws_cdk/aws_wafv2/__init__.py +790 -0
  57. aws_cdk/aws_wisdom/__init__.py +3 -110
  58. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  59. aws_cdk/aws_workspacesweb/__init__.py +179 -2
  60. aws_cdk/aws_xray/__init__.py +195 -0
  61. aws_cdk/cloud_assembly_schema/__init__.py +224 -4
  62. aws_cdk/custom_resources/__init__.py +65 -8
  63. aws_cdk/cx_api/__init__.py +2 -1
  64. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/METADATA +2 -2
  65. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/RECORD +69 -68
  66. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/top_level.txt +0 -0
@@ -1301,6 +1301,11 @@ class CfnResourceConfiguration(
1301
1301
  protocol_type="protocolType",
1302
1302
  resource_configuration_auth_type="resourceConfigurationAuthType",
1303
1303
  resource_configuration_definition=vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty(
1304
+ arn_resource="arnResource",
1305
+ dns_resource=vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1306
+ domain_name="domainName",
1307
+ ip_address_type="ipAddressType"
1308
+ ),
1304
1309
  ip_resource="ipResource"
1305
1310
  ),
1306
1311
  resource_configuration_group_id="resourceConfigurationGroupId",
@@ -1570,19 +1575,102 @@ class CfnResourceConfiguration(
1570
1575
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1571
1576
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1572
1577
 
1578
+ @jsii.data_type(
1579
+ jsii_type="aws-cdk-lib.aws_vpclattice.CfnResourceConfiguration.DnsResourceProperty",
1580
+ jsii_struct_bases=[],
1581
+ name_mapping={"domain_name": "domainName", "ip_address_type": "ipAddressType"},
1582
+ )
1583
+ class DnsResourceProperty:
1584
+ def __init__(
1585
+ self,
1586
+ *,
1587
+ domain_name: builtins.str,
1588
+ ip_address_type: builtins.str,
1589
+ ) -> None:
1590
+ '''The domain name of the resource configuration.
1591
+
1592
+ :param domain_name: The domain name of the resource configuration.
1593
+ :param ip_address_type: The IP address type for the resource configuration.
1594
+
1595
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html
1596
+ :exampleMetadata: fixture=_generated
1597
+
1598
+ Example::
1599
+
1600
+ # The code below shows an example of how to instantiate this type.
1601
+ # The values are placeholders you should change.
1602
+ from aws_cdk import aws_vpclattice as vpclattice
1603
+
1604
+ dns_resource_property = vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1605
+ domain_name="domainName",
1606
+ ip_address_type="ipAddressType"
1607
+ )
1608
+ '''
1609
+ if __debug__:
1610
+ type_hints = typing.get_type_hints(_typecheckingstub__212741d5ebd626df186794616e24cc8f6fcb02d54ad7417694e6a4646f6c553c)
1611
+ check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
1612
+ check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
1613
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1614
+ "domain_name": domain_name,
1615
+ "ip_address_type": ip_address_type,
1616
+ }
1617
+
1618
+ @builtins.property
1619
+ def domain_name(self) -> builtins.str:
1620
+ '''The domain name of the resource configuration.
1621
+
1622
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html#cfn-vpclattice-resourceconfiguration-dnsresource-domainname
1623
+ '''
1624
+ result = self._values.get("domain_name")
1625
+ assert result is not None, "Required property 'domain_name' is missing"
1626
+ return typing.cast(builtins.str, result)
1627
+
1628
+ @builtins.property
1629
+ def ip_address_type(self) -> builtins.str:
1630
+ '''The IP address type for the resource configuration.
1631
+
1632
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html#cfn-vpclattice-resourceconfiguration-dnsresource-ipaddresstype
1633
+ '''
1634
+ result = self._values.get("ip_address_type")
1635
+ assert result is not None, "Required property 'ip_address_type' is missing"
1636
+ return typing.cast(builtins.str, result)
1637
+
1638
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1639
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1640
+
1641
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1642
+ return not (rhs == self)
1643
+
1644
+ def __repr__(self) -> str:
1645
+ return "DnsResourceProperty(%s)" % ", ".join(
1646
+ k + "=" + repr(v) for k, v in self._values.items()
1647
+ )
1648
+
1573
1649
  @jsii.data_type(
1574
1650
  jsii_type="aws-cdk-lib.aws_vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty",
1575
1651
  jsii_struct_bases=[],
1576
- name_mapping={"ip_resource": "ipResource"},
1652
+ name_mapping={
1653
+ "arn_resource": "arnResource",
1654
+ "dns_resource": "dnsResource",
1655
+ "ip_resource": "ipResource",
1656
+ },
1577
1657
  )
1578
1658
  class ResourceConfigurationDefinitionProperty:
1579
- def __init__(self, *, ip_resource: builtins.str) -> None:
1659
+ def __init__(
1660
+ self,
1661
+ *,
1662
+ arn_resource: typing.Optional[builtins.str] = None,
1663
+ dns_resource: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnResourceConfiguration.DnsResourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1664
+ ip_resource: typing.Optional[builtins.str] = None,
1665
+ ) -> None:
1580
1666
  '''Identifies the resource configuration in one of the following ways:.
1581
1667
 
1582
1668
  - *Amazon Resource Name (ARN)* - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN.
1583
1669
  - *Domain name* - Any domain name that is publicly resolvable.
1584
1670
  - *IP address* - For IPv4 and IPv6, only IP addresses in the VPC are supported.
1585
1671
 
1672
+ :param arn_resource: The Amazon Resource Name (ARN) of the resource configuration. For the ARN syntax and format, see `ARN format <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html#arns-syntax>`_ in the *AWS Identity and Access Management user guide* .
1673
+ :param dns_resource: The DNS name of the resource configuration.
1586
1674
  :param ip_resource: The IP address of the resource configuration.
1587
1675
 
1588
1676
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html
@@ -1595,25 +1683,57 @@ class CfnResourceConfiguration(
1595
1683
  from aws_cdk import aws_vpclattice as vpclattice
1596
1684
 
1597
1685
  resource_configuration_definition_property = vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty(
1686
+ arn_resource="arnResource",
1687
+ dns_resource=vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1688
+ domain_name="domainName",
1689
+ ip_address_type="ipAddressType"
1690
+ ),
1598
1691
  ip_resource="ipResource"
1599
1692
  )
1600
1693
  '''
1601
1694
  if __debug__:
1602
1695
  type_hints = typing.get_type_hints(_typecheckingstub__9121263d95571010bd6dc19e1c8287b50bf9733de5f1bdf0bc8a14a7f1387be0)
1696
+ check_type(argname="argument arn_resource", value=arn_resource, expected_type=type_hints["arn_resource"])
1697
+ check_type(argname="argument dns_resource", value=dns_resource, expected_type=type_hints["dns_resource"])
1603
1698
  check_type(argname="argument ip_resource", value=ip_resource, expected_type=type_hints["ip_resource"])
1604
- self._values: typing.Dict[builtins.str, typing.Any] = {
1605
- "ip_resource": ip_resource,
1606
- }
1699
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1700
+ if arn_resource is not None:
1701
+ self._values["arn_resource"] = arn_resource
1702
+ if dns_resource is not None:
1703
+ self._values["dns_resource"] = dns_resource
1704
+ if ip_resource is not None:
1705
+ self._values["ip_resource"] = ip_resource
1607
1706
 
1608
1707
  @builtins.property
1609
- def ip_resource(self) -> builtins.str:
1708
+ def arn_resource(self) -> typing.Optional[builtins.str]:
1709
+ '''The Amazon Resource Name (ARN) of the resource configuration.
1710
+
1711
+ For the ARN syntax and format, see `ARN format <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html#arns-syntax>`_ in the *AWS Identity and Access Management user guide* .
1712
+
1713
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-arnresource
1714
+ '''
1715
+ result = self._values.get("arn_resource")
1716
+ return typing.cast(typing.Optional[builtins.str], result)
1717
+
1718
+ @builtins.property
1719
+ def dns_resource(
1720
+ self,
1721
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnResourceConfiguration.DnsResourceProperty"]]:
1722
+ '''The DNS name of the resource configuration.
1723
+
1724
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-dnsresource
1725
+ '''
1726
+ result = self._values.get("dns_resource")
1727
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnResourceConfiguration.DnsResourceProperty"]], result)
1728
+
1729
+ @builtins.property
1730
+ def ip_resource(self) -> typing.Optional[builtins.str]:
1610
1731
  '''The IP address of the resource configuration.
1611
1732
 
1612
1733
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-ipresource
1613
1734
  '''
1614
1735
  result = self._values.get("ip_resource")
1615
- assert result is not None, "Required property 'ip_resource' is missing"
1616
- return typing.cast(builtins.str, result)
1736
+ return typing.cast(typing.Optional[builtins.str], result)
1617
1737
 
1618
1738
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1619
1739
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -1687,6 +1807,11 @@ class CfnResourceConfigurationProps:
1687
1807
  protocol_type="protocolType",
1688
1808
  resource_configuration_auth_type="resourceConfigurationAuthType",
1689
1809
  resource_configuration_definition=vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty(
1810
+ arn_resource="arnResource",
1811
+ dns_resource=vpclattice.CfnResourceConfiguration.DnsResourceProperty(
1812
+ domain_name="domainName",
1813
+ ip_address_type="ipAddressType"
1814
+ ),
1690
1815
  ip_resource="ipResource"
1691
1816
  ),
1692
1817
  resource_configuration_group_id="resourceConfigurationGroupId",
@@ -6890,9 +7015,19 @@ def _typecheckingstub__4f5f1b5a9415ccd7fa5ca852ef4adaa16d7ede062f9c3e53659f7d704
6890
7015
  """Type checking stubs"""
6891
7016
  pass
6892
7017
 
7018
+ def _typecheckingstub__212741d5ebd626df186794616e24cc8f6fcb02d54ad7417694e6a4646f6c553c(
7019
+ *,
7020
+ domain_name: builtins.str,
7021
+ ip_address_type: builtins.str,
7022
+ ) -> None:
7023
+ """Type checking stubs"""
7024
+ pass
7025
+
6893
7026
  def _typecheckingstub__9121263d95571010bd6dc19e1c8287b50bf9733de5f1bdf0bc8a14a7f1387be0(
6894
7027
  *,
6895
- ip_resource: builtins.str,
7028
+ arn_resource: typing.Optional[builtins.str] = None,
7029
+ dns_resource: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnResourceConfiguration.DnsResourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7030
+ ip_resource: typing.Optional[builtins.str] = None,
6896
7031
  ) -> None:
6897
7032
  """Type checking stubs"""
6898
7033
  pass