aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.1__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 (62) hide show
  1. aws_cdk/__init__.py +36 -19
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +22 -8
  5. aws_cdk/aws_apigatewayv2/__init__.py +30 -0
  6. aws_cdk/aws_appconfig/__init__.py +3 -3
  7. aws_cdk/aws_applicationinsights/__init__.py +544 -4
  8. aws_cdk/aws_applicationsignals/__init__.py +170 -142
  9. aws_cdk/aws_athena/__init__.py +15 -15
  10. aws_cdk/aws_auditmanager/__init__.py +5 -5
  11. aws_cdk/aws_bedrock/__init__.py +7 -7
  12. aws_cdk/aws_codebuild/__init__.py +39 -18
  13. aws_cdk/aws_codeconnections/__init__.py +1 -1
  14. aws_cdk/aws_cognito/__init__.py +390 -203
  15. aws_cdk/aws_connect/__init__.py +1679 -152
  16. aws_cdk/aws_datazone/__init__.py +665 -40
  17. aws_cdk/aws_docdb/__init__.py +6 -1
  18. aws_cdk/aws_dynamodb/__init__.py +5 -5
  19. aws_cdk/aws_ec2/__init__.py +121 -36
  20. aws_cdk/aws_ecr/__init__.py +14 -6
  21. aws_cdk/aws_ecs/__init__.py +20 -20
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
  23. aws_cdk/aws_emr/__init__.py +8 -8
  24. aws_cdk/aws_events/__init__.py +19 -17
  25. aws_cdk/aws_events_targets/__init__.py +165 -85
  26. aws_cdk/aws_fms/__init__.py +59 -0
  27. aws_cdk/aws_fsx/__init__.py +3 -3
  28. aws_cdk/aws_gamelift/__init__.py +40 -52
  29. aws_cdk/aws_globalaccelerator/__init__.py +22 -29
  30. aws_cdk/aws_iam/__init__.py +22 -20
  31. aws_cdk/aws_iotfleetwise/__init__.py +419 -0
  32. aws_cdk/aws_iotsitewise/__init__.py +90 -1
  33. aws_cdk/aws_iotwireless/__init__.py +205 -0
  34. aws_cdk/aws_lambda/__init__.py +129 -16
  35. aws_cdk/aws_lex/__init__.py +15 -1
  36. aws_cdk/aws_logs/__init__.py +1 -1
  37. aws_cdk/aws_mediaconnect/__init__.py +111 -0
  38. aws_cdk/aws_medialive/__init__.py +7988 -3262
  39. aws_cdk/aws_msk/__init__.py +287 -479
  40. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  41. aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
  42. aws_cdk/aws_pipes/__init__.py +49 -0
  43. aws_cdk/aws_qbusiness/__init__.py +11 -14
  44. aws_cdk/aws_quicksight/__init__.py +638 -99
  45. aws_cdk/aws_rds/__init__.py +38 -27
  46. aws_cdk/aws_s3/__init__.py +215 -33
  47. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  48. aws_cdk/aws_sagemaker/__init__.py +872 -58
  49. aws_cdk/aws_secretsmanager/__init__.py +22 -8
  50. aws_cdk/aws_securityhub/__init__.py +261 -19
  51. aws_cdk/aws_securitylake/__init__.py +327 -7
  52. aws_cdk/aws_servicediscovery/__init__.py +5 -5
  53. aws_cdk/aws_sns/__init__.py +0 -8
  54. aws_cdk/aws_ssm/__init__.py +20 -12
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
  56. aws_cdk/cx_api/__init__.py +19 -0
  57. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/METADATA +1 -1
  58. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/top_level.txt +0 -0
@@ -1125,7 +1125,7 @@ class CfnSubscriber(
1125
1125
  :param id: Construct identifier for this resource (unique in its scope).
1126
1126
  :param access_types: You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber. Subscribers can consume data by directly querying AWS Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as ``LAKEFORMATION`` .
1127
1127
  :param data_lake_arn: The Amazon Resource Name (ARN) used to create the data lake.
1128
- :param sources: Amazon Security Lake supports log and event collection for natively supported AWS-services . For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
1128
+ :param sources: Amazon Security Lake supports log and event collection for natively supported AWS services . For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
1129
1129
  :param subscriber_identity: The AWS identity used to access your data.
1130
1130
  :param subscriber_name: The name of your Amazon Security Lake subscriber account.
1131
1131
  :param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
@@ -1264,7 +1264,7 @@ class CfnSubscriber(
1264
1264
  def sources(
1265
1265
  self,
1266
1266
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]]:
1267
- '''Amazon Security Lake supports log and event collection for natively supported AWS-services .'''
1267
+ '''Amazon Security Lake supports log and event collection for natively supported AWS services .'''
1268
1268
  return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]], jsii.get(self, "sources"))
