aws-solutions-constructs.core 2.79.0__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.0/src/aws_solutions_constructs.core.egg-info → aws_solutions_constructs_core-2.80.0}/PKG-INFO +3 -3
  2. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/pyproject.toml +1 -1
  3. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/setup.py +4 -4
  4. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs/core/__init__.py +78 -0
  5. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +1 -1
  6. aws_solutions_constructs_core-2.80.0/src/aws_solutions_constructs/core/_jsii/core@2.80.0.jsii.tgz +0 -0
  7. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +3 -3
  8. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
  9. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs.core.egg-info/requires.txt +2 -2
  10. aws_solutions_constructs_core-2.79.0/src/aws_solutions_constructs/core/_jsii/core@2.79.0.jsii.tgz +0 -0
  11. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/LICENSE +0 -0
  12. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/MANIFEST.in +0 -0
  13. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/README.md +0 -0
  14. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/setup.cfg +0 -0
  15. {aws_solutions_constructs_core-2.79.0 → aws_solutions_constructs_core-2.80.0}/src/aws_solutions_constructs/core/py.typed +0 -0
  16. {aws_solutions_constructs_core-2.79.0 → 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.0 → 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.0
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,9 +18,9 @@ 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
- Requires-Dist: jsii<2.0.0,>=1.109.0
23
+ Requires-Dist: jsii<2.0.0,>=1.110.0
24
24
  Requires-Dist: publication>=0.0.3
25
25
  Requires-Dist: typeguard<4.3.0,>=2.13.3
26
26
 
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=70.0.0", "wheel~=0.42"]
2
+ requires = ["setuptools~=75.3.2", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.core",
8
- "version": "2.79.0",
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.0.jsii.tgz"
29
+ "core@2.80.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.core": [
32
32
  "py.typed"
@@ -34,9 +34,9 @@ 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
- "jsii>=1.109.0, <2.0.0",
39
+ "jsii>=1.110.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
41
  "typeguard>=2.13.3,<4.3.0"
42
42
  ],
@@ -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=[],
@@ -4052,6 +4107,7 @@ class CreateCloudFrontOaiDistributionForS3Props:
4052
4107
  jsii_struct_bases=[],
4053
4108
  name_mapping={
4054
4109
  "distribution": "distribution",
4110
+ "origin_access_identity": "originAccessIdentity",
4055
4111
  "cloudfront_function": "cloudfrontFunction",
4056
4112
  "logging_bucket": "loggingBucket",
4057
4113
  "logging_bucket_s3_accesss_log_bucket": "loggingBucketS3AccesssLogBucket",
@@ -4062,12 +4118,14 @@ class CreateCloudFrontOaiDistributionForS3Response:
4062
4118
  self,
4063
4119
  *,
4064
4120
  distribution: _aws_cdk_aws_cloudfront_ceddda9d.Distribution,
4121
+ origin_access_identity: _aws_cdk_aws_cloudfront_ceddda9d.OriginAccessIdentity,
4065
4122
  cloudfront_function: typing.Optional[_aws_cdk_aws_cloudfront_ceddda9d.Function] = None,
4066
4123
  logging_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket] = None,
4067
4124
  logging_bucket_s3_accesss_log_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket] = None,
4068
4125
  ) -> None:
