aws-solutions-constructs.core 2.72.0__tar.gz → 2.74.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.72.0/src/aws_solutions_constructs.core.egg-info → aws_solutions_constructs_core-2.74.0}/PKG-INFO +3 -3
  2. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/setup.py +4 -4
  3. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/src/aws_solutions_constructs/core/__init__.py +434 -18
  4. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +1 -1
  5. aws_solutions_constructs_core-2.74.0/src/aws_solutions_constructs/core/_jsii/core@2.74.0.jsii.tgz +0 -0
  6. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +3 -3
  7. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
  8. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/src/aws_solutions_constructs.core.egg-info/requires.txt +2 -2
  9. aws_solutions_constructs_core-2.72.0/src/aws_solutions_constructs/core/_jsii/core@2.72.0.jsii.tgz +0 -0
  10. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/LICENSE +0 -0
  11. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/MANIFEST.in +0 -0
  12. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/README.md +0 -0
  13. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/pyproject.toml +0 -0
  14. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/setup.cfg +0 -0
  15. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/src/aws_solutions_constructs/core/py.typed +0 -0
  16. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.0}/src/aws_solutions_constructs.core.egg-info/dependency_links.txt +0 -0
  17. {aws_solutions_constructs_core-2.72.0 → aws_solutions_constructs_core-2.74.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.72.0
3
+ Version: 2.74.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
@@ -22,9 +22,9 @@ License-File: LICENSE
22
22
  Requires-Dist: aws-cdk-lib<3.0.0,>=2.161.0
23
23
  Requires-Dist: aws-cdk.integ-tests-alpha==2.161.0.a0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.0
25
- Requires-Dist: jsii<2.0.0,>=1.103.1
25
+ Requires-Dist: jsii<2.0.0,>=1.104.0
26
26
  Requires-Dist: publication>=0.0.3
27
- Requires-Dist: typeguard<5.0.0,>=2.13.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
28
28
 
29
29
  # core module
30
30
 
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.core",
8
- "version": "2.72.0",
8
+ "version": "2.74.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.72.0.jsii.tgz"
29
+ "core@2.74.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.core": [
32
32
  "py.typed"
@@ -37,9 +37,9 @@ kwargs = json.loads(
37
37
  "aws-cdk-lib>=2.161.0, <3.0.0",
38
38
  "aws-cdk.integ-tests-alpha==2.161.0.a0",
39
39
  "constructs>=10.0.0, <11.0.0",
40
- "jsii>=1.103.1, <2.0.0",
40
+ "jsii>=1.104.0, <2.0.0",
41
41
  "publication>=0.0.3",
42
- "typeguard>=2.13.3,<5.0.0"
42
+ "typeguard>=2.13.3,<4.3.0"
43
43
  ],
44
44
  "classifiers": [
45
45
  "Intended Audience :: Developers",
@@ -139,6 +139,7 @@ import aws_cdk.aws_lambda_event_sources as _aws_cdk_aws_lambda_event_sources_ced
139
139
  import aws_cdk.aws_logs as _aws_cdk_aws_logs_ceddda9d
140
140
  import aws_cdk.aws_mediastore as _aws_cdk_aws_mediastore_ceddda9d
141
141
  import aws_cdk.aws_opensearchservice as _aws_cdk_aws_opensearchservice_ceddda9d
142
+ import aws_cdk.aws_pipes as _aws_cdk_aws_pipes_ceddda9d
142
143
  import aws_cdk.aws_s3 as _aws_cdk_aws_s3_ceddda9d
143
144
  import aws_cdk.aws_s3_assets as _aws_cdk_aws_s3_assets_ceddda9d
144
145
  import aws_cdk.aws_sagemaker as _aws_cdk_aws_sagemaker_ceddda9d
@@ -1535,6 +1536,174 @@ class BuildOpenSearchResponse:
1535
1536
  )
1536
1537
 
1537
1538
 
1539
+ @jsii.data_type(
1540
+ jsii_type="@aws-solutions-constructs/core.BuildPipesProps",
1541
+ jsii_struct_bases=[],
1542
+ name_mapping={
1543
+ "source": "source",
1544
+ "target": "target",
1545
+ "client_props": "clientProps",
1546
+ "enrichment_function": "enrichmentFunction",
1547
+ "enrichment_state_machine": "enrichmentStateMachine",
1548
+ "log_level": "logLevel",
1549
+ "pipe_log_props": "pipeLogProps",
1550
+ },
1551
+ )
1552
+ class BuildPipesProps:
1553
+ def __init__(
1554
+ self,
1555
+ *,
1556
+ source: typing.Union["CreateSourceResponse", typing.Dict[builtins.str, typing.Any]],
1557
+ target: typing.Union["CreateTargetResponse", typing.Dict[builtins.str, typing.Any]],
1558
+ client_props: typing.Any = None,
1559
+ enrichment_function: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
1560
+ enrichment_state_machine: typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine] = None,
1561
+ log_level: typing.Optional["PipesLogLevel"] = None,
1562
+ pipe_log_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
1563
+ ) -> None:
1564
+ '''
1565
+ :param source: -
1566
+ :param target: -
1567
+ :param client_props: -
1568
+ :param enrichment_function: -
1569
+ :param enrichment_state_machine: -
1570
+ :param log_level: -
1571
+ :param pipe_log_props: -
1572
+ '''
1573
+ if isinstance(source, dict):
1574
+ source = CreateSourceResponse(**source)
1575
+ if isinstance(target, dict):
1576
+ target = CreateTargetResponse(**target)
1577
+ if isinstance(pipe_log_props, dict):
1578
+ pipe_log_props = _aws_cdk_aws_logs_ceddda9d.LogGroupProps(**pipe_log_props)
1579
+ if __debug__:
1580
+ type_hints = typing.get_type_hints(_typecheckingstub__e2a27558bf89a3dca0aa82a84c762fde8ca04dc296adac85a0451ccf6127f096)
1581
+ check_type(argname="argument source", value=source, expected_type=type_hints["source"])
1582
+ check_type(argname="argument target", value=target, expected_type=type_hints["target"])
1583
+ check_type(argname="argument client_props", value=client_props, expected_type=type_hints["client_props"])
1584
+ check_type(argname="argument enrichment_function", value=enrichment_function, expected_type=type_hints["enrichment_function"])
1585
+ check_type(argname="argument enrichment_state_machine", value=enrichment_state_machine, expected_type=type_hints["enrichment_state_machine"])
1586
+ check_type(argname="argument log_level", value=log_level, expected_type=type_hints["log_level"])
1587
+ check_type(argname="argument pipe_log_props", value=pipe_log_props, expected_type=type_hints["pipe_log_props"])
1588
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1589
+ "source": source,
1590
+ "target": target,
1591
+ }
1592
+ if client_props is not None:
1593
+ self._values["client_props"] = client_props
1594
+ if enrichment_function is not None:
1595
+ self._values["enrichment_function"] = enrichment_function
1596
+ if enrichment_state_machine is not None:
1597
+ self._values["enrichment_state_machine"] = enrichment_state_machine
1598
+ if log_level is not None:
1599
+ self._values["log_level"] = log_level
1600
+ if pipe_log_props is not None:
1601
+ self._values["pipe_log_props"] = pipe_log_props
1602
+
1603
+ @builtins.property
1604
+ def source(self) -> "CreateSourceResponse":
1605
+ result = self._values.get("source")
1606
+ assert result is not None, "Required property 'source' is missing"
1607
+ return typing.cast("CreateSourceResponse", result)
1608
+
1609
+ @builtins.property
1610
+ def target(self) -> "CreateTargetResponse":
1611
+ result = self._values.get("target")
1612
+ assert result is not None, "Required property 'target' is missing"
1613
+ return typing.cast("CreateTargetResponse", result)
1614
+
1615
+ @builtins.property
1616
+ def client_props(self) -> typing.Any:
1617
+ result = self._values.get("client_props")
1618
+ return typing.cast(typing.Any, result)
1619
+
1620
+ @builtins.property
1621
+ def enrichment_function(
1622
+ self,
1623
+ ) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function]:
1624
+ result = self._values.get("enrichment_function")
1625
+ return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function], result)
1626
+
1627
+ @builtins.property
1628
+ def enrichment_state_machine(
1629
+ self,
1630
+ ) -> typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine]:
1631
+ result = self._values.get("enrichment_state_machine")
1632
+ return typing.cast(typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine], result)
1633
+
1634
+ @builtins.property
1635
+ def log_level(self) -> typing.Optional["PipesLogLevel"]:
1636
+ result = self._values.get("log_level")
1637
+ return typing.cast(typing.Optional["PipesLogLevel"], result)
1638
+
1639
+ @builtins.property
1640
+ def pipe_log_props(
1641
+ self,
1642
+ ) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps]:
1643
+ result = self._values.get("pipe_log_props")
1644
+ return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps], result)
1645
+
1646
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1647
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1648
+
1649
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1650
+ return not (rhs == self)
1651
+
1652
+ def __repr__(self) -> str:
1653
+ return "BuildPipesProps(%s)" % ", ".join(
1654
+ k + "=" + repr(v) for k, v in self._values.items()
1655
+ )
1656
+
1657
+
1658
+ @jsii.data_type(
1659
+ jsii_type="@aws-solutions-constructs/core.BuildPipesResponse",
1660
+ jsii_struct_bases=[],
1661
+ name_mapping={"pipe": "pipe", "pipe_role": "pipeRole"},
1662
+ )
1663
+ class BuildPipesResponse:
1664
+ def __init__(
1665
+ self,
1666
+ *,
1667
+ pipe: _aws_cdk_aws_pipes_ceddda9d.CfnPipe,
1668
+ pipe_role: _aws_cdk_aws_iam_ceddda9d.Role,
1669
+ ) -> None:
1670
+ '''
1671
+ :param pipe: -
1672
+ :param pipe_role: -
1673
+ '''
1674
+ if __debug__:
1675
+ type_hints = typing.get_type_hints(_typecheckingstub__07e41a2d38f9414a27dd296347f11b5a72d37e0816c1d1870f7a4af6bc9ea4da)
1676
+ check_type(argname="argument pipe", value=pipe, expected_type=type_hints["pipe"])
1677
+ check_type(argname="argument pipe_role", value=pipe_role, expected_type=type_hints["pipe_role"])
1678
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1679
+ "pipe": pipe,
1680
+ "pipe_role": pipe_role,
1681
+ }
1682
+
1683
+ @builtins.property
1684
+ def pipe(self) -> _aws_cdk_aws_pipes_ceddda9d.CfnPipe:
1685
+ result = self._values.get("pipe")
1686
+ assert result is not None, "Required property 'pipe' is missing"
1687
+ return typing.cast(_aws_cdk_aws_pipes_ceddda9d.CfnPipe, result)
1688
+
1689
+ @builtins.property
1690
+ def pipe_role(self) -> _aws_cdk_aws_iam_ceddda9d.Role:
1691
+ result = self._values.get("pipe_role")
1692
+ assert result is not None, "Required property 'pipe_role' is missing"
1693
+ return typing.cast(_aws_cdk_aws_iam_ceddda9d.Role, result)
1694
+
1695
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1696
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1697
+
1698
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1699
+ return not (rhs == self)
1700
+
1701
+ def __repr__(self) -> str:
1702
+ return "BuildPipesResponse(%s)" % ", ".join(
1703
+ k + "=" + repr(v) for k, v in self._values.items()
1704
+ )
1705
+
1706
+
1538
1707
  @jsii.data_type(
1539
1708
  jsii_type="@aws-solutions-constructs/core.BuildQueueProps",
1540
1709
  jsii_struct_bases=[],
@@ -3799,6 +3968,73 @@ class CreateFargateServiceResponse:
3799
3968
  )