1269
1269
 
1270
1270
  @sources.setter
@@ -1659,7 +1659,21 @@ class CfnSubscriberNotification(
1659
1659
  # The values are placeholders you should change.
1660
1660
  from aws_cdk import aws_securitylake as securitylake
1661
1661
 
1662
+ # sqs_notification_configuration: Any
1663
+
1662
1664
  cfn_subscriber_notification = securitylake.CfnSubscriberNotification(self, "MyCfnSubscriberNotification",
1665
+ notification_configuration=securitylake.CfnSubscriberNotification.NotificationConfigurationProperty(
1666
+ https_notification_configuration=securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
1667
+ endpoint="endpoint",
1668
+ target_role_arn="targetRoleArn",
1669
+
1670
+ # the properties below are optional
1671
+ authorization_api_key_name="authorizationApiKeyName",
1672
+ authorization_api_key_value="authorizationApiKeyValue",
1673
+ http_method="httpMethod"
1674
+ ),
1675
+ sqs_notification_configuration=sqs_notification_configuration
1676
+ ),
1663
1677
  subscriber_arn="subscriberArn"
1664
1678
  )
1665
1679
  '''
@@ -1669,18 +1683,23 @@ class CfnSubscriberNotification(
1669
1683
  scope: _constructs_77d1e7e8.Construct,
1670
1684
  id: builtins.str,
1671
1685
  *,
1686
+ notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriberNotification.NotificationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
1672
1687
  subscriber_arn: builtins.str,
1673
1688
  ) -> None:
1674
1689
  '''
1675
1690
  :param scope: Scope in which this resource is defined.
1676
1691
  :param id: Construct identifier for this resource (unique in its scope).
1692
+ :param notification_configuration: Specify the configurations you want to use for subscriber notification. The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
1677
1693
  :param subscriber_arn: The Amazon Resource Name (ARN) of the Security Lake subscriber.
