aws-solutions-constructs.aws-lambda-stepfunctions 2.21.0__tar.gz → 2.95.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 (23) hide show
  1. aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0/PKG-INFO +28 -0
  2. aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0/README.md +1 -0
  3. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/pyproject.toml +2 -2
  4. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/setup.py +8 -9
  5. aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0/src/aws_solutions_constructs/aws_lambda_stepfunctions/__init__.py +345 -0
  6. aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0/src/aws_solutions_constructs/aws_lambda_stepfunctions/_jsii/__init__.py +46 -0
  7. aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0/src/aws_solutions_constructs/aws_lambda_stepfunctions/_jsii/aws-lambda-stepfunctions@2.95.0.jsii.tgz +0 -0
  8. aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0/src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/PKG-INFO +28 -0
  9. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/SOURCES.txt +1 -1
  10. aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0/src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/requires.txt +6 -0
  11. aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0/PKG-INFO +0 -178
  12. aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0/README.md +0 -153
  13. aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0/src/aws_solutions_constructs/aws_lambda_stepfunctions/__init__.py +0 -441
  14. aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0/src/aws_solutions_constructs/aws_lambda_stepfunctions/_jsii/__init__.py +0 -28
  15. aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0/src/aws_solutions_constructs/aws_lambda_stepfunctions/_jsii/aws-lambda-stepfunctions@2.21.0.jsii.tgz +0 -0
  16. aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0/src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/PKG-INFO +0 -178
  17. aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0/src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/requires.txt +0 -6
  18. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/LICENSE +0 -0
  19. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/MANIFEST.in +0 -0
  20. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/setup.cfg +0 -0
  21. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/src/aws_solutions_constructs/aws_lambda_stepfunctions/py.typed +0 -0
  22. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/dependency_links.txt +0 -0
  23. {aws-solutions-constructs.aws-lambda-stepfunctions-2.21.0 → aws_solutions_constructs_aws_lambda_stepfunctions-2.95.0}/src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/top_level.txt +0 -0
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: aws-solutions-constructs.aws-lambda-stepfunctions
3
+ Version: 2.95.0
4
+ Summary: CDK constructs for defining an interaction between an AWS Lambda function and an AWS Step Function.
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.223.0
22
+ Requires-Dist: aws-solutions-constructs.core==2.95.0
23
+ Requires-Dist: constructs<11.0.0,>=10.0.0
24
+ Requires-Dist: jsii<2.0.0,>=1.119.0
25
+ Requires-Dist: publication>=0.0.3
26
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
27
+
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-stepfunctions/README.adoc)
@@ -0,0 +1 @@
1
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-stepfunctions/README.adoc)
@@ -1,9 +1,9 @@
1
1
  [build-system]
2
- requires = ["setuptools~=62.1.0", "wheel~=0.37.1"]
2
+ requires = ["setuptools~=75.3.2", "build~=1.3.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
6
6
  defineConstant = { DEBUG = true }
7
- pythonVersion = "3.7"
7
+ pythonVersion = "3.9"
8
8
  pythonPlatform = "All"
9
9
  reportSelfClsParameterName = false
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.aws-lambda-stepfunctions",
8
- "version": "2.21.0",
8
+ "version": "2.95.0",
9
9
  "description": "CDK constructs for defining an interaction between an AWS Lambda function and an AWS Step Function.",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/awslabs/aws-solutions-constructs.git",
@@ -26,30 +26,29 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_solutions_constructs.aws_lambda_stepfunctions._jsii": [
29
- "aws-lambda-stepfunctions@2.21.0.jsii.tgz"
29
+ "aws-lambda-stepfunctions@2.95.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.aws_lambda_stepfunctions": [
32
32
  "py.typed"
33
33
  ]
34
34
  },
35
- "python_requires": "~=3.7",
35
+ "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.37.1, <3.0.0",
38
- "aws-solutions-constructs.core==2.21.0",
37
+ "aws-cdk-lib>=2.223.0, <3.0.0",
38
+ "aws-solutions-constructs.core==2.95.0",
39
39
  "constructs>=10.0.0, <11.0.0",