3800
3969
 
3801
3970
 
3971
+ @jsii.data_type(
3972
+ jsii_type="@aws-solutions-constructs/core.CreateSourceResponse",
3973
+ jsii_struct_bases=[],
3974
+ name_mapping={
3975
+ "source_arn": "sourceArn",
3976
+ "source_parameters": "sourceParameters",
3977
+ "source_policy": "sourcePolicy",
3978
+ },
3979
+ )
3980
+ class CreateSourceResponse:
3981
+ def __init__(
3982
+ self,
3983
+ *,
3984
+ source_arn: builtins.str,
3985
+ source_parameters: typing.Union[_aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeSourceParametersProperty, typing.Dict[builtins.str, typing.Any]],
3986
+ source_policy: _aws_cdk_aws_iam_ceddda9d.PolicyDocument,
3987
+ ) -> None:
3988
+ '''
3989
+ :param source_arn: -
3990
+ :param source_parameters: -
3991
+ :param source_policy: -
3992
+ '''
3993
+ if isinstance(source_parameters, dict):
3994
+ source_parameters = _aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeSourceParametersProperty(**source_parameters)
3995
+ if __debug__:
3996
+ type_hints = typing.get_type_hints(_typecheckingstub__d0c6f887fc20e867b2e30bb877ad19fdf05be5463c44027d80f59c0ae39d3a16)
3997
+ check_type(argname="argument source_arn", value=source_arn, expected_type=type_hints["source_arn"])
3998
+ check_type(argname="argument source_parameters", value=source_parameters, expected_type=type_hints["source_parameters"])
3999
+ check_type(argname="argument source_policy", value=source_policy, expected_type=type_hints["source_policy"])
4000
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4001
+ "source_arn": source_arn,
4002
+ "source_parameters": source_parameters,
4003
+ "source_policy": source_policy,
4004
+ }
4005
+
4006
+ @builtins.property
4007
+ def source_arn(self) -> builtins.str:
4008
+ result = self._values.get("source_arn")
4009
+ assert result is not None, "Required property 'source_arn' is missing"
4010
+ return typing.cast(builtins.str, result)
4011
+
4012
+ @builtins.property
4013
+ def source_parameters(
4014
+ self,
4015
+ ) -> _aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeSourceParametersProperty:
4016
+ result = self._values.get("source_parameters")
4017
+ assert result is not None, "Required property 'source_parameters' is missing"
4018
+ return typing.cast(_aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeSourceParametersProperty, result)
4019
+
4020
+ @builtins.property
4021
+ def source_policy(self) -> _aws_cdk_aws_iam_ceddda9d.PolicyDocument:
4022
+ result = self._values.get("source_policy")
4023
+ assert result is not None, "Required property 'source_policy' is missing"
4024
+ return typing.cast(_aws_cdk_aws_iam_ceddda9d.PolicyDocument, result)
4025
+
4026
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4027
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4028
+
4029
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4030
+ return not (rhs == self)
4031
+
4032
+ def __repr__(self) -> str:
4033
+ return "CreateSourceResponse(%s)" % ", ".join(
4034
+ k + "=" + repr(v) for k, v in self._values.items()
4035
+ )
4036
+
4037
+
3802
4038
  @jsii.data_type(
3803
4039
  jsii_type="@aws-solutions-constructs/core.CreateSpecRestApiResponse",
3804
4040
  jsii_struct_bases=[],
@@ -3858,6 +4094,73 @@ class CreateSpecRestApiResponse:
3858
4094
  )
