aws-solutions-constructs.core 2.59.0__tar.gz → 2.61.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.
- {aws-solutions-constructs.core-2.59.0/src/aws_solutions_constructs.core.egg-info → aws-solutions-constructs.core-2.61.0}/PKG-INFO +1 -1
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/setup.py +5 -5
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/src/aws_solutions_constructs/core/__init__.py +62 -17
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +1 -1
- aws-solutions-constructs.core-2.61.0/src/aws_solutions_constructs/core/_jsii/core@2.61.0.jsii.tgz +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +1 -1
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
- aws-solutions-constructs.core-2.61.0/src/aws_solutions_constructs.core.egg-info/requires.txt +6 -0
- aws-solutions-constructs.core-2.59.0/src/aws_solutions_constructs/core/_jsii/core@2.59.0.jsii.tgz +0 -0
- aws-solutions-constructs.core-2.59.0/src/aws_solutions_constructs.core.egg-info/requires.txt +0 -6
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/LICENSE +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/MANIFEST.in +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/README.md +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/pyproject.toml +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/setup.cfg +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/src/aws_solutions_constructs/core/py.typed +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/src/aws_solutions_constructs.core.egg-info/dependency_links.txt +0 -0
- {aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/src/aws_solutions_constructs.core.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-solutions-constructs.core",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.61.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.
|
|
29
|
+
"core@2.61.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.core": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,10 +34,10 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.8",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
38
|
-
"aws-cdk.integ-tests-alpha==2.
|
|
37
|
+
"aws-cdk-lib>=2.147.3, <3.0.0",
|
|
38
|
+
"aws-cdk.integ-tests-alpha==2.147.3.a0",
|
|
39
39
|
"constructs>=10.0.0, <11.0.0",
|
|
40
|
-
"jsii>=1.
|
|
40
|
+
"jsii>=1.101.0, <2.0.0",
|
|
41
41
|
"publication>=0.0.3",
|
|
42
42
|
"typeguard~=2.13.3"
|
|
43
43
|
],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# core module
|
|
3
3
|
|
|
4
4
|
<!--BEGIN STABILITY BANNER-->---
|
|
@@ -1529,11 +1529,13 @@ class BuildOpenSearchResponse:
|
|
|
1529
1529
|
jsii_type="@aws-solutions-constructs/core.BuildQueueProps",
|
|
1530
1530
|
jsii_struct_bases=[],
|
|
1531
1531
|
name_mapping={
|
|
1532
|
-
"
|
|
1532
|
+
"dead_letter_queue_props": "deadLetterQueueProps",
|
|
1533
|
+
"deploy_dead_letter_queue": "deployDeadLetterQueue",
|
|
1533
1534
|
"enable_encryption_with_customer_managed_key": "enableEncryptionWithCustomerManagedKey",
|
|
1534
1535
|
"encryption_key": "encryptionKey",
|
|
1535
1536
|
"encryption_key_props": "encryptionKeyProps",
|
|
1536
1537
|
"existing_queue_obj": "existingQueueObj",
|
|
1538
|
+
"max_receive_count": "maxReceiveCount",
|
|
1537
1539
|
"queue_props": "queueProps",
|
|
1538
1540
|
},
|
|
1539
1541
|
)
|
|
@@ -1541,38 +1543,46 @@ class BuildQueueProps:
|
|
|
1541
1543
|
def __init__(
|
|
1542
1544
|
self,
|
|
1543
1545
|
*,
|
|
1544
|
-
|
|
1546
|
+
dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1547
|
+
deploy_dead_letter_queue: typing.Optional[builtins.bool] = None,
|
|
1545
1548
|
enable_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
1546
1549
|
encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
1547
1550
|
encryption_key_props: typing.Optional[typing.Union[_aws_cdk_aws_kms_ceddda9d.KeyProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1548
1551
|
existing_queue_obj: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.Queue] = None,
|
|
1552
|
+
max_receive_count: typing.Optional[jsii.Number] = None,
|
|
1549
1553
|
queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1550
1554
|
) -> None:
|
|
1551
1555
|
'''
|
|
1552
|
-
:param
|
|
1556
|
+
:param dead_letter_queue_props: Optional user provided properties for the dead letter queue. Default: - Default props are used
|
|
1557
|
+
:param deploy_dead_letter_queue: Whether to deploy a secondary queue to be used as a dead letter queue. Default: - true
|
|
1553
1558
|
:param enable_encryption_with_customer_managed_key: If no key is provided, this flag determines whether the queue is encrypted with a new CMK or an AWS managed key. This flag is ignored if any of the following are defined: queueProps.encryptionMasterKey, encryptionKey or encryptionKeyProps. Default: - False if queueProps.encryptionMasterKey, encryptionKey, and encryptionKeyProps are all undefined.
|
|
1554
1559
|
:param encryption_key: An optional, imported encryption key to encrypt the SQS Queue with. Default: - None
|
|
1555
1560
|
:param encryption_key_props: Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SQS Queue with. Default: - None
|
|
1556
1561
|
:param existing_queue_obj: Existing instance of SQS queue object, providing both this and queueProps will cause an error. Default: - None.
|
|
1562
|
+
:param max_receive_count: The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue. Default: - Default props are used
|
|
1557
1563
|
:param queue_props: Optional user provided props to override the default props for the primary queue. Default: - Default props are used.
|
|
1558
1564
|
'''
|
|
1559
|
-
if isinstance(
|
|
1560
|
-
|
|
1565
|
+
if isinstance(dead_letter_queue_props, dict):
|
|
1566
|
+
dead_letter_queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**dead_letter_queue_props)
|
|
1561
1567
|
if isinstance(encryption_key_props, dict):
|
|
1562
1568
|
encryption_key_props = _aws_cdk_aws_kms_ceddda9d.KeyProps(**encryption_key_props)
|
|
1563
1569
|
if isinstance(queue_props, dict):
|
|
1564
1570
|
queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**queue_props)
|
|
1565
1571
|
if __debug__:
|
|
1566
1572
|
type_hints = typing.get_type_hints(_typecheckingstub__f6b0628b99348c4f52c56911b1d1df16b203612119c6a5d046c912ca315ff851)
|
|
1567
|
-
check_type(argname="argument
|
|
1573
|
+
check_type(argname="argument dead_letter_queue_props", value=dead_letter_queue_props, expected_type=type_hints["dead_letter_queue_props"])
|
|
1574
|
+
check_type(argname="argument deploy_dead_letter_queue", value=deploy_dead_letter_queue, expected_type=type_hints["deploy_dead_letter_queue"])
|
|
1568
1575
|
check_type(argname="argument enable_encryption_with_customer_managed_key", value=enable_encryption_with_customer_managed_key, expected_type=type_hints["enable_encryption_with_customer_managed_key"])
|
|
1569
1576
|
check_type(argname="argument encryption_key", value=encryption_key, expected_type=type_hints["encryption_key"])
|
|
1570
1577
|
check_type(argname="argument encryption_key_props", value=encryption_key_props, expected_type=type_hints["encryption_key_props"])
|
|
1571
1578
|
check_type(argname="argument existing_queue_obj", value=existing_queue_obj, expected_type=type_hints["existing_queue_obj"])
|
|
1579
|
+
check_type(argname="argument max_receive_count", value=max_receive_count, expected_type=type_hints["max_receive_count"])
|
|
1572
1580
|
check_type(argname="argument queue_props", value=queue_props, expected_type=type_hints["queue_props"])
|
|
1573
1581
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1574
|
-
if
|
|
1575
|
-
self._values["
|
|
1582
|
+
if dead_letter_queue_props is not None:
|
|
1583
|
+
self._values["dead_letter_queue_props"] = dead_letter_queue_props
|
|
1584
|
+
if deploy_dead_letter_queue is not None:
|
|
1585
|
+
self._values["deploy_dead_letter_queue"] = deploy_dead_letter_queue
|
|
1576
1586
|
if enable_encryption_with_customer_managed_key is not None:
|
|
1577
1587
|
self._values["enable_encryption_with_customer_managed_key"] = enable_encryption_with_customer_managed_key
|
|
1578
1588
|
if encryption_key is not None:
|
|
@@ -1581,19 +1591,30 @@ class BuildQueueProps:
|
|
|
1581
1591
|
self._values["encryption_key_props"] = encryption_key_props
|
|
1582
1592
|
if existing_queue_obj is not None:
|
|
1583
1593
|
self._values["existing_queue_obj"] = existing_queue_obj
|
|
1594
|
+
if max_receive_count is not None:
|
|
1595
|
+
self._values["max_receive_count"] = max_receive_count
|
|
1584
1596
|
if queue_props is not None:
|
|
1585
1597
|
self._values["queue_props"] = queue_props
|
|
1586
1598
|
|
|
1587
1599
|
@builtins.property
|
|
1588
|
-
def
|
|
1600
|
+
def dead_letter_queue_props(
|
|
1589
1601
|
self,
|
|
1590
|
-
) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.
|
|
1591
|
-
'''Optional
|
|
1602
|
+
) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps]:
|
|
1603
|
+
'''Optional user provided properties for the dead letter queue.
|
|
1592
1604
|
|
|
1593
|
-
:default: - Default props are used
|
|
1605
|
+
:default: - Default props are used
|
|
1594
1606
|
'''
|
|
1595
|
-
result = self._values.get("
|
|
1596
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.
|
|
1607
|
+
result = self._values.get("dead_letter_queue_props")
|
|
1608
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps], result)
|
|
1609
|
+
|
|
1610
|
+
@builtins.property
|
|
1611
|
+
def deploy_dead_letter_queue(self) -> typing.Optional[builtins.bool]:
|
|
1612
|
+
'''Whether to deploy a secondary queue to be used as a dead letter queue.
|
|
1613
|
+
|
|
1614
|
+
:default: - true
|
|
1615
|
+
'''
|
|
1616
|
+
result = self._values.get("deploy_dead_letter_queue")
|
|
1617
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
1597
1618
|
|
|
1598
1619
|
@builtins.property
|
|
1599
1620
|
def enable_encryption_with_customer_managed_key(
|
|
@@ -1637,6 +1658,15 @@ class BuildQueueProps:
|
|
|
1637
1658
|
result = self._values.get("existing_queue_obj")
|
|
1638
1659
|
return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.Queue], result)
|
|
1639
1660
|
|
|
1661
|
+
@builtins.property
|
|
1662
|
+
def max_receive_count(self) -> typing.Optional[jsii.Number]:
|
|
1663
|
+
'''The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue.
|
|
1664
|
+
|
|
1665
|
+
:default: - Default props are used
|
|
1666
|
+
'''
|
|
1667
|
+
result = self._values.get("max_receive_count")
|
|
1668
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1669
|
+
|
|
1640
1670
|
@builtins.property
|
|
1641
1671
|
def queue_props(self) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps]:
|
|
1642
1672
|
'''Optional user provided props to override the default props for the primary queue.
|
|
@@ -1661,26 +1691,33 @@ class BuildQueueProps:
|
|
|
1661
1691
|
@jsii.data_type(
|
|
1662
1692
|
jsii_type="@aws-solutions-constructs/core.BuildQueueResponse",
|
|
1663
1693
|
jsii_struct_bases=[],
|
|
1664
|
-
name_mapping={"queue": "queue", "key": "key"},
|
|
1694
|
+
name_mapping={"queue": "queue", "dlq": "dlq", "key": "key"},
|
|
1665
1695
|
)
|
|
1666
1696
|
class BuildQueueResponse:
|
|
1667
1697
|
def __init__(
|
|
1668
1698
|
self,
|
|
1669
1699
|
*,
|
|
1670
1700
|
queue: _aws_cdk_aws_sqs_ceddda9d.Queue,
|
|
1701
|
+
dlq: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.DeadLetterQueue, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1671
1702
|
key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
1672
1703
|
) -> None:
|
|
1673
1704
|
'''
|
|
1674
1705
|
:param queue: -
|
|
1706
|
+
:param dlq: -
|
|
1675
1707
|
:param key: -
|
|
1676
1708
|
'''
|
|
1709
|
+
if isinstance(dlq, dict):
|
|
1710
|
+
dlq = _aws_cdk_aws_sqs_ceddda9d.DeadLetterQueue(**dlq)
|
|
1677
1711
|
if __debug__:
|
|
1678
1712
|
type_hints = typing.get_type_hints(_typecheckingstub__2a8eceeccf20ddfc7f75482ccc95d2cd1f427caa71417210872f02f26beeb4eb)
|
|
1679
1713
|
check_type(argname="argument queue", value=queue, expected_type=type_hints["queue"])
|
|
1714
|
+
check_type(argname="argument dlq", value=dlq, expected_type=type_hints["dlq"])
|
|
1680
1715
|
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
1681
1716
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1682
1717
|
"queue": queue,
|
|
1683
1718
|
}
|
|
1719
|
+
if dlq is not None:
|
|
1720
|
+
self._values["dlq"] = dlq
|
|
1684
1721
|
if key is not None:
|
|
1685
1722
|
self._values["key"] = key
|
|
1686
1723
|
|
|
@@ -1690,6 +1727,11 @@ class BuildQueueResponse:
|
|
|
1690
1727
|
assert result is not None, "Required property 'queue' is missing"
|
|
1691
1728
|
return typing.cast(_aws_cdk_aws_sqs_ceddda9d.Queue, result)
|
|
1692
1729
|
|
|
1730
|
+
@builtins.property
|
|
1731
|
+
def dlq(self) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.DeadLetterQueue]:
|
|
1732
|
+
result = self._values.get("dlq")
|
|
1733
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.DeadLetterQueue], result)
|
|
1734
|
+
|
|
1693
1735
|
@builtins.property
|
|
1694
1736
|
def key(self) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey]:
|
|
1695
1737
|
result = self._values.get("key")
|
|
@@ -5657,11 +5699,13 @@ def _typecheckingstub__999af291cbe0b3ac93ce7fcd7ec44dc0cc2fba2cea7bfa0fb68b20e64
|
|
|
5657
5699
|
|
|
5658
5700
|
def _typecheckingstub__f6b0628b99348c4f52c56911b1d1df16b203612119c6a5d046c912ca315ff851(
|
|
5659
5701
|
*,
|
|
5660
|
-
|
|
5702
|
+
dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5703
|
+
deploy_dead_letter_queue: typing.Optional[builtins.bool] = None,
|
|
5661
5704
|
enable_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
|
|
5662
5705
|
encryption_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.Key] = None,
|
|
5663
5706
|
encryption_key_props: typing.Optional[typing.Union[_aws_cdk_aws_kms_ceddda9d.KeyProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5664
5707
|
existing_queue_obj: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.Queue] = None,
|
|
5708
|
+
max_receive_count: typing.Optional[jsii.Number] = None,
|
|
5665
5709
|
queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5666
5710
|
) -> None:
|
|
5667
5711
|
"""Type checking stubs"""
|
|
@@ -5670,6 +5714,7 @@ def _typecheckingstub__f6b0628b99348c4f52c56911b1d1df16b203612119c6a5d046c912ca3
|
|
|
5670
5714
|
def _typecheckingstub__2a8eceeccf20ddfc7f75482ccc95d2cd1f427caa71417210872f02f26beeb4eb(
|
|
5671
5715
|
*,
|
|
5672
5716
|
queue: _aws_cdk_aws_sqs_ceddda9d.Queue,
|
|
5717
|
+
dlq: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.DeadLetterQueue, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5673
5718
|
key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
5674
5719
|
) -> None:
|
|
5675
5720
|
"""Type checking stubs"""
|
|
@@ -18,7 +18,7 @@ import aws_cdk.integ_tests_alpha._jsii
|
|
|
18
18
|
import constructs._jsii
|
|
19
19
|
|
|
20
20
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
21
|
-
"@aws-solutions-constructs/core", "2.
|
|
21
|
+
"@aws-solutions-constructs/core", "2.61.0", __name__[0:-6], "core@2.61.0.jsii.tgz"
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
__all__ = [
|
aws-solutions-constructs.core-2.61.0/src/aws_solutions_constructs/core/_jsii/core@2.61.0.jsii.tgz
ADDED
|
Binary file
|
|
@@ -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.
|
|
14
|
+
src/aws_solutions_constructs/core/_jsii/core@2.61.0.jsii.tgz
|
aws-solutions-constructs.core-2.59.0/src/aws_solutions_constructs/core/_jsii/core@2.59.0.jsii.tgz
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aws-solutions-constructs.core-2.59.0 → aws-solutions-constructs.core-2.61.0}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|