1678
1694
  '''
1679
1695
  if __debug__:
1680
1696
  type_hints = typing.get_type_hints(_typecheckingstub__12d097a0b2763ed8532079d34366f79ee45e7139fbdd98f5e181dd9c1fc456ee)
1681
1697
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1682
1698
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1683
- props = CfnSubscriberNotificationProps(subscriber_arn=subscriber_arn)
1699
+ props = CfnSubscriberNotificationProps(
1700
+ notification_configuration=notification_configuration,
1701
+ subscriber_arn=subscriber_arn,
1702
+ )
1684
1703
 
1685
1704
  jsii.create(self.__class__, self, [scope, id, props])
1686
1705
 
@@ -1728,6 +1747,24 @@ class CfnSubscriberNotification(
1728
1747
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1729
1748
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1730
1749
 
1750
+ @builtins.property
1751
+ @jsii.member(jsii_name="notificationConfiguration")
1752
+ def notification_configuration(
1753
+ self,
1754
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.NotificationConfigurationProperty"]:
1755
+ '''Specify the configurations you want to use for subscriber notification.'''
1756
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.NotificationConfigurationProperty"], jsii.get(self, "notificationConfiguration"))
1757
+
1758
+ @notification_configuration.setter
1759
+ def notification_configuration(
1760
+ self,
1761
+ value: typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.NotificationConfigurationProperty"],
1762
+ ) -> None:
1763
+ if __debug__:
1764
+ type_hints = typing.get_type_hints(_typecheckingstub__f416322e55f2b44fbfc4db060d6295a8133d187a93c3b3323f90fb62986ced47)
1765
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1766
+ jsii.set(self, "notificationConfiguration", value) # pyright: ignore[reportArgumentType]
1767
+
1731
1768
  @builtins.property
1732
1769
  @jsii.member(jsii_name="subscriberArn")
1733
1770
  def subscriber_arn(self) -> builtins.str:
@@ -1741,16 +1778,242 @@ class CfnSubscriberNotification(
1741
1778
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1742
1779
  jsii.set(self, "subscriberArn", value) # pyright: ignore[reportArgumentType]
1743
1780
 
1781
+ @jsii.data_type(
1782
+ jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty",
1783
+ jsii_struct_bases=[],
1784
+ name_mapping={
1785
+ "endpoint": "endpoint",
1786
+ "target_role_arn": "targetRoleArn",
1787
+ "authorization_api_key_name": "authorizationApiKeyName",
1788
+ "authorization_api_key_value": "authorizationApiKeyValue",
1789
+ "http_method": "httpMethod",
1790
+ },
1791
+ )
1792
+ class HttpsNotificationConfigurationProperty:
1793
+ def __init__(
1794
+ self,
1795
+ *,
1796
+ endpoint: builtins.str,
1797
+ target_role_arn: builtins.str,
1798
+ authorization_api_key_name: typing.Optional[builtins.str] = None,
1799
+ authorization_api_key_value: typing.Optional[builtins.str] = None,
1800
+ http_method: typing.Optional[builtins.str] = None,
1801
+ ) -> None:
1802
+ '''Specify the configurations you want to use for HTTPS subscriber notification.
1803
+
1804
+ :param endpoint: The subscription endpoint in Security Lake . If you prefer notification with an HTTPS endpoint, populate this field.
1805
+ :param target_role_arn: The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created. For more information about ARNs and how to use them in policies, see `Managing data access <https://docs.aws.amazon.com///security-lake/latest/userguide/subscriber-data-access.html>`_ and `AWS Managed Policies <https://docs.aws.amazon.com//security-lake/latest/userguide/security-iam-awsmanpol.html>`_ in the *Amazon Security Lake User Guide* .
1806
+ :param authorization_api_key_name: The key name for the notification subscription.
1807
+ :param authorization_api_key_value: The key value for the notification subscription.
1808
+ :param http_method: The HTTPS method used for the notification subscription.
1809
+
1810
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html
1811
+ :exampleMetadata: fixture=_generated
1812
+
1813
+ Example::
1814
+
1815
+ # The code below shows an example of how to instantiate this type.
1816
+ # The values are placeholders you should change.
1817
+ from aws_cdk import aws_securitylake as securitylake
1818
+
1819
+ https_notification_configuration_property = securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
1820
+ endpoint="endpoint",
1821
+ target_role_arn="targetRoleArn",
1822
+
1823
+ # the properties below are optional
1824
+ authorization_api_key_name="authorizationApiKeyName",
1825
+ authorization_api_key_value="authorizationApiKeyValue",
1826
+ http_method="httpMethod"
1827
+ )
1828
+ '''
1829
+ if __debug__:
1830
+ type_hints = typing.get_type_hints(_typecheckingstub__5f660887f03241b04929c37749f449300fda16140134e83fad8aee07494b0fcc)
1831
+ check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
1832
+ check_type(argname="argument target_role_arn", value=target_role_arn, expected_type=type_hints["target_role_arn"])
1833
+ check_type(argname="argument authorization_api_key_name", value=authorization_api_key_name, expected_type=type_hints["authorization_api_key_name"])
1834
+ check_type(argname="argument authorization_api_key_value", value=authorization_api_key_value, expected_type=type_hints["authorization_api_key_value"])
1835
+ check_type(argname="argument http_method", value=http_method, expected_type=type_hints["http_method"])
1836
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1837
+ "endpoint": endpoint,
1838
+ "target_role_arn": target_role_arn,
1839
+ }
1840
+ if authorization_api_key_name is not None:
1841
+ self._values["authorization_api_key_name"] = authorization_api_key_name
1842
+ if authorization_api_key_value is not None:
1843
+ self._values["authorization_api_key_value"] = authorization_api_key_value
1844
+ if http_method is not None:
1845
+ self._values["http_method"] = http_method
1846
+
1847
+ @builtins.property
1848
+ def endpoint(self) -> builtins.str:
1849
+ '''The subscription endpoint in Security Lake .
1850
+
1851
+ If you prefer notification with an HTTPS endpoint, populate this field.
1852
+
1853
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-endpoint
1854
+ '''
1855
+ result = self._values.get("endpoint")
1856
+ assert result is not None, "Required property 'endpoint' is missing"
1857
+ return typing.cast(builtins.str, result)
1858
+
1859
+ @builtins.property
1860
+ def target_role_arn(self) -> builtins.str:
1861
+ '''The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
1862
+
1863
+ For more information about ARNs and how to use them in policies, see `Managing data access <https://docs.aws.amazon.com///security-lake/latest/userguide/subscriber-data-access.html>`_ and `AWS Managed Policies <https://docs.aws.amazon.com//security-lake/latest/userguide/security-iam-awsmanpol.html>`_ in the *Amazon Security Lake User Guide* .
1864
+
1865
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-targetrolearn
1866
+ '''
1867
+ result = self._values.get("target_role_arn")
1868
+ assert result is not None, "Required property 'target_role_arn' is missing"
1869
+ return typing.cast(builtins.str, result)
1870
+
1871
+ @builtins.property
1872
+ def authorization_api_key_name(self) -> typing.Optional[builtins.str]:
1873
+ '''The key name for the notification subscription.
1874
+
1875
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-authorizationapikeyname
1876
+ '''
1877
+ result = self._values.get("authorization_api_key_name")
1878
+ return typing.cast(typing.Optional[builtins.str], result)
1879
+
1880
+ @builtins.property
1881
+ def authorization_api_key_value(self) -> typing.Optional[builtins.str]:
1882
+ '''The key value for the notification subscription.
1883
+
1884
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-authorizationapikeyvalue
1885
+ '''
1886
+ result = self._values.get("authorization_api_key_value")
1887
+ return typing.cast(typing.Optional[builtins.str], result)
1888
+
1889
+ @builtins.property
1890
+ def http_method(self) -> typing.Optional[builtins.str]:
1891
+ '''The HTTPS method used for the notification subscription.
1892
+
1893
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html#cfn-securitylake-subscribernotification-httpsnotificationconfiguration-httpmethod
1894
+ '''
1895
+ result = self._values.get("http_method")
1896
+ return typing.cast(typing.Optional[builtins.str], result)
1897
+
1898
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1899
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1900
+
1901
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1902
+ return not (rhs == self)
1903
+
1904
+ def __repr__(self) -> str:
1905
+ return "HttpsNotificationConfigurationProperty(%s)" % ", ".join(
1906
+ k + "=" + repr(v) for k, v in self._values.items()
1907
+ )
1908
+
1909
+ @jsii.data_type(
1910
+ jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotification.NotificationConfigurationProperty",
1911
+ jsii_struct_bases=[],
1912
+ name_mapping={
1913
+ "https_notification_configuration": "httpsNotificationConfiguration",
1914
+ "sqs_notification_configuration": "sqsNotificationConfiguration",
1915
+ },
1916
+ )
1917
+ class NotificationConfigurationProperty:
1918
+ def __init__(
1919
+ self,
1920
+ *,
1921
+ https_notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriberNotification.HttpsNotificationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1922
+ sqs_notification_configuration: typing.Any = None,
1923
+ ) -> None:
1924
+ '''Specify the configurations you want to use for subscriber notification.
1925
+
1926
+ The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
1927
+
1928
+ :param https_notification_configuration: The configurations used for HTTPS subscriber notification.
1929
+ :param sqs_notification_configuration: The configurations for SQS subscriber notification. The members of this structure are context-dependent.
1930
+
1931
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-notificationconfiguration.html
1932
+ :exampleMetadata: fixture=_generated
1933
+
1934
+ Example::
1935
+
1936
+ # The code below shows an example of how to instantiate this type.
1937
+ # The values are placeholders you should change.
1938
+ from aws_cdk import aws_securitylake as securitylake
1939
+
1940
+ # sqs_notification_configuration: Any
1941
+
1942
+ notification_configuration_property = securitylake.CfnSubscriberNotification.NotificationConfigurationProperty(
1943
+ https_notification_configuration=securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
1944
+ endpoint="endpoint",
1945
+ target_role_arn="targetRoleArn",
1946
+
1947
+ # the properties below are optional
1948
+ authorization_api_key_name="authorizationApiKeyName",
1949
+ authorization_api_key_value="authorizationApiKeyValue",
1950
+ http_method="httpMethod"
1951
+ ),
1952
+ sqs_notification_configuration=sqs_notification_configuration
1953
+ )
1954
+ '''
1955
+ if __debug__:
1956
+ type_hints = typing.get_type_hints(_typecheckingstub__eda053f3e120e20df5120b1a8032bb559c0c4d069b5d67b0576d442df7f66b73)
1957
+ check_type(argname="argument https_notification_configuration", value=https_notification_configuration, expected_type=type_hints["https_notification_configuration"])
1958
+ check_type(argname="argument sqs_notification_configuration", value=sqs_notification_configuration, expected_type=type_hints["sqs_notification_configuration"])
1959
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1960
+ if https_notification_configuration is not None:
1961
+ self._values["https_notification_configuration"] = https_notification_configuration
1962
+ if sqs_notification_configuration is not None:
1963
+ self._values["sqs_notification_configuration"] = sqs_notification_configuration
1964
+
1965
+ @builtins.property
1966
+ def https_notification_configuration(
1967
+ self,
1968
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.HttpsNotificationConfigurationProperty"]]:
1969
+ '''The configurations used for HTTPS subscriber notification.
1970
+
1971
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-notificationconfiguration.html#cfn-securitylake-subscribernotification-notificationconfiguration-httpsnotificationconfiguration
1972
+ '''
1973
+ result = self._values.get("https_notification_configuration")
1974
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriberNotification.HttpsNotificationConfigurationProperty"]], result)
1975
+
1976
+ @builtins.property
1977
+ def sqs_notification_configuration(self) -> typing.Any:
1978
+ '''The configurations for SQS subscriber notification.
1979
+
1980
+ The members of this structure are context-dependent.
1981
+
1982
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-notificationconfiguration.html#cfn-securitylake-subscribernotification-notificationconfiguration-sqsnotificationconfiguration
1983
+ '''
1984
+ result = self._values.get("sqs_notification_configuration")
1985
+ return typing.cast(typing.Any, result)
1986
+
1987
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1988
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1989
+
1990
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1991
+ return not (rhs == self)
1992
+
1993
+ def __repr__(self) -> str:
1994
+ return "NotificationConfigurationProperty(%s)" % ", ".join(
1995
+ k + "=" + repr(v) for k, v in self._values.items()
1996
+ )
1997
+
1744
1998
 
1745
1999
  @jsii.data_type(
1746
2000
  jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotificationProps",
1747
2001
  jsii_struct_bases=[],
1748
- name_mapping={"subscriber_arn": "subscriberArn"},
2002
+ name_mapping={
2003
+ "notification_configuration": "notificationConfiguration",
2004
+ "subscriber_arn": "subscriberArn",
2005
+ },
1749
2006
  )
1750
2007
  class CfnSubscriberNotificationProps:
1751
- def __init__(self, *, subscriber_arn: builtins.str) -> None:
2008
+ def __init__(
2009
+ self,
2010
+ *,
2011
+ notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
2012
+ subscriber_arn: builtins.str,
2013
+ ) -> None:
1752
2014
  '''Properties for defining a ``CfnSubscriberNotification``.
