aws-cdk-lib 2.153.0__py3-none-any.whl → 2.154.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.
- aws_cdk/__init__.py +157 -215
- aws_cdk/_jsii/__init__.py +2 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.153.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -3
- aws_cdk/aws_accessanalyzer/__init__.py +5 -5
- aws_cdk/aws_acmpca/__init__.py +79 -24
- aws_cdk/aws_amazonmq/__init__.py +161 -161
- aws_cdk/aws_amplify/__init__.py +36 -36
- aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
- aws_cdk/aws_apigateway/__init__.py +122 -122
- aws_cdk/aws_apigatewayv2/__init__.py +143 -130
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +59 -59
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_appintegrations/__init__.py +19 -19
- aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
- aws_cdk/aws_applicationinsights/__init__.py +11 -11
- aws_cdk/aws_applicationsignals/__init__.py +5 -5
- aws_cdk/aws_appmesh/__init__.py +35 -35
- aws_cdk/aws_apprunner/__init__.py +25 -25
- aws_cdk/aws_appstream/__init__.py +105 -105
- aws_cdk/aws_appsync/__init__.py +89 -89
- aws_cdk/aws_apptest/__init__.py +25 -25
- aws_cdk/aws_aps/__init__.py +14 -14
- aws_cdk/aws_arczonalshift/__init__.py +200 -3
- aws_cdk/aws_athena/__init__.py +25 -25
- aws_cdk/aws_auditmanager/__init__.py +15 -15
- aws_cdk/aws_autoscaling/__init__.py +84 -84
- aws_cdk/aws_autoscalingplans/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +24 -24
- aws_cdk/aws_backup/__init__.py +33 -33
- aws_cdk/aws_backupgateway/__init__.py +7 -7
- aws_cdk/aws_batch/__init__.py +289 -35
- aws_cdk/aws_bcmdataexports/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +15766 -3438
- aws_cdk/aws_billingconductor/__init__.py +28 -28
- aws_cdk/aws_budgets/__init__.py +12 -12
- aws_cdk/aws_cassandra/__init__.py +16 -16
- aws_cdk/aws_ce/__init__.py +17 -17
- aws_cdk/aws_certificatemanager/__init__.py +9 -9
- aws_cdk/aws_chatbot/__init__.py +22 -22
- aws_cdk/aws_cleanrooms/__init__.py +2470 -307
- aws_cdk/aws_cleanroomsml/__init__.py +5 -5
- aws_cdk/aws_cloud9/__init__.py +10 -10
- aws_cdk/aws_cloudformation/__init__.py +94 -69
- aws_cdk/aws_cloudfront/__init__.py +47 -33
- aws_cdk/aws_cloudtrail/__init__.py +46 -44
- aws_cdk/aws_cloudwatch/__init__.py +61 -69
- aws_cdk/aws_codeartifact/__init__.py +19 -19
- aws_cdk/aws_codebuild/__init__.py +99 -68
- aws_cdk/aws_codecommit/__init__.py +10 -6
- aws_cdk/aws_codeconnections/__init__.py +5 -5
- aws_cdk/aws_codedeploy/__init__.py +28 -28
- aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
- aws_cdk/aws_codegurureviewer/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +849 -52
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +8 -8
- aws_cdk/aws_codestarconnections/__init__.py +17 -17
- aws_cdk/aws_codestarnotifications/__init__.py +10 -10
- aws_cdk/aws_cognito/__init__.py +465 -133
- aws_cdk/aws_comprehend/__init__.py +20 -20
- aws_cdk/aws_config/__init__.py +67 -67
- aws_cdk/aws_connect/__init__.py +139 -137
- aws_cdk/aws_connectcampaigns/__init__.py +5 -5
- aws_cdk/aws_controltower/__init__.py +12 -12
- aws_cdk/aws_cur/__init__.py +12 -12
- aws_cdk/aws_customerprofiles/__init__.py +36 -36
- aws_cdk/aws_databrew/__init__.py +45 -45
- aws_cdk/aws_datapipeline/__init__.py +12 -8
- aws_cdk/aws_datasync/__init__.py +119 -117
- aws_cdk/aws_datazone/__init__.py +63 -63
- aws_cdk/aws_dax/__init__.py +20 -20
- aws_cdk/aws_deadline/__init__.py +221 -292
- aws_cdk/aws_detective/__init__.py +8 -8
- aws_cdk/aws_devicefarm/__init__.py +37 -37
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +15 -15
- aws_cdk/aws_dlm/__init__.py +12 -12
- aws_cdk/aws_dms/__init__.py +300 -298
- aws_cdk/aws_docdb/__init__.py +49 -49
- aws_cdk/aws_docdbelastic/__init__.py +14 -14
- aws_cdk/aws_dynamodb/__init__.py +371 -37
- aws_cdk/aws_ec2/__init__.py +914 -612
- aws_cdk/aws_ecr/__init__.py +117 -77
- aws_cdk/aws_ecr_assets/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +192 -191
- aws_cdk/aws_ecs_patterns/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +22 -22
- aws_cdk/aws_eks/__init__.py +177 -61
- aws_cdk/aws_elasticache/__init__.py +218 -226
- aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
- aws_cdk/aws_elasticsearch/__init__.py +16 -16
- aws_cdk/aws_emr/__init__.py +74 -74
- aws_cdk/aws_emrcontainers/__init__.py +3 -3
- aws_cdk/aws_emrserverless/__init__.py +157 -14
- aws_cdk/aws_entityresolution/__init__.py +613 -35
- aws_cdk/aws_events/__init__.py +42 -42
- aws_cdk/aws_eventschemas/__init__.py +16 -16
- aws_cdk/aws_evidently/__init__.py +38 -38
- aws_cdk/aws_finspace/__init__.py +8 -8
- aws_cdk/aws_fis/__init__.py +12 -12
- aws_cdk/aws_fms/__init__.py +21 -21
- aws_cdk/aws_forecast/__init__.py +18 -11
- aws_cdk/aws_frauddetector/__init__.py +35 -35
- aws_cdk/aws_fsx/__init__.py +35 -35
- aws_cdk/aws_gamelift/__init__.py +155 -143
- aws_cdk/aws_globalaccelerator/__init__.py +46 -24
- aws_cdk/aws_glue/__init__.py +187 -143
- aws_cdk/aws_grafana/__init__.py +17 -17
- aws_cdk/aws_greengrass/__init__.py +48 -48
- aws_cdk/aws_greengrassv2/__init__.py +10 -10
- aws_cdk/aws_groundstation/__init__.py +16 -16
- aws_cdk/aws_guardduty/__init__.py +40 -38
- aws_cdk/aws_healthimaging/__init__.py +3 -3
- aws_cdk/aws_healthlake/__init__.py +6 -6
- aws_cdk/aws_iam/__init__.py +120 -122
- aws_cdk/aws_identitystore/__init__.py +6 -6
- aws_cdk/aws_imagebuilder/__init__.py +98 -98
- aws_cdk/aws_inspector/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +102 -97
- aws_cdk/aws_internetmonitor/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +141 -141
- aws_cdk/aws_iot1click/__init__.py +9 -9
- aws_cdk/aws_iotanalytics/__init__.py +21 -21
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
- aws_cdk/aws_iotevents/__init__.py +20 -20
- aws_cdk/aws_iotfleethub/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +45 -45
- aws_cdk/aws_iotsitewise/__init__.py +40 -40
- aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
- aws_cdk/aws_iottwinmaker/__init__.py +34 -34
- aws_cdk/aws_iotwireless/__init__.py +66 -66
- aws_cdk/aws_ivs/__init__.py +490 -34
- aws_cdk/aws_ivschat/__init__.py +9 -9
- aws_cdk/aws_kafkaconnect/__init__.py +22 -22
- aws_cdk/aws_kendra/__init__.py +28 -28
- aws_cdk/aws_kendraranking/__init__.py +4 -4
- aws_cdk/aws_kinesis/__init__.py +8 -8
- aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
- aws_cdk/aws_kinesisvideo/__init__.py +10 -10
- aws_cdk/aws_kms/__init__.py +20 -20
- aws_cdk/aws_lakeformation/__init__.py +36 -36
- aws_cdk/aws_lambda/__init__.py +174 -118
- aws_cdk/aws_launchwizard/__init__.py +508 -0
- aws_cdk/aws_lex/__init__.py +24 -24
- aws_cdk/aws_licensemanager/__init__.py +17 -17
- aws_cdk/aws_lightsail/__init__.py +90 -90
- aws_cdk/aws_location/__init__.py +41 -41
- aws_cdk/aws_logs/__init__.py +50 -50
- aws_cdk/aws_lookoutequipment/__init__.py +9 -9
- aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +20 -20
- aws_cdk/aws_macie/__init__.py +19 -19
- aws_cdk/aws_managedblockchain/__init__.py +10 -10
- aws_cdk/aws_mediaconnect/__init__.py +114 -77
- aws_cdk/aws_mediaconvert/__init__.py +20 -20
- aws_cdk/aws_medialive/__init__.py +49 -40
- aws_cdk/aws_mediapackage/__init__.py +38 -38
- aws_cdk/aws_mediapackagev2/__init__.py +178 -25
- aws_cdk/aws_mediastore/__init__.py +7 -7
- aws_cdk/aws_mediatailor/__init__.py +40 -40
- aws_cdk/aws_memorydb/__init__.py +41 -41
- aws_cdk/aws_msk/__init__.py +127 -39
- aws_cdk/aws_mwaa/__init__.py +25 -25
- aws_cdk/aws_neptune/__init__.py +55 -55
- aws_cdk/aws_neptunegraph/__init__.py +11 -11
- aws_cdk/aws_networkfirewall/__init__.py +36 -30
- aws_cdk/aws_networkmanager/__init__.py +1062 -91
- aws_cdk/aws_nimblestudio/__init__.py +31 -31
- aws_cdk/aws_oam/__init__.py +8 -8
- aws_cdk/aws_omics/__init__.py +36 -36
- aws_cdk/aws_opensearchserverless/__init__.py +25 -25
- aws_cdk/aws_opensearchservice/__init__.py +20 -20
- aws_cdk/aws_opsworks/__init__.py +87 -87
- aws_cdk/aws_opsworkscm/__init__.py +21 -21
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_osis/__init__.py +122 -9
- aws_cdk/aws_panorama/__init__.py +27 -22
- aws_cdk/aws_paymentcryptography/__init__.py +7 -7
- aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +19 -19
- aws_cdk/aws_pinpoint/__init__.py +122 -122
- aws_cdk/aws_pinpointemail/__init__.py +16 -16
- aws_cdk/aws_pipes/__init__.py +14 -16
- aws_cdk/aws_proton/__init__.py +19 -19
- aws_cdk/aws_qbusiness/__init__.py +160 -45
- aws_cdk/aws_qldb/__init__.py +12 -12
- aws_cdk/aws_quicksight/__init__.py +91 -91
- aws_cdk/aws_ram/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +365 -259
- aws_cdk/aws_redshift/__init__.py +136 -91
- aws_cdk/aws_redshiftserverless/__init__.py +27 -27
- aws_cdk/aws_refactorspaces/__init__.py +26 -26
- aws_cdk/aws_rekognition/__init__.py +16 -16
- aws_cdk/aws_resiliencehub/__init__.py +15 -15
- aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
- aws_cdk/aws_resourcegroups/__init__.py +6 -6
- aws_cdk/aws_robomaker/__init__.py +25 -25
- aws_cdk/aws_rolesanywhere/__init__.py +67 -19
- aws_cdk/aws_route53/__init__.py +36 -36
- aws_cdk/aws_route53profiles/__init__.py +11 -11
- aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
- aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
- aws_cdk/aws_route53resolver/__init__.py +123 -82
- aws_cdk/aws_rum/__init__.py +6 -6
- aws_cdk/aws_s3/__init__.py +136 -80
- aws_cdk/aws_s3_deployment/__init__.py +30 -24
- aws_cdk/aws_s3_notifications/__init__.py +3 -4
- aws_cdk/aws_s3express/__init__.py +5 -5
- aws_cdk/aws_s3objectlambda/__init__.py +6 -6
- aws_cdk/aws_s3outposts/__init__.py +16 -16
- aws_cdk/aws_sagemaker/__init__.py +2414 -282
- aws_cdk/aws_sam/__init__.py +101 -101
- aws_cdk/aws_scheduler/__init__.py +13 -13
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +20 -19
- aws_cdk/aws_securityhub/__init__.py +70 -57
- aws_cdk/aws_securitylake/__init__.py +341 -16
- aws_cdk/aws_servicecatalog/__init__.py +87 -87
- aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
- aws_cdk/aws_servicediscovery/__init__.py +23 -23
- aws_cdk/aws_ses/__init__.py +12038 -5604
- aws_cdk/aws_shield/__init__.py +15 -15
- aws_cdk/aws_signer/__init__.py +9 -9
- aws_cdk/aws_simspaceweaver/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +28 -28
- aws_cdk/aws_sqs/__init__.py +20 -20
- aws_cdk/aws_ssm/__init__.py +176 -105
- aws_cdk/aws_ssmcontacts/__init__.py +18 -18
- aws_cdk/aws_ssmincidents/__init__.py +11 -11
- aws_cdk/aws_sso/__init__.py +31 -31
- aws_cdk/aws_stepfunctions/__init__.py +370 -28
- aws_cdk/aws_supportapp/__init__.py +11 -11
- aws_cdk/aws_synthetics/__init__.py +18 -18
- aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
- aws_cdk/aws_timestream/__init__.py +34 -34
- aws_cdk/aws_transfer/__init__.py +57 -57
- aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
- aws_cdk/aws_voiceid/__init__.py +4 -4
- aws_cdk/aws_vpclattice/__init__.py +42 -42
- aws_cdk/aws_waf/__init__.py +17 -17
- aws_cdk/aws_wafregional/__init__.py +28 -28
- aws_cdk/aws_wafv2/__init__.py +39 -39
- aws_cdk/aws_wisdom/__init__.py +16 -16
- aws_cdk/aws_workspaces/__init__.py +18 -18
- aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
- aws_cdk/aws_workspacesweb/__init__.py +87 -46
- aws_cdk/aws_xray/__init__.py +12 -12
- aws_cdk/cloud_assembly_schema/__init__.py +348 -239
- aws_cdk/custom_resources/__init__.py +289 -0
- aws_cdk/cx_api/__init__.py +15 -15
- aws_cdk/pipelines/__init__.py +172 -237
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +3 -2
- aws_cdk_lib-2.154.1.dist-info/RECORD +292 -0
- aws_cdk_lib-2.153.0.dist-info/RECORD +0 -291
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
|
@@ -174,7 +174,7 @@ class CfnAwsLogSource(
|
|
|
174
174
|
if __debug__:
|
|
175
175
|
type_hints = typing.get_type_hints(_typecheckingstub__ed09f296c9b906f7011ea796fce3b42122e1c0490eb544e941f5953a5b0f8403)
|
|
176
176
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
177
|
-
jsii.set(self, "dataLakeArn", value)
|
|
177
|
+
jsii.set(self, "dataLakeArn", value) # pyright: ignore[reportArgumentType]
|
|
178
178
|
|
|
179
179
|
@builtins.property
|
|
180
180
|
@jsii.member(jsii_name="sourceName")
|
|
@@ -187,7 +187,7 @@ class CfnAwsLogSource(
|
|
|
187
187
|
if __debug__:
|
|
188
188
|
type_hints = typing.get_type_hints(_typecheckingstub__786699bc5ed670115ad16fc2d5cab658ddb4c20d9afccc0010adb67c796143ba)
|
|
189
189
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
190
|
-
jsii.set(self, "sourceName", value)
|
|
190
|
+
jsii.set(self, "sourceName", value) # pyright: ignore[reportArgumentType]
|
|
191
191
|
|
|
192
192
|
@builtins.property
|
|
193
193
|
@jsii.member(jsii_name="sourceVersion")
|
|
@@ -200,7 +200,7 @@ class CfnAwsLogSource(
|
|
|
200
200
|
if __debug__:
|
|
201
201
|
type_hints = typing.get_type_hints(_typecheckingstub__2369f0ca541c99625731d8a7db77fa2a9f1346eab63190644c2695d471ddda46)
|
|
202
202
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
203
|
-
jsii.set(self, "sourceVersion", value)
|
|
203
|
+
jsii.set(self, "sourceVersion", value) # pyright: ignore[reportArgumentType]
|
|
204
204
|
|
|
205
205
|
@builtins.property
|
|
206
206
|
@jsii.member(jsii_name="accounts")
|
|
@@ -213,7 +213,7 @@ class CfnAwsLogSource(
|
|
|
213
213
|
if __debug__:
|
|
214
214
|
type_hints = typing.get_type_hints(_typecheckingstub__a1f564a49d096390f47538b02cc909d2927202e7d6b998b761aaf21810dcf11c)
|
|
215
215
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
216
|
-
jsii.set(self, "accounts", value)
|
|
216
|
+
jsii.set(self, "accounts", value) # pyright: ignore[reportArgumentType]
|
|
217
217
|
|
|
218
218
|
|
|
219
219
|
@jsii.data_type(
|
|
@@ -485,7 +485,7 @@ class CfnDataLake(
|
|
|
485
485
|
if __debug__:
|
|
486
486
|
type_hints = typing.get_type_hints(_typecheckingstub__12edf08ab82b633325fe7034b3424955ea7bff566dfa00928107723a5d0f6a72)
|
|
487
487
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
488
|
-
jsii.set(self, "encryptionConfiguration", value)
|
|
488
|
+
jsii.set(self, "encryptionConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
489
489
|
|
|
490
490
|
@builtins.property
|
|
491
491
|
@jsii.member(jsii_name="lifecycleConfiguration")
|
|
@@ -503,7 +503,7 @@ class CfnDataLake(
|
|
|
503
503
|
if __debug__:
|
|
504
504
|
type_hints = typing.get_type_hints(_typecheckingstub__916659d1bcdf1d6d40de689f3b334b766e1a8fb681a493926742e61ce5ba40b7)
|
|
505
505
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
506
|
-
jsii.set(self, "lifecycleConfiguration", value)
|
|
506
|
+
jsii.set(self, "lifecycleConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
507
507
|
|
|
508
508
|
@builtins.property
|
|
509
509
|
@jsii.member(jsii_name="metaStoreManagerRoleArn")
|
|
@@ -516,7 +516,7 @@ class CfnDataLake(
|
|
|
516
516
|
if __debug__:
|
|
517
517
|
type_hints = typing.get_type_hints(_typecheckingstub__23cd82335763114e4ff9c52f4ff2b4db4b4be68cc8f5b468e1325fa0e0e79558)
|
|
518
518
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
519
|
-
jsii.set(self, "metaStoreManagerRoleArn", value)
|
|
519
|
+
jsii.set(self, "metaStoreManagerRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
520
520
|
|
|
521
521
|
@builtins.property
|
|
522
522
|
@jsii.member(jsii_name="replicationConfiguration")
|
|
@@ -534,7 +534,7 @@ class CfnDataLake(
|
|
|
534
534
|
if __debug__:
|
|
535
535
|
type_hints = typing.get_type_hints(_typecheckingstub__647257bd68002b29a89b3128d4883d0c748e98d2c70a5b154446993271225230)
|
|
536
536
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
537
|
-
jsii.set(self, "replicationConfiguration", value)
|
|
537
|
+
jsii.set(self, "replicationConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
538
538
|
|
|
539
539
|
@builtins.property
|
|
540
540
|
@jsii.member(jsii_name="tags")
|
|
@@ -547,7 +547,7 @@ class CfnDataLake(
|
|
|
547
547
|
if __debug__:
|
|
548
548
|
type_hints = typing.get_type_hints(_typecheckingstub__6654ce3b2fa02feedc8f03797f96ae7270d4bd79ef3c3791b522e8277fa3798c)
|
|
549
549
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
550
|
-
jsii.set(self, "tags", value)
|
|
550
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
551
551
|
|
|
552
552
|
@jsii.data_type(
|
|
553
553
|
jsii_type="aws-cdk-lib.aws_securitylake.CfnDataLake.EncryptionConfigurationProperty",
|
|
@@ -1067,6 +1067,16 @@ 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
|
+
)],
|
|
1070
1080
|
subscriber_identity=securitylake.CfnSubscriber.SubscriberIdentityProperty(
|
|
1071
1081
|
external_id="externalId",
|
|
1072
1082
|
principal="principal"
|
|
@@ -1089,6 +1099,7 @@ class CfnSubscriber(
|
|
|
1089
1099
|
*,
|
|
1090
1100
|
access_types: typing.Sequence[builtins.str],
|
|
1091
1101
|
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]]]]],
|
|
1092
1103
|
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.SubscriberIdentityProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1093
1104
|
subscriber_name: builtins.str,
|
|
1094
1105
|
subscriber_description: typing.Optional[builtins.str] = None,
|
|
@@ -1099,6 +1110,7 @@ class CfnSubscriber(
|
|
|
1099
1110
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1100
1111
|
: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`` .
|
|
1101
1112
|
: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>`_ .
|
|
1102
1114
|
:param subscriber_identity: The AWS identity used to access your data.
|
|
1103
1115
|
:param subscriber_name: The name of your Amazon Security Lake subscriber account.
|
|
1104
1116
|
:param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
|
|
@@ -1111,6 +1123,7 @@ class CfnSubscriber(
|
|
|
1111
1123
|
props = CfnSubscriberProps(
|
|
1112
1124
|
access_types=access_types,
|
|
1113
1125
|
data_lake_arn=data_lake_arn,
|
|
1126
|
+
sources=sources,
|
|
1114
1127
|
subscriber_identity=subscriber_identity,
|
|
1115
1128
|
subscriber_name=subscriber_name,
|
|
1116
1129
|
subscriber_description=subscriber_description,
|
|
@@ -1216,7 +1229,7 @@ class CfnSubscriber(
|
|
|
1216
1229
|
if __debug__:
|
|
1217
1230
|
type_hints = typing.get_type_hints(_typecheckingstub__3f5e7268ca27d6f9f4f7235ed5dc11031e3dcfecbb97acb334a181ffa62b0550)
|
|
1218
1231
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1219
|
-
jsii.set(self, "accessTypes", value)
|
|
1232
|
+
jsii.set(self, "accessTypes", value) # pyright: ignore[reportArgumentType]
|
|
1220
1233
|
|
|
1221
1234
|
@builtins.property
|
|
1222
1235
|
@jsii.member(jsii_name="dataLakeArn")
|
|
@@ -1229,7 +1242,25 @@ class CfnSubscriber(
|
|
|
1229
1242
|
if __debug__:
|
|
1230
1243
|
type_hints = typing.get_type_hints(_typecheckingstub__6b6df05258f367a78b9fe1e83d93bbb4170db63eebfcfcaf47743e3795fdea19)
|
|
1231
1244
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1232
|
-
jsii.set(self, "dataLakeArn", value)
|
|
1245
|
+
jsii.set(self, "dataLakeArn", value) # pyright: ignore[reportArgumentType]
|
|
1246
|
+
|
|
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) # pyright: ignore[reportArgumentType]
|
|
1233
1264
|
|
|
1234
1265
|
@builtins.property
|
|
1235
1266
|
@jsii.member(jsii_name="subscriberIdentity")
|
|
@@ -1247,7 +1278,7 @@ class CfnSubscriber(
|
|
|
1247
1278
|
if __debug__:
|
|
1248
1279
|
type_hints = typing.get_type_hints(_typecheckingstub__844ac1bd9005c05fc49f39ac053da7c40f778e558a2e4cf96983161b114d88a7)
|
|
1249
1280
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1250
|
-
jsii.set(self, "subscriberIdentity", value)
|
|
1281
|
+
jsii.set(self, "subscriberIdentity", value) # pyright: ignore[reportArgumentType]
|
|
1251
1282
|
|
|
1252
1283
|
@builtins.property
|
|
1253
1284
|
@jsii.member(jsii_name="subscriberName")
|
|
@@ -1260,7 +1291,7 @@ class CfnSubscriber(
|
|
|
1260
1291
|
if __debug__:
|
|
1261
1292
|
type_hints = typing.get_type_hints(_typecheckingstub__cd9beb9187d8345c4ae00d2ee6483cd5f3841d1801dffe9de561ed1934ddd965)
|
|
1262
1293
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1263
|
-
jsii.set(self, "subscriberName", value)
|
|
1294
|
+
jsii.set(self, "subscriberName", value) # pyright: ignore[reportArgumentType]
|
|
1264
1295
|
|
|
1265
1296
|
@builtins.property
|
|
1266
1297
|
@jsii.member(jsii_name="subscriberDescription")
|
|
@@ -1273,7 +1304,7 @@ class CfnSubscriber(
|
|
|
1273
1304
|
if __debug__:
|
|
1274
1305
|
type_hints = typing.get_type_hints(_typecheckingstub__3147cb4779ff5832faddc8bdeac62a5ff6db17ddc1eddee78b4f5ca463a0ed76)
|
|
1275
1306
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1276
|
-
jsii.set(self, "subscriberDescription", value)
|
|
1307
|
+
jsii.set(self, "subscriberDescription", value) # pyright: ignore[reportArgumentType]
|
|
1277
1308
|
|
|
1278
1309
|
@builtins.property
|
|
1279
1310
|
@jsii.member(jsii_name="tags")
|
|
@@ -1286,7 +1317,240 @@ class CfnSubscriber(
|
|
|
1286
1317
|
if __debug__:
|
|
1287
1318
|
type_hints = typing.get_type_hints(_typecheckingstub__b8f06145c3b30c94dc03a8f547df3132c6f47f465dc815eb5282aab9542906c1)
|
|
1288
1319
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1289
|
-
jsii.set(self, "tags", value)
|
|
1320
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1321
|
+
|
|
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
|
+
)
|
|
1290
1554
|
|
|
1291
1555
|
@jsii.data_type(
|
|
1292
1556
|
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.SubscriberIdentityProperty",
|
|
@@ -1460,7 +1724,7 @@ class CfnSubscriberNotification(
|
|
|
1460
1724
|
if __debug__:
|
|
1461
1725
|
type_hints = typing.get_type_hints(_typecheckingstub__9f1dfade8090ae9276abcfb558543bcdaf6174fe5b4b775b6634581d0a6ccdc8)
|
|
1462
1726
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1463
|
-
jsii.set(self, "subscriberArn", value)
|
|
1727
|
+
jsii.set(self, "subscriberArn", value) # pyright: ignore[reportArgumentType]
|
|
1464
1728
|
|
|
1465
1729
|
|
|
1466
1730
|
@jsii.data_type(
|
|
@@ -1522,6 +1786,7 @@ class CfnSubscriberNotificationProps:
|
|
|
1522
1786
|
name_mapping={
|
|
1523
1787
|
"access_types": "accessTypes",
|
|
1524
1788
|
"data_lake_arn": "dataLakeArn",
|
|
1789
|
+
"sources": "sources",
|
|
1525
1790
|
"subscriber_identity": "subscriberIdentity",
|
|
1526
1791
|
"subscriber_name": "subscriberName",
|
|
1527
1792
|
"subscriber_description": "subscriberDescription",
|
|
@@ -1534,6 +1799,7 @@ class CfnSubscriberProps:
|
|
|
1534
1799
|
*,
|
|
1535
1800
|
access_types: typing.Sequence[builtins.str],
|
|
1536
1801
|
data_lake_arn: builtins.str,
|
|
1802
|
+
sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1537
1803
|
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1538
1804
|
subscriber_name: builtins.str,
|
|
1539
1805
|
subscriber_description: typing.Optional[builtins.str] = None,
|
|
@@ -1543,6 +1809,7 @@ class CfnSubscriberProps:
|
|
|
1543
1809
|
|
|
1544
1810
|
: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`` .
|
|
1545
1811
|
:param data_lake_arn: The Amazon Resource Name (ARN) used to create the data lake.
|
|
1812
|
+
: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>`_ .
|
|
1546
1813
|
:param subscriber_identity: The AWS identity used to access your data.
|
|
1547
1814
|
:param subscriber_name: The name of your Amazon Security Lake subscriber account.
|
|
1548
1815
|
:param subscriber_description: The subscriber descriptions for a subscriber account. The description for a subscriber includes ``subscriberName`` , ``accountID`` , ``externalID`` , and ``subscriberId`` .
|
|
@@ -1560,6 +1827,16 @@ class CfnSubscriberProps:
|
|
|
1560
1827
|
cfn_subscriber_props = securitylake.CfnSubscriberProps(
|
|
1561
1828
|
access_types=["accessTypes"],
|
|
1562
1829
|
data_lake_arn="dataLakeArn",
|
|
1830
|
+
sources=[securitylake.CfnSubscriber.SourceProperty(
|
|
1831
|
+
aws_log_source=securitylake.CfnSubscriber.AwsLogSourceProperty(
|
|
1832
|
+
source_name="sourceName",
|
|
1833
|
+
source_version="sourceVersion"
|
|
1834
|
+
),
|
|
1835
|
+
custom_log_source=securitylake.CfnSubscriber.CustomLogSourceProperty(
|
|
1836
|
+
source_name="sourceName",
|
|
1837
|
+
source_version="sourceVersion"
|
|
1838
|
+
)
|
|
1839
|
+
)],
|
|
1563
1840
|
subscriber_identity=securitylake.CfnSubscriber.SubscriberIdentityProperty(
|
|
1564
1841
|
external_id="externalId",
|
|
1565
1842
|
principal="principal"
|
|
@@ -1578,6 +1855,7 @@ class CfnSubscriberProps:
|
|
|
1578
1855
|
type_hints = typing.get_type_hints(_typecheckingstub__48b4dffc39d9aeba296ada6ed3b12f7273758033f731faa94da735c639fb2f10)
|
|
1579
1856
|
check_type(argname="argument access_types", value=access_types, expected_type=type_hints["access_types"])
|
|
1580
1857
|
check_type(argname="argument data_lake_arn", value=data_lake_arn, expected_type=type_hints["data_lake_arn"])
|
|
1858
|
+
check_type(argname="argument sources", value=sources, expected_type=type_hints["sources"])
|
|
1581
1859
|
check_type(argname="argument subscriber_identity", value=subscriber_identity, expected_type=type_hints["subscriber_identity"])
|
|
1582
1860
|
check_type(argname="argument subscriber_name", value=subscriber_name, expected_type=type_hints["subscriber_name"])
|
|
1583
1861
|
check_type(argname="argument subscriber_description", value=subscriber_description, expected_type=type_hints["subscriber_description"])
|
|
@@ -1585,6 +1863,7 @@ class CfnSubscriberProps:
|
|
|
1585
1863
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1586
1864
|
"access_types": access_types,
|
|
1587
1865
|
"data_lake_arn": data_lake_arn,
|
|
1866
|
+
"sources": sources,
|
|
1588
1867
|
"subscriber_identity": subscriber_identity,
|
|
1589
1868
|
"subscriber_name": subscriber_name,
|
|
1590
1869
|
}
|
|
@@ -1615,6 +1894,20 @@ class CfnSubscriberProps:
|
|
|
1615
1894
|
assert result is not None, "Required property 'data_lake_arn' is missing"
|
|
1616
1895
|
return typing.cast(builtins.str, result)
|
|
1617
1896
|
|
|
1897
|
+
@builtins.property
|
|
1898
|
+
def sources(
|
|
1899
|
+
self,
|
|
1900
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]]:
|
|
1901
|
+
'''Amazon Security Lake supports log and event collection for natively supported AWS-services .
|
|
1902
|
+
|
|
1903
|
+
For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html>`_ .
|
|
1904
|
+
|
|
1905
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-sources
|
|
1906
|
+
'''
|
|
1907
|
+
result = self._values.get("sources")
|
|
1908
|
+
assert result is not None, "Required property 'sources' is missing"
|
|
1909
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]], result)
|
|
1910
|
+
|
|
1618
1911
|
@builtins.property
|
|
1619
1912
|
def subscriber_identity(
|
|
1620
1913
|
self,
|
|
@@ -1852,6 +2145,7 @@ def _typecheckingstub__7cfdc1f6a6f3c553e914b6e8b917c7abd1db0a1142db24f189c29526a
|
|
|
1852
2145
|
*,
|
|
1853
2146
|
access_types: typing.Sequence[builtins.str],
|
|
1854
2147
|
data_lake_arn: builtins.str,
|
|
2148
|
+
sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1855
2149
|
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1856
2150
|
subscriber_name: builtins.str,
|
|
1857
2151
|
subscriber_description: typing.Optional[builtins.str] = None,
|
|
@@ -1884,6 +2178,12 @@ def _typecheckingstub__6b6df05258f367a78b9fe1e83d93bbb4170db63eebfcfcaf47743e379
|
|
|
1884
2178
|
"""Type checking stubs"""
|
|
1885
2179
|
pass
|
|
1886
2180
|
|
|
2181
|
+
def _typecheckingstub__bc932de85d8e0823efeb32cd9962639ee0df5d9caf72a0cc1bd8a74abd3853f1(
|
|
2182
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]],
|
|
2183
|
+
) -> None:
|
|
2184
|
+
"""Type checking stubs"""
|
|
2185
|
+
pass
|
|
2186
|
+
|
|
1887
2187
|
def _typecheckingstub__844ac1bd9005c05fc49f39ac053da7c40f778e558a2e4cf96983161b114d88a7(
|
|
1888
2188
|
value: typing.Union[_IResolvable_da3f097b, CfnSubscriber.SubscriberIdentityProperty],
|
|
1889
2189
|
) -> None:
|
|
@@ -1908,6 +2208,30 @@ def _typecheckingstub__b8f06145c3b30c94dc03a8f547df3132c6f47f465dc815eb5282aab95
|
|
|
1908
2208
|
"""Type checking stubs"""
|
|
1909
2209
|
pass
|
|
1910
2210
|
|
|
2211
|
+
def _typecheckingstub__f7b68bdff72d0a83be28cc208139e37398a7b328722b97984e752440b8b9b167(
|
|
2212
|
+
*,
|
|
2213
|
+
source_name: typing.Optional[builtins.str] = None,
|
|
2214
|
+
source_version: typing.Optional[builtins.str] = None,
|
|
2215
|
+
) -> None:
|
|
2216
|
+
"""Type checking stubs"""
|
|
2217
|
+
pass
|
|
2218
|
+
|
|
2219
|
+
def _typecheckingstub__be7ff1808e2250d74fc3f0286676c85a2ac63ab562fb09265ceb5138256bdb3a(
|
|
2220
|
+
*,
|
|
2221
|
+
source_name: typing.Optional[builtins.str] = None,
|
|
2222
|
+
source_version: typing.Optional[builtins.str] = None,
|
|
2223
|
+
) -> None:
|
|
2224
|
+
"""Type checking stubs"""
|
|
2225
|
+
pass
|
|
2226
|
+
|
|
2227
|
+
def _typecheckingstub__09624bc0a82e7efd60186ff6e6eeff97f2daca3d7d705b8e7e3451a7add8d126(
|
|
2228
|
+
*,
|
|
2229
|
+
aws_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.AwsLogSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2230
|
+
custom_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.CustomLogSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2231
|
+
) -> None:
|
|
2232
|
+
"""Type checking stubs"""
|
|
2233
|
+
pass
|
|
2234
|
+
|
|
1911
2235
|
def _typecheckingstub__a2dd3305d7b56ebd933e9b9e7b243865a7a5c734ed08bef308334f82a70d692e(
|
|
1912
2236
|
*,
|
|
1913
2237
|
external_id: builtins.str,
|
|
@@ -1954,6 +2278,7 @@ def _typecheckingstub__48b4dffc39d9aeba296ada6ed3b12f7273758033f731faa94da735c63
|
|
|
1954
2278
|
*,
|
|
1955
2279
|
access_types: typing.Sequence[builtins.str],
|
|
1956
2280
|
data_lake_arn: builtins.str,
|
|
2281
|
+
sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1957
2282
|
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1958
2283
|
subscriber_name: builtins.str,
|
|
1959
2284
|
subscriber_description: typing.Optional[builtins.str] = None,
|