3859
4095
 
3860
4096
 
4097
+ @jsii.data_type(
4098
+ jsii_type="@aws-solutions-constructs/core.CreateTargetResponse",
4099
+ jsii_struct_bases=[],
4100
+ name_mapping={
4101
+ "target_arn": "targetArn",
4102
+ "target_parameters": "targetParameters",
4103
+ "target_policy": "targetPolicy",
4104
+ },
4105
+ )
4106
+ class CreateTargetResponse:
4107
+ def __init__(
4108
+ self,
4109
+ *,
4110
+ target_arn: builtins.str,
4111
+ target_parameters: typing.Union[_aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeTargetParametersProperty, typing.Dict[builtins.str, typing.Any]],
4112
+ target_policy: _aws_cdk_aws_iam_ceddda9d.PolicyDocument,
4113
+ ) -> None:
4114
+ '''
4115
+ :param target_arn: -
4116
+ :param target_parameters: -
4117
+ :param target_policy: -
4118
+ '''
4119
+ if isinstance(target_parameters, dict):
4120
+ target_parameters = _aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeTargetParametersProperty(**target_parameters)
4121
+ if __debug__:
4122
+ type_hints = typing.get_type_hints(_typecheckingstub__5abf80af97c798c1e67e67feb9f487dc557e8ae3a91e9d3f65dc1b42ce1b53a1)
4123
+ check_type(argname="argument target_arn", value=target_arn, expected_type=type_hints["target_arn"])
4124
+ check_type(argname="argument target_parameters", value=target_parameters, expected_type=type_hints["target_parameters"])
4125
+ check_type(argname="argument target_policy", value=target_policy, expected_type=type_hints["target_policy"])
4126
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4127
+ "target_arn": target_arn,
4128
+ "target_parameters": target_parameters,
4129
+ "target_policy": target_policy,
4130
+ }
4131
+
4132
+ @builtins.property
4133
+ def target_arn(self) -> builtins.str:
4134
+ result = self._values.get("target_arn")
4135
+ assert result is not None, "Required property 'target_arn' is missing"
4136
+ return typing.cast(builtins.str, result)
4137
+
4138
+ @builtins.property
4139
+ def target_parameters(
4140
+ self,
4141
+ ) -> _aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeTargetParametersProperty:
4142
+ result = self._values.get("target_parameters")
4143
+ assert result is not None, "Required property 'target_parameters' is missing"
4144
+ return typing.cast(_aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeTargetParametersProperty, result)
4145
+
4146
+ @builtins.property
4147
+ def target_policy(self) -> _aws_cdk_aws_iam_ceddda9d.PolicyDocument:
4148
+ result = self._values.get("target_policy")
4149
+ assert result is not None, "Required property 'target_policy' is missing"
4150
+ return typing.cast(_aws_cdk_aws_iam_ceddda9d.PolicyDocument, result)
4151
+
4152
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4153
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4154
+
4155
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4156
+ return not (rhs == self)
4157
+
4158
+ def __repr__(self) -> str:
4159
+ return "CreateTargetResponse(%s)" % ", ".join(
4160
+ k + "=" + repr(v) for k, v in self._values.items()
4161
+ )
4162
+
4163
+
3861
4164
  @jsii.data_type(
3862
4165
  jsii_type="@aws-solutions-constructs/core.DeployGlueJobResponse",
3863
4166
  jsii_struct_bases=[],
@@ -4810,6 +5113,54 @@ class OpenSearchProps:
4810
5113
  )