4069
4126
  '''
4070
4127
  :param distribution: -
4128
+ :param origin_access_identity: -
4071
4129
  :param cloudfront_function: -
4072
4130
  :param logging_bucket: -
4073
4131
  :param logging_bucket_s3_accesss_log_bucket: -
@@ -4075,11 +4133,13 @@ class CreateCloudFrontOaiDistributionForS3Response:
4075
4133
  if __debug__:
4076
4134
  type_hints = typing.get_type_hints(_typecheckingstub__dadb8132b9b6aa88d41c385ab72575cecc2fccb4134c056b55691a279ad2874e)
4077
4135
  check_type(argname="argument distribution", value=distribution, expected_type=type_hints["distribution"])
4136
+ check_type(argname="argument origin_access_identity", value=origin_access_identity, expected_type=type_hints["origin_access_identity"])
4078
4137
  check_type(argname="argument cloudfront_function", value=cloudfront_function, expected_type=type_hints["cloudfront_function"])
4079
4138
  check_type(argname="argument logging_bucket", value=logging_bucket, expected_type=type_hints["logging_bucket"])
4080
4139
  check_type(argname="argument logging_bucket_s3_accesss_log_bucket", value=logging_bucket_s3_accesss_log_bucket, expected_type=type_hints["logging_bucket_s3_accesss_log_bucket"])
4081
4140
  self._values: typing.Dict[builtins.str, typing.Any] = {
4082
4141
  "distribution": distribution,
4142
+ "origin_access_identity": origin_access_identity,
4083
4143
  }
4084
4144
  if cloudfront_function is not None:
4085
4145
  self._values["cloudfront_function"] = cloudfront_function
@@ -4094,6 +4154,14 @@ class CreateCloudFrontOaiDistributionForS3Response:
4094
4154
  assert result is not None, "Required property 'distribution' is missing"
4095
4155
  return typing.cast(_aws_cdk_aws_cloudfront_ceddda9d.Distribution, result)
4096
4156
 
4157
+ @builtins.property
4158
+ def origin_access_identity(
4159
+ self,
4160
+ ) -> _aws_cdk_aws_cloudfront_ceddda9d.OriginAccessIdentity:
4161
+ result = self._values.get("origin_access_identity")
4162
+ assert result is not None, "Required property 'origin_access_identity' is missing"
4163
+ return typing.cast(_aws_cdk_aws_cloudfront_ceddda9d.OriginAccessIdentity, result)
4164
+
4097
4165
  @builtins.property
4098
4166
  def cloudfront_function(
4099
4167
  self,
@@ -6690,6 +6758,7 @@ class WafWebAclProps:
6690
6758
 
6691
6759
  __all__ = [
6692
6760
  "AddProxyMethodToApiResourceInputParams",
6761
+ "ApiProps",
6693
6762
  "BuildDeadLetterQueueProps",
6694
6763
  "BuildDynamoDBTableProps",
6695
6764
  "BuildDynamoDBTableResponse",
@@ -6796,6 +6865,14 @@ def _typecheckingstub__e4b1ec9338820a6eda8ebc288883f36b3164955512161b7cc4267de31
6796
6865
  """Type checking stubs"""
6797
6866
  pass
6798
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
+
6799
6876
  def _typecheckingstub__f79386b6162082a3848170974aab68319c4d3739960a82001b687d0237a8dddb(
6800
6877
  *,
6801
6878
  construct_dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -7252,6 +7329,7 @@ def _typecheckingstub__456195988424410b894258a68b32d1466a7d35a3cee97540676f7b592
7252
7329
  def _typecheckingstub__dadb8132b9b6aa88d41c385ab72575cecc2fccb4134c056b55691a279ad2874e(
7253
7330
  *,
7254
7331
  distribution: _aws_cdk_aws_cloudfront_ceddda9d.Distribution,
7332
+ origin_access_identity: _aws_cdk_aws_cloudfront_ceddda9d.OriginAccessIdentity,
7255
7333
  cloudfront_function: typing.Optional[_aws_cdk_aws_cloudfront_ceddda9d.Function] = None,
7256
7334
  logging_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket] = None,
7257
7335
  logging_bucket_s3_accesss_log_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket] = 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.0", __name__[0:-6], "core@2.79.0.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.0
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,9 +18,9 @@ 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
- Requires-Dist: jsii<2.0.0,>=1.109.0
23
+ Requires-Dist: jsii<2.0.0,>=1.110.0
24
24
  Requires-Dist: publication>=0.0.3
25
25
  Requires-Dist: typeguard<4.3.0,>=2.13.3
26
26
 
@@ -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.0.jsii.tgz
14
+ src/aws_solutions_constructs/core/_jsii/core@2.80.0.jsii.tgz
@@ -1,5 +1,5 @@
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
- jsii<2.0.0,>=1.109.0
3
+ jsii<2.0.0,>=1.110.0
4
4
  publication>=0.0.3
5
5
  typeguard<4.3.0,>=2.13.3