1753
2015
 
2016
+ :param notification_configuration: Specify the configurations you want to use for subscriber notification. The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
1754
2017
  :param subscriber_arn: The Amazon Resource Name (ARN) of the Security Lake subscriber.
1755
2018
 
1756
2019
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html
@@ -1762,17 +2025,47 @@ class CfnSubscriberNotificationProps:
1762
2025
  # The values are placeholders you should change.
1763
2026
  from aws_cdk import aws_securitylake as securitylake
1764
2027
 
2028
+ # sqs_notification_configuration: Any
2029
+
1765
2030
  cfn_subscriber_notification_props = securitylake.CfnSubscriberNotificationProps(
2031
+ notification_configuration=securitylake.CfnSubscriberNotification.NotificationConfigurationProperty(
2032
+ https_notification_configuration=securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
2033
+ endpoint="endpoint",
2034
+ target_role_arn="targetRoleArn",
2035
+
2036
+ # the properties below are optional
2037
+ authorization_api_key_name="authorizationApiKeyName",
2038
+ authorization_api_key_value="authorizationApiKeyValue",
2039
+ http_method="httpMethod"
2040
+ ),
2041
+ sqs_notification_configuration=sqs_notification_configuration
2042
+ ),
1766
2043
  subscriber_arn="subscriberArn"
