aws-solutions-constructs.aws-lambda-bedrockinferenceprofile 2.84.0__tar.gz → 2.85.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.
Files changed (18) hide show
  1. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/PKG-INFO +39 -6
  2. aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/PKG-INFO → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0/README.md +35 -29
  3. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/setup.py +5 -5
  4. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/__init__.py +35 -2
  5. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/__init__.py +2 -2
  6. aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/aws-lambda-bedrockinferenceprofile@2.85.0.jsii.tgz +0 -0
  7. aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0/README.md → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/PKG-INFO +62 -2
  8. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/SOURCES.txt +1 -1
  9. aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/requires.txt +6 -0
  10. aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/aws-lambda-bedrockinferenceprofile@2.84.0.jsii.tgz +0 -0
  11. aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/requires.txt +0 -6
  12. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/LICENSE +0 -0
  13. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/MANIFEST.in +0 -0
  14. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/pyproject.toml +0 -0
  15. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/setup.cfg +0 -0
  16. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/py.typed +0 -0
  17. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.0}/src/aws_solutions_constructs.aws_lambda_bedrockinferenceprofile.egg-info/dependency_links.txt +0 -0
  18. {aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.84.0 → aws_solutions_constructs_aws_lambda_bedrockinferenceprofile-2.85.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.84.0
3
+ Version: 2.85.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,10 +18,10 @@ 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.190.0
22
- Requires-Dist: aws-solutions-constructs.core==2.84.0
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.192.0
22
+ Requires-Dist: aws-solutions-constructs.core==2.85.0
23
23
  Requires-Dist: constructs<11.0.0,>=10.0.0
24
- Requires-Dist: jsii<2.0.0,>=1.110.0
24
+ Requires-Dist: jsii<2.0.0,>=1.111.0
25
25
  Requires-Dist: publication>=0.0.3
26
26
  Requires-Dist: typeguard<4.3.0,>=2.13.3
27
27
 
@@ -80,13 +80,46 @@ new LambdaToBedrockInferenceProfile(this, 'LambdaToBedrockPattern', {
80
80
  Python
81
81
 
82
82
  ```python
83
- # TBD
83
+ from constructs import Construct
84
+ from aws_cdk import (
85
+ aws_lambda as _lambda,
86
+ Stack
87
+ )
88
+
89
+ from aws_solutions_constructs import (
90
+ aws_lambda_bedrockinferenceprofile as lambda_bedrock
91
+ )
92
+
93
+ lambda_bedrock.LambdaToBedrockinferenceprofile(
94
+ self, 'bedrock-construct',
95
+ bedrock_model_id="amazon.nova-lite-v1:0",
96
+ lambda_function_props=_lambda.FunctionProps(
97
+ runtime=_lambda.Runtime.NODEJS_20_X,
98
+ code=_lambda.Code.from_asset('lambda'),
99
+ handler='index.handler',
100
+ )
101
+ )
84
102
  ```
85
103
 
86
104
  Java
87
105
 
88
106
  ```java
89
- // TBD
107
+ import software.constructs.Construct;
108
+
109
+ import software.amazon.awscdk.Stack;
110
+ import software.amazon.awscdk.StackProps;
111
+ import software.amazon.awscdk.services.lambda.*;
112
+ import software.amazon.awscdk.services.lambda.Runtime;
113
+ import software.amazon.awsconstructs.services.lambdabedrockinferenceprofile.*;
114
+
115
+ new LambdaToBedrockinferenceprofile(this, "ApiGatewayToLambdaPattern", new LambdaToBedrockinferenceprofileProps.Builder()
116
+ .lambdaFunctionProps(new FunctionProps.Builder()
117
+ .runtime(Runtime.NODEJS_20_X)
118
+ .code(Code.fromAsset("lambda"))
119
+ .handler("index.handler")
120
+ .build())
121
+ .bedrockModelId("amazon.nova-lite-v1:0")
122
+ .build());
90
123
  ```
91
124
 
92
125
  ## Pattern Construct Props
@@ -1,30 +1,3 @@
1
- Metadata-Version: 2.1
2
- Name: aws-solutions-constructs.aws-lambda-bedrockinferenceprofile
3
- Version: 2.84.0
4
- Summary: CDK constructs for defining an interaction between an AWS Lambda function and an Amazon Bedrock inference profile.
5
- Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
- Author: Amazon Web Services
7
- License: Apache-2.0
8
- Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
9
- Classifier: Intended Audience :: Developers
10
- Classifier: Operating System :: OS Independent
11
- Classifier: Programming Language :: JavaScript
12
- Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Typing :: Typed
17
- Classifier: License :: OSI Approved
18
- Requires-Python: ~=3.9
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
21
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.190.0
22
- Requires-Dist: aws-solutions-constructs.core==2.84.0
23
- Requires-Dist: constructs<11.0.0,>=10.0.0
24
- Requires-Dist: jsii<2.0.0,>=1.110.0
25
- Requires-Dist: publication>=0.0.3
26
- Requires-Dist: typeguard<4.3.0,>=2.13.3
27
-
28
1
  # aws-lambda-bedrockinferenceprofile module
29
2
 
30
3
  <!--BEGIN STABILITY BANNER-->---
@@ -80,13 +53,46 @@ new LambdaToBedrockInferenceProfile(this, 'LambdaToBedrockPattern', {
80
53
  Python
81
54
 
82
55
  ```python
83
- # TBD
56
+ from constructs import Construct
57
+ from aws_cdk import (
58
+ aws_lambda as _lambda,
59
+ Stack
60
+ )
61
+
62
+ from aws_solutions_constructs import (
63
+ aws_lambda_bedrockinferenceprofile as lambda_bedrock
64
+ )
65
+
66
+ lambda_bedrock.LambdaToBedrockinferenceprofile(
67
+ self, 'bedrock-construct',
68
+ bedrock_model_id="amazon.nova-lite-v1:0",
69
+ lambda_function_props=_lambda.FunctionProps(
70
+ runtime=_lambda.Runtime.NODEJS_20_X,
71
+ code=_lambda.Code.from_asset('lambda'),
72
+ handler='index.handler',
73
+ )
74
+ )
84
75
  ```
85
76
 
86
77
  Java
87
78
 
88
79
  ```java
89
- // TBD
80
+ import software.constructs.Construct;
81
+
82
+ import software.amazon.awscdk.Stack;
83
+ import software.amazon.awscdk.StackProps;
84
+ import software.amazon.awscdk.services.lambda.*;
85
+ import software.amazon.awscdk.services.lambda.Runtime;
86
+ import software.amazon.awsconstructs.services.lambdabedrockinferenceprofile.*;
87
+
88
+ new LambdaToBedrockinferenceprofile(this, "ApiGatewayToLambdaPattern", new LambdaToBedrockinferenceprofileProps.Builder()
89
+ .lambdaFunctionProps(new FunctionProps.Builder()
90
+ .runtime(Runtime.NODEJS_20_X)
91
+ .code(Code.fromAsset("lambda"))
92
+ .handler("index.handler")
93
+ .build())
94
+ .bedrockModelId("amazon.nova-lite-v1:0")
95
+ .build());
90
96
  ```
91
97
 
92
98
  ## Pattern Construct Props
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.aws-lambda-bedrockinferenceprofile",
8
- "version": "2.84.0",
8
+ "version": "2.85.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.84.0.jsii.tgz"
29
+ "aws-lambda-bedrockinferenceprofile@2.85.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.aws_lambda_bedrockinferenceprofile": [
32
32
  "py.typed"
@@ -34,10 +34,10 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.190.0, <3.0.0",
38
- "aws-solutions-constructs.core==2.84.0",
37
+ "aws-cdk-lib>=2.192.0, <3.0.0",
38
+ "aws-solutions-constructs.core==2.85.0",
39
39
  "constructs>=10.0.0, <11.0.0",
40
- "jsii>=1.110.0, <2.0.0",
40
+ "jsii>=1.111.0, <2.0.0",
41
41
  "publication>=0.0.3",
42
42
  "typeguard>=2.13.3,<4.3.0"
43
43
  ],
@@ -54,13 +54,46 @@ new LambdaToBedrockInferenceProfile(this, 'LambdaToBedrockPattern', {
54
54
  Python
55
55
 
56
56
  ```python
57
- # TBD
57
+ from constructs import Construct
58
+ from aws_cdk import (
59
+ aws_lambda as _lambda,
60
+ Stack
61
+ )
62
+
63
+ from aws_solutions_constructs import (
64
+ aws_lambda_bedrockinferenceprofile as lambda_bedrock
65
+ )
66
+
67
+ lambda_bedrock.LambdaToBedrockinferenceprofile(
68
+ self, 'bedrock-construct',
69
+ bedrock_model_id="amazon.nova-lite-v1:0",
70
+ lambda_function_props=_lambda.FunctionProps(
71
+ runtime=_lambda.Runtime.NODEJS_20_X,
72
+ code=_lambda.Code.from_asset('lambda'),
73
+ handler='index.handler',
74
+ )
75
+ )
58
76
  ```
59
77
 
60
78
  Java
61
79
 
62
80
  ```java
63
- // TBD
81
+ import software.constructs.Construct;
82
+
83
+ import software.amazon.awscdk.Stack;
84
+ import software.amazon.awscdk.StackProps;
85
+ import software.amazon.awscdk.services.lambda.*;
86
+ import software.amazon.awscdk.services.lambda.Runtime;
87
+ import software.amazon.awsconstructs.services.lambdabedrockinferenceprofile.*;
88
+
89
+ new LambdaToBedrockinferenceprofile(this, "ApiGatewayToLambdaPattern", new LambdaToBedrockinferenceprofileProps.Builder()
90
+ .lambdaFunctionProps(new FunctionProps.Builder()
91
+ .runtime(Runtime.NODEJS_20_X)
92
+ .code(Code.fromAsset("lambda"))
93
+ .handler("index.handler")
94
+ .build())
95
+ .bedrockModelId("amazon.nova-lite-v1:0")
96
+ .build());
64
97
  ```
65
98
 
66
99
  ## Pattern Construct Props
@@ -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.84.0",
37
+ "2.85.0",
38
38
  __name__[0:-6],
39
- "aws-lambda-bedrockinferenceprofile@2.84.0.jsii.tgz",
39
+ "aws-lambda-bedrockinferenceprofile@2.85.0.jsii.tgz",
40
40
  )
41
41
 
42
42
  __all__ = [
@@ -1,3 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: aws-solutions-constructs.aws-lambda-bedrockinferenceprofile
3
+ Version: 2.85.0
4
+ Summary: CDK constructs for defining an interaction between an AWS Lambda function and an Amazon Bedrock inference profile.
5
+ Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
+ Author: Amazon Web Services
7
+ License: Apache-2.0
8
+ Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: JavaScript
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Typing :: Typed
17
+ Classifier: License :: OSI Approved
18
+ Requires-Python: ~=3.9
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.192.0
22
+ Requires-Dist: aws-solutions-constructs.core==2.85.0
23
+ Requires-Dist: constructs<11.0.0,>=10.0.0
24
+ Requires-Dist: jsii<2.0.0,>=1.111.0
25
+ Requires-Dist: publication>=0.0.3
26
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
27
+
1
28
  # aws-lambda-bedrockinferenceprofile module
2
29
 
3
30
  <!--BEGIN STABILITY BANNER-->---
@@ -53,13 +80,46 @@ new LambdaToBedrockInferenceProfile(this, 'LambdaToBedrockPattern', {
53
80
  Python
54
81
 
55
82
  ```python
56
- # TBD
83
+ from constructs import Construct
84
+ from aws_cdk import (
85
+ aws_lambda as _lambda,
86
+ Stack
87
+ )
88
+
89
+ from aws_solutions_constructs import (
90
+ aws_lambda_bedrockinferenceprofile as lambda_bedrock
91
+ )
92
+
93
+ lambda_bedrock.LambdaToBedrockinferenceprofile(
94
+ self, 'bedrock-construct',
95
+ bedrock_model_id="amazon.nova-lite-v1:0",
96
+ lambda_function_props=_lambda.FunctionProps(
97
+ runtime=_lambda.Runtime.NODEJS_20_X,
98
+ code=_lambda.Code.from_asset('lambda'),
99
+ handler='index.handler',
100
+ )
101
+ )
57
102
  ```
58
103
 
59
104
  Java
60
105
 
61
106
  ```java
62
- // TBD
107
+ import software.constructs.Construct;
108
+
109
+ import software.amazon.awscdk.Stack;
110
+ import software.amazon.awscdk.StackProps;
111
+ import software.amazon.awscdk.services.lambda.*;
112
+ import software.amazon.awscdk.services.lambda.Runtime;
113
+ import software.amazon.awsconstructs.services.lambdabedrockinferenceprofile.*;
114
+
115
+ new LambdaToBedrockinferenceprofile(this, "ApiGatewayToLambdaPattern", new LambdaToBedrockinferenceprofileProps.Builder()
116
+ .lambdaFunctionProps(new FunctionProps.Builder()
117
+ .runtime(Runtime.NODEJS_20_X)
118
+ .code(Code.fromAsset("lambda"))
119
+ .handler("index.handler")
120
+ .build())
121
+ .bedrockModelId("amazon.nova-lite-v1:0")
122
+ .build());
63
123
  ```
64
124
 
65
125
  ## Pattern Construct Props
@@ -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.84.0.jsii.tgz
14
+ src/aws_solutions_constructs/aws_lambda_bedrockinferenceprofile/_jsii/aws-lambda-bedrockinferenceprofile@2.85.0.jsii.tgz
@@ -0,0 +1,6 @@
1
+ aws-cdk-lib<3.0.0,>=2.192.0
2
+ aws-solutions-constructs.core==2.85.0
3
+ constructs<11.0.0,>=10.0.0
4
+ jsii<2.0.0,>=1.111.0
5
+ publication>=0.0.3
6
+ typeguard<4.3.0,>=2.13.3
@@ -1,6 +0,0 @@
1
- aws-cdk-lib<3.0.0,>=2.190.0
2
- aws-solutions-constructs.core==2.84.0
3
- constructs<11.0.0,>=10.0.0
4
- jsii<2.0.0,>=1.110.0
5
- publication>=0.0.3
6
- typeguard<4.3.0,>=2.13.3