aws-solutions-constructs.core 2.79.1__tar.gz → 2.80.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 (17) hide show
  1. {aws_solutions_constructs_core-2.79.1/src/aws_solutions_constructs.core.egg-info → aws_solutions_constructs_core-2.80.0}/PKG-INFO +2 -2
  2. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/setup.py +3 -3
  3. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs/core/__init__.py +64 -0
  4. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +1 -1
  5. aws_solutions_constructs_core-2.80.0/src/aws_solutions_constructs/core/_jsii/core@2.80.0.jsii.tgz +0 -0
  6. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +2 -2
  7. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
  8. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs.core.egg-info/requires.txt +1 -1
  9. aws_solutions_constructs_core-2.79.1/src/aws_solutions_constructs/core/_jsii/core@2.79.1.jsii.tgz +0 -0
  10. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/LICENSE +0 -0
  11. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/MANIFEST.in +0 -0
  12. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/README.md +0 -0
  13. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/pyproject.toml +0 -0
  14. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/setup.cfg +0 -0
  15. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs/core/py.typed +0 -0
  16. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs.core.egg-info/dependency_links.txt +0 -0
  17. {aws_solutions_constructs_core-2.79.1 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs.core.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.core
3
- Version: 2.79.1
3
+ Version: 2.80.0
4
4
  Summary: Core CDK Construct for patterns library
5
5
  Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
6
  Author: Amazon Web Services
@@ -18,7 +18,7 @@ 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.177.0
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.179.0
22
22
  Requires-Dist: constructs<11.0.0,>=10.0.0
23
23
  Requires-Dist: jsii<2.0.0,>=1.110.0
24
24
  Requires-Dist: publication>=0.0.3
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.core",
8
- "version": "2.79.1",
8
+ "version": "2.80.0",
9
9
  "description": "Core CDK Construct for patterns library",
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.core._jsii": [
29
- "core@2.79.1.jsii.tgz"
29
+ "core@2.80.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.core": [
32
32
  "py.typed"
@@ -34,7 +34,7 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.177.0, <3.0.0",
37
+ "aws-cdk-lib>=2.179.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
39
  "jsii>=1.110.0, <2.0.0",
40
40
  "publication>=0.0.3",
@@ -321,6 +321,61 @@ class AddProxyMethodToApiResourceInputParams:
321
321
  )
322
322
 
323
323
 
324
+ @jsii.data_type(
325
+ jsii_type="@aws-solutions-constructs/core.ApiProps",
326
+ jsii_struct_bases=[],
327
+ name_mapping={
328
+ "api_gateway_props": "apiGatewayProps",
329
+ "create_usage_plan": "createUsagePlan",
330
+ },
331
+ )
332
+ class ApiProps:
333
+ def __init__(
334
+ self,
335
+ *,
336
+ api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.LambdaRestApiProps, typing.Dict[builtins.str, typing.Any]]] = None,
337
+ create_usage_plan: typing.Optional[builtins.bool] = None,
338
+ ) -> None:
339
+ '''
340
+ :param api_gateway_props: -
341
+ :param create_usage_plan: -
342
+ '''
343
+ if isinstance(api_gateway_props, dict):
344
+ api_gateway_props = _aws_cdk_aws_apigateway_ceddda9d.LambdaRestApiProps(**api_gateway_props)
345
+ if __debug__:
346
+ type_hints = typing.get_type_hints(_typecheckingstub__88be8e16a7e7ccf9328ce12f2eadc5b24c8a0a21193df778cb3c786950d955cc)
347
+ check_type(argname="argument api_gateway_props", value=api_gateway_props, expected_type=type_hints["api_gateway_props"])
348
+ check_type(argname="argument create_usage_plan", value=create_usage_plan, expected_type=type_hints["create_usage_plan"])
349
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
350
+ if api_gateway_props is not None:
351
+ self._values["api_gateway_props"] = api_gateway_props
352
+ if create_usage_plan is not None:
353
+ self._values["create_usage_plan"] = create_usage_plan
354
+
355
+ @builtins.property
356
+ def api_gateway_props(
357
+ self,
358
+ ) -> typing.Optional[_aws_cdk_aws_apigateway_ceddda9d.LambdaRestApiProps]:
359
+ result = self._values.get("api_gateway_props")
360
+ return typing.cast(typing.Optional[_aws_cdk_aws_apigateway_ceddda9d.LambdaRestApiProps], result)
361
+
362
+ @builtins.property
363
+ def create_usage_plan(self) -> typing.Optional[builtins.bool]:
364
+ result = self._values.get("create_usage_plan")
365
+ return typing.cast(typing.Optional[builtins.bool], result)
366
+
367
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
368
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
369
+
370
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
371
+ return not (rhs == self)
372
+
373
+ def __repr__(self) -> str:
374
+ return "ApiProps(%s)" % ", ".join(
375
+ k + "=" + repr(v) for k, v in self._values.items()
376
+ )
377
+
378
+
324
379
  @jsii.data_type(
325
380
  jsii_type="@aws-solutions-constructs/core.BuildDeadLetterQueueProps",
326
381
  jsii_struct_bases=[],
@@ -6703,6 +6758,7 @@ class WafWebAclProps:
6703
6758
 
6704
6759
  __all__ = [
6705
6760
  "AddProxyMethodToApiResourceInputParams",
6761
+ "ApiProps",
6706
6762
  "BuildDeadLetterQueueProps",
6707
6763
  "BuildDynamoDBTableProps",
6708
6764
  "BuildDynamoDBTableResponse",
@@ -6809,6 +6865,14 @@ def _typecheckingstub__e4b1ec9338820a6eda8ebc288883f36b3164955512161b7cc4267de31
6809
6865
  """Type checking stubs"""
6810
6866
  pass
6811
6867
 
6868
+ def _typecheckingstub__88be8e16a7e7ccf9328ce12f2eadc5b24c8a0a21193df778cb3c786950d955cc(
6869
+ *,
6870
+ api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.LambdaRestApiProps, typing.Dict[builtins.str, typing.Any]]] = None,
6871
+ create_usage_plan: typing.Optional[builtins.bool] = None,
6872
+ ) -> None:
6873
+ """Type checking stubs"""
6874
+ pass
6875
+
6812
6876
  def _typecheckingstub__f79386b6162082a3848170974aab68319c4d3739960a82001b687d0237a8dddb(
6813
6877
  *,
6814
6878
  construct_dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -32,7 +32,7 @@ import aws_cdk._jsii
32
32
  import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
- "@aws-solutions-constructs/core", "2.79.1", __name__[0:-6], "core@2.79.1.jsii.tgz"
35
+ "@aws-solutions-constructs/core", "2.80.0", __name__[0:-6], "core@2.80.0.jsii.tgz"
36
36
  )
37
37
 
38
38
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.core
3
- Version: 2.79.1
3
+ Version: 2.80.0
4
4
  Summary: Core CDK Construct for patterns library
5
5
  Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
6
  Author: Amazon Web Services
@@ -18,7 +18,7 @@ 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.177.0
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.179.0
22
22
  Requires-Dist: constructs<11.0.0,>=10.0.0
23
23
  Requires-Dist: jsii<2.0.0,>=1.110.0
24
24
  Requires-Dist: publication>=0.0.3
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.core.egg-info/top_level.txt
11
11
  src/aws_solutions_constructs/core/__init__.py
12
12
  src/aws_solutions_constructs/core/py.typed
13
13
  src/aws_solutions_constructs/core/_jsii/__init__.py
14
- src/aws_solutions_constructs/core/_jsii/core@2.79.1.jsii.tgz
14
+ src/aws_solutions_constructs/core/_jsii/core@2.80.0.jsii.tgz
@@ -1,4 +1,4 @@
1
- aws-cdk-lib<3.0.0,>=2.177.0
1
+ aws-cdk-lib<3.0.0,>=2.179.0
2
2
  constructs<11.0.0,>=10.0.0
3
3
  jsii<2.0.0,>=1.110.0
4
4
  publication>=0.0.3