4811
5114
 
4812
5115
 
5116
+ @jsii.enum(jsii_type="@aws-solutions-constructs/core.PipesLogLevel")
5117
+ class PipesLogLevel(enum.Enum):
5118
+ OFF = "OFF"
5119
+ TRACE = "TRACE"
5120
+ INFO = "INFO"
5121
+ ERROR = "ERROR"
5122
+
5123
+
5124
+ @jsii.data_type(
5125
+ jsii_type="@aws-solutions-constructs/core.PipesProps",
5126
+ jsii_struct_bases=[],
5127
+ name_mapping={"pipes_props": "pipesProps"},
5128
+ )
5129
+ class PipesProps:
5130
+ def __init__(
5131
+ self,
5132
+ *,
5133
+ pipes_props: typing.Optional[typing.Union[_aws_cdk_aws_pipes_ceddda9d.CfnPipeProps, typing.Dict[builtins.str, typing.Any]]] = None,
5134
+ ) -> None:
5135
+ '''
5136
+ :param pipes_props: -
5137
+ '''
5138
+ if isinstance(pipes_props, dict):
5139
+ pipes_props = _aws_cdk_aws_pipes_ceddda9d.CfnPipeProps(**pipes_props)
5140
+ if __debug__:
5141
+ type_hints = typing.get_type_hints(_typecheckingstub__73eb22e320b5f438016ca1a62ce94f711b8b918dfc631a29b91571e4f08f7597)
5142
+ check_type(argname="argument pipes_props", value=pipes_props, expected_type=type_hints["pipes_props"])
5143
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
5144
+ if pipes_props is not None:
5145
+ self._values["pipes_props"] = pipes_props
5146
+
5147
+ @builtins.property
5148
+ def pipes_props(self) -> typing.Optional[_aws_cdk_aws_pipes_ceddda9d.CfnPipeProps]:
5149
+ result = self._values.get("pipes_props")
5150
+ return typing.cast(typing.Optional[_aws_cdk_aws_pipes_ceddda9d.CfnPipeProps], result)
5151
+
5152
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
5153
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
5154
+
5155
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
5156
+ return not (rhs == self)
5157
+
5158
+ def __repr__(self) -> str:
5159
+ return "PipesProps(%s)" % ", ".join(
5160
+ k + "=" + repr(v) for k, v in self._values.items()
5161
+ )
5162
+
5163
+
4813
5164
  @jsii.data_type(
4814
5165
  jsii_type="@aws-solutions-constructs/core.RegionalLambdaRestApiResponse",
4815
5166
  jsii_struct_bases=[],
@@ -5798,54 +6149,52 @@ class SqsProps:
5798
6149
  jsii_type="@aws-solutions-constructs/core.StateMachineProps",
5799
6150
  jsii_struct_bases=[],
5800
6151
  name_mapping={
5801
- "state_machine_props": "stateMachineProps",
5802
6152
  "cloud_watch_alarms_prefix": "cloudWatchAlarmsPrefix",
5803
6153
  "create_cloud_watch_alarms": "createCloudWatchAlarms",
6154
+ "existing_state_machine_obj": "existingStateMachineObj",
5804
6155
  "log_group_props": "logGroupProps",
6156
+ "state_machine_props": "stateMachineProps",
5805
6157
  },
5806
6158
  )
