aws-solutions-constructs.core 2.92.2__tar.gz → 2.94.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_core-2.92.2/src/aws_solutions_constructs.core.egg-info → aws_solutions_constructs_core-2.94.0}/PKG-INFO +4 -3
  2. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/pyproject.toml +1 -1
  3. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/setup.py +5 -4
  4. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/src/aws_solutions_constructs/core/__init__.py +54 -0
  5. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +2 -1
  6. aws_solutions_constructs_core-2.94.0/src/aws_solutions_constructs/core/_jsii/core@2.94.0.jsii.tgz +0 -0
  7. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +4 -3
  8. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
  9. aws_solutions_constructs_core-2.94.0/src/aws_solutions_constructs.core.egg-info/requires.txt +6 -0
  10. aws_solutions_constructs_core-2.92.2/src/aws_solutions_constructs/core/_jsii/core@2.92.2.jsii.tgz +0 -0
  11. aws_solutions_constructs_core-2.92.2/src/aws_solutions_constructs.core.egg-info/requires.txt +0 -5
  12. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/LICENSE +0 -0
  13. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/MANIFEST.in +0 -0
  14. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/README.md +0 -0
  15. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/setup.cfg +0 -0
  16. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/src/aws_solutions_constructs/core/py.typed +0 -0
  17. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.0}/src/aws_solutions_constructs.core.egg-info/dependency_links.txt +0 -0
  18. {aws_solutions_constructs_core-2.92.2 → aws_solutions_constructs_core-2.94.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.92.2
3
+ Version: 2.94.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,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.214.0
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.219.0
22
+ Requires-Dist: aws-cdk.cloud-assembly-schema<49.0.0,>=48.6.0
22
23
  Requires-Dist: constructs<11.0.0,>=10.0.0
23
- Requires-Dist: jsii<2.0.0,>=1.111.0
24
+ Requires-Dist: jsii<2.0.0,>=1.114.1
24
25
  Requires-Dist: publication>=0.0.3
25
26
  Requires-Dist: typeguard<4.3.0,>=2.13.3
26
27
 
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=75.3.2", "wheel~=0.42"]
2
+ requires = ["setuptools~=75.3.2", "build~=1.3.0"]
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.92.2",
8
+ "version": "2.94.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.92.2.jsii.tgz"
29
+ "core@2.94.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.core": [
32
32
  "py.typed"
@@ -34,9 +34,10 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.214.0, <3.0.0",
37
+ "aws-cdk-lib>=2.219.0, <3.0.0",
38
+ "aws-cdk.cloud-assembly-schema>=48.6.0, <49.0.0",
38
39
  "constructs>=10.0.0, <11.0.0",
39
- "jsii>=1.111.0, <2.0.0",
40
+ "jsii>=1.114.1, <2.0.0",
40
41
  "publication>=0.0.3",
41
42
  "typeguard>=2.13.3,<4.3.0"
42
43
  ],
@@ -3830,6 +3830,25 @@ class CognitoOptions:
3830
3830
  )
3831
3831
 
3832
3832
 