1767
2044
  )
1768
2045
  '''
1769
2046
  if __debug__:
1770
2047
  type_hints = typing.get_type_hints(_typecheckingstub__605e5ae993fc9297bdd697c853feff49b4a8fdf8c1ff96de11276f50e21c6a34)
2048
+ check_type(argname="argument notification_configuration", value=notification_configuration, expected_type=type_hints["notification_configuration"])
1771
2049
  check_type(argname="argument subscriber_arn", value=subscriber_arn, expected_type=type_hints["subscriber_arn"])
1772
2050
  self._values: typing.Dict[builtins.str, typing.Any] = {
2051
+ "notification_configuration": notification_configuration,
1773
2052
  "subscriber_arn": subscriber_arn,
1774
2053
  }
1775
2054
 
2055
+ @builtins.property
2056
+ def notification_configuration(
2057
+ self,
2058
+ ) -> typing.Union[_IResolvable_da3f097b, CfnSubscriberNotification.NotificationConfigurationProperty]:
2059
+ '''Specify the configurations you want to use for subscriber notification.
2060
+
2061
+ The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .
2062
+
2063
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html#cfn-securitylake-subscribernotification-notificationconfiguration
2064
+ '''
2065
+ result = self._values.get("notification_configuration")
2066
+ assert result is not None, "Required property 'notification_configuration' is missing"
2067
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnSubscriberNotification.NotificationConfigurationProperty], result)
2068
+
1776
2069
  @builtins.property
1777
2070
  def subscriber_arn(self) -> builtins.str:
1778
2071
  '''The Amazon Resource Name (ARN) of the Security Lake subscriber.