5807
6159
  class StateMachineProps:
5808
6160
  def __init__(
5809
6161
  self,
5810
6162
  *,
5811
- state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
5812
6163
  cloud_watch_alarms_prefix: typing.Optional[builtins.str] = None,
5813
6164
  create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
6165
+ existing_state_machine_obj: typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine] = None,
5814
6166
  log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
6167
+ state_machine_props: typing.Optional[typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]]] = None,
5815
6168
  ) -> None:
5816
6169
  '''
5817
- :param state_machine_props: -
5818
6170
  :param cloud_watch_alarms_prefix: -
5819
6171
  :param create_cloud_watch_alarms: -
6172
+ :param existing_state_machine_obj: -
5820
6173
  :param log_group_props: -
6174
+ :param state_machine_props: -
5821
6175
  '''
5822
- if isinstance(state_machine_props, dict):
5823
- state_machine_props = _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps(**state_machine_props)
5824
6176
  if isinstance(log_group_props, dict):
5825
6177
  log_group_props = _aws_cdk_aws_logs_ceddda9d.LogGroupProps(**log_group_props)
6178
+ if isinstance(state_machine_props, dict):
6179
+ state_machine_props = _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps(**state_machine_props)
5826
6180
  if __debug__:
5827
6181
  type_hints = typing.get_type_hints(_typecheckingstub__f08646452b145e569da8f0e193b37ccb2f89096eac1b603e02a301d09490fcf9)
