aws-solutions-constructs.core 2.70.0__tar.gz → 2.72.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.70.0/src/aws_solutions_constructs.core.egg-info → aws_solutions_constructs_core-2.72.0}/PKG-INFO +3 -3
  2. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/setup.py +4 -4
  3. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/src/aws_solutions_constructs/core/__init__.py +24 -1
  4. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +1 -1
  5. aws_solutions_constructs_core-2.72.0/src/aws_solutions_constructs/core/_jsii/core@2.72.0.jsii.tgz +0 -0
  6. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +3 -3
  7. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
  8. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/src/aws_solutions_constructs.core.egg-info/requires.txt +2 -2
  9. aws_solutions_constructs_core-2.70.0/src/aws_solutions_constructs/core/_jsii/core@2.70.0.jsii.tgz +0 -0
  10. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/LICENSE +0 -0
  11. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/MANIFEST.in +0 -0
  12. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/README.md +0 -0
  13. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/pyproject.toml +0 -0
  14. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/setup.cfg +0 -0
  15. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/src/aws_solutions_constructs/core/py.typed +0 -0
  16. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.0}/src/aws_solutions_constructs.core.egg-info/dependency_links.txt +0 -0
  17. {aws_solutions_constructs_core-2.70.0 → aws_solutions_constructs_core-2.72.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.70.0
3
+ Version: 2.72.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
@@ -19,8 +19,8 @@ Classifier: License :: OSI Approved
19
19
  Requires-Python: ~=3.8
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.1
23
- Requires-Dist: aws-cdk.integ-tests-alpha==2.154.1.a0
22
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.161.0
23
+ Requires-Dist: aws-cdk.integ-tests-alpha==2.161.0.a0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.0
25
25
  Requires-Dist: jsii<2.0.0,>=1.103.1
26
26
  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.70.0",
8
+ "version": "2.72.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.70.0.jsii.tgz"
29
+ "core@2.72.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.core": [
32
32
  "py.typed"
@@ -34,8 +34,8 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.8",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.154.1, <3.0.0",
38
- "aws-cdk.integ-tests-alpha==2.154.1.a0",
37
+ "aws-cdk-lib>=2.161.0, <3.0.0",
38
+ "aws-cdk.integ-tests-alpha==2.161.0.a0",
39
39
  "constructs>=10.0.0, <11.0.0",
40
40
  "jsii>=1.103.1, <2.0.0",
41
41
  "publication>=0.0.3",
@@ -4944,6 +4944,7 @@ class S3OacOrigin(
4944
4944
  connection_attempts: typing.Optional[jsii.Number] = None,
4945
4945
  connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
4946
4946
  custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4947
+ origin_access_control_id: typing.Optional[builtins.str] = None,
4947
4948
  origin_id: typing.Optional[builtins.str] = None,
4948
4949
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4949
4950
  origin_shield_region: typing.Optional[builtins.str] = None,
@@ -4955,6 +4956,7 @@ class S3OacOrigin(
4955
4956
  :param connection_attempts: The number of times that CloudFront attempts to connect to the origin; valid values are 1, 2, or 3 attempts. Default: 3
4956
4957
  :param connection_timeout: The number of seconds that CloudFront waits when trying to establish a connection to the origin. Valid values are 1-10 seconds, inclusive. Default: Duration.seconds(10)
4957
4958
  :param custom_headers: A list of HTTP header names and values that CloudFront adds to requests it sends to the origin. Default: {}
4959
+ :param origin_access_control_id: The unique identifier of an origin access control for this origin. Default: - no origin access control
4958
4960
  :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
4959
4961
  :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
4960
4962
  :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
@@ -4968,6 +4970,7 @@ class S3OacOrigin(
4968
4970
  connection_attempts=connection_attempts,
4969
4971
  connection_timeout=connection_timeout,
4970
4972
  custom_headers=custom_headers,
4973
+ origin_access_control_id=origin_access_control_id,
4971
4974
  origin_id=origin_id,
4972
4975
  origin_shield_enabled=origin_shield_enabled,
4973
4976
  origin_shield_region=origin_shield_region,
@@ -4981,17 +4984,19 @@ class S3OacOrigin(
4981
4984
  scope: _constructs_77d1e7e8.Construct,
4982
4985
  *,
4983
4986
  origin_id: builtins.str,
4987
+ distribution_id: typing.Optional[builtins.str] = None,
4984
4988
  ) -> _aws_cdk_aws_cloudfront_ceddda9d.OriginBindConfig:
4985
4989
  '''The method called when a given Origin is added (for the first time) to a Distribution.
4986
4990
 
4987
4991
  :param scope: -
4988
4992
  :param origin_id: The identifier of this Origin, as assigned by the Distribution this Origin has been used added to.
4993
+ :param distribution_id: The identifier of the Distribution this Origin is used for. This is used to grant origin access permissions to the distribution for origin access control. Default: - no distribution id
4989
4994
  '''
4990
4995
  if __debug__:
4991
4996
  type_hints = typing.get_type_hints(_typecheckingstub__62b0973bdb62c2264b514644e251318ac9dcde1b359c646d66b5a8a10db79f8b)
4992
4997
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4993
4998
  options = _aws_cdk_aws_cloudfront_ceddda9d.OriginBindOptions(
4994
- origin_id=origin_id
4999
+ origin_id=origin_id, distribution_id=distribution_id
4995
5000
  )
4996
5001
 
4997
5002
  return typing.cast(_aws_cdk_aws_cloudfront_ceddda9d.OriginBindConfig, jsii.invoke(self, "bind", [scope, options]))
@@ -5004,6 +5009,7 @@ class S3OacOrigin(
5004
5009
  "connection_attempts": "connectionAttempts",
5005
5010
  "connection_timeout": "connectionTimeout",
5006
5011
  "custom_headers": "customHeaders",
5012
+ "origin_access_control_id": "originAccessControlId",
5007
5013
  "origin_id": "originId",
5008
5014
  "origin_shield_enabled": "originShieldEnabled",
5009
5015
  "origin_shield_region": "originShieldRegion",
@@ -5018,6 +5024,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
5018
5024
  connection_attempts: typing.Optional[jsii.Number] = None,
5019
5025
  connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
5020
5026
  custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5027
+ origin_access_control_id: typing.Optional[builtins.str] = None,
5021
5028
  origin_id: typing.Optional[builtins.str] = None,
5022
5029
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5023
5030
  origin_shield_region: typing.Optional[builtins.str] = None,
@@ -5029,6 +5036,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
5029
5036
  :param connection_attempts: The number of times that CloudFront attempts to connect to the origin; valid values are 1, 2, or 3 attempts. Default: 3
5030
5037
  :param connection_timeout: The number of seconds that CloudFront waits when trying to establish a connection to the origin. Valid values are 1-10 seconds, inclusive. Default: Duration.seconds(10)
5031
5038
  :param custom_headers: A list of HTTP header names and values that CloudFront adds to requests it sends to the origin. Default: {}
5039
+ :param origin_access_control_id: The unique identifier of an origin access control for this origin. Default: - no origin access control
5032
5040
  :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
5033
5041
  :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
5034
5042
  :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
@@ -5040,6 +5048,7 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
5040
5048
  check_type(argname="argument connection_attempts", value=connection_attempts, expected_type=type_hints["connection_attempts"])
5041
5049
  check_type(argname="argument connection_timeout", value=connection_timeout, expected_type=type_hints["connection_timeout"])
5042
5050
  check_type(argname="argument custom_headers", value=custom_headers, expected_type=type_hints["custom_headers"])
5051
+ check_type(argname="argument origin_access_control_id", value=origin_access_control_id, expected_type=type_hints["origin_access_control_id"])
5043
5052
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
5044
5053
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
5045
5054
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
@@ -5052,6 +5061,8 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
5052
5061
  self._values["connection_timeout"] = connection_timeout
5053
5062
  if custom_headers is not None:
5054
5063
  self._values["custom_headers"] = custom_headers
5064
+ if origin_access_control_id is not None:
5065
+ self._values["origin_access_control_id"] = origin_access_control_id
5055
5066
  if origin_id is not None:
5056
5067
  self._values["origin_id"] = origin_id
5057
5068
  if origin_shield_enabled is not None:
@@ -5096,6 +5107,15 @@ class S3OacOriginProps(_aws_cdk_aws_cloudfront_ceddda9d.OriginProps):
5096
5107
  result = self._values.get("custom_headers")
5097
5108
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
5098
5109
 
5110
+ @builtins.property
5111
+ def origin_access_control_id(self) -> typing.Optional[builtins.str]:
5112
+ '''The unique identifier of an origin access control for this origin.
5113
+
5114
+ :default: - no origin access control
5115
+ '''
5116
+ result = self._values.get("origin_access_control_id")
5117
+ return typing.cast(typing.Optional[builtins.str], result)
5118
+
5099
5119
  @builtins.property
5100
5120
  def origin_id(self) -> typing.Optional[builtins.str]:
5101
5121
  '''A unique identifier for the origin.
@@ -6664,6 +6684,7 @@ def _typecheckingstub__44846869b9ecaeab140b843e216e72ede263e14e7846fdeed302ad40e
6664
6684
  connection_attempts: typing.Optional[jsii.Number] = None,
6665
6685
  connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
6666
6686
  custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6687
+ origin_access_control_id: typing.Optional[builtins.str] = None,
6667
6688
  origin_id: typing.Optional[builtins.str] = None,
6668
6689
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
6669
6690
  origin_shield_region: typing.Optional[builtins.str] = None,
@@ -6675,6 +6696,7 @@ def _typecheckingstub__62b0973bdb62c2264b514644e251318ac9dcde1b359c646d66b5a8a10
6675
6696
  scope: _constructs_77d1e7e8.Construct,
6676
6697
  *,
6677
6698
  origin_id: builtins.str,
6699
+ distribution_id: typing.Optional[builtins.str] = None,
6678
6700
  ) -> None:
6679
6701
  """Type checking stubs"""
6680
6702
  pass
@@ -6684,6 +6706,7 @@ def _typecheckingstub__f4727907366b00308bea7c2d08561f315c9f243b37d0b3a99db676ce6
6684
6706
  connection_attempts: typing.Optional[jsii.Number] = None,
6685
6707
  connection_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
6686
6708
  custom_headers: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6709
+ origin_access_control_id: typing.Optional[builtins.str] = None,
6687
6710
  origin_id: typing.Optional[builtins.str] = None,
6688
6711
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
6689
6712
  origin_shield_region: typing.Optional[builtins.str] = None,
@@ -33,7 +33,7 @@ import aws_cdk.integ_tests_alpha._jsii
33
33
  import constructs._jsii
34
34
 
35
35
  __jsii_assembly__ = jsii.JSIIAssembly.load(
36
- "@aws-solutions-constructs/core", "2.70.0", __name__[0:-6], "core@2.70.0.jsii.tgz"
36
+ "@aws-solutions-constructs/core", "2.72.0", __name__[0:-6], "core@2.72.0.jsii.tgz"
37
37
  )
38
38
 
39
39
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.core
3
- Version: 2.70.0
3
+ Version: 2.72.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
@@ -19,8 +19,8 @@ Classifier: License :: OSI Approved
19
19
  Requires-Python: ~=3.8
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.1
23
- Requires-Dist: aws-cdk.integ-tests-alpha==2.154.1.a0
22
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.161.0
23
+ Requires-Dist: aws-cdk.integ-tests-alpha==2.161.0.a0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.0
25
25
  Requires-Dist: jsii<2.0.0,>=1.103.1
26
26
  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.70.0.jsii.tgz
14
+ src/aws_solutions_constructs/core/_jsii/core@2.72.0.jsii.tgz
@@ -1,5 +1,5 @@
1
- aws-cdk-lib<3.0.0,>=2.154.1
2
- aws-cdk.integ-tests-alpha==2.154.1.a0
1
+ aws-cdk-lib<3.0.0,>=2.161.0
2
+ aws-cdk.integ-tests-alpha==2.161.0.a0
3
3
  constructs<11.0.0,>=10.0.0
4
4
  jsii<2.0.0,>=1.103.1
5
5
  publication>=0.0.3