aws-solutions-constructs.aws-lambda-translate 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_translate-2.99.0/src/aws_solutions_constructs.aws_lambda_translate.egg-info → aws_solutions_constructs_aws_lambda_translate-2.100.0}/PKG-INFO +5 -5
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/setup.py +6 -6
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/src/aws_solutions_constructs/aws_lambda_translate/__init__.py +59 -57
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/src/aws_solutions_constructs/aws_lambda_translate/_jsii/__init__.py +2 -2
- aws_solutions_constructs_aws_lambda_translate-2.100.0/src/aws_solutions_constructs/aws_lambda_translate/_jsii/aws-lambda-translate@2.100.0.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0/src/aws_solutions_constructs.aws_lambda_translate.egg-info}/PKG-INFO +5 -5
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/src/aws_solutions_constructs.aws_lambda_translate.egg-info/SOURCES.txt +1 -1
- aws_solutions_constructs_aws_lambda_translate-2.100.0/src/aws_solutions_constructs.aws_lambda_translate.egg-info/requires.txt +6 -0
- aws_solutions_constructs_aws_lambda_translate-2.99.0/src/aws_solutions_constructs/aws_lambda_translate/_jsii/aws-lambda-translate@2.99.0.jsii.tgz +0 -0
- aws_solutions_constructs_aws_lambda_translate-2.99.0/src/aws_solutions_constructs.aws_lambda_translate.egg-info/requires.txt +0 -6
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/LICENSE +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/MANIFEST.in +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/README.md +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/pyproject.toml +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/setup.cfg +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/src/aws_solutions_constructs/aws_lambda_translate/py.typed +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/src/aws_solutions_constructs.aws_lambda_translate.egg-info/dependency_links.txt +0 -0
- {aws_solutions_constructs_aws_lambda_translate-2.99.0 → aws_solutions_constructs_aws_lambda_translate-2.100.0}/src/aws_solutions_constructs.aws_lambda_translate.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-translate
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.100.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and Amazon Translate with optional S3 buckets.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -18,11 +18,11 @@ 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
|
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-textract/README.adoc)
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-solutions-constructs.aws-lambda-translate",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.100.0",
|
|
9
9
|
"description": "CDK constructs for defining an interaction between an AWS Lambda function and Amazon Translate 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_translate._jsii": [
|
|
29
|
-
"aws-lambda-translate@2.
|
|
29
|
+
"aws-lambda-translate@2.100.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.aws_lambda_translate": [
|
|
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",
|
|
@@ -113,7 +113,7 @@ class LambdaToTranslate(
|
|
|
113
113
|
|
|
114
114
|
def __init__(
|
|
115
115
|
self,
|
|
116
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
116
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
117
117
|
id: builtins.str,
|
|
118
118
|
*,
|
|
119
119
|
additional_permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -121,20 +121,20 @@ class LambdaToTranslate(
|
|
|
121
121
|
data_access_role_arn_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
122
122
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
123
123
|
destination_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
124
|
-
destination_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
125
|
-
destination_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
126
|
-
existing_destination_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
127
|
-
existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
|
|
128
|
-
existing_source_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
129
|
-
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
130
|
-
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
124
|
+
destination_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
125
|
+
destination_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
126
|
+
existing_destination_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
127
|
+
existing_lambda_obj: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"] = None,
|
|
128
|
+
existing_source_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
129
|
+
existing_vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
130
|
+
lambda_function_props: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.FunctionProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
131
131
|
log_destination_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
132
132
|
log_source_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
133
133
|
source_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
134
|
-
source_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
135
|
-
source_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
134
|
+
source_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
135
|
+
source_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
136
136
|
use_same_bucket: typing.Optional[builtins.bool] = None,
|
|
137
|
-
vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
137
|
+
vpc_props: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.VpcProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
138
138
|
) -> None:
|
|
139
139
|
'''
|
|
140
140
|
:param scope: - represents the scope for all the resources.
|
|
@@ -192,49 +192,51 @@ class LambdaToTranslate(
|
|
|
192
192
|
|
|
193
193
|
@builtins.property
|
|
194
194
|
@jsii.member(jsii_name="lambdaFunction")
|
|
195
|
-
def lambda_function(self) -> _aws_cdk_aws_lambda_ceddda9d.Function:
|
|
196
|
-
return typing.cast(_aws_cdk_aws_lambda_ceddda9d.Function, jsii.get(self, "lambdaFunction"))
|
|
195
|
+
def lambda_function(self) -> "_aws_cdk_aws_lambda_ceddda9d.Function":
|
|
196
|
+
return typing.cast("_aws_cdk_aws_lambda_ceddda9d.Function", jsii.get(self, "lambdaFunction"))
|
|
197
197
|
|
|
198
198
|
@builtins.property
|
|
199
199
|
@jsii.member(jsii_name="destinationBucket")
|
|
200
|
-
def destination_bucket(self) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
201
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "destinationBucket"))
|
|
200
|
+
def destination_bucket(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
201
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "destinationBucket"))
|
|
202
202
|
|
|
203
203
|
@builtins.property
|
|
204
204
|
@jsii.member(jsii_name="destinationBucketInterface")
|
|
205
205
|
def destination_bucket_interface(
|
|
206
206
|
self,
|
|
207
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
208
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], jsii.get(self, "destinationBucketInterface"))
|
|
207
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
208
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], jsii.get(self, "destinationBucketInterface"))
|
|
209
209
|
|
|
210
210
|
@builtins.property
|
|
211
211
|
@jsii.member(jsii_name="destinationLoggingBucket")
|
|
212
212
|
def destination_logging_bucket(
|
|
213
213
|
self,
|
|
214
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
215
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "destinationLoggingBucket"))
|
|
214
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
215
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "destinationLoggingBucket"))
|
|
216
216
|
|
|
217
217
|
@builtins.property
|
|
218
218
|
@jsii.member(jsii_name="sourceBucket")
|
|
219
|
-
def source_bucket(self) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
220
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "sourceBucket"))
|
|
219
|
+
def source_bucket(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
220
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "sourceBucket"))
|
|
221
221
|
|
|
222
222
|
@builtins.property
|
|
223
223
|
@jsii.member(jsii_name="sourceBucketInterface")
|
|
224
224
|
def source_bucket_interface(
|
|
225
225
|
self,
|
|
226
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
227
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], jsii.get(self, "sourceBucketInterface"))
|
|
226
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
227
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], jsii.get(self, "sourceBucketInterface"))
|
|
228
228
|
|
|
229
229
|
@builtins.property
|
|
230
230
|
@jsii.member(jsii_name="sourceLoggingBucket")
|
|
231
|
-
def source_logging_bucket(
|
|
232
|
-
|
|
231
|
+
def source_logging_bucket(
|
|
232
|
+
self,
|
|
233
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
234
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "sourceLoggingBucket"))
|
|
233
235
|
|
|
234
236
|
@builtins.property
|
|
235
237
|
@jsii.member(jsii_name="vpc")
|
|
236
|
-
def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
237
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], jsii.get(self, "vpc"))
|
|
238
|
+
def vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
239
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], jsii.get(self, "vpc"))
|
|
238
240
|
|
|
239
241
|
|
|
240
242
|
@jsii.data_type(
|
|
@@ -271,20 +273,20 @@ class LambdaToTranslateProps:
|
|
|
271
273
|
data_access_role_arn_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
272
274
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
273
275
|
destination_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
274
|
-
destination_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
275
|
-
destination_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
276
|
-
existing_destination_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
277
|
-
existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
|
|
278
|
-
existing_source_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
279
|
-
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
280
|
-
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
276
|
+
destination_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
277
|
+
destination_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
278
|
+
existing_destination_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
279
|
+
existing_lambda_obj: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"] = None,
|
|
280
|
+
existing_source_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
281
|
+
existing_vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
282
|
+
lambda_function_props: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.FunctionProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
281
283
|
log_destination_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
282
284
|
log_source_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
283
285
|
source_bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
284
|
-
source_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
285
|
-
source_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
286
|
+
source_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
287
|
+
source_logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
286
288
|
use_same_bucket: typing.Optional[builtins.bool] = None,
|
|
287
|
-
vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
289
|
+
vpc_props: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.VpcProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
288
290
|
) -> None:
|
|
289
291
|
'''
|
|
290
292
|
:param additional_permissions: Optional array of additional IAM permissions to grant to the Lambda function for Amazon Translate. This is intended for use with Translate actions and will assign a resource of '*' - permissions for other services with specific resources should add the permssion using Function.addToRolePolicy(). Always added - ['translate:TranslateText', 'translate:TranslateDocument']
|
|
@@ -444,7 +446,7 @@ class LambdaToTranslateProps:
|
|
|
444
446
|
@builtins.property
|
|
445
447
|
def destination_bucket_props(
|
|
446
448
|
self,
|
|
447
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
449
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
448
450
|
'''Optional user provided props to override the default props for the destination S3 Bucket.
|
|
449
451
|
|
|
450
452
|
Only valid when asyncJobs is true.
|
|
@@ -452,12 +454,12 @@ class LambdaToTranslateProps:
|
|
|
452
454
|
:default: - Default props are used
|
|
453
455
|
'''
|
|
454
456
|
result = self._values.get("destination_bucket_props")
|
|
455
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
457
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
456
458
|
|
|
457
459
|
@builtins.property
|
|
458
460
|
def destination_logging_bucket_props(
|
|
459
461
|
self,
|
|
460
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
462
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
461
463
|
'''Optional user provided props to override the default props for the destination S3 Logging Bucket.
|
|
462
464
|
|
|
463
465
|
Only valid when asyncJobs is true.
|
|
@@ -465,12 +467,12 @@ class LambdaToTranslateProps:
|
|
|
465
467
|
:default: - Default props are used
|
|
466
468
|
'''
|
|
467
469
|
result = self._values.get("destination_logging_bucket_props")
|
|
468
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
470
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
469
471
|
|
|
470
472
|
@builtins.property
|
|
471
473
|
def existing_destination_bucket_obj(
|
|
472
474
|
self,
|
|
473
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
475
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
474
476
|
'''Existing instance of S3 Bucket object for translation results, providing both this and ``destinationBucketProps`` will cause an error.
|
|
475
477
|
|
|
476
478
|
Only valid when asyncJobs is true.
|
|
@@ -478,23 +480,23 @@ class LambdaToTranslateProps:
|
|
|
478
480
|
:default: - None
|
|
479
481
|
'''
|
|
480
482
|
result = self._values.get("existing_destination_bucket_obj")
|
|
481
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], result)
|
|
483
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], result)
|
|
482
484
|
|
|
483
485
|
@builtins.property
|
|
484
486
|
def existing_lambda_obj(
|
|
485
487
|
self,
|
|
486
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function]:
|
|
488
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"]:
|
|
487
489
|
'''Optional - instance of an existing Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error.
|
|
488
490
|
|
|
489
491
|
:default: - None
|
|
490
492
|
'''
|
|
491
493
|
result = self._values.get("existing_lambda_obj")
|
|
492
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function], result)
|
|
494
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"], result)
|
|
493
495
|
|
|
494
496
|
@builtins.property
|
|
495
497
|
def existing_source_bucket_obj(
|
|
496
498
|
self,
|
|
497
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
499
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
498
500
|
'''Existing instance of S3 Bucket object for source files, providing both this and ``sourceBucketProps`` will cause an error.
|
|
499
501
|
|
|
500
502
|
Only valid when asyncJobs is true.
|
|
@@ -502,18 +504,18 @@ class LambdaToTranslateProps:
|
|
|
502
504
|
:default: - None
|
|
503
505
|
'''
|
|
504
506
|
result = self._values.get("existing_source_bucket_obj")
|
|
505
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], result)
|
|
507
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], result)
|
|
506
508
|
|
|
507
509
|
@builtins.property
|
|
508
|
-
def existing_vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
510
|
+
def existing_vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
509
511
|
'''An existing VPC for the construct to use (construct will NOT create a new VPC in this case).'''
|
|
510
512
|
result = self._values.get("existing_vpc")
|
|
511
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
|
|
513
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], result)
|
|
512
514
|
|
|
513
515
|
@builtins.property
|
|
514
516
|
def lambda_function_props(
|
|
515
517
|
self,
|
|
516
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps]:
|
|
518
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"]:
|
|
517
519
|
'''Optional - user provided props to override the default props for the Lambda function.
|
|
518
520
|
|
|
519
521
|
Providing both this and ``existingLambdaObj``
|
|
@@ -522,7 +524,7 @@ class LambdaToTranslateProps:
|
|
|
522
524
|
:default: - Default properties are used.
|
|
523
525
|
'''
|
|
524
526
|
result = self._values.get("lambda_function_props")
|
|
525
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps], result)
|
|
527
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"], result)
|
|
526
528
|
|
|
527
529
|
@builtins.property
|
|
528
530
|
def log_destination_s3_access_logs(self) -> typing.Optional[builtins.bool]:
|
|
@@ -562,7 +564,7 @@ class LambdaToTranslateProps:
|
|
|
562
564
|
@builtins.property
|
|
563
565
|
def source_bucket_props(
|
|
564
566
|
self,
|
|
565
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
567
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
566
568
|
'''Optional user provided props to override the default props for the source S3 Bucket.
|
|
567
569
|
|
|
568
570
|
Only valid when asyncJobs is true.
|
|
@@ -570,12 +572,12 @@ class LambdaToTranslateProps:
|
|
|
570
572
|
:default: - Default props are used
|
|
571
573
|
'''
|
|
572
574
|
result = self._values.get("source_bucket_props")
|
|
573
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
575
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
574
576
|
|
|
575
577
|
@builtins.property
|
|
576
578
|
def source_logging_bucket_props(
|
|
577
579
|
self,
|
|
578
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
|
|
580
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
579
581
|
'''Optional user provided props to override the default props for the source S3 Logging Bucket.
|
|
580
582
|
|
|
581
583
|
Only valid when asyncJobs is true.
|
|
@@ -583,7 +585,7 @@ class LambdaToTranslateProps:
|
|
|
583
585
|
:default: - Default props are used
|
|
584
586
|
'''
|
|
585
587
|
result = self._values.get("source_logging_bucket_props")
|
|
586
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
|
|
588
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
587
589
|
|
|
588
590
|
@builtins.property
|
|
589
591
|
def use_same_bucket(self) -> typing.Optional[builtins.bool]:
|
|
@@ -598,10 +600,10 @@ class LambdaToTranslateProps:
|
|
|
598
600
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
599
601
|
|
|
600
602
|
@builtins.property
|
|
601
|
-
def vpc_props(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.VpcProps]:
|
|
603
|
+
def vpc_props(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.VpcProps"]:
|
|
602
604
|
'''Properties to override default properties if deployVpc is true.'''
|
|
603
605
|
result = self._values.get("vpc_props")
|
|
604
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.VpcProps], result)
|
|
606
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.VpcProps"], result)
|
|
605
607
|
|
|
606
608
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
607
609
|
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-translate",
|
|
37
|
-
"2.
|
|
37
|
+
"2.100.0",
|
|
38
38
|
__name__[0:-6],
|
|
39
|
-
"aws-lambda-translate@2.
|
|
39
|
+
"aws-lambda-translate@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-translate
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.100.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and Amazon Translate with optional S3 buckets.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -18,11 +18,11 @@ 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
|
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-textract/README.adoc)
|
|
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_lambda_translate.egg-info/top_level.txt
|
|
|
11
11
|
src/aws_solutions_constructs/aws_lambda_translate/__init__.py
|
|
12
12
|
src/aws_solutions_constructs/aws_lambda_translate/py.typed
|
|
13
13
|
src/aws_solutions_constructs/aws_lambda_translate/_jsii/__init__.py
|
|
14
|
-
src/aws_solutions_constructs/aws_lambda_translate/_jsii/aws-lambda-translate@2.
|
|
14
|
+
src/aws_solutions_constructs/aws_lambda_translate/_jsii/aws-lambda-translate@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
|