5828
- check_type(argname="argument state_machine_props", value=state_machine_props, expected_type=type_hints["state_machine_props"])
5829
6182
  check_type(argname="argument cloud_watch_alarms_prefix", value=cloud_watch_alarms_prefix, expected_type=type_hints["cloud_watch_alarms_prefix"])
5830
6183
  check_type(argname="argument create_cloud_watch_alarms", value=create_cloud_watch_alarms, expected_type=type_hints["create_cloud_watch_alarms"])
6184
+ check_type(argname="argument existing_state_machine_obj", value=existing_state_machine_obj, expected_type=type_hints["existing_state_machine_obj"])
5831
6185
  check_type(argname="argument log_group_props", value=log_group_props, expected_type=type_hints["log_group_props"])
5832
- self._values: typing.Dict[builtins.str, typing.Any] = {
5833
- "state_machine_props": state_machine_props,
5834
- }
6186
+ check_type(argname="argument state_machine_props", value=state_machine_props, expected_type=type_hints["state_machine_props"])
6187
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
5835
6188
  if cloud_watch_alarms_prefix is not None:
5836
6189
  self._values["cloud_watch_alarms_prefix"] = cloud_watch_alarms_prefix
5837
6190
  if create_cloud_watch_alarms is not None:
5838
6191
  self._values["create_cloud_watch_alarms"] = create_cloud_watch_alarms
6192
+ if existing_state_machine_obj is not None:
6193
+ self._values["existing_state_machine_obj"] = existing_state_machine_obj
5839
6194
  if log_group_props is not None:
5840
6195
  self._values["log_group_props"] = log_group_props
5841
-
5842
- @builtins.property
5843
- def state_machine_props(
5844
- self,
5845
- ) -> _aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps:
5846
- result = self._values.get("state_machine_props")
5847
- assert result is not None, "Required property 'state_machine_props' is missing"
5848
- return typing.cast(_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, result)
6196
+ if state_machine_props is not None:
6197
+ self._values["state_machine_props"] = state_machine_props
5849
6198
 
5850
6199
  @builtins.property
5851
6200
  def cloud_watch_alarms_prefix(self) -> typing.Optional[builtins.str]:
@@ -5857,6 +6206,13 @@ class StateMachineProps:
5857
6206
  result = self._values.get("create_cloud_watch_alarms")
5858
6207
  return typing.cast(typing.Optional[builtins.bool], result)
5859
6208
 
6209
+ @builtins.property
6210
+ def existing_state_machine_obj(
6211
+ self,
6212
+ ) -> typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine]:
6213
+ result = self._values.get("existing_state_machine_obj")
6214
+ return typing.cast(typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine], result)
6215
+
5860
6216
  @builtins.property
5861
6217
  def log_group_props(
5862
6218
  self,
@@ -5864,6 +6220,13 @@ class StateMachineProps:
5864
6220
  result = self._values.get("log_group_props")
5865
6221
  return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps], result)
5866
6222
 
6223
+ @builtins.property
6224
+ def state_machine_props(
6225
+ self,
6226
+ ) -> typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps]:
6227
+ result = self._values.get("state_machine_props")
6228
+ return typing.cast(typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps], result)
6229
+
5867
6230
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5868
6231
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5869
6232
 