40
- "jsii>=1.65.0, <2.0.0",
40
+ "jsii>=1.119.0, <2.0.0",
41
41
  "publication>=0.0.3",
42
- "typeguard~=2.13.3"
42
+ "typeguard>=2.13.3,<4.3.0"
43
43
  ],
44
44
  "classifiers": [
45
45
  "Intended Audience :: Developers",
46
46
  "Operating System :: OS Independent",
47
47
  "Programming Language :: JavaScript",
48
48
  "Programming Language :: Python :: 3 :: Only",
49
- "Programming Language :: Python :: 3.7",
50
- "Programming Language :: Python :: 3.8",
51
49
  "Programming Language :: Python :: 3.9",
52
50
  "Programming Language :: Python :: 3.10",
51
+ "Programming Language :: Python :: 3.11",
53
52
  "Typing :: Typed",
54
53
  "License :: OSI Approved"
55
54
  ],
@@ -0,0 +1,345 @@
1
+ r'''
2
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-stepfunctions/README.adoc)
3
+ '''
4
+ from pkgutil import extend_path
5
+ __path__ = extend_path(__path__, __name__)
6
+
7
+ import abc
8
+ import builtins
9
+ import datetime
10
+ import enum
11
+ import typing
12
+
13
+ import jsii
14
+ import publication
15
+ import typing_extensions
16
+
17
+ import typeguard
18
+ from importlib.metadata import version as _metadata_package_version
19
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
20
+
21
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
22
+ if TYPEGUARD_MAJOR_VERSION <= 2:
23
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
24
+ else:
25
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
26
+ pass
27
+ else:
28
+ if TYPEGUARD_MAJOR_VERSION == 3:
29
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
30
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
31
+ else:
32
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
33
+
34
+ from ._jsii import *
35
+
36
+ import aws_cdk.aws_cloudwatch as _aws_cdk_aws_cloudwatch_ceddda9d
37
+ import aws_cdk.aws_ec2 as _aws_cdk_aws_ec2_ceddda9d
38
+ import aws_cdk.aws_lambda as _aws_cdk_aws_lambda_ceddda9d
39
+ import aws_cdk.aws_logs as _aws_cdk_aws_logs_ceddda9d
40
+ import aws_cdk.aws_stepfunctions as _aws_cdk_aws_stepfunctions_ceddda9d
41
+ import constructs as _constructs_77d1e7e8
42
+
43
+
44
+ class LambdaToStepfunctions(
45
+ _constructs_77d1e7e8.Construct,
46
+ metaclass=jsii.JSIIMeta,
47
+ jsii_type="@aws-solutions-constructs/aws-lambda-stepfunctions.LambdaToStepfunctions",
48
+ ):
49
+ '''
50
+ :summary: The LambdaToStepfunctionsProps class.
51
+ '''
52
+
53
+ def __init__(
54
+ self,
55
+ scope: _constructs_77d1e7e8.Construct,
56
+ id: builtins.str,
57
+ *,
58
+ state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
59
+ create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
60
+ deploy_vpc: typing.Optional[builtins.bool] = None,
61
+ existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
62
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
63
+ lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
64
+ log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
65
+ state_machine_environment_variable_name: typing.Optional[builtins.str] = None,
66
+ vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
67
+ ) -> None:
68
+ '''
69
+ :param scope: - represents the scope for all the resources.
70
+ :param id: - this is a a scope-unique id.
71
+ :param state_machine_props: User provided StateMachineProps to override the defaults. Default: - None
72
+ :param create_cloud_watch_alarms: Whether to create recommended CloudWatch alarms. Default: - Alarms are created
73
+ :param deploy_vpc: Whether to deploy a new VPC. Default: - false
74
+ :param existing_lambda_obj: Existing instance of Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error. Default: - None
75
+ :param existing_vpc: An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
76
+ :param lambda_function_props: User provided props to override the default props for the Lambda function. Default: - Default properties are used.
77
+ :param log_group_props: User provided props to override the default props for the CloudWatchLogs LogGroup. Default: - Default props are used
78
+ :param state_machine_environment_variable_name: Optional Name for the Lambda function environment variable set to the ARN of the state machine. Default: - STATE_MACHINE_ARN
79
+ :param vpc_props: Properties to override default properties if deployVpc is true.
80
+
81
+ :access: public
82
+ :since: 0.8.0
83
+ :summary: Constructs a new instance of the LambdaToStepfunctionsProps class.
84
+ '''
85
+ if __debug__:
86
+ type_hints = typing.get_type_hints(_typecheckingstub__41a3edd12d240c4efadcccf7c9a4e09b79a41847dbd7dce480053f8e1adccdd4)
87
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
88
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
89
+ props = LambdaToStepfunctionsProps(
90
+ state_machine_props=state_machine_props,
91
+ create_cloud_watch_alarms=create_cloud_watch_alarms,
92
+ deploy_vpc=deploy_vpc,
93
+ existing_lambda_obj=existing_lambda_obj,
94
+ existing_vpc=existing_vpc,
95
+ lambda_function_props=lambda_function_props,
96
+ log_group_props=log_group_props,
97
+ state_machine_environment_variable_name=state_machine_environment_variable_name,
98
+ vpc_props=vpc_props,
99
+ )
100
+
101
+ jsii.create(self.__class__, self, [scope, id, props])
102
+
103
+ @builtins.property
104
+ @jsii.member(jsii_name="lambdaFunction")
105
+ def lambda_function(self) -> _aws_cdk_aws_lambda_ceddda9d.Function:
106
+ return typing.cast(_aws_cdk_aws_lambda_ceddda9d.Function, jsii.get(self, "lambdaFunction"))
107
+
108
+ @builtins.property
109
+ @jsii.member(jsii_name="stateMachine")
110
+ def state_machine(self) -> _aws_cdk_aws_stepfunctions_ceddda9d.StateMachine:
111
+ return typing.cast(_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine, jsii.get(self, "stateMachine"))
112
+
113
+ @builtins.property
114
+ @jsii.member(jsii_name="stateMachineLogGroup")
115
+ def state_machine_log_group(self) -> _aws_cdk_aws_logs_ceddda9d.ILogGroup:
116
+ return typing.cast(_aws_cdk_aws_logs_ceddda9d.ILogGroup, jsii.get(self, "stateMachineLogGroup"))
117
+
118
+ @builtins.property
119
+ @jsii.member(jsii_name="cloudwatchAlarms")
120
+ def cloudwatch_alarms(
121
+ self,
122
+ ) -> typing.Optional[typing.List[_aws_cdk_aws_cloudwatch_ceddda9d.Alarm]]:
123
+ return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_cloudwatch_ceddda9d.Alarm]], jsii.get(self, "cloudwatchAlarms"))
124
+
125
+ @builtins.property
126
+ @jsii.member(jsii_name="vpc")
127
+ def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
128
+ return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], jsii.get(self, "vpc"))
129
+
130
+
131
+ @jsii.data_type(
132
+ jsii_type="@aws-solutions-constructs/aws-lambda-stepfunctions.LambdaToStepfunctionsProps",
133
+ jsii_struct_bases=[],
134
+ name_mapping={
135
+ "state_machine_props": "stateMachineProps",
136
+ "create_cloud_watch_alarms": "createCloudWatchAlarms",
137
+ "deploy_vpc": "deployVpc",
138
+ "existing_lambda_obj": "existingLambdaObj",
139
+ "existing_vpc": "existingVpc",
140
+ "lambda_function_props": "lambdaFunctionProps",
141
+ "log_group_props": "logGroupProps",
142
+ "state_machine_environment_variable_name": "stateMachineEnvironmentVariableName",
143
+ "vpc_props": "vpcProps",
144
+ },
145
+ )
146
+ class LambdaToStepfunctionsProps:
147
+ def __init__(
148
+ self,
149
+ *,
150
+ state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
151
+ create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
152
+ deploy_vpc: typing.Optional[builtins.bool] = None,
153
+ existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
154
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
155
+ lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
156
+ log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
157
+ state_machine_environment_variable_name: typing.Optional[builtins.str] = None,
158
+ vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
159
+ ) -> None:
160
+ '''
161
+ :param state_machine_props: User provided StateMachineProps to override the defaults. Default: - None
162
+ :param create_cloud_watch_alarms: Whether to create recommended CloudWatch alarms. Default: - Alarms are created
163
+ :param deploy_vpc: Whether to deploy a new VPC. Default: - false
164
+ :param existing_lambda_obj: Existing instance of Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error. Default: - None
165
+ :param existing_vpc: An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
166
+ :param lambda_function_props: User provided props to override the default props for the Lambda function. Default: - Default properties are used.
167
+ :param log_group_props: User provided props to override the default props for the CloudWatchLogs LogGroup. Default: - Default props are used
168
+ :param state_machine_environment_variable_name: Optional Name for the Lambda function environment variable set to the ARN of the state machine. Default: - STATE_MACHINE_ARN
169
+ :param vpc_props: Properties to override default properties if deployVpc is true.
170
+
171
+ :summary: Properties for the LambdaToStepfunctions class.
172
+ '''
173
+ if isinstance(state_machine_props, dict):
174
+ state_machine_props = _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps(**state_machine_props)
175
+ if isinstance(lambda_function_props, dict):
176
+ lambda_function_props = _aws_cdk_aws_lambda_ceddda9d.FunctionProps(**lambda_function_props)
177
+ if isinstance(log_group_props, dict):
178
+ log_group_props = _aws_cdk_aws_logs_ceddda9d.LogGroupProps(**log_group_props)
179
+ if isinstance(vpc_props, dict):
180
+ vpc_props = _aws_cdk_aws_ec2_ceddda9d.VpcProps(**vpc_props)
181
+ if __debug__:
182
+ type_hints = typing.get_type_hints(_typecheckingstub__262dee4e621f3820477421afbb336e7fcf75893d3fa3bd00b46f35db85d2e956)
183
+ check_type(argname="argument state_machine_props", value=state_machine_props, expected_type=type_hints["state_machine_props"])
184
+ check_type(argname="argument create_cloud_watch_alarms", value=create_cloud_watch_alarms, expected_type=type_hints["create_cloud_watch_alarms"])
185
+ check_type(argname="argument deploy_vpc", value=deploy_vpc, expected_type=type_hints["deploy_vpc"])
186
+ check_type(argname="argument existing_lambda_obj", value=existing_lambda_obj, expected_type=type_hints["existing_lambda_obj"])
187
+ check_type(argname="argument existing_vpc", value=existing_vpc, expected_type=type_hints["existing_vpc"])
188
+ check_type(argname="argument lambda_function_props", value=lambda_function_props, expected_type=type_hints["lambda_function_props"])
189
+ check_type(argname="argument log_group_props", value=log_group_props, expected_type=type_hints["log_group_props"])
190
+ check_type(argname="argument state_machine_environment_variable_name", value=state_machine_environment_variable_name, expected_type=type_hints["state_machine_environment_variable_name"])
191
+ check_type(argname="argument vpc_props", value=vpc_props, expected_type=type_hints["vpc_props"])
192
+ self._values: typing.Dict[builtins.str, typing.Any] = {
193
+ "state_machine_props": state_machine_props,
194
+ }
195
+ if create_cloud_watch_alarms is not None:
196
+ self._values["create_cloud_watch_alarms"] = create_cloud_watch_alarms
197
+ if deploy_vpc is not None:
198
+ self._values["deploy_vpc"] = deploy_vpc
199
+ if existing_lambda_obj is not None:
200
+ self._values["existing_lambda_obj"] = existing_lambda_obj
201
+ if existing_vpc is not None:
202
+ self._values["existing_vpc"] = existing_vpc
203
+ if lambda_function_props is not None:
204
+ self._values["lambda_function_props"] = lambda_function_props
205
+ if log_group_props is not None:
206
+ self._values["log_group_props"] = log_group_props
207
+ if state_machine_environment_variable_name is not None:
208
+ self._values["state_machine_environment_variable_name"] = state_machine_environment_variable_name
209
+ if vpc_props is not None:
210
+ self._values["vpc_props"] = vpc_props
211
+
212
+ @builtins.property
213
+ def state_machine_props(
214
+ self,
215
+ ) -> _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps:
216
+ '''User provided StateMachineProps to override the defaults.
217
+
218
+ :default: - None
219
+ '''
220
+ result = self._values.get("state_machine_props")
221
+ assert result is not None, "Required property 'state_machine_props' is missing"
222
+ return typing.cast(_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, result)
223
+
224
+ @builtins.property
225
+ def create_cloud_watch_alarms(self) -> typing.Optional[builtins.bool]:
226
+ '''Whether to create recommended CloudWatch alarms.
227
+
228
+ :default: - Alarms are created
229
+ '''
230
+ result = self._values.get("create_cloud_watch_alarms")
231
+ return typing.cast(typing.Optional[builtins.bool], result)
232
+
233
+ @builtins.property
234
+ def deploy_vpc(self) -> typing.Optional[builtins.bool]:
235
+ '''Whether to deploy a new VPC.
236
+
237
+ :default: - false
238
+ '''
239
+ result = self._values.get("deploy_vpc")
240
+ return typing.cast(typing.Optional[builtins.bool], result)
241
+
242
+ @builtins.property
243
+ def existing_lambda_obj(
244
+ self,
245
+ ) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function]:
246
+ '''Existing instance of Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error.
247
+
248
+ :default: - None
249
+ '''
250
+ result = self._values.get("existing_lambda_obj")
251
+ return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function], result)
252
+
253
+ @builtins.property
254
+ def existing_vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
255
+ '''An existing VPC for the construct to use (construct will NOT create a new VPC in this case).'''
256
+ result = self._values.get("existing_vpc")
257
+ return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
258
+
259
+ @builtins.property
260
+ def lambda_function_props(
261
+ self,
262
+ ) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps]:
263
+ '''User provided props to override the default props for the Lambda function.
264
+
265
+ :default: - Default properties are used.
266
+ '''
267
+ result = self._values.get("lambda_function_props")
268
+ return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps], result)
269
+
270
+ @builtins.property
271
+ def log_group_props(
272
+ self,
273
+ ) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps]:
274
+ '''User provided props to override the default props for the CloudWatchLogs LogGroup.
275
+
276
+ :default: - Default props are used
277
+ '''
278
+ result = self._values.get("log_group_props")
279
+ return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps], result)
280
+
281
+ @builtins.property
282
+ def state_machine_environment_variable_name(self) -> typing.Optional[builtins.str]:
283
+ '''Optional Name for the Lambda function environment variable set to the ARN of the state machine.
284
+
285
+ :default: - STATE_MACHINE_ARN
286
+ '''
287
+ result = self._values.get("state_machine_environment_variable_name")
288
+ return typing.cast(typing.Optional[builtins.str], result)
289
+
290
+ @builtins.property
291
+ def vpc_props(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.VpcProps]:
292
+ '''Properties to override default properties if deployVpc is true.'''
293
+ result = self._values.get("vpc_props")
294
+ return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.VpcProps], result)
295
+
296
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
297
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
298
+
299
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
300
+ return not (rhs == self)
301
+
302
+ def __repr__(self) -> str:
303
+ return "LambdaToStepfunctionsProps(%s)" % ", ".join(
304
+ k + "=" + repr(v) for k, v in self._values.items()
305
+ )
306
+
307
+
308
+ __all__ = [
309
+ "LambdaToStepfunctions",
310
+ "LambdaToStepfunctionsProps",
311
+ ]
312
+
313
+ publication.publish()
314
+
315
+ def _typecheckingstub__41a3edd12d240c4efadcccf7c9a4e09b79a41847dbd7dce480053f8e1adccdd4(
316
+ scope: _constructs_77d1e7e8.Construct,
317
+ id: builtins.str,
318
+ *,
319
+ state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
320
+ create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
321
+ deploy_vpc: typing.Optional[builtins.bool] = None,
322
+ existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
323
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
324
+ lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
325
+ log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
326
+ state_machine_environment_variable_name: typing.Optional[builtins.str] = None,
327
+ vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
328
+ ) -> None:
329
+ """Type checking stubs"""
330
+ pass
331
+
332
+ def _typecheckingstub__262dee4e621f3820477421afbb336e7fcf75893d3fa3bd00b46f35db85d2e956(
333
+ *,
334
+ state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
335
+ create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
336
+ deploy_vpc: typing.Optional[builtins.bool] = None,
337
+ existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
338
+ existing_vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
339
+ lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
340
+ log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
341
+ state_machine_environment_variable_name: typing.Optional[builtins.str] = None,
342
+ vpc_props: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.VpcProps, typing.Dict[builtins.str, typing.Any]]] = None,
343
+ ) -> None:
344
+ """Type checking stubs"""
345
+ pass
@@ -0,0 +1,46 @@
1
+ from pkgutil import extend_path
2
+ __path__ = extend_path(__path__, __name__)
3
+
4
+ import abc
5
+ import builtins
6
+ import datetime
7
+ import enum
8
+ import typing
9
+
10
+ import jsii
11
+ import publication
12
+ import typing_extensions
13
+
14
+ import typeguard
15
+ from importlib.metadata import version as _metadata_package_version
16
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17
+
18
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19
+ if TYPEGUARD_MAJOR_VERSION <= 2:
20
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21
+ else:
22
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23
+ pass
24
+ else:
25
+ if TYPEGUARD_MAJOR_VERSION == 3:
26
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28
+ else:
29
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
30
+
31
+ import aws_cdk._jsii
32
+ import aws_solutions_constructs.core._jsii
33
+ import constructs._jsii
34
+
35
+ __jsii_assembly__ = jsii.JSIIAssembly.load(
36
+ "@aws-solutions-constructs/aws-lambda-stepfunctions",
37
+ "2.95.0",
38
+ __name__[0:-6],
39
+ "aws-lambda-stepfunctions@2.95.0.jsii.tgz",
40
+ )
41
+
42
+ __all__ = [
43
+ "__jsii_assembly__",
44
+ ]
45
+
46
+ publication.publish()
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: aws-solutions-constructs.aws-lambda-stepfunctions
3
+ Version: 2.95.0
4
+ Summary: CDK constructs for defining an interaction between an AWS Lambda function and an AWS Step Function.
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.223.0
22
+ Requires-Dist: aws-solutions-constructs.core==2.95.0
23
+ Requires-Dist: constructs<11.0.0,>=10.0.0
24
+ Requires-Dist: jsii<2.0.0,>=1.119.0
25
+ Requires-Dist: publication>=0.0.3
26
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
27
+
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-stepfunctions/README.adoc)
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_lambda_stepfunctions.egg-info/top_level.txt
11
11
  src/aws_solutions_constructs/aws_lambda_stepfunctions/__init__.py
12
12
  src/aws_solutions_constructs/aws_lambda_stepfunctions/py.typed
13
13
  src/aws_solutions_constructs/aws_lambda_stepfunctions/_jsii/__init__.py
14
- src/aws_solutions_constructs/aws_lambda_stepfunctions/_jsii/aws-lambda-stepfunctions@2.21.0.jsii.tgz
14
+ src/aws_solutions_constructs/aws_lambda_stepfunctions/_jsii/aws-lambda-stepfunctions@2.95.0.jsii.tgz
@@ -0,0 +1,6 @@
1
+ aws-cdk-lib<3.0.0,>=2.223.0
2
+ aws-solutions-constructs.core==2.95.0
3
+ constructs<11.0.0,>=10.0.0
4
+ jsii<2.0.0,>=1.119.0
5
+ publication>=0.0.3
6
+ typeguard<4.3.0,>=2.13.3