aws-solutions-constructs.aws-lambda-textract 2.99.0__tar.gz → 2.100.0__tar.gz
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.
- {aws_solutions_constructs_aws_lambda_textract-2.99.0/src/aws_solutions_constructs.aws_lambda_textract.egg-info → aws_solutions_constructs_aws_lambda_textract-2.100.0}/PKG-INFO +5 -5
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/setup.py +6 -6
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/src/aws_solutions_constructs/aws_lambda_textract/__init__.py +83 -81
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/src/aws_solutions_constructs/aws_lambda_textract/_jsii/__init__.py +2 -2
- aws_solutions_constructs_aws_lambda_textract-2.100.0/src/aws_solutions_constructs/aws_lambda_textract/_jsii/aws-lambda-textract@2.100.0.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0/src/aws_solutions_constructs.aws_lambda_textract.egg-info}/PKG-INFO +5 -5
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/src/aws_solutions_constructs.aws_lambda_textract.egg-info/SOURCES.txt +1 -1
- aws_solutions_constructs_aws_lambda_textract-2.100.0/src/aws_solutions_constructs.aws_lambda_textract.egg-info/requires.txt +6 -0
- aws_solutions_constructs_aws_lambda_textract-2.99.0/src/aws_solutions_constructs/aws_lambda_textract/_jsii/aws-lambda-textract@2.99.0.jsii.tgz +0 -0
- aws_solutions_constructs_aws_lambda_textract-2.99.0/src/aws_solutions_constructs.aws_lambda_textract.egg-info/requires.txt +0 -6
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/LICENSE +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/MANIFEST.in +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/README.md +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/pyproject.toml +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/setup.cfg +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/src/aws_solutions_constructs/aws_lambda_textract/py.typed +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/src/aws_solutions_constructs.aws_lambda_textract.egg-info/dependency_links.txt +0 -0
- {aws_solutions_constructs_aws_lambda_textract-2.99.0 → aws_solutions_constructs_aws_lambda_textract-2.100.0}/src/aws_solutions_constructs.aws_lambda_textract.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-solutions-constructs.aws-lambda-textract
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.100.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and Amazon Textract with optional S3 buckets.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -18,12 +18,12 @@ Classifier: License :: OSI Approved
|
|
|
18
18
|
Requires-Python: ~=3.9
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
22
|
-
Requires-Dist: aws-solutions-constructs.core==2.
|
|
21
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.239.0
|
|
22
|
+
Requires-Dist: aws-solutions-constructs.core==2.100.0
|
|
23
23
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
24
|
+
Requires-Dist: jsii<2.0.0,>=1.126.0
|
|
25
25
|
Requires-Dist: publication>=0.0.3
|
|
26
|
-
Requires-Dist: typeguard
|
|
26
|
+
Requires-Dist: typeguard==2.13.3
|
|
27
27
|
|
|
28
28
|
# aws-lambda-textract module
|
|
29
29
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-solutions-constructs.aws-lambda-textract",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.100.0",
|
|
9
9
|
"description": "CDK constructs for defining an interaction between an AWS Lambda function and Amazon Textract with optional S3 buckets.",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/awslabs/aws-solutions-constructs.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"aws_solutions_constructs.aws_lambda_textract._jsii": [
|
|
29
|
-
"aws-lambda-textract@2.
|
|
29
|
+
"aws-lambda-textract@2.100.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.aws_lambda_textract": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,12 +34,12 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.9",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
38
|
-
"aws-solutions-constructs.core==2.
|
|
37
|
+
"aws-cdk-lib>=2.239.0, <3.0.0",
|
|
38
|
+
"aws-solutions-constructs.core==2.100.0",
|
|
39
39
|
"constructs>=10.0.0, <11.0.0",
|
|
40
|
-
"jsii>=1.
|
|
40
|
+
"jsii>=1.126.0, <2.0.0",
|
|
41
41
|
"publication>=0.0.3",
|
|
42
|
-
"typeguard
|
|
42
|
+
"typeguard==2.13.3"
|
|
43
43
|
],
|
|
44
44
|
"classifiers": [
|
|
45
45
|
"Intended Audience :: Developers",
|
|
@@ -145,7 +145,7 @@ class LambdaToTextract(
|
|
|
145
145
|
|
|
146
146
|
def __init__(
|
|
147
147
|
self,
|
|
148
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
148
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
149
149
|
id: builtins.str,
|
|
150
150
|
*,
|
|
151
151
|
async_jobs: typing.Optional[builtins.bool] = None,
|
|
@@ -153,27 +153,27 @@ class LambdaToTextract(
|
|
|
153
153
|
data_access_role_arn_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
154
154
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
155
155
|
destination_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
156
|
-
destination_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
157
|
-
destination_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
156
|
+
destination_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
157
|
+
destination_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
158
158
|
enable_notification_topic_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
159
|
-
existing_destination_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
160
|
-
existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
|
|
161
|
-
existing_notification_topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
162
|
-
existing_notification_topic_obj: typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic] = None,
|
|
163
|
-
existing_source_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
164
|
-
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
165
|
-
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
159
|
+
existing_destination_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
160
|
+
existing_lambda_obj: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"] = None,
|
|
161
|
+
existing_notification_topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
162
|
+
existing_notification_topic_obj: typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"] = None,
|
|
163
|
+
existing_source_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
164
|
+
existing_vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
165
|
+
lambda_function_props: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.FunctionProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
166
166
|
log_destination_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
167
167
|
log_source_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
168
|
-
notification_topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
169
|
-
notification_topic_encryption_key_props: typing.Optional[typing.Union[_aws_cdk_aws_kms_ceddda9d.KeyProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
170
|
-
notification_topic_props: typing.Optional[typing.Union[_aws_cdk_aws_sns_ceddda9d.TopicProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
168
|
+
notification_topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
169
|
+
notification_topic_encryption_key_props: typing.Optional[typing.Union["_aws_cdk_aws_kms_ceddda9d.KeyProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
170
|
+
notification_topic_props: typing.Optional[typing.Union["_aws_cdk_aws_sns_ceddda9d.TopicProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
171
171
|
sns_notification_topic_arn_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
172
172
|
source_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
173
|
-
source_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
174
|
-
source_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
173
|
+
source_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
174
|
+
source_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
175
175
|
use_same_bucket: typing.Optional[builtins.bool] = None,
|
|
176
|
-
vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
176
|
+
vpc_props: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.VpcProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
177
177
|
) -> None:
|
|
178
178
|
'''
|
|
179
179
|
:param scope: - represents the scope for all the resources.
|
|
@@ -245,63 +245,65 @@ class LambdaToTextract(
|
|
|
245
245
|
|
|
246
246
|
@builtins.property
|
|
247
247
|
@jsii.member(jsii_name="lambdaFunction")
|
|
248
|
-
def lambda_function(self) -> _aws_cdk_aws_lambda_ceddda9d.Function:
|
|
249
|
-
return typing.cast(_aws_cdk_aws_lambda_ceddda9d.Function, jsii.get(self, "lambdaFunction"))
|
|
248
|
+
def lambda_function(self) -> "_aws_cdk_aws_lambda_ceddda9d.Function":
|
|
249
|
+
return typing.cast("_aws_cdk_aws_lambda_ceddda9d.Function", jsii.get(self, "lambdaFunction"))
|
|
250
250
|
|
|
251
251
|
@builtins.property
|
|
252
252
|
@jsii.member(jsii_name="destinationBucket")
|
|
253
|
-
def destination_bucket(self) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
254
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "destinationBucket"))
|
|
253
|
+
def destination_bucket(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
254
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "destinationBucket"))
|
|
255
255
|
|
|
256
256
|
@builtins.property
|
|
257
257
|
@jsii.member(jsii_name="destinationBucketInterface")
|
|
258
258
|
def destination_bucket_interface(
|
|
259
259
|
self,
|
|
260
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
261
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], jsii.get(self, "destinationBucketInterface"))
|
|
260
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
261
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], jsii.get(self, "destinationBucketInterface"))
|
|
262
262
|
|
|
263
263
|
@builtins.property
|
|
264
264
|
@jsii.member(jsii_name="destinationLoggingBucket")
|
|
265
265
|
def destination_logging_bucket(
|
|
266
266
|
self,
|
|
267
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
268
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "destinationLoggingBucket"))
|
|
267
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
268
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "destinationLoggingBucket"))
|
|
269
269
|
|
|
270
270
|
@builtins.property
|
|
271
271
|
@jsii.member(jsii_name="notificationTopicEncryptionKey")
|
|
272
272
|
def notification_topic_encryption_key(
|
|
273
273
|
self,
|
|
274
|
-
) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey]:
|
|
275
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey], jsii.get(self, "notificationTopicEncryptionKey"))
|
|
274
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"]:
|
|
275
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"], jsii.get(self, "notificationTopicEncryptionKey"))
|
|
276
276
|
|
|
277
277
|
@builtins.property
|
|
278
278
|
@jsii.member(jsii_name="snsNotificationTopic")
|
|
279
279
|
def sns_notification_topic(
|
|
280
280
|
self,
|
|
281
|
-
) -> typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic]:
|
|
282
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic], jsii.get(self, "snsNotificationTopic"))
|
|
281
|
+
) -> typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"]:
|
|
282
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"], jsii.get(self, "snsNotificationTopic"))
|
|
283
283
|
|
|
284
284
|
@builtins.property
|
|
285
285
|
@jsii.member(jsii_name="sourceBucket")
|
|
286
|
-
def source_bucket(self) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
287
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "sourceBucket"))
|
|
286
|
+
def source_bucket(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
287
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "sourceBucket"))
|
|
288
288
|
|
|
289
289
|
@builtins.property
|
|
290
290
|
@jsii.member(jsii_name="sourceBucketInterface")
|
|
291
291
|
def source_bucket_interface(
|
|
292
292
|
self,
|
|
293
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
294
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], jsii.get(self, "sourceBucketInterface"))
|
|
293
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
294
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], jsii.get(self, "sourceBucketInterface"))
|
|
295
295
|
|
|
296
296
|
@builtins.property
|
|
297
297
|
@jsii.member(jsii_name="sourceLoggingBucket")
|
|
298
|
-
def source_logging_bucket(
|
|
299
|
-
|
|
298
|
+
def source_logging_bucket(
|
|
299
|
+
self,
|
|
300
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
301
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "sourceLoggingBucket"))
|
|
300
302
|
|
|
301
303
|
@builtins.property
|
|
302
304
|
@jsii.member(jsii_name="vpc")
|
|
303
|
-
def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
304
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], jsii.get(self, "vpc"))
|
|
305
|
+
def vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
306
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], jsii.get(self, "vpc"))
|
|
305
307
|
|
|
306
308
|
|
|
307
309
|
@jsii.data_type(
|
|
@@ -345,27 +347,27 @@ class LambdaToTextractProps:
|
|
|
345
347
|
data_access_role_arn_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
346
348
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
347
349
|
destination_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
348
|
-
destination_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
349
|
-
destination_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
350
|
+
destination_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
351
|
+
destination_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
350
352
|
enable_notification_topic_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
351
|
-
existing_destination_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
352
|
-
existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
|
|
353
|
-
existing_notification_topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
354
|
-
existing_notification_topic_obj: typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic] = None,
|
|
355
|
-
existing_source_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
356
|
-
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
357
|
-
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
353
|
+
existing_destination_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
354
|
+
existing_lambda_obj: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"] = None,
|
|
355
|
+
existing_notification_topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
356
|
+
existing_notification_topic_obj: typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"] = None,
|
|
357
|
+
existing_source_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
358
|
+
existing_vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
359
|
+
lambda_function_props: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.FunctionProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
358
360
|
log_destination_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
359
361
|
log_source_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
360
|
-
notification_topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
361
|
-
notification_topic_encryption_key_props: typing.Optional[typing.Union[_aws_cdk_aws_kms_ceddda9d.KeyProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
362
|
-
notification_topic_props: typing.Optional[typing.Union[_aws_cdk_aws_sns_ceddda9d.TopicProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
362
|
+
notification_topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
363
|
+
notification_topic_encryption_key_props: typing.Optional[typing.Union["_aws_cdk_aws_kms_ceddda9d.KeyProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
364
|
+
notification_topic_props: typing.Optional[typing.Union["_aws_cdk_aws_sns_ceddda9d.TopicProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
363
365
|
sns_notification_topic_arn_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
364
366
|
source_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
365
|
-
source_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
366
|
-
source_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
367
|
+
source_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
368
|
+
source_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
367
369
|
use_same_bucket: typing.Optional[builtins.bool] = None,
|
|
368
|
-
vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
370
|
+
vpc_props: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.VpcProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
369
371
|
) -> None:
|
|
370
372
|
'''
|
|
371
373
|
:param async_jobs: Whether to enable asynchronous document analysis jobs. When true, source and destination S3 buckets will be created and the Lambda function will be granted permissions to start and get status of document analysis jobs. Default: - false
|
|
@@ -557,7 +559,7 @@ class LambdaToTextractProps:
|
|
|
557
559
|
@builtins.property
|
|
558
560
|
def destination_bucket_props(
|
|
559
561
|
self,
|
|
560
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
562
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
561
563
|
'''Optional user provided props to override the default props for the destination S3 Bucket.
|
|
562
564
|
|
|
563
565
|
Only valid when asyncJobs is true.
|
|
@@ -565,12 +567,12 @@ class LambdaToTextractProps:
|
|
|
565
567
|
:default: - Default props are used
|
|
566
568
|
'''
|
|
567
569
|
result = self._values.get("destination_bucket_props")
|
|
568
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
570
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
569
571
|
|
|
570
572
|
@builtins.property
|
|
571
573
|
def destination_logging_bucket_props(
|
|
572
574
|
self,
|
|
573
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
575
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
574
576
|
'''Optional user provided props to override the default props for the destination S3 Logging Bucket.
|
|
575
577
|
|
|
576
578
|
Only valid when asyncJobs is true.
|
|
@@ -578,7 +580,7 @@ class LambdaToTextractProps:
|
|
|
578
580
|
:default: - Default props are used
|
|
579
581
|
'''
|
|
580
582
|
result = self._values.get("destination_logging_bucket_props")
|
|
581
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
583
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
582
584
|
|
|
583
585
|
@builtins.property
|
|
584
586
|
def enable_notification_topic_encryption_with_customer_managed_key(
|
|
@@ -597,7 +599,7 @@ class LambdaToTextractProps:
|
|
|
597
599
|
@builtins.property
|
|
598
600
|
def existing_destination_bucket_obj(
|
|
599
601
|
self,
|
|
600
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
602
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
601
603
|
'''Existing instance of S3 Bucket object for analysis results, providing both this and ``destinationBucketProps`` will cause an error.
|
|
602
604
|
|
|
603
605
|
Only valid when asyncJobs is true.
|
|
@@ -605,23 +607,23 @@ class LambdaToTextractProps:
|
|
|
605
607
|
:default: - None
|
|
606
608
|
'''
|
|
607
609
|
result = self._values.get("existing_destination_bucket_obj")
|
|
608
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], result)
|
|
610
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], result)
|
|
609
611
|
|
|
610
612
|
@builtins.property
|
|
611
613
|
def existing_lambda_obj(
|
|
612
614
|
self,
|
|
613
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function]:
|
|
615
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"]:
|
|
614
616
|
'''Optional - instance of an existing Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error.
|
|
615
617
|
|
|
616
618
|
:default: - None
|
|
617
619
|
'''
|
|
618
620
|
result = self._values.get("existing_lambda_obj")
|
|
619
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function], result)
|
|
621
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"], result)
|
|
620
622
|
|
|
621
623
|
@builtins.property
|
|
622
624
|
def existing_notification_topic_encryption_key(
|
|
623
625
|
self,
|
|
624
|
-
) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key]:
|
|
626
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"]:
|
|
625
627
|
'''If an existing topic is provided in the ``existingTopicObj`` property, and that topic is encrypted with a customer managed KMS key, this property must specify that key.
|
|
626
628
|
|
|
627
629
|
Only valid when asyncJobs is true.
|
|
@@ -629,12 +631,12 @@ class LambdaToTextractProps:
|
|
|
629
631
|
:default: - None
|
|
630
632
|
'''
|
|
631
633
|
result = self._values.get("existing_notification_topic_encryption_key")
|
|
632
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key], result)
|
|
634
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"], result)
|
|
633
635
|
|
|
634
636
|
@builtins.property
|
|
635
637
|
def existing_notification_topic_obj(
|
|
636
638
|
self,
|
|
637
|
-
) -> typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic]:
|
|
639
|
+
) -> typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"]:
|
|
638
640
|
'''Optional - existing instance of SNS topic object, providing both this and ``topicProps`` will cause an error.
|
|
639
641
|
|
|
640
642
|
Only valid when asyncJobs is true.
|
|
@@ -642,12 +644,12 @@ class LambdaToTextractProps:
|
|
|
642
644
|
:default: - None
|
|
643
645
|
'''
|
|
644
646
|
result = self._values.get("existing_notification_topic_obj")
|
|
645
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic], result)
|
|
647
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"], result)
|
|
646
648
|
|
|
647
649
|
@builtins.property
|
|
648
650
|
def existing_source_bucket_obj(
|
|
649
651
|
self,
|
|
650
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
652
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
651
653
|
'''Existing instance of S3 Bucket object for source documents, providing both this and ``sourceBucketProps`` will cause an error.
|
|
652
654
|
|
|
653
655
|
Only valid when asyncJobs is true.
|
|
@@ -655,18 +657,18 @@ class LambdaToTextractProps:
|
|
|
655
657
|
:default: - None
|
|
656
658
|
'''
|
|
657
659
|
result = self._values.get("existing_source_bucket_obj")
|
|
658
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], result)
|
|
660
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], result)
|
|
659
661
|
|
|
660
662
|
@builtins.property
|
|
661
|
-
def existing_vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
663
|
+
def existing_vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
662
664
|
'''An existing VPC for the construct to use (construct will NOT create a new VPC in this case).'''
|
|
663
665
|
result = self._values.get("existing_vpc")
|
|
664
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
|
|
666
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], result)
|
|
665
667
|
|
|
666
668
|
@builtins.property
|
|
667
669
|
def lambda_function_props(
|
|
668
670
|
self,
|
|
669
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps]:
|
|
671
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"]:
|
|
670
672
|
'''Optional - user provided props to override the default props for the Lambda function.
|
|
671
673
|
|
|
672
674
|
Providing both this and ``existingLambdaObj``
|
|
@@ -679,7 +681,7 @@ class LambdaToTextractProps:
|
|
|
679
681
|
:default: - Default properties are used.
|
|
680
682
|
'''
|
|
681
683
|
result = self._values.get("lambda_function_props")
|
|
682
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps], result)
|
|
684
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"], result)
|
|
683
685
|
|
|
684
686
|
@builtins.property
|
|
685
687
|
def log_destination_s3_access_logs(self) -> typing.Optional[builtins.bool]:
|
|
@@ -708,7 +710,7 @@ class LambdaToTextractProps:
|
|
|
708
710
|
@builtins.property
|
|
709
711
|
def notification_topic_encryption_key(
|
|
710
712
|
self,
|
|
711
|
-
) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key]:
|
|
713
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"]:
|
|
712
714
|
'''An optional, imported encryption key to encrypt the SNS Topic with.
|
|
713
715
|
|
|
714
716
|
Only valid when asyncJobs is true.
|
|
@@ -716,12 +718,12 @@ class LambdaToTextractProps:
|
|
|
716
718
|
:default: - not specified.
|
|
717
719
|
'''
|
|
718
720
|
result = self._values.get("notification_topic_encryption_key")
|
|
719
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key], result)
|
|
721
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"], result)
|
|
720
722
|
|
|
721
723
|
@builtins.property
|
|
722
724
|
def notification_topic_encryption_key_props(
|
|
723
725
|
self,
|
|
724
|
-
) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.KeyProps]:
|
|
726
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.KeyProps"]:
|
|
725
727
|
'''Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.
|
|
726
728
|
|
|
727
729
|
Only valid when asyncJobs is true.
|
|
@@ -729,12 +731,12 @@ class LambdaToTextractProps:
|
|
|
729
731
|
:default: - None
|
|
730
732
|
'''
|
|
731
733
|
result = self._values.get("notification_topic_encryption_key_props")
|
|
732
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.KeyProps], result)
|
|
734
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.KeyProps"], result)
|
|
733
735
|
|
|
734
736
|
@builtins.property
|
|
735
737
|
def notification_topic_props(
|
|
736
738
|
self,
|
|
737
|
-
) -> typing.Optional[_aws_cdk_aws_sns_ceddda9d.TopicProps]:
|
|
739
|
+
) -> typing.Optional["_aws_cdk_aws_sns_ceddda9d.TopicProps"]:
|
|
738
740
|
'''Optional - user provided properties to override the default properties for the SNS topic.
|
|
739
741
|
|
|
740
742
|
Providing both this and ``existingTopicObj`` causes an error. Only valid when asyncJobs is true.
|
|
@@ -742,7 +744,7 @@ class LambdaToTextractProps:
|
|
|
742
744
|
:default: - Default properties are used.
|
|
743
745
|
'''
|
|
744
746
|
result = self._values.get("notification_topic_props")
|
|
745
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sns_ceddda9d.TopicProps], result)
|
|
747
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sns_ceddda9d.TopicProps"], result)
|
|
746
748
|
|
|
747
749
|
@builtins.property
|
|
748
750
|
def sns_notification_topic_arn_environment_variable_name(
|
|
@@ -771,7 +773,7 @@ class LambdaToTextractProps:
|
|
|
771
773
|
@builtins.property
|
|
772
774
|
def source_bucket_props(
|
|
773
775
|
self,
|
|
774
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
776
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
775
777
|
'''Optional user provided props to override the default props for the source S3 Bucket.
|
|
776
778
|
|
|
777
779
|
Only valid when asyncJobs is true.
|
|
@@ -779,12 +781,12 @@ class LambdaToTextractProps:
|
|
|
779
781
|
:default: - Default props are used
|
|
780
782
|
'''
|
|
781
783
|
result = self._values.get("source_bucket_props")
|
|
782
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
784
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
783
785
|
|
|
784
786
|
@builtins.property
|
|
785
787
|
def source_logging_bucket_props(
|
|
786
788
|
self,
|
|
787
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
789
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
788
790
|
'''Optional user provided props to override the default props for the source S3 Logging Bucket.
|
|
789
791
|
|
|
790
792
|
Only valid when asyncJobs is true.
|
|
@@ -792,7 +794,7 @@ class LambdaToTextractProps:
|
|
|
792
794
|
:default: - Default props are used
|
|
793
795
|
'''
|
|
794
796
|
result = self._values.get("source_logging_bucket_props")
|
|
795
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
797
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
796
798
|
|
|
797
799
|
@builtins.property
|
|
798
800
|
def use_same_bucket(self) -> typing.Optional[builtins.bool]:
|
|
@@ -807,10 +809,10 @@ class LambdaToTextractProps:
|
|
|
807
809
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
808
810
|
|
|
809
811
|
@builtins.property
|
|
810
|
-
def vpc_props(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.VpcProps]:
|
|
812
|
+
def vpc_props(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.VpcProps"]:
|
|
811
813
|
'''Properties to override default properties if deployVpc is true.'''
|
|
812
814
|
result = self._values.get("vpc_props")
|
|
813
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.VpcProps], result)
|
|
815
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.VpcProps"], result)
|
|
814
816
|
|
|
815
817
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
816
818
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -34,9 +34,9 @@ import constructs._jsii
|
|
|
34
34
|
|
|
35
35
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
36
36
|
"@aws-solutions-constructs/aws-lambda-textract",
|
|
37
|
-
"2.
|
|
37
|
+
"2.100.0",
|
|
38
38
|
__name__[0:-6],
|
|
39
|
-
"aws-lambda-textract@2.
|
|
39
|
+
"aws-lambda-textract@2.100.0.jsii.tgz",
|
|
40
40
|
)
|
|
41
41
|
|
|
42
42
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-solutions-constructs.aws-lambda-textract
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.100.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and Amazon Textract with optional S3 buckets.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -18,12 +18,12 @@ Classifier: License :: OSI Approved
|
|
|
18
18
|
Requires-Python: ~=3.9
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
22
|
-
Requires-Dist: aws-solutions-constructs.core==2.
|
|
21
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.239.0
|
|
22
|
+
Requires-Dist: aws-solutions-constructs.core==2.100.0
|
|
23
23
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
24
|
+
Requires-Dist: jsii<2.0.0,>=1.126.0
|
|
25
25
|
Requires-Dist: publication>=0.0.3
|
|
26
|
-
Requires-Dist: typeguard
|
|
26
|
+
Requires-Dist: typeguard==2.13.3
|
|
27
27
|
|
|
28
28
|
# aws-lambda-textract module
|
|
29
29
|
|
|
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_lambda_textract.egg-info/top_level.txt
|
|
|
11
11
|
src/aws_solutions_constructs/aws_lambda_textract/__init__.py
|
|
12
12
|
src/aws_solutions_constructs/aws_lambda_textract/py.typed
|
|
13
13
|
src/aws_solutions_constructs/aws_lambda_textract/_jsii/__init__.py
|
|
14
|
-
src/aws_solutions_constructs/aws_lambda_textract/_jsii/aws-lambda-textract@2.
|
|
14
|
+
src/aws_solutions_constructs/aws_lambda_textract/_jsii/aws-lambda-textract@2.100.0.jsii.tgz
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|