aws-solutions-constructs.aws-lambda-bedrockinferenceprofile 2.96.0__tar.gz → 2.97.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_bedrockinferenceprofile-2.96.0/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/PKG-INFO +3 -3
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/setup.py +4 -4
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/__init__.py +8 -6
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/__init__.py +2 -2
- aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/aws-lambda-bedrockinferenceprofile@2.97.0.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info}/PKG-INFO +3 -3
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/SOURCES.txt +1 -1
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/requires.txt +2 -2
- aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/aws-lambda-bedrockinferenceprofile@2.96.0.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/LICENSE +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/MANIFEST.in +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/README.md +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/pyproject.toml +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/setup.cfg +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/py.typed +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/dependency_links.txt +0 -0
- {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.96.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.97.0}/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.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-bedrockinferenceprofile
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.97.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and an Amazon Bedrock inference profile.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -18,8 +18,8 @@ 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.233.0
|
|
22
|
+
Requires-Dist: aws-solutions-constructs.core==2.97.0
|
|
23
23
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
24
24
|
Requires-Dist: jsii<2.0.0,>=1.119.0
|
|
25
25
|
Requires-Dist: publication>=0.0.3
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-solutions-constructs.aws-lambda-bedrockinferenceprofile",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.97.0",
|
|
9
9
|
"description": "CDK constructs for defining an interaction between an AWS Lambda function and an Amazon Bedrock inference profile.",
|
|
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_bedrockinferenceprofile._jsii": [
|
|
29
|
-
"aws-lambda-bedrockinferenceprofile@2.
|
|
29
|
+
"aws-lambda-bedrockinferenceprofile@2.97.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.aws_lambda_bedrockinferenceprofile": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,8 +34,8 @@ 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.233.0, <3.0.0",
|
|
38
|
+
"aws-solutions-constructs.core==2.97.0",
|
|
39
39
|
"constructs>=10.0.0, <11.0.0",
|
|
40
40
|
"jsii>=1.119.0, <2.0.0",
|
|
41
41
|
"publication>=0.0.3",
|
|
@@ -70,12 +70,12 @@ class LambdaToBedrockinferenceprofile(
|
|
|
70
70
|
:param bedrock_model_id: The foundation model to use with the inference profile. The construct will validate the model name, create the correct inference profile name based on the region and remind the developer in which regions the model must be available for this profile. Be certain that the account is granted access to the foundation model in all the regions covered by cross-region inference profile
|
|
71
71
|
:param deploy_cross_region_profile: Whether to deploy a cross-region inference profile that will automatically distribute Invoke calls across multiple regions. Default: - true
|
|
72
72
|
:param deploy_vpc: Whether to deploy a new VPC. Default: - false
|
|
73
|
-
:param existing_lambda_obj:
|
|
73
|
+
:param existing_lambda_obj: Optional - instance of an existing Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error. Default: - None
|
|
74
74
|
:param existing_vpc: An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
|
|
75
75
|
:param foundation_model_environment_variable_name: Optional Name for the Lambda function environment variable set to the Model name. Default: - BEDROCK_MODEL
|
|
76
76
|
:param inference_profile_environment_variable_name: Optional Name for the Lambda function environment variable set to the inference profile arn. Default: - BEDROCK_PROFILE
|
|
77
77
|
:param inference_profile_props: Properties to override constructs props values for the Inference Profile. The construct will populate inverenceProfileName - so don't override it unless you have an very good reason. The construct base IAM policies around the modelSource that it creates, so trying to send a modelSource in ths parameter will cause an error. This is where you set tags required for tracking inference calls.
|
|
78
|
-
:param lambda_function_props:
|
|
78
|
+
:param lambda_function_props: Optional - user provided props to override the default props for the Lambda function. Providing both this and ``existingLambdaObj`` is an error. Default: - Default properties are used.
|
|
79
79
|
:param vpc_props: Properties to override default properties if deployVpc is true.
|
|
80
80
|
|
|
81
81
|
:access: public
|
|
@@ -154,12 +154,12 @@ class LambdaToBedrockinferenceprofileProps:
|
|
|
154
154
|
:param bedrock_model_id: The foundation model to use with the inference profile. The construct will validate the model name, create the correct inference profile name based on the region and remind the developer in which regions the model must be available for this profile. Be certain that the account is granted access to the foundation model in all the regions covered by cross-region inference profile
|
|
155
155
|
:param deploy_cross_region_profile: Whether to deploy a cross-region inference profile that will automatically distribute Invoke calls across multiple regions. Default: - true
|
|
156
156
|
:param deploy_vpc: Whether to deploy a new VPC. Default: - false
|
|
157
|
-
:param existing_lambda_obj:
|
|
157
|
+
:param existing_lambda_obj: Optional - instance of an existing Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error. Default: - None
|
|
158
158
|
:param existing_vpc: An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
|
|
159
159
|
:param foundation_model_environment_variable_name: Optional Name for the Lambda function environment variable set to the Model name. Default: - BEDROCK_MODEL
|
|
160
160
|
:param inference_profile_environment_variable_name: Optional Name for the Lambda function environment variable set to the inference profile arn. Default: - BEDROCK_PROFILE
|
|
161
161
|
:param inference_profile_props: Properties to override constructs props values for the Inference Profile. The construct will populate inverenceProfileName - so don't override it unless you have an very good reason. The construct base IAM policies around the modelSource that it creates, so trying to send a modelSource in ths parameter will cause an error. This is where you set tags required for tracking inference calls.
|
|
162
|
-
:param lambda_function_props:
|
|
162
|
+
:param lambda_function_props: Optional - user provided props to override the default props for the Lambda function. Providing both this and ``existingLambdaObj`` is an error. Default: - Default properties are used.
|
|
163
163
|
:param vpc_props: Properties to override default properties if deployVpc is true.
|
|
164
164
|
|
|
165
165
|
:summary: The properties for the LambdaToSns class.
|
|
@@ -241,7 +241,7 @@ class LambdaToBedrockinferenceprofileProps:
|
|
|
241
241
|
def existing_lambda_obj(
|
|
242
242
|
self,
|
|
243
243
|
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function]:
|
|
244
|
-
'''
|
|
244
|
+
'''Optional - instance of an existing Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error.
|
|
245
245
|
|
|
246
246
|
:default: - None
|
|
247
247
|
'''
|
|
@@ -295,7 +295,9 @@ class LambdaToBedrockinferenceprofileProps:
|
|
|
295
295
|
def lambda_function_props(
|
|
296
296
|
self,
|
|
297
297
|
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps]:
|
|
298
|
-
'''
|
|
298
|
+
'''Optional - user provided props to override the default props for the Lambda function.
|
|
299
|
+
|
|
300
|
+
Providing both this and ``existingLambdaObj`` is an error.
|
|
299
301
|
|
|
300
302
|
:default: - Default properties are used.
|
|
301
303
|
'''
|
|
@@ -34,9 +34,9 @@ import constructs._jsii
|
|
|
34
34
|
|
|
35
35
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
36
36
|
"@aws-solutions-constructs/aws-lambda-bedrockinferenceprofile",
|
|
37
|
-
"2.
|
|
37
|
+
"2.97.0",
|
|
38
38
|
__name__[0:-6],
|
|
39
|
-
"aws-lambda-bedrockinferenceprofile@2.
|
|
39
|
+
"aws-lambda-bedrockinferenceprofile@2.97.0.jsii.tgz",
|
|
40
40
|
)
|
|
41
41
|
|
|
42
42
|
__all__ = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-solutions-constructs.aws-lambda-bedrockinferenceprofile
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.97.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an AWS Lambda function and an Amazon Bedrock inference profile.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -18,8 +18,8 @@ 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.233.0
|
|
22
|
+
Requires-Dist: aws-solutions-constructs.core==2.97.0
|
|
23
23
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
24
24
|
Requires-Dist: jsii<2.0.0,>=1.119.0
|
|
25
25
|
Requires-Dist: publication>=0.0.3
|
|
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/top_lev
|
|
|
11
11
|
src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/__init__.py
|
|
12
12
|
src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/py.typed
|
|
13
13
|
src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/__init__.py
|
|
14
|
-
src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/aws-lambda-bedrockinferenceprofile@2.
|
|
14
|
+
src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/aws-lambda-bedrockinferenceprofile@2.97.0.jsii.tgz
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|