@@ -6012,6 +6375,8 @@ __all__ = [
6012
6375
  "BuildLambdaFunctionProps",
6013
6376
  "BuildOpenSearchProps",
6014
6377
  "BuildOpenSearchResponse",
6378
+ "BuildPipesProps",
6379
+ "BuildPipesResponse",
6015
6380
  "BuildQueueProps",
6016
6381
  "BuildQueueResponse",
6017
6382
  "BuildS3BucketProps",
@@ -6040,7 +6405,9 @@ __all__ = [
6040
6405
  "CreateCloudFrontLoggingBucketResponse",
6041
6406
  "CreateFargateServiceProps",
6042
6407
  "CreateFargateServiceResponse",
6408
+ "CreateSourceResponse",
6043
6409
  "CreateSpecRestApiResponse",
6410
+ "CreateTargetResponse",
6044
6411
  "DeployGlueJobResponse",
6045
6412
  "DeploySagemakerEndpointResponse",
6046
6413
  "DynamoDBProps",
@@ -6055,6 +6422,8 @@ __all__ = [
6055
6422
  "ObtainAlbProps",
6056
6423
  "ObtainMemcachedClusterProps",
6057
6424
  "OpenSearchProps",
6425
+ "PipesLogLevel",
6426
+ "PipesProps",
6058
6427
  "RegionalLambdaRestApiResponse",
6059
6428
  "RegionalRestApiResponse",
6060
6429
  "S3OacOrigin",
@@ -6244,6 +6613,27 @@ def _typecheckingstub__999af291cbe0b3ac93ce7fcd7ec44dc0cc2fba2cea7bfa0fb68b20e64
6244
6613
  """Type checking stubs"""
6245
6614
  pass
6246
6615
 
6616
+ def _typecheckingstub__e2a27558bf89a3dca0aa82a84c762fde8ca04dc296adac85a0451ccf6127f096(
6617
+ *,
6618
+ source: typing.Union[CreateSourceResponse, typing.Dict[builtins.str, typing.Any]],
6619
+ target: typing.Union[CreateTargetResponse, typing.Dict[builtins.str, typing.Any]],
6620
+ client_props: typing.Any = None,
6621
+ enrichment_function: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
6622
+ enrichment_state_machine: typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine] = None,
6623
+ log_level: typing.Optional[PipesLogLevel] = None,
6624
+ pipe_log_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
6625
+ ) -> None:
6626
+ """Type checking stubs"""
6627
+ pass
6628
+
6629
+ def _typecheckingstub__07e41a2d38f9414a27dd296347f11b5a72d37e0816c1d1870f7a4af6bc9ea4da(
6630
+ *,
6631
+ pipe: _aws_cdk_aws_pipes_ceddda9d.CfnPipe,
6632
+ pipe_role: _aws_cdk_aws_iam_ceddda9d.Role,
6633
+ ) -> None:
6634
+ """Type checking stubs"""
6635
+ pass
6636
+
6247
6637
  def _typecheckingstub__f6b0628b99348c4f52c56911b1d1df16b203612119c6a5d046c912ca315ff851(
6248
6638
  *,
6249
6639
  construct_dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -6520,6 +6910,15 @@ def _typecheckingstub__5ddf26049ece8a7ca2d07de8a059523b50f38ce266281eb6f6a2c3336
6520
6910
  """Type checking stubs"""
6521
6911
  pass
6522
6912
 
6913
+ def _typecheckingstub__d0c6f887fc20e867b2e30bb877ad19fdf05be5463c44027d80f59c0ae39d3a16(
6914
+ *,
6915
+ source_arn: builtins.str,
6916
+ source_parameters: typing.Union[_aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeSourceParametersProperty, typing.Dict[builtins.str, typing.Any]],
6917
+ source_policy: _aws_cdk_aws_iam_ceddda9d.PolicyDocument,
6918
+ ) -> None:
6919
+ """Type checking stubs"""
6920
+ pass
6921
+
6523
6922
  def _typecheckingstub__958271d7a6ef26178c4bc3d921903ed81f28d55fff334bbdb2f005a34fa081a8(
6524
6923
  *,
6525
6924
  api: _aws_cdk_aws_apigateway_ceddda9d.SpecRestApi,
@@ -6529,6 +6928,15 @@ def _typecheckingstub__958271d7a6ef26178c4bc3d921903ed81f28d55fff334bbdb2f005a34
6529
6928
  """Type checking stubs"""
6530
6929
  pass
6531
6930
 
6931
+ def _typecheckingstub__5abf80af97c798c1e67e67feb9f487dc557e8ae3a91e9d3f65dc1b42ce1b53a1(
6932
+ *,
6933
+ target_arn: builtins.str,
6934
+ target_parameters: typing.Union[_aws_cdk_aws_pipes_ceddda9d.CfnPipe.PipeTargetParametersProperty, typing.Dict[builtins.str, typing.Any]],
6935
+ target_policy: _aws_cdk_aws_iam_ceddda9d.PolicyDocument,
6936
+ ) -> None:
6937
+ """Type checking stubs"""
6938
+ pass
6939
+
6532
6940
  def _typecheckingstub__0133b791a4fb505bbd37620b5d8a5e3b8d656dc20e1134a297327ddab20258d3(
6533
6941
  *,
6534
6942
  job: _aws_cdk_aws_glue_ceddda9d.CfnJob,
@@ -6658,6 +7066,13 @@ def _typecheckingstub__87594edd93213c38ce202aa16be748b2b19d103564cbf8a1b35556020
6658
7066
  """Type checking stubs"""
6659
7067
  pass
6660
7068
 
7069
+ def _typecheckingstub__73eb22e320b5f438016ca1a62ce94f711b8b918dfc631a29b91571e4f08f7597(
7070
+ *,
7071
+ pipes_props: typing.Optional[typing.Union[_aws_cdk_aws_pipes_ceddda9d.CfnPipeProps, typing.Dict[builtins.str, typing.Any]]] = None,
7072
+ ) -> None:
7073
+ """Type checking stubs"""
7074
+ pass
7075
+
6661
7076
  def _typecheckingstub__8de3143e71bde6dafd77c44cdaf6b172642b82573eeb0c78376630da9ff0f010(
6662
7077
  *,
6663
7078
  api: _aws_cdk_aws_apigateway_ceddda9d.RestApi,
@@ -6788,10 +7203,11 @@ def _typecheckingstub__3536696b3fd1fdb7ce43c98c85cb8881b09b6c0b3f129c94eba978621
6788
7203
 
6789
7204
  def _typecheckingstub__f08646452b145e569da8f0e193b37ccb2f89096eac1b603e02a301d09490fcf9(
6790
7205
  *,
6791
- state_machine_props: typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]],
6792
7206
  cloud_watch_alarms_prefix: typing.Optional[builtins.str] = None,
6793
7207
  create_cloud_watch_alarms: typing.Optional[builtins.bool] = None,
7208
+ existing_state_machine_obj: typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachine] = None,
6794
7209
  log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
7210
+ state_machine_props: typing.Optional[typing.Union[_aws_cdk_aws_stepfunctions_ceddda9d.StateMachineProps, typing.Dict[builtins.str, typing.Any]]] = None,
6795
7211
  ) -> None:
6796
7212
  """Type checking stubs"""
6797
7213
  pass
@@ -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.72.0", __name__[0:-6], "core@2.72.0.jsii.tgz"
36
+ "@aws-solutions-constructs/core", "2.74.0", __name__[0:-6], "core@2.74.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.72.0
3
+ Version: 2.74.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
@@ -22,9 +22,9 @@ License-File: LICENSE
22
22
  Requires-Dist: aws-cdk-lib<3.0.0,>=2.161.0
23
23
  Requires-Dist: aws-cdk.integ-tests-alpha==2.161.0.a0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.0
25
- Requires-Dist: jsii<2.0.0,>=1.103.1
25
+ Requires-Dist: jsii<2.0.0,>=1.104.0
26
26
  Requires-Dist: publication>=0.0.3
27
- Requires-Dist: typeguard<5.0.0,>=2.13.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
28
28
 
29
29
  # core module
30
30
 
@@ -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.72.0.jsii.tgz
14
+ src/aws_solutions_constructs/core/_jsii/core@2.74.0.jsii.tgz
@@ -1,6 +1,6 @@
1
1
  aws-cdk-lib<3.0.0,>=2.161.0
2
2
  aws-cdk.integ-tests-alpha==2.161.0.a0
3
3
  constructs<11.0.0,>=10.0.0
4
- jsii<2.0.0,>=1.103.1
4
+ jsii<2.0.0,>=1.104.0
5
5
  publication>=0.0.3
6
- typeguard<5.0.0,>=2.13.3
6
+ typeguard<4.3.0,>=2.13.3