aws-cdk-lib 2.144.0__py3-none-any.whl → 2.145.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.

@@ -1067,16 +1067,6 @@ class CfnSubscriber(
1067
1067
  cfn_subscriber = securitylake.CfnSubscriber(self, "MyCfnSubscriber",
1068
1068
  access_types=["accessTypes"],
1069
1069
  data_lake_arn="dataLakeArn",
1070
- sources=[securitylake.CfnSubscriber.SourceProperty(
1071
- aws_log_source=securitylake.CfnSubscriber.AwsLogSourceProperty(
1072
- source_name="sourceName",
1073
- source_version="sourceVersion"
1074
- ),
1075
- custom_log_source=securitylake.CfnSubscriber.CustomLogSourceProperty(
1076
- source_name="sourceName",
1077
- source_version="sourceVersion"
1078
- )
1079
- )],
1080
1070
  subscriber_identity=securitylake.CfnSubscriber.SubscriberIdentityProperty(
1081
1071
  external_id="externalId",
1082
1072
  principal="principal"
@@ -1099,7 +1089,6 @@ class CfnSubscriber(
1099
1089
  *,
1100
1090
  access_types: typing.Sequence[builtins.str],
1101
1091
  data_lake_arn: builtins.str,
1102
- sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.SourceProperty", typing.Dict[builtins.str, typing.Any]]]]],
1103
1092
  subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.SubscriberIdentityProperty", typing.Dict[builtins.str, typing.Any]]],
1104
1093
  subscriber_name: builtins.str,
1105
1094
  subscriber_description: typing.Optional[builtins.str] = None,
@@ -1110,7 +1099,6 @@ class CfnSubscriber(
1110
1099
  :param id: Construct identifier for this resource (unique in its scope).
1111
1100
  :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`` .
1112
1101
  :param data_lake_arn: The Amazon Resource Name (ARN) used to create the data lake.
1113
- :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>`_ .
1114
1102
  :param subscriber_identity: The AWS identity used to access your data.
1115
1103
  :param subscriber_name: The name of your Amazon Security Lake subscriber account.
1116
1104
  :param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
@@ -1123,7 +1111,6 @@ class CfnSubscriber(
1123
1111
  props = CfnSubscriberProps(
1124
1112
  access_types=access_types,
1125
1113
  data_lake_arn=data_lake_arn,
1126
- sources=sources,
1127
1114
  subscriber_identity=subscriber_identity,
1128
1115
  subscriber_name=subscriber_name,
1129
1116
  subscriber_description=subscriber_description,
@@ -1244,24 +1231,6 @@ class CfnSubscriber(
1244
1231
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1245
1232
  jsii.set(self, "dataLakeArn", value)
1246
1233
 
1247
- @builtins.property
1248
- @jsii.member(jsii_name="sources")
1249
- def sources(
1250
- self,
1251
- ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]]:
1252
- '''Amazon Security Lake supports log and event collection for natively supported AWS services .'''
1253
- return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]], jsii.get(self, "sources"))
1254
-
1255
- @sources.setter
1256
- def sources(
1257
- self,
1258
- value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]],
1259
- ) -> None:
1260
- if __debug__:
1261
- type_hints = typing.get_type_hints(_typecheckingstub__bc932de85d8e0823efeb32cd9962639ee0df5d9caf72a0cc1bd8a74abd3853f1)
1262
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1263
- jsii.set(self, "sources", value)
1264
-
1265
1234
  @builtins.property
1266
1235
  @jsii.member(jsii_name="subscriberIdentity")
1267
1236
  def subscriber_identity(
@@ -1319,239 +1288,6 @@ class CfnSubscriber(
1319
1288
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1320
1289
  jsii.set(self, "tags", value)
1321
1290
 
1322
- @jsii.data_type(
1323
- jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.AwsLogSourceProperty",
1324
- jsii_struct_bases=[],
1325
- name_mapping={"source_name": "sourceName", "source_version": "sourceVersion"},
1326
- )
1327
- class AwsLogSourceProperty:
1328
- def __init__(
1329
- self,
1330
- *,
1331
- source_name: typing.Optional[builtins.str] = None,
1332
- source_version: typing.Optional[builtins.str] = None,
1333
- ) -> None:
1334
- '''Adds a natively supported AWS service as an Amazon Security Lake source.
1335
-
1336
- Enables source types for member accounts in required AWS Regions, based on the parameters you specify. You can choose any source type in any Region for either accounts that are part of a trusted organization or standalone accounts. Once you add an AWS service as a source, Security Lake starts collecting logs and events from it.
1337
-
1338
- :param source_name: Source name of the natively supported AWS service that is supported as an Amazon Security Lake source. For the list of sources supported by Amazon Security Lake see `Collecting data from AWS services <https://docs.aws.amazon.com//security-lake/latest/userguide/internal-sources.html>`_ in the Amazon Security Lake User Guide.
1339
- :param source_version: Source version of the natively supported AWS service that is supported as an Amazon Security Lake source. For more details about source versions supported by Amazon Security Lake see `OCSF source identification <https://docs.aws.amazon.com//security-lake/latest/userguide/open-cybersecurity-schema-framework.html#ocsf-source-identification>`_ in the Amazon Security Lake User Guide.
1340
-
1341
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-awslogsource.html
1342
- :exampleMetadata: fixture=_generated
1343
-
1344
- Example::
1345
-
1346
- # The code below shows an example of how to instantiate this type.
1347
- # The values are placeholders you should change.
1348
- from aws_cdk import aws_securitylake as securitylake
1349
-
1350
- aws_log_source_property = securitylake.CfnSubscriber.AwsLogSourceProperty(
1351
- source_name="sourceName",
1352
- source_version="sourceVersion"
1353
- )
1354
- '''
1355
- if __debug__:
1356
- type_hints = typing.get_type_hints(_typecheckingstub__f7b68bdff72d0a83be28cc208139e37398a7b328722b97984e752440b8b9b167)
1357
- check_type(argname="argument source_name", value=source_name, expected_type=type_hints["source_name"])
1358
- check_type(argname="argument source_version", value=source_version, expected_type=type_hints["source_version"])
1359
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1360
- if source_name is not None:
1361
- self._values["source_name"] = source_name
1362
- if source_version is not None:
1363
- self._values["source_version"] = source_version
1364
-
1365
- @builtins.property
1366
- def source_name(self) -> typing.Optional[builtins.str]:
1367
- '''Source name of the natively supported AWS service that is supported as an Amazon Security Lake source.
1368
-
1369
- For the list of sources supported by Amazon Security Lake see `Collecting data from AWS services <https://docs.aws.amazon.com//security-lake/latest/userguide/internal-sources.html>`_ in the Amazon Security Lake User Guide.
1370
-
1371
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-awslogsource.html#cfn-securitylake-subscriber-awslogsource-sourcename
1372
- '''
1373
- result = self._values.get("source_name")
1374
- return typing.cast(typing.Optional[builtins.str], result)
1375
-
1376
- @builtins.property
1377
- def source_version(self) -> typing.Optional[builtins.str]:
1378
- '''Source version of the natively supported AWS service that is supported as an Amazon Security Lake source.
1379
-
1380
- For more details about source versions supported by Amazon Security Lake see `OCSF source identification <https://docs.aws.amazon.com//security-lake/latest/userguide/open-cybersecurity-schema-framework.html#ocsf-source-identification>`_ in the Amazon Security Lake User Guide.
1381
-
1382
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-awslogsource.html#cfn-securitylake-subscriber-awslogsource-sourceversion
1383
- '''
1384
- result = self._values.get("source_version")
1385
- return typing.cast(typing.Optional[builtins.str], result)
1386
-
1387
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
1388
- return isinstance(rhs, self.__class__) and rhs._values == self._values
1389
-
1390
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
1391
- return not (rhs == self)
1392
-
1393
- def __repr__(self) -> str:
1394
- return "AwsLogSourceProperty(%s)" % ", ".join(
1395
- k + "=" + repr(v) for k, v in self._values.items()
1396
- )
1397
-
1398
- @jsii.data_type(
1399
- jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.CustomLogSourceProperty",
1400
- jsii_struct_bases=[],
1401
- name_mapping={"source_name": "sourceName", "source_version": "sourceVersion"},
1402
- )
1403
- class CustomLogSourceProperty:
1404
- def __init__(
1405
- self,
1406
- *,
1407
- source_name: typing.Optional[builtins.str] = None,
1408
- source_version: typing.Optional[builtins.str] = None,
1409
- ) -> None:
1410
- '''Third-party custom log source that meets the requirements to be added to Amazon Security Lake .
1411
-
1412
- For more details, see `Custom log source <https://docs.aws.amazon.com//security-lake/latest/userguide/custom-sources.html#iam-roles-custom-sources>`_ in the *Amazon Security Lake User Guide* .
1413
-
1414
- :param source_name: The name of the custom log source.
1415
- :param source_version: The source version of the custom log source.
1416
-
1417
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-customlogsource.html
1418
- :exampleMetadata: fixture=_generated
1419
-
1420
- Example::
1421
-
1422
- # The code below shows an example of how to instantiate this type.
1423
- # The values are placeholders you should change.
1424
- from aws_cdk import aws_securitylake as securitylake
1425
-
1426
- custom_log_source_property = securitylake.CfnSubscriber.CustomLogSourceProperty(
1427
- source_name="sourceName",
1428
- source_version="sourceVersion"
1429
- )
1430
- '''
1431
- if __debug__:
1432
- type_hints = typing.get_type_hints(_typecheckingstub__be7ff1808e2250d74fc3f0286676c85a2ac63ab562fb09265ceb5138256bdb3a)
1433
- check_type(argname="argument source_name", value=source_name, expected_type=type_hints["source_name"])
1434
- check_type(argname="argument source_version", value=source_version, expected_type=type_hints["source_version"])
1435
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1436
- if source_name is not None:
1437
- self._values["source_name"] = source_name
1438
- if source_version is not None:
1439
- self._values["source_version"] = source_version
1440
-
1441
- @builtins.property
1442
- def source_name(self) -> typing.Optional[builtins.str]:
1443
- '''The name of the custom log source.
1444
-
1445
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-customlogsource.html#cfn-securitylake-subscriber-customlogsource-sourcename
1446
- '''
1447
- result = self._values.get("source_name")
1448
- return typing.cast(typing.Optional[builtins.str], result)
1449
-
1450
- @builtins.property
1451
- def source_version(self) -> typing.Optional[builtins.str]:
1452
- '''The source version of the custom log source.
1453
-
1454
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-customlogsource.html#cfn-securitylake-subscriber-customlogsource-sourceversion
1455
- '''
1456
- result = self._values.get("source_version")
1457
- return typing.cast(typing.Optional[builtins.str], result)
1458
-
1459
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
1460
- return isinstance(rhs, self.__class__) and rhs._values == self._values
1461
-
1462
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
1463
- return not (rhs == self)
1464
-
1465
- def __repr__(self) -> str:
1466
- return "CustomLogSourceProperty(%s)" % ", ".join(
1467
- k + "=" + repr(v) for k, v in self._values.items()
1468
- )
1469
-
1470
- @jsii.data_type(
1471
- jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.SourceProperty",
1472
- jsii_struct_bases=[],
1473
- name_mapping={
1474
- "aws_log_source": "awsLogSource",
1475
- "custom_log_source": "customLogSource",
1476
- },
1477
- )
1478
- class SourceProperty:
1479
- def __init__(
1480
- self,
1481
- *,
1482
- aws_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.AwsLogSourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1483
- custom_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.CustomLogSourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1484
- ) -> None:
1485
- '''Sources are logs and events generated from a single system that match a specific event class in the Open Cybersecurity Schema Framework (OCSF) schema.
1486
-
1487
- Amazon Security Lake can collect logs and events from a variety of sources, including natively supported AWS services and third-party custom sources.
1488
-
1489
- :param aws_log_source: The natively supported AWS service which is used a Amazon Security Lake source to collect logs and events from.
1490
- :param custom_log_source: The custom log source AWS which is used a Amazon Security Lake source to collect logs and events from.
1491
-
1492
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-source.html
1493
- :exampleMetadata: fixture=_generated
1494
-
1495
- Example::
1496
-
1497
- # The code below shows an example of how to instantiate this type.
1498
- # The values are placeholders you should change.
1499
- from aws_cdk import aws_securitylake as securitylake
1500
-
1501
- source_property = securitylake.CfnSubscriber.SourceProperty(
1502
- aws_log_source=securitylake.CfnSubscriber.AwsLogSourceProperty(
1503
- source_name="sourceName",
1504
- source_version="sourceVersion"
1505
- ),
1506
- custom_log_source=securitylake.CfnSubscriber.CustomLogSourceProperty(
1507
- source_name="sourceName",
1508
- source_version="sourceVersion"
1509
- )
1510
- )
1511
- '''
1512
- if __debug__:
1513
- type_hints = typing.get_type_hints(_typecheckingstub__09624bc0a82e7efd60186ff6e6eeff97f2daca3d7d705b8e7e3451a7add8d126)
1514
- check_type(argname="argument aws_log_source", value=aws_log_source, expected_type=type_hints["aws_log_source"])
1515
- check_type(argname="argument custom_log_source", value=custom_log_source, expected_type=type_hints["custom_log_source"])
1516
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1517
- if aws_log_source is not None:
1518
- self._values["aws_log_source"] = aws_log_source
1519
- if custom_log_source is not None:
1520
- self._values["custom_log_source"] = custom_log_source
1521
-
1522
- @builtins.property
1523
- def aws_log_source(
1524
- self,
1525
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.AwsLogSourceProperty"]]:
1526
- '''The natively supported AWS service which is used a Amazon Security Lake source to collect logs and events from.
1527
-
1528
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-source.html#cfn-securitylake-subscriber-source-awslogsource
1529
- '''
1530
- result = self._values.get("aws_log_source")
1531
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.AwsLogSourceProperty"]], result)
1532
-
1533
- @builtins.property
1534
- def custom_log_source(
1535
- self,
1536
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.CustomLogSourceProperty"]]:
1537
- '''The custom log source AWS which is used a Amazon Security Lake source to collect logs and events from.
1538
-
1539
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-source.html#cfn-securitylake-subscriber-source-customlogsource
1540
- '''
1541
- result = self._values.get("custom_log_source")
1542
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.CustomLogSourceProperty"]], result)
1543
-
1544
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
1545
- return isinstance(rhs, self.__class__) and rhs._values == self._values
1546
-
1547
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
1548
- return not (rhs == self)
1549
-
1550
- def __repr__(self) -> str:
1551
- return "SourceProperty(%s)" % ", ".join(
1552
- k + "=" + repr(v) for k, v in self._values.items()
1553
- )
1554
-
1555
1291
  @jsii.data_type(
1556
1292
  jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.SubscriberIdentityProperty",
1557
1293
  jsii_struct_bases=[],
@@ -1624,13 +1360,166 @@ class CfnSubscriber(
1624
1360
  )
1625
1361
 
1626
1362
 
1363
+ @jsii.implements(_IInspectable_c2943556)
1364
+ class CfnSubscriberNotification(
1365
+ _CfnResource_9df397a6,
1366
+ metaclass=jsii.JSIIMeta,
1367
+ jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotification",
1368
+ ):
1369
+ '''Resource Type definition for AWS::SecurityLake::SubscriberNotification.
1370
+
1371
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html
1372
+ :cloudformationResource: AWS::SecurityLake::SubscriberNotification
1373
+ :exampleMetadata: fixture=_generated
1374
+
1375
+ Example::
1376
+
1377
+ # The code below shows an example of how to instantiate this type.
1378
+ # The values are placeholders you should change.
1379
+ from aws_cdk import aws_securitylake as securitylake
1380
+
1381
+ cfn_subscriber_notification = securitylake.CfnSubscriberNotification(self, "MyCfnSubscriberNotification",
1382
+ subscriber_arn="subscriberArn"
1383
+ )
1384
+ '''
1385
+
1386
+ def __init__(
1387
+ self,
1388
+ scope: _constructs_77d1e7e8.Construct,
1389
+ id: builtins.str,
1390
+ *,
1391
+ subscriber_arn: builtins.str,
1392
+ ) -> None:
1393
+ '''
1394
+ :param scope: Scope in which this resource is defined.
1395
+ :param id: Construct identifier for this resource (unique in its scope).
1396
+ :param subscriber_arn: The ARN for the subscriber.
1397
+ '''
1398
+ if __debug__:
1399
+ type_hints = typing.get_type_hints(_typecheckingstub__12d097a0b2763ed8532079d34366f79ee45e7139fbdd98f5e181dd9c1fc456ee)
1400
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1401
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1402
+ props = CfnSubscriberNotificationProps(subscriber_arn=subscriber_arn)
1403
+
1404
+ jsii.create(self.__class__, self, [scope, id, props])
1405
+
1406
+ @jsii.member(jsii_name="inspect")
1407
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1408
+ '''Examines the CloudFormation resource and discloses attributes.
1409
+
1410
+ :param inspector: tree inspector to collect and process attributes.
1411
+ '''
1412
+ if __debug__:
1413
+ type_hints = typing.get_type_hints(_typecheckingstub__db6ae43b2a92de0dd93033da81fa3f07a95e1fbe884f4814596639fb74823867)
1414
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
1415
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
1416
+
1417
+ @jsii.member(jsii_name="renderProperties")
1418
+ def _render_properties(
1419
+ self,
1420
+ props: typing.Mapping[builtins.str, typing.Any],
1421
+ ) -> typing.Mapping[builtins.str, typing.Any]:
1422
+ '''
1423
+ :param props: -
1424
+ '''
1425
+ if __debug__:
1426
+ type_hints = typing.get_type_hints(_typecheckingstub__ff98af95551675e894613a4790fc104d8ef8b4d9369543d68680140fb2491e65)
1427
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
1428
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
1429
+
1430
+ @jsii.python.classproperty
1431
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
1432
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
1433
+ '''The CloudFormation resource type name for this resource class.'''
1434
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
1435
+
1436
+ @builtins.property
1437
+ @jsii.member(jsii_name="attrSubscriberEndpoint")
1438
+ def attr_subscriber_endpoint(self) -> builtins.str:
1439
+ '''The endpoint the subscriber should listen to for notifications.
1440
+
1441
+ :cloudformationAttribute: SubscriberEndpoint
1442
+ '''
1443
+ return typing.cast(builtins.str, jsii.get(self, "attrSubscriberEndpoint"))
1444
+
1445
+ @builtins.property
1446
+ @jsii.member(jsii_name="cfnProperties")
1447
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1448
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1449
+
1450
+ @builtins.property
1451
+ @jsii.member(jsii_name="subscriberArn")
1452
+ def subscriber_arn(self) -> builtins.str:
1453
+ '''The ARN for the subscriber.'''
1454
+ return typing.cast(builtins.str, jsii.get(self, "subscriberArn"))
1455
+
1456
+ @subscriber_arn.setter
1457
+ def subscriber_arn(self, value: builtins.str) -> None:
1458
+ if __debug__:
1459
+ type_hints = typing.get_type_hints(_typecheckingstub__9f1dfade8090ae9276abcfb558543bcdaf6174fe5b4b775b6634581d0a6ccdc8)
1460
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1461
+ jsii.set(self, "subscriberArn", value)
1462
+
1463
+
1464
+ @jsii.data_type(
1465
+ jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberNotificationProps",
1466
+ jsii_struct_bases=[],
1467
+ name_mapping={"subscriber_arn": "subscriberArn"},
1468
+ )
1469
+ class CfnSubscriberNotificationProps:
1470
+ def __init__(self, *, subscriber_arn: builtins.str) -> None:
1471
+ '''Properties for defining a ``CfnSubscriberNotification``.
1472
+
1473
+ :param subscriber_arn: The ARN for the subscriber.
1474
+
1475
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html
1476
+ :exampleMetadata: fixture=_generated
1477
+
1478
+ Example::
1479
+
1480
+ # The code below shows an example of how to instantiate this type.
1481
+ # The values are placeholders you should change.
1482
+ from aws_cdk import aws_securitylake as securitylake
1483
+
1484
+ cfn_subscriber_notification_props = securitylake.CfnSubscriberNotificationProps(
1485
+ subscriber_arn="subscriberArn"
1486
+ )
1487
+ '''
1488
+ if __debug__:
1489
+ type_hints = typing.get_type_hints(_typecheckingstub__605e5ae993fc9297bdd697c853feff49b4a8fdf8c1ff96de11276f50e21c6a34)
1490
+ check_type(argname="argument subscriber_arn", value=subscriber_arn, expected_type=type_hints["subscriber_arn"])
1491
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1492
+ "subscriber_arn": subscriber_arn,
1493
+ }
1494
+
1495
+ @builtins.property
1496
+ def subscriber_arn(self) -> builtins.str:
1497
+ '''The ARN for the subscriber.
1498
+
1499
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html#cfn-securitylake-subscribernotification-subscriberarn
1500
+ '''
1501
+ result = self._values.get("subscriber_arn")
1502
+ assert result is not None, "Required property 'subscriber_arn' is missing"
1503
+ return typing.cast(builtins.str, result)
1504
+
1505
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1506
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1507
+
1508
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1509
+ return not (rhs == self)
1510
+
1511
+ def __repr__(self) -> str:
1512
+ return "CfnSubscriberNotificationProps(%s)" % ", ".join(
1513
+ k + "=" + repr(v) for k, v in self._values.items()
1514
+ )
1515
+
1516
+
1627
1517
  @jsii.data_type(
1628
1518
  jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberProps",
1629
1519
  jsii_struct_bases=[],
1630
1520
  name_mapping={
1631
1521
  "access_types": "accessTypes",
1632
1522
  "data_lake_arn": "dataLakeArn",
1633
- "sources": "sources",
1634
1523
  "subscriber_identity": "subscriberIdentity",
1635
1524
  "subscriber_name": "subscriberName",
1636
1525
  "subscriber_description": "subscriberDescription",
@@ -1643,7 +1532,6 @@ class CfnSubscriberProps:
1643
1532
  *,
1644
1533
  access_types: typing.Sequence[builtins.str],
1645
1534
  data_lake_arn: builtins.str,
1646
- sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
1647
1535
  subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
1648
1536
  subscriber_name: builtins.str,
1649
1537
  subscriber_description: typing.Optional[builtins.str] = None,
@@ -1653,7 +1541,6 @@ class CfnSubscriberProps:
1653
1541
 
1654
1542
  :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`` .
1655
1543
  :param data_lake_arn: The Amazon Resource Name (ARN) used to create the data lake.
1656
- :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>`_ .
1657
1544
  :param subscriber_identity: The AWS identity used to access your data.
1658
1545
  :param subscriber_name: The name of your Amazon Security Lake subscriber account.
1659
1546
  :param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
@@ -1671,16 +1558,6 @@ class CfnSubscriberProps:
1671
1558
  cfn_subscriber_props = securitylake.CfnSubscriberProps(
1672
1559
  access_types=["accessTypes"],
1673
1560
  data_lake_arn="dataLakeArn",
1674
- sources=[securitylake.CfnSubscriber.SourceProperty(
1675
- aws_log_source=securitylake.CfnSubscriber.AwsLogSourceProperty(
1676
- source_name="sourceName",
1677
- source_version="sourceVersion"
1678
- ),
1679
- custom_log_source=securitylake.CfnSubscriber.CustomLogSourceProperty(
1680
- source_name="sourceName",
1681
- source_version="sourceVersion"
1682
- )
1683
- )],
1684
1561
  subscriber_identity=securitylake.CfnSubscriber.SubscriberIdentityProperty(
1685
1562
  external_id="externalId",
1686
1563
  principal="principal"
@@ -1699,7 +1576,6 @@ class CfnSubscriberProps:
1699
1576
  type_hints = typing.get_type_hints(_typecheckingstub__48b4dffc39d9aeba296ada6ed3b12f7273758033f731faa94da735c639fb2f10)
1700
1577
  check_type(argname="argument access_types", value=access_types, expected_type=type_hints["access_types"])
1701
1578
  check_type(argname="argument data_lake_arn", value=data_lake_arn, expected_type=type_hints["data_lake_arn"])
1702
- check_type(argname="argument sources", value=sources, expected_type=type_hints["sources"])
1703
1579
  check_type(argname="argument subscriber_identity", value=subscriber_identity, expected_type=type_hints["subscriber_identity"])
1704
1580
  check_type(argname="argument subscriber_name", value=subscriber_name, expected_type=type_hints["subscriber_name"])
1705
1581
  check_type(argname="argument subscriber_description", value=subscriber_description, expected_type=type_hints["subscriber_description"])
@@ -1707,7 +1583,6 @@ class CfnSubscriberProps:
1707
1583
  self._values: typing.Dict[builtins.str, typing.Any] = {
1708
1584
  "access_types": access_types,
1709
1585
  "data_lake_arn": data_lake_arn,
1710
- "sources": sources,
1711
1586
  "subscriber_identity": subscriber_identity,
1712
1587
  "subscriber_name": subscriber_name,
1713
1588
  }
@@ -1738,20 +1613,6 @@ class CfnSubscriberProps:
1738
1613
  assert result is not None, "Required property 'data_lake_arn' is missing"
1739
1614
  return typing.cast(builtins.str, result)
1740
1615
 
1741
- @builtins.property
1742
- def sources(
1743
- self,
1744
- ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]]:
1745
- '''Amazon Security Lake supports log and event collection for natively supported AWS services .
1746
-
1747
- For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
1748
-
1749
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-sources
1750
- '''
1751
- result = self._values.get("sources")
1752
- assert result is not None, "Required property 'sources' is missing"
1753
- return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]], result)
1754
-
1755
1616
  @builtins.property
1756
1617
  def subscriber_identity(
1757
1618
  self,
@@ -1814,6 +1675,8 @@ __all__ = [
1814
1675
  "CfnDataLake",
1815
1676
  "CfnDataLakeProps",
1816
1677
  "CfnSubscriber",
1678
+ "CfnSubscriberNotification",
1679
+ "CfnSubscriberNotificationProps",
1817
1680
  "CfnSubscriberProps",
1818
1681
  ]
1819
1682
 
@@ -1987,7 +1850,6 @@ def _typecheckingstub__7cfdc1f6a6f3c553e914b6e8b917c7abd1db0a1142db24f189c29526a
1987
1850
  *,
1988
1851
  access_types: typing.Sequence[builtins.str],
1989
1852
  data_lake_arn: builtins.str,
1990
- sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
1991
1853
  subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
1992
1854
  subscriber_name: builtins.str,
1993
1855
  subscriber_description: typing.Optional[builtins.str] = None,
@@ -2020,12 +1882,6 @@ def _typecheckingstub__6b6df05258f367a78b9fe1e83d93bbb4170db63eebfcfcaf47743e379
2020
1882
  """Type checking stubs"""
2021
1883
  pass
2022
1884
 
2023
- def _typecheckingstub__bc932de85d8e0823efeb32cd9962639ee0df5d9caf72a0cc1bd8a74abd3853f1(
2024
- value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]],
2025
- ) -> None:
2026
- """Type checking stubs"""
2027
- pass
2028
-
2029
1885
  def _typecheckingstub__844ac1bd9005c05fc49f39ac053da7c40f778e558a2e4cf96983161b114d88a7(
2030
1886
  value: typing.Union[_IResolvable_da3f097b, CfnSubscriber.SubscriberIdentityProperty],
2031
1887
  ) -> None:
@@ -2050,34 +1906,44 @@ def _typecheckingstub__b8f06145c3b30c94dc03a8f547df3132c6f47f465dc815eb5282aab95
2050
1906
  """Type checking stubs"""
2051
1907
  pass
2052
1908
 
2053
- def _typecheckingstub__f7b68bdff72d0a83be28cc208139e37398a7b328722b97984e752440b8b9b167(
1909
+ def _typecheckingstub__a2dd3305d7b56ebd933e9b9e7b243865a7a5c734ed08bef308334f82a70d692e(
2054
1910
  *,
2055
- source_name: typing.Optional[builtins.str] = None,
2056
- source_version: typing.Optional[builtins.str] = None,
1911
+ external_id: builtins.str,
1912
+ principal: builtins.str,
2057
1913
  ) -> None:
2058
1914
  """Type checking stubs"""
2059
1915
  pass
2060
1916
 
2061
- def _typecheckingstub__be7ff1808e2250d74fc3f0286676c85a2ac63ab562fb09265ceb5138256bdb3a(
1917
+ def _typecheckingstub__12d097a0b2763ed8532079d34366f79ee45e7139fbdd98f5e181dd9c1fc456ee(
1918
+ scope: _constructs_77d1e7e8.Construct,
1919
+ id: builtins.str,
2062
1920
  *,
2063
- source_name: typing.Optional[builtins.str] = None,
2064
- source_version: typing.Optional[builtins.str] = None,
1921
+ subscriber_arn: builtins.str,
2065
1922
  ) -> None:
2066
1923
  """Type checking stubs"""
2067
1924
  pass
2068
1925
 
2069
- def _typecheckingstub__09624bc0a82e7efd60186ff6e6eeff97f2daca3d7d705b8e7e3451a7add8d126(
2070
- *,
2071
- aws_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.AwsLogSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2072
- custom_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.CustomLogSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1926
+ def _typecheckingstub__db6ae43b2a92de0dd93033da81fa3f07a95e1fbe884f4814596639fb74823867(
1927
+ inspector: _TreeInspector_488e0dd5,
2073
1928
  ) -> None:
2074
1929
  """Type checking stubs"""
2075
1930
  pass
2076
1931
 
2077
- def _typecheckingstub__a2dd3305d7b56ebd933e9b9e7b243865a7a5c734ed08bef308334f82a70d692e(
1932
+ def _typecheckingstub__ff98af95551675e894613a4790fc104d8ef8b4d9369543d68680140fb2491e65(
1933
+ props: typing.Mapping[builtins.str, typing.Any],
1934
+ ) -> None:
1935
+ """Type checking stubs"""
1936
+ pass
1937
+
1938
+ def _typecheckingstub__9f1dfade8090ae9276abcfb558543bcdaf6174fe5b4b775b6634581d0a6ccdc8(
1939
+ value: builtins.str,
1940
+ ) -> None:
1941
+ """Type checking stubs"""
1942
+ pass
1943
+
1944
+ def _typecheckingstub__605e5ae993fc9297bdd697c853feff49b4a8fdf8c1ff96de11276f50e21c6a34(
2078
1945
  *,
2079
- external_id: builtins.str,
2080
- principal: builtins.str,
1946
+ subscriber_arn: builtins.str,
2081
1947
  ) -> None:
2082
1948
  """Type checking stubs"""
2083
1949
  pass
@@ -2086,7 +1952,6 @@ def _typecheckingstub__48b4dffc39d9aeba296ada6ed3b12f7273758033f731faa94da735c63
2086
1952
  *,
2087
1953
  access_types: typing.Sequence[builtins.str],
2088
1954
  data_lake_arn: builtins.str,
2089
- sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
2090
1955
  subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
2091
1956
  subscriber_name: builtins.str,
2092
1957
  subscriber_description: typing.Optional[builtins.str] = None,
@@ -1360,7 +1360,7 @@ class DeadLetterQueue:
1360
1360
  def __init__(self, *, max_receive_count: jsii.Number, queue: "IQueue") -> None:
1361
1361
  '''Dead letter queue settings.
1362
1362
 
1363
- :param max_receive_count: The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue.
1363
+ :param max_receive_count: The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue.
1364
1364
  :param queue: The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
1365
1365
 
1366
1366
  :exampleMetadata: fixture=_generated
@@ -1389,7 +1389,7 @@ class DeadLetterQueue:
1389
1389
 
1390
1390
  @builtins.property
1391
1391
  def max_receive_count(self) -> jsii.Number:
1392
- '''The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue.'''
1392
+ '''The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue.'''
1393
1393
  result = self._values.get("max_receive_count")
1394
1394
  assert result is not None, "Required property 'max_receive_count' is missing"
1395
1395
  return typing.cast(jsii.Number, result)