3833
+ class ConstructsFeatureFlagsReport(
3834
+ _constructs_77d1e7e8.Construct,
3835
+ metaclass=jsii.JSIIMeta,
3836
+ jsii_type="@aws-solutions-constructs/core.ConstructsFeatureFlagsReport",
3837
+ ):
3838
+ '''A CDK L3 construct that creates resources for Solutions Feature Flags reporting.'''
3839
+
3840
+ @jsii.member(jsii_name="ensure")
3841
+ @builtins.classmethod
3842
+ def ensure(cls, scope: _constructs_77d1e7e8.Construct) -> None:
3843
+ '''
3844
+ :param scope: -
3845
+ '''
3846
+ if __debug__:
3847
+ type_hints = typing.get_type_hints(_typecheckingstub__3edcfc4cfd2d4d8845ee3d0c565a10a36de7544d7ff294673137304aa6e70318)
3848
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3849
+ return typing.cast(None, jsii.sinvoke(cls, "ensure", [scope]))
3850
+
3851
+
3833
3852
  @jsii.data_type(
3834
3853
  jsii_type="@aws-solutions-constructs/core.CreateCloudFrontDistributionForS3Props",
3835
3854
  jsii_struct_bases=[],
@@ -5936,6 +5955,7 @@ class S3OacOrigin(
5936
5955
  origin_id: typing.Optional[builtins.str] = None,
5937
5956
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5938
5957
  origin_shield_region: typing.Optional[builtins.str] = None,
5958
+ response_completion_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
5939
5959
  ) -> None:
5940
5960
  '''
5941
5961
  :param bucket: -
@@ -5948,6 +5968,7 @@ class S3OacOrigin(
5948
5968
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
5949
5969
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
5950
5970
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
5971
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
5951
5972
  '''
5952
5973
  if __debug__:
5953
5974
  type_hints = typing.get_type_hints(_typecheckingstub__44846869b9ecaeab140b843e216e72ede263e14e7846fdeed302ad40eedcc020)
@@ -5962,6 +5983,7 @@ class S3OacOrigin(
5962
5983
  origin_id=origin_id,
5963
5984
  origin_shield_enabled=origin_shield_enabled,
5964
5985
  origin_shield_region=origin_shield_region,
5986
+ response_completion_timeout=response_completion_timeout,
5965
5987
  )
5966
5988
 
5967
5989
  jsii.create(self.__class__, self, [bucket, props])
@@ -6001,6 +6023,7 @@ class S3OacOrigin(
6001
6023
  "origin_id": "originId",
6002
6024
  "origin_shield_enabled": "originShieldEnabled",
6003
6025
  "origin_shield_region": "originShieldRegion",
6026
+ "response_completion_timeout": "responseCompletionTimeout",
6004
6027
  "origin_path": "originPath",
6005
6028
  "origin_access_control": "originAccessControl",
6006
6029
  },
@@ -6016,6 +6039,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
6016
6039
  origin_id: typing.Optional[builtins.str] = None,
6017
6040
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
6018
6041
  origin_shield_region: typing.Optional[builtins.str] = None,
6042
+ response_completion_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
6019
6043
  origin_path: typing.Optional[builtins.str] = None,
6020
6044
  origin_access_control: typing.Optional[_aws_cdk_aws_cloudfront_ceddda9d.CfnOriginAccessControl] = None,
6021
6045
  ) -> None:
@@ -6028,6 +6052,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
6028
6052
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
6029
6053
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
6030
6054
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
6055
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
6031
6056
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
6032
6057
  :param origin_access_control: The origin access control that will be used when calling your S3 bucket.
6033
6058
  '''
@@ -6040,6 +6065,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
6040
6065
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
6041
6066
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
6042
6067
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
6068
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
6043
6069
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
6044
6070
  check_type(argname="argument origin_access_control", value=origin_access_control, expected_type=type_hints["origin_access_control"])
6045
6071
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -6057,6 +6083,8 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
6057
6083
  self._values["origin_shield_enabled"] = origin_shield_enabled
6058
6084
  if origin_shield_region is not None:
6059
6085
  self._values["origin_shield_region"] = origin_shield_region
6086
+ if response_completion_timeout is not None:
6087
+ self._values["response_completion_timeout"] = response_completion_timeout
6060
6088
  if origin_path is not None:
6061
6089
  self._values["origin_path"] = origin_path
6062
6090
  if origin_access_control is not None:
@@ -6135,6 +6163,23 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
6135
6163
  result = self._values.get("origin_shield_region")
6136
6164
  return typing.cast(typing.Optional[builtins.str], result)
6137
6165
 
6166
+ @builtins.property
6167
+ def response_completion_timeout(
6168
+ self,
6169
+ ) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
6170
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
6171
+
6172
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
6173
+
6174
+ Valid values are 1-3600 seconds, inclusive.
6175
+
6176
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
6177
+
6178
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
6179
+ '''
6180
+ result = self._values.get("response_completion_timeout")
6181
+ return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
6182
+
6138
6183
  @builtins.property
6139
6184
  def origin_path(self) -> typing.Optional[builtins.str]:
