aws-solutions-constructs.aws-lambda-polly 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_polly-2.99.0/src/aws_solutions_constructs.aws_lambda_polly.egg-info → aws_solutions_constructs_aws_lambda_polly-2.100.0}/PKG-INFO +5 -5
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/setup.py +6 -6
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/src/aws_solutions_constructs/aws_lambda_polly/__init__.py +63 -55
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/src/aws_solutions_constructs/aws_lambda_polly/_jsii/__init__.py +2 -2
- aws_solutions_constructs_aws_lambda_polly-2.100.0/src/aws_solutions_constructs/aws_lambda_polly/_jsii/aws-lambda-polly@2.100.0.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0/src/aws_solutions_constructs.aws_lambda_polly.egg-info}/PKG-INFO +5 -5
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/src/aws_solutions_constructs.aws_lambda_polly.egg-info/SOURCES.txt +1 -1
- aws_solutions_constructs_aws_lambda_polly-2.100.0/src/aws_solutions_constructs.aws_lambda_polly.egg-info/requires.txt +6 -0
- aws_solutions_constructs_aws_lambda_polly-2.99.0/src/aws_solutions_constructs/aws_lambda_polly/_jsii/aws-lambda-polly@2.99.0.jsii.tgz +0 -0
- aws_solutions_constructs_aws_lambda_polly-2.99.0/src/aws_solutions_constructs.aws_lambda_polly.egg-info/requires.txt +0 -6
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/LICENSE +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/MANIFEST.in +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/README.md +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/pyproject.toml +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/setup.cfg +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/src/aws_solutions_constructs/aws_lambda_polly/py.typed +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/src/aws_solutions_constructs.aws_lambda_polly.egg-info/dependency_links.txt +0 -0
- {aws_solutions_constructs_aws_lambda_polly-2.99.0 → aws_solutions_constructs_aws_lambda_polly-2.100.0}/src/aws_solutions_constructs.aws_lambda_polly.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-polly
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.100.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and Amazon Polly text-to-speech service with optional S3 buckets and SNS topics.
|
|
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-polly/README.adoc)
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-solutions-constructs.aws-lambda-polly",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.100.0",
|
|
9
9
|
"description": "CDK constructs for defining an interaction between an AWS Lambda function and Amazon Polly text-to-speech service with optional S3 buckets and SNS topics.",
|
|
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_polly._jsii": [
|
|
29
|
-
"aws-lambda-polly@2.
|
|
29
|
+
"aws-lambda-polly@2.100.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.aws_lambda_polly": [
|
|
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",
|
|
@@ -52,23 +52,23 @@ class LambdaToPolly(
|
|
|
52
52
|
|
|
53
53
|
def __init__(
|
|
54
54
|
self,
|
|
55
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
55
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
56
56
|
id: builtins.str,
|
|
57
57
|
*,
|
|
58
58
|
async_jobs: typing.Optional[builtins.bool] = None,
|
|
59
59
|
bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
60
|
-
bucket_props: typing.Any = None,
|
|
60
|
+
bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
61
61
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
62
62
|
enable_topic_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
63
|
-
existing_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
64
|
-
existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
|
|
65
|
-
existing_topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
66
|
-
existing_topic_obj: typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic] = None,
|
|
67
|
-
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
68
|
-
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
69
|
-
logging_bucket_props: typing.Any = None,
|
|
63
|
+
existing_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
64
|
+
existing_lambda_obj: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"] = None,
|
|
65
|
+
existing_topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
66
|
+
existing_topic_obj: typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"] = None,
|
|
67
|
+
existing_vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
68
|
+
lambda_function_props: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.FunctionProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
69
|
+
logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
70
70
|
log_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
71
|
-
topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
71
|
+
topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
72
72
|
topic_encryption_key_props: typing.Any = None,
|
|
73
73
|
topic_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
74
74
|
topic_props: typing.Any = None,
|
|
@@ -128,44 +128,44 @@ class LambdaToPolly(
|
|
|
128
128
|
|
|
129
129
|
@builtins.property
|
|
130
130
|
@jsii.member(jsii_name="lambdaFunction")
|
|
131
|
-
def lambda_function(self) -> _aws_cdk_aws_lambda_ceddda9d.Function:
|
|
132
|
-
return typing.cast(_aws_cdk_aws_lambda_ceddda9d.Function, jsii.get(self, "lambdaFunction"))
|
|
131
|
+
def lambda_function(self) -> "_aws_cdk_aws_lambda_ceddda9d.Function":
|
|
132
|
+
return typing.cast("_aws_cdk_aws_lambda_ceddda9d.Function", jsii.get(self, "lambdaFunction"))
|
|
133
133
|
|
|
134
134
|
@builtins.property
|
|
135
135
|
@jsii.member(jsii_name="destinationBucket")
|
|
136
|
-
def destination_bucket(self) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
137
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "destinationBucket"))
|
|
136
|
+
def destination_bucket(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
137
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "destinationBucket"))
|
|
138
138
|
|
|
139
139
|
@builtins.property
|
|
140
140
|
@jsii.member(jsii_name="destinationBucketInterface")
|
|
141
141
|
def destination_bucket_interface(
|
|
142
142
|
self,
|
|
143
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
144
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], jsii.get(self, "destinationBucketInterface"))
|
|
143
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
144
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], jsii.get(self, "destinationBucketInterface"))
|
|
145
145
|
|
|
146
146
|
@builtins.property
|
|
147
147
|
@jsii.member(jsii_name="loggingBucket")
|
|
148
|
-
def logging_bucket(self) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
149
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "loggingBucket"))
|
|
148
|
+
def logging_bucket(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
149
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "loggingBucket"))
|
|
150
150
|
|
|
151
151
|
@builtins.property
|
|
152
152
|
@jsii.member(jsii_name="notificationTopicEncryptionKey")
|
|
153
153
|
def notification_topic_encryption_key(
|
|
154
154
|
self,
|
|
155
|
-
) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey]:
|
|
156
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey], jsii.get(self, "notificationTopicEncryptionKey"))
|
|
155
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"]:
|
|
156
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"], jsii.get(self, "notificationTopicEncryptionKey"))
|
|
157
157
|
|
|
158
158
|
@builtins.property
|
|
159
159
|
@jsii.member(jsii_name="snsNotificationTopic")
|
|
160
160
|
def sns_notification_topic(
|
|
161
161
|
self,
|
|
162
|
-
) -> typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic]:
|
|
163
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic], jsii.get(self, "snsNotificationTopic"))
|
|
162
|
+
) -> typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"]:
|
|
163
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"], jsii.get(self, "snsNotificationTopic"))
|
|
164
164
|
|
|
165
165
|
@builtins.property
|
|
166
166
|
@jsii.member(jsii_name="vpc")
|
|
167
|
-
def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
168
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], jsii.get(self, "vpc"))
|
|
167
|
+
def vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
168
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], jsii.get(self, "vpc"))
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
@jsii.data_type(
|
|
@@ -198,18 +198,18 @@ class LambdaToPollyProps:
|
|
|
198
198
|
*,
|
|
199
199
|
async_jobs: typing.Optional[builtins.bool] = None,
|
|
200
200
|
bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
201
|
-
bucket_props: typing.Any = None,
|
|
201
|
+
bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
202
202
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
203
203
|
enable_topic_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
204
|
-
existing_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
205
|
-
existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
|
|
206
|
-
existing_topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
207
|
-
existing_topic_obj: typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic] = None,
|
|
208
|
-
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
209
|
-
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
210
|
-
logging_bucket_props: typing.Any = None,
|
|
204
|
+
existing_bucket_obj: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
205
|
+
existing_lambda_obj: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"] = None,
|
|
206
|
+
existing_topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
207
|
+
existing_topic_obj: typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"] = None,
|
|
208
|
+
existing_vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
209
|
+
lambda_function_props: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.FunctionProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
210
|
+
logging_bucket_props: typing.Optional[typing.Union["_aws_cdk_aws_s3_ceddda9d.BucketProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
211
211
|
log_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
212
|
-
topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
212
|
+
topic_encryption_key: typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"] = None,
|
|
213
213
|
topic_encryption_key_props: typing.Any = None,
|
|
214
214
|
topic_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
215
215
|
topic_props: typing.Any = None,
|
|
@@ -237,8 +237,12 @@ class LambdaToPollyProps:
|
|
|
237
237
|
|
|
238
238
|
:summary: The properties for the LambdaToPolly class.
|
|
239
239
|
'''
|
|
240
|
+
if isinstance(bucket_props, dict):
|
|
241
|
+
bucket_props = _aws_cdk_aws_s3_ceddda9d.BucketProps(**bucket_props)
|
|
240
242
|
if isinstance(lambda_function_props, dict):
|
|
241
243
|
lambda_function_props = _aws_cdk_aws_lambda_ceddda9d.FunctionProps(**lambda_function_props)
|
|
244
|
+
if isinstance(logging_bucket_props, dict):
|
|
245
|
+
logging_bucket_props = _aws_cdk_aws_s3_ceddda9d.BucketProps(**logging_bucket_props)
|
|
242
246
|
if __debug__:
|
|
243
247
|
type_hints = typing.get_type_hints(_typecheckingstub__4f8259ca306e2c6e0e6b5945ad532e43d7d480870f61864499b83261e1034a76)
|
|
244
248
|
check_type(argname="argument async_jobs", value=async_jobs, expected_type=type_hints["async_jobs"])
|
|
@@ -322,7 +326,7 @@ class LambdaToPollyProps:
|
|
|
322
326
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
323
327
|
|
|
324
328
|
@builtins.property
|
|
325
|
-
def bucket_props(self) -> typing.
|
|
329
|
+
def bucket_props(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
326
330
|
'''Optional user provided props to override the default props for the S3 Bucket.
|
|
327
331
|
|
|
328
332
|
Only valid when asyncJobs is true.
|
|
@@ -330,7 +334,7 @@ class LambdaToPollyProps:
|
|
|
330
334
|
:default: - Default props are used
|
|
331
335
|
'''
|
|
332
336
|
result = self._values.get("bucket_props")
|
|
333
|
-
return typing.cast(typing.
|
|
337
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
334
338
|
|
|
335
339
|
@builtins.property
|
|
336
340
|
def deploy_vpc(self) -> typing.Optional[builtins.bool]:
|
|
@@ -356,7 +360,9 @@ class LambdaToPollyProps:
|
|
|
356
360
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
357
361
|
|
|
358
362
|
@builtins.property
|
|
359
|
-
def existing_bucket_obj(
|
|
363
|
+
def existing_bucket_obj(
|
|
364
|
+
self,
|
|
365
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
360
366
|
'''Existing instance of S3 Bucket object for audio output, providing both this and ``bucketProps`` will cause an error.
|
|
361
367
|
|
|
362
368
|
Only valid when asyncJobs is true.
|
|
@@ -364,23 +370,23 @@ class LambdaToPollyProps:
|
|
|
364
370
|
:default: - None
|
|
365
371
|
'''
|
|
366
372
|
result = self._values.get("existing_bucket_obj")
|
|
367
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], result)
|
|
373
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], result)
|
|
368
374
|
|
|
369
375
|
@builtins.property
|
|
370
376
|
def existing_lambda_obj(
|
|
371
377
|
self,
|
|
372
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function]:
|
|
378
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"]:
|
|
373
379
|
'''Optional - instance of an existing Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error.
|
|
374
380
|
|
|
375
381
|
:default: - None
|
|
376
382
|
'''
|
|
377
383
|
result = self._values.get("existing_lambda_obj")
|
|
378
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function], result)
|
|
384
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"], result)
|
|
379
385
|
|
|
380
386
|
@builtins.property
|
|
381
387
|
def existing_topic_encryption_key(
|
|
382
388
|
self,
|
|
383
|
-
) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key]:
|
|
389
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"]:
|
|
384
390
|
'''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.
|
|
385
391
|
|
|
386
392
|
Only valid when asyncJobs is true.
|
|
@@ -388,10 +394,10 @@ class LambdaToPollyProps:
|
|
|
388
394
|
:default: - None
|
|
389
395
|
'''
|
|
390
396
|
result = self._values.get("existing_topic_encryption_key")
|
|
391
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key], result)
|
|
397
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"], result)
|
|
392
398
|
|
|
393
399
|
@builtins.property
|
|
394
|
-
def existing_topic_obj(self) -> typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic]:
|
|
400
|
+
def existing_topic_obj(self) -> typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"]:
|
|
395
401
|
'''Optional - existing instance of SNS topic object, providing both this and ``topicProps`` will cause an error.
|
|
396
402
|
|
|
397
403
|
Only valid when asyncJobs is true.
|
|
@@ -399,18 +405,18 @@ class LambdaToPollyProps:
|
|
|
399
405
|
:default: - None
|
|
400
406
|
'''
|
|
401
407
|
result = self._values.get("existing_topic_obj")
|
|
402
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic], result)
|
|
408
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sns_ceddda9d.Topic"], result)
|
|
403
409
|
|
|
404
410
|
@builtins.property
|
|
405
|
-
def existing_vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
411
|
+
def existing_vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
406
412
|
'''An existing VPC for the construct to use (construct will NOT create a new VPC in this case).'''
|
|
407
413
|
result = self._values.get("existing_vpc")
|
|
408
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
|
|
414
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], result)
|
|
409
415
|
|
|
410
416
|
@builtins.property
|
|
411
417
|
def lambda_function_props(
|
|
412
418
|
self,
|
|
413
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps]:
|
|
419
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"]:
|
|
414
420
|
'''Optional - user provided props to override the default props for the Lambda function.
|
|
415
421
|
|
|
416
422
|
Providing both this and ``existingLambdaObj``
|
|
@@ -422,10 +428,12 @@ class LambdaToPollyProps:
|
|
|
422
428
|
:default: - Default properties are used.
|
|
423
429
|
'''
|
|
424
430
|
result = self._values.get("lambda_function_props")
|
|
425
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps], result)
|
|
431
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"], result)
|
|
426
432
|
|
|
427
433
|
@builtins.property
|
|
428
|
-
def logging_bucket_props(
|
|
434
|
+
def logging_bucket_props(
|
|
435
|
+
self,
|
|
436
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"]:
|
|
429
437
|
'''Optional user provided props to override the default props for the S3 Logging Bucket.
|
|
430
438
|
|
|
431
439
|
Only valid when asyncJobs is true.
|
|
@@ -433,7 +441,7 @@ class LambdaToPollyProps:
|
|
|
433
441
|
:default: - Default props are used
|
|
434
442
|
'''
|
|
435
443
|
result = self._values.get("logging_bucket_props")
|
|
436
|
-
return typing.cast(typing.
|
|
444
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.BucketProps"], result)
|
|
437
445
|
|
|
438
446
|
@builtins.property
|
|
439
447
|
def log_s3_access_logs(self) -> typing.Optional[builtins.bool]:
|
|
@@ -448,7 +456,7 @@ class LambdaToPollyProps:
|
|
|
448
456
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
449
457
|
|
|
450
458
|
@builtins.property
|
|
451
|
-
def topic_encryption_key(self) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key]:
|
|
459
|
+
def topic_encryption_key(self) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"]:
|
|
452
460
|
'''An optional, imported encryption key to encrypt the SNS Topic with.
|
|
453
461
|
|
|
454
462
|
Only valid when asyncJobs is true.
|
|
@@ -456,7 +464,7 @@ class LambdaToPollyProps:
|
|
|
456
464
|
:default: - not specified.
|
|
457
465
|
'''
|
|
458
466
|
result = self._values.get("topic_encryption_key")
|
|
459
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key], result)
|
|
467
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.Key"], result)
|
|
460
468
|
|
|
461
469
|
@builtins.property
|
|
462
470
|
def topic_encryption_key_props(self) -> typing.Any:
|
|
@@ -522,7 +530,7 @@ def _typecheckingstub__c1ec1a737f0dedaa7072e604dcb4e90ef03aa69f88372962f6ef93813
|
|
|
522
530
|
*,
|
|
523
531
|
async_jobs: typing.Optional[builtins.bool] = None,
|
|
524
532
|
bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
525
|
-
bucket_props: typing.Any = None,
|
|
533
|
+
bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
526
534
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
527
535
|
enable_topic_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
528
536
|
existing_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
@@ -531,7 +539,7 @@ def _typecheckingstub__c1ec1a737f0dedaa7072e604dcb4e90ef03aa69f88372962f6ef93813
|
|
|
531
539
|
existing_topic_obj: typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic] = None,
|
|
532
540
|
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
533
541
|
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
534
|
-
logging_bucket_props: typing.Any = None,
|
|
542
|
+
logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
535
543
|
log_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
536
544
|
topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
537
545
|
topic_encryption_key_props: typing.Any = None,
|
|
@@ -546,7 +554,7 @@ def _typecheckingstub__4f8259ca306e2c6e0e6b5945ad532e43d7d480870f61864499b83261e
|
|
|
546
554
|
*,
|
|
547
555
|
async_jobs: typing.Optional[builtins.bool] = None,
|
|
548
556
|
bucket_environment_variable_name: typing.Optional[builtins.str] = None,
|
|
549
|
-
bucket_props: typing.Any = None,
|
|
557
|
+
bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
550
558
|
deploy_vpc: typing.Optional[builtins.bool] = None,
|
|
551
559
|
enable_topic_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
552
560
|
existing_bucket_obj: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
@@ -555,7 +563,7 @@ def _typecheckingstub__4f8259ca306e2c6e0e6b5945ad532e43d7d480870f61864499b83261e
|
|
|
555
563
|
existing_topic_obj: typing.Optional[_aws_cdk_aws_sns_ceddda9d.Topic] = None,
|
|
556
564
|
existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
557
565
|
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
558
|
-
logging_bucket_props: typing.Any = None,
|
|
566
|
+
logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
559
567
|
log_s3_access_logs: typing.Optional[builtins.bool] = None,
|
|
560
568
|
topic_encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
561
569
|
topic_encryption_key_props: typing.Any = None,
|
|
@@ -34,9 +34,9 @@ import constructs._jsii
|
|
|
34
34
|
|
|
35
35
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
36
36
|
"@aws-solutions-constructs/aws-lambda-polly",
|
|
37
|
-
"2.
|
|
37
|
+
"2.100.0",
|
|
38
38
|
__name__[0:-6],
|
|
39
|
-
"aws-lambda-polly@2.
|
|
39
|
+
"aws-lambda-polly@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-polly
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.100.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and Amazon Polly text-to-speech service with optional S3 buckets and SNS topics.
|
|
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-polly/README.adoc)
|
|
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_lambda_polly.egg-info/top_level.txt
|
|
|
11
11
|
src/aws_solutions_constructs/aws_lambda_polly/__init__.py
|
|
12
12
|
src/aws_solutions_constructs/aws_lambda_polly/py.typed
|
|
13
13
|
src/aws_solutions_constructs/aws_lambda_polly/_jsii/__init__.py
|
|
14
|
-
src/aws_solutions_constructs/aws_lambda_polly/_jsii/aws-lambda-polly@2.
|
|
14
|
+
src/aws_solutions_constructs/aws_lambda_polly/_jsii/aws-lambda-polly@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
|