@@ -1824,7 +2117,7 @@ class CfnSubscriberProps:
1824
2117
 
1825
2118
  :param access_types: You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber. Subscribers can consume data by directly querying AWS Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as ``LAKEFORMATION`` .
1826
2119
  :param data_lake_arn: The Amazon Resource Name (ARN) used to create the data lake.
1827
- :param sources: Amazon Security Lake supports log and event collection for natively supported AWS-services . For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
2120
+ :param sources: Amazon Security Lake supports log and event collection for natively supported AWS services . For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
1828
2121
  :param subscriber_identity: The AWS identity used to access your data.
1829
2122
  :param subscriber_name: The name of your Amazon Security Lake subscriber account.
1830
2123
  :param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
@@ -1913,7 +2206,7 @@ class CfnSubscriberProps:
1913
2206
  def sources(
1914
2207
  self,
1915
2208
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]]:
1916
- '''Amazon Security Lake supports log and event collection for natively supported AWS-services .
2209
+ '''Amazon Security Lake supports log and event collection for natively supported AWS services .
1917
2210
 
1918
2211
  For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
1919
2212
 
@@ -2259,6 +2552,7 @@ def _typecheckingstub__12d097a0b2763ed8532079d34366f79ee45e7139fbdd98f5e181dd9c1
2259
2552
  scope: _constructs_77d1e7e8.Construct,
2260
2553
  id: builtins.str,
2261
2554
  *,
2555
+ notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
2262
2556
  subscriber_arn: builtins.str,
2263
2557
  ) -> None:
2264
2558
  """Type checking stubs"""
@@ -2276,14 +2570,40 @@ def _typecheckingstub__ff98af95551675e894613a4790fc104d8ef8b4d9369543d68680140fb
2276
2570
  """Type checking stubs"""
2277
2571
  pass
2278
2572
 
2573
+ def _typecheckingstub__f416322e55f2b44fbfc4db060d6295a8133d187a93c3b3323f90fb62986ced47(
2574
+ value: typing.Union[_IResolvable_da3f097b, CfnSubscriberNotification.NotificationConfigurationProperty],
2575
+ ) -> None:
2576
+ """Type checking stubs"""
2577
+ pass
2578
+
2279
2579
  def _typecheckingstub__9f1dfade8090ae9276abcfb558543bcdaf6174fe5b4b775b6634581d0a6ccdc8(
2280
2580
  value: builtins.str,
2281
2581
  ) -> None:
2282
2582
  """Type checking stubs"""
2283
2583
  pass
2284
2584
 