6140
6185
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -7043,6 +7088,7 @@ __all__ = [
7043
7088
  "CloudFrontProps",
7044
7089
  "CloudfrontS3Props",
7045
7090
  "CognitoOptions",
7091
+ "ConstructsFeatureFlagsReport",
7046
7092
  "CreateCloudFrontDistributionForS3Props",
7047
7093
  "CreateCloudFrontDistributionForS3Response",
7048
7094
  "CreateCloudFrontLoggingBucketRequest",
@@ -7541,6 +7587,12 @@ def _typecheckingstub__2ab3cd723e5c01a12a9f21b04d8cb1909bd59787d38342b627934c458
7541
7587
  """Type checking stubs"""
7542
7588
  pass
7543
7589
 
7590
+ def _typecheckingstub__3edcfc4cfd2d4d8845ee3d0c565a10a36de7544d7ff294673137304aa6e70318(
7591
+ scope: _constructs_77d1e7e8.Construct,
7592
+ ) -> None:
7593
+ """Type checking stubs"""
7594
+ pass
7595
+
7544
7596
  def _typecheckingstub__90026d4ab83a876c6e64a2dacfaccc19f6269116b2ba36f77701cc6f4ea0fd6f(
7545
7597
  *,
7546
7598
  source_bucket: _aws_cdk_aws_s3_ceddda9d.IBucket,
@@ -7830,6 +7882,7 @@ def _typecheckingstub__44846869b9ecaeab140b843e216e72ede263e14e7846fdeed302ad40e
7830
7882
  origin_id: typing.Optional[builtins.str] = None,
7831
7883
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
7832
7884
  origin_shield_region: typing.Optional[builtins.str] = None,
7885
+ response_completion_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
7833
7886
  ) -> None:
7834
7887
  """Type checking stubs"""
7835
7888
  pass
@@ -7852,6 +7905,7 @@ def _typecheckingstub__f4727907366b00308bea7c2d08561f315c9f243b37d0b3a99db676ce6
7852
7905
  origin_id: typing.Optional[builtins.str] = None,
7853
7906
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
7854
7907
  origin_shield_region: typing.Optional[builtins.str] = None,
7908
+ response_completion_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
7855
7909
  origin_path: typing.Optional[builtins.str] = None,
7856
7910
  origin_access_control: typing.Optional[_aws_cdk_aws_cloudfront_ceddda9d.CfnOriginAccessControl] = None,
7857
7911
  ) -> None:
@@ -29,10 +29,11 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
29
29
  typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
30
30
 
31
31
  import aws_cdk._jsii
32
+ import aws_cdk.cloud_assembly_schema._jsii
32
33
  import constructs._jsii
33
34
 
34
35
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
- "@aws-solutions-constructs/core", "2.92.2", __name__[0:-6], "core@2.92.2.jsii.tgz"
36
+ "@aws-solutions-constructs/core", "2.94.0", __name__[0:-6], "core@2.94.0.jsii.tgz"
36
37
  )
37
38
 
38
39
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.core
3
- Version: 2.92.2
3
+ Version: 2.94.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,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.214.0
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.219.0
22
+ Requires-Dist: aws-cdk.cloud-assembly-schema<49.0.0,>=48.6.0
22
23
  Requires-Dist: constructs<11.0.0,>=10.0.0
23
- Requires-Dist: jsii<2.0.0,>=1.111.0
24
+ Requires-Dist: jsii<2.0.0,>=1.114.1
24
25
  Requires-Dist: publication>=0.0.3
25
26
  Requires-Dist: typeguard<4.3.0,>=2.13.3
26
27
 
@@ -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.92.2.jsii.tgz
14
+ src/aws_solutions_constructs/core/_jsii/core@2.94.0.jsii.tgz
@@ -0,0 +1,6 @@
1
+ aws-cdk-lib<3.0.0,>=2.219.0
2
+ aws-cdk.cloud-assembly-schema<49.0.0,>=48.6.0
3
+ constructs<11.0.0,>=10.0.0
4
+ jsii<2.0.0,>=1.114.1
5
+ publication>=0.0.3
6
+ typeguard<4.3.0,>=2.13.3
@@ -1,5 +0,0 @@
1
- aws-cdk-lib<3.0.0,>=2.214.0
2
- constructs<11.0.0,>=10.0.0
3
- jsii<2.0.0,>=1.111.0
4
- publication>=0.0.3
5
- typeguard<4.3.0,>=2.13.3