2585
+ def _typecheckingstub__5f660887f03241b04929c37749f449300fda16140134e83fad8aee07494b0fcc(
2586
+ *,
2587
+ endpoint: builtins.str,
2588
+ target_role_arn: builtins.str,
2589
+ authorization_api_key_name: typing.Optional[builtins.str] = None,
2590
+ authorization_api_key_value: typing.Optional[builtins.str] = None,
2591
+ http_method: typing.Optional[builtins.str] = None,
2592
+ ) -> None:
2593
+ """Type checking stubs"""
2594
+ pass
2595
+
2596
+ def _typecheckingstub__eda053f3e120e20df5120b1a8032bb559c0c4d069b5d67b0576d442df7f66b73(
2597
+ *,
2598
+ https_notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.HttpsNotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2599
+ sqs_notification_configuration: typing.Any = None,
2600
+ ) -> None:
2601
+ """Type checking stubs"""
2602
+ pass
2603
+
2285
2604
  def _typecheckingstub__605e5ae993fc9297bdd697c853feff49b4a8fdf8c1ff96de11276f50e21c6a34(
2286
2605
  *,
2606
+ notification_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriberNotification.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
2287
2607
  subscriber_arn: builtins.str,
2288
2608
  ) -> None:
2289
2609
  """Type checking stubs"""
@@ -2348,11 +2348,7 @@ class CfnService(
2348
2348
  ) -> None:
2349
2349
  '''A complex type that contains information about the Amazon Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.
2350
2350
 
2351
- .. epigraph::
2352
-
2353
- The record types of a service can only be changed by deleting the service and recreating it with a new ``Dnsconfig`` .
2354
-
2355
- :param dns_records: An array that contains one ``DnsRecord`` object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance.
2351
+ :param dns_records: An array that contains one ``DnsRecord`` object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance. .. epigraph:: The record type of a service can't be updated directly and can only be changed by deleting the service and recreating it with a new ``DnsConfig`` .
2356
2352
  :param namespace_id: The ID of the namespace to use for DNS configuration. .. epigraph:: You must specify a value for ``NamespaceId`` either for ``DnsConfig`` or for the `service properties <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html>`_ . Don't specify a value in both places.
2357
2353
  :param routing_policy: The routing policy that you want to apply to all Route 53 DNS records that AWS Cloud Map creates when you register an instance and specify this service. .. epigraph:: If you want to use this service to register instances that create alias records, specify ``WEIGHTED`` for the routing policy. You can specify the following values: - **MULTIVALUE** - If you define a health check for the service and the health check is healthy, Route 53 returns the applicable value for up to eight instances. For example, suppose that the service includes configurations for one ``A`` record and a health check. You use the service to register 10 instances. Route 53 responds to DNS queries with IP addresses for up to eight healthy instances. If fewer than eight instances are healthy, Route 53 responds to every DNS query with the IP addresses for all of the healthy instances. If you don't define a health check for the service, Route 53 assumes that all instances are healthy and returns the values for up to eight instances. For more information about the multivalue routing policy, see `Multivalue Answer Routing <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-multivalue>`_ in the *Route 53 Developer Guide* . - **WEIGHTED** - Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service. Currently, all records have the same weight, so you can't route more or less traffic to any instances. For example, suppose that the service includes configurations for one ``A`` record and a health check. You use the service to register 10 instances. Route 53 responds to DNS queries with the IP address for one randomly selected instance from among the healthy instances. If no instances are healthy, Route 53 responds to DNS queries as if all of the instances were healthy. If you don't define a health check for the service, Route 53 assumes that all instances are healthy and returns the applicable value for one randomly selected instance. For more information about the weighted routing policy, see `Weighted Routing <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-weighted>`_ in the *Route 53 Developer Guide* .
2358
2354
 
@@ -2395,6 +2391,10 @@ class CfnService(
2395
2391
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnService.DnsRecordProperty"]]]:
2396
2392
  '''An array that contains one ``DnsRecord`` object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance.
2397
2393
 
2394
+ .. epigraph::
2395
+
2396
+ The record type of a service can't be updated directly and can only be changed by deleting the service and recreating it with a new ``DnsConfig`` .
2397
+
2398
2398
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-dnsrecords
2399
2399
  '''
2400
2400
  result = self._values.get("dns_records")
@@ -632,14 +632,6 @@ class CfnSubscription(
632
632
  '''
633
633
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
634
634
 
635
- @builtins.property
636
- @jsii.member(jsii_name="attrId")
637
- def attr_id(self) -> builtins.str:
638
- '''
639
- :cloudformationAttribute: Id
640
- '''
641
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
642
-
643
635
  @builtins.property
644
636
  @jsii.member(jsii_name="cfnProperties")
645
637
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]: