aws-solutions-constructs.core 2.62.0__tar.gz → 2.63.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.62.0/src/aws_solutions_constructs.core.egg-info → aws-solutions-constructs.core-2.63.0}/PKG-INFO +1 -1
  2. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/setup.py +4 -4
  3. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/src/aws_solutions_constructs/core/__init__.py +376 -7
  4. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/src/aws_solutions_constructs/core/_jsii/__init__.py +1 -1
  5. aws-solutions-constructs.core-2.63.0/src/aws_solutions_constructs/core/_jsii/core@2.63.0.jsii.tgz +0 -0
  6. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0/src/aws_solutions_constructs.core.egg-info}/PKG-INFO +1 -1
  7. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/src/aws_solutions_constructs.core.egg-info/SOURCES.txt +1 -1
  8. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/src/aws_solutions_constructs.core.egg-info/requires.txt +2 -2
  9. aws-solutions-constructs.core-2.62.0/src/aws_solutions_constructs/core/_jsii/core@2.62.0.jsii.tgz +0 -0
  10. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/LICENSE +0 -0
  11. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/MANIFEST.in +0 -0
  12. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/README.md +0 -0
  13. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/pyproject.toml +0 -0
  14. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/setup.cfg +0 -0
  15. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/src/aws_solutions_constructs/core/py.typed +0 -0
  16. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.0}/src/aws_solutions_constructs.core.egg-info/dependency_links.txt +0 -0
  17. {aws-solutions-constructs.core-2.62.0 → aws-solutions-constructs.core-2.63.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.62.0
3
+ Version: 2.63.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
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.core",
8
- "version": "2.62.0",
8
+ "version": "2.63.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.62.0.jsii.tgz"
29
+ "core@2.63.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.147.3, <3.0.0",
38
- "aws-cdk.integ-tests-alpha==2.147.3.a0",
37
+ "aws-cdk-lib>=2.149.0, <3.0.0",
38
+ "aws-cdk.integ-tests-alpha==2.149.0.a0",
39
39
  "constructs>=10.0.0, <11.0.0",
40
40
  "jsii>=1.101.0, <2.0.0",
41
41
  "publication>=0.0.3",
@@ -102,6 +102,7 @@ from ._jsii import *
102
102
 
103
103
  import aws_cdk as _aws_cdk_ceddda9d
104
104
  import aws_cdk.aws_apigateway as _aws_cdk_aws_apigateway_ceddda9d
105
+ import aws_cdk.aws_apigatewayv2 as _aws_cdk_aws_apigatewayv2_ceddda9d
105
106
  import aws_cdk.aws_cloudfront as _aws_cdk_aws_cloudfront_ceddda9d
106
107
  import aws_cdk.aws_cognito as _aws_cdk_aws_cognito_ceddda9d
107
108
  import aws_cdk.aws_dynamodb as _aws_cdk_aws_dynamodb_ceddda9d
@@ -307,6 +308,7 @@ class AddProxyMethodToApiResourceInputParams:
307
308
  jsii_type="@aws-solutions-constructs/core.BuildDeadLetterQueueProps",
308
309
  jsii_struct_bases=[],
309
310
  name_mapping={
311
+ "construct_dead_letter_queue_props": "constructDeadLetterQueueProps",
310
312
  "dead_letter_queue_props": "deadLetterQueueProps",
311
313
  "deploy_dead_letter_queue": "deployDeadLetterQueue",
312
314
  "existing_queue_obj": "existingQueueObj",
@@ -317,26 +319,33 @@ class BuildDeadLetterQueueProps:
317
319
  def __init__(
318
320
  self,
319
321
  *,
322
+ construct_dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
320
323
  dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
321
324
  deploy_dead_letter_queue: typing.Optional[builtins.bool] = None,
322
325
  existing_queue_obj: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.Queue] = None,
323
326
  max_receive_count: typing.Optional[jsii.Number] = None,
324
327
  ) -> None:
325
328
  '''
329
+ :param construct_dead_letter_queue_props: Optional Props that override default and client props. Default: - Default props are used
326
330
  :param dead_letter_queue_props: Optional user provided properties for the dead letter queue. Default: - Default props are used
327
331
  :param deploy_dead_letter_queue: Whether to deploy a secondary queue to be used as a dead letter queue. Default: - required field.
328
332
  :param existing_queue_obj: Existing instance of SQS queue object, providing both this and queueProps will cause an error. Default: - None.
329
333
  :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
330
334
  '''
335
+ if isinstance(construct_dead_letter_queue_props, dict):
336
+ construct_dead_letter_queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**construct_dead_letter_queue_props)
331
337
  if isinstance(dead_letter_queue_props, dict):
332
338
  dead_letter_queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**dead_letter_queue_props)
333
339
  if __debug__:
334
340
  type_hints = typing.get_type_hints(_typecheckingstub__f79386b6162082a3848170974aab68319c4d3739960a82001b687d0237a8dddb)
341
+ check_type(argname="argument construct_dead_letter_queue_props", value=construct_dead_letter_queue_props, expected_type=type_hints["construct_dead_letter_queue_props"])
335
342
  check_type(argname="argument dead_letter_queue_props", value=dead_letter_queue_props, expected_type=type_hints["dead_letter_queue_props"])
336
343
  check_type(argname="argument deploy_dead_letter_queue", value=deploy_dead_letter_queue, expected_type=type_hints["deploy_dead_letter_queue"])
337
344
  check_type(argname="argument existing_queue_obj", value=existing_queue_obj, expected_type=type_hints["existing_queue_obj"])
338
345
  check_type(argname="argument max_receive_count", value=max_receive_count, expected_type=type_hints["max_receive_count"])
339
346
  self._values: typing.Dict[builtins.str, typing.Any] = {}
347
+ if construct_dead_letter_queue_props is not None:
348
+ self._values["construct_dead_letter_queue_props"] = construct_dead_letter_queue_props
340
349
  if dead_letter_queue_props is not None:
341
350
  self._values["dead_letter_queue_props"] = dead_letter_queue_props
342
351
  if deploy_dead_letter_queue is not None:
@@ -346,6 +355,17 @@ class BuildDeadLetterQueueProps:
346
355
  if max_receive_count is not None:
347
356
  self._values["max_receive_count"] = max_receive_count
348
357
 
358
+ @builtins.property
359
+ def construct_dead_letter_queue_props(
360
+ self,
361
+ ) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps]:
362
+ '''Optional Props that override default and client props.
363
+
364
+ :default: - Default props are used
365
+ '''
366
+ result = self._values.get("construct_dead_letter_queue_props")
367
+ return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps], result)
368
+
349
369
  @builtins.property
350
370
  def dead_letter_queue_props(
351
371
  self,
@@ -1503,6 +1523,8 @@ class BuildOpenSearchResponse:
1503
1523
  jsii_type="@aws-solutions-constructs/core.BuildQueueProps",
1504
1524
  jsii_struct_bases=[],
1505
1525
  name_mapping={
1526
+ "construct_dead_letter_queue_props": "constructDeadLetterQueueProps",
1527
+ "construct_queue_props": "constructQueueProps",
1506
1528
  "dead_letter_queue_props": "deadLetterQueueProps",
1507
1529
  "deploy_dead_letter_queue": "deployDeadLetterQueue",
1508
1530
  "enable_encryption_with_customer_managed_key": "enableEncryptionWithCustomerManagedKey",
@@ -1517,6 +1539,8 @@ class BuildQueueProps:
1517
1539
  def __init__(
1518
1540
  self,
1519
1541
  *,
1542
+ construct_dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
1543
+ construct_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
1520
1544
  dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
1521
1545
  deploy_dead_letter_queue: typing.Optional[builtins.bool] = None,
1522
1546
  enable_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
@@ -1527,6 +1551,8 @@ class BuildQueueProps:
1527
1551
  queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
1528
1552
  ) -> None:
1529
1553
  '''
1554
+ :param construct_dead_letter_queue_props: Optional props required by the construct that overide both the default and client supplied values. Default: - none
1555
+ :param construct_queue_props: Optional props required by the construct that overide both the default and client supplied values. Default: - none
1530
1556
  :param dead_letter_queue_props: Optional user provided properties for the dead letter queue. Default: - Default props are used
1531
1557
  :param deploy_dead_letter_queue: Whether to deploy a secondary queue to be used as a dead letter queue. Default: - true
1532
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.
@@ -1536,6 +1562,10 @@ class BuildQueueProps:
1536
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
1537
1563
  :param queue_props: Optional user provided props to override the default props for the primary queue. Default: - Default props are used.
1538
1564
  '''
1565
+ if isinstance(construct_dead_letter_queue_props, dict):
1566
+ construct_dead_letter_queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**construct_dead_letter_queue_props)
1567
+ if isinstance(construct_queue_props, dict):
1568
+ construct_queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**construct_queue_props)
1539
1569
  if isinstance(dead_letter_queue_props, dict):
1540
1570
  dead_letter_queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**dead_letter_queue_props)
1541
1571
  if isinstance(encryption_key_props, dict):
@@ -1544,6 +1574,8 @@ class BuildQueueProps:
1544
1574
  queue_props = _aws_cdk_aws_sqs_ceddda9d.QueueProps(**queue_props)
1545
1575
  if __debug__:
1546
1576
  type_hints = typing.get_type_hints(_typecheckingstub__f6b0628b99348c4f52c56911b1d1df16b203612119c6a5d046c912ca315ff851)
1577
+ check_type(argname="argument construct_dead_letter_queue_props", value=construct_dead_letter_queue_props, expected_type=type_hints["construct_dead_letter_queue_props"])
1578
+ check_type(argname="argument construct_queue_props", value=construct_queue_props, expected_type=type_hints["construct_queue_props"])
1547
1579
  check_type(argname="argument dead_letter_queue_props", value=dead_letter_queue_props, expected_type=type_hints["dead_letter_queue_props"])
1548
1580
  check_type(argname="argument deploy_dead_letter_queue", value=deploy_dead_letter_queue, expected_type=type_hints["deploy_dead_letter_queue"])
1549
1581
  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"])
@@ -1553,6 +1585,10 @@ class BuildQueueProps:
1553
1585
  check_type(argname="argument max_receive_count", value=max_receive_count, expected_type=type_hints["max_receive_count"])
1554
1586
  check_type(argname="argument queue_props", value=queue_props, expected_type=type_hints["queue_props"])
1555
1587
  self._values: typing.Dict[builtins.str, typing.Any] = {}
1588
+ if construct_dead_letter_queue_props is not None:
1589
+ self._values["construct_dead_letter_queue_props"] = construct_dead_letter_queue_props
1590
+ if construct_queue_props is not None:
1591
+ self._values["construct_queue_props"] = construct_queue_props
1556
1592
  if dead_letter_queue_props is not None:
1557
1593
  self._values["dead_letter_queue_props"] = dead_letter_queue_props
1558
1594
  if deploy_dead_letter_queue is not None:
@@ -1570,6 +1606,28 @@ class BuildQueueProps:
1570
1606
  if queue_props is not None:
1571
1607
  self._values["queue_props"] = queue_props
1572
1608
 
1609
+ @builtins.property
1610
+ def construct_dead_letter_queue_props(
1611
+ self,
1612
+ ) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps]:
1613
+ '''Optional props required by the construct that overide both the default and client supplied values.
1614
+
1615
+ :default: - none
1616
+ '''
1617
+ result = self._values.get("construct_dead_letter_queue_props")
1618
+ return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps], result)
1619
+
1620
+ @builtins.property
1621
+ def construct_queue_props(
1622
+ self,
1623
+ ) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps]:
1624
+ '''Optional props required by the construct that overide both the default and client supplied values.
1625
+
1626
+ :default: - none
1627
+ '''
1628
+ result = self._values.get("construct_queue_props")
1629
+ return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.QueueProps], result)
1630
+
1573
1631
  @builtins.property
1574
1632
  def dead_letter_queue_props(
1575
1633
  self,
@@ -2512,6 +2570,269 @@ class BuildVpcProps:
2512
2570
  )
2513
2571
 
2514
2572
 
2573
+ @jsii.data_type(
2574
+ jsii_type="@aws-solutions-constructs/core.BuildWebSocketApiProps",
2575
+ jsii_struct_bases=[],
2576
+ name_mapping={
2577
+ "existing_web_socket_api": "existingWebSocketApi",
2578
+ "web_socket_api_props": "webSocketApiProps",
2579
+ },
2580
+ )
2581
+ class BuildWebSocketApiProps:
2582
+ def __init__(
2583
+ self,
2584
+ *,
2585
+ existing_web_socket_api: typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi] = None,
2586
+ web_socket_api_props: typing.Optional[typing.Union[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps, typing.Dict[builtins.str, typing.Any]]] = None,
2587
+ ) -> None:
2588
+ '''
2589
+ :param existing_web_socket_api: Existing instance of ApiGateway v2 WebSocket.
2590
+ :param web_socket_api_props: User provided properties of Apigateway v2 WebSocket.
2591
+ '''
2592
+ if isinstance(web_socket_api_props, dict):
2593
+ web_socket_api_props = _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps(**web_socket_api_props)
2594
+ if __debug__:
2595
+ type_hints = typing.get_type_hints(_typecheckingstub__8679b6be19ecaf7b09759426349aee13d06ad2d27592405f7fee401bf848c06a)
2596
+ check_type(argname="argument existing_web_socket_api", value=existing_web_socket_api, expected_type=type_hints["existing_web_socket_api"])
2597
+ check_type(argname="argument web_socket_api_props", value=web_socket_api_props, expected_type=type_hints["web_socket_api_props"])
2598
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2599
+ if existing_web_socket_api is not None:
2600
+ self._values["existing_web_socket_api"] = existing_web_socket_api
2601
+ if web_socket_api_props is not None:
2602
+ self._values["web_socket_api_props"] = web_socket_api_props
2603
+
2604
+ @builtins.property
2605
+ def existing_web_socket_api(
2606
+ self,
2607
+ ) -> typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi]:
2608
+ '''Existing instance of ApiGateway v2 WebSocket.'''
2609
+ result = self._values.get("existing_web_socket_api")
2610
+ return typing.cast(typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi], result)
2611
+
2612
+ @builtins.property
2613
+ def web_socket_api_props(
2614
+ self,
2615
+ ) -> typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps]:
2616
+ '''User provided properties of Apigateway v2 WebSocket.'''
2617
+ result = self._values.get("web_socket_api_props")
2618
+ return typing.cast(typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps], result)
2619
+
2620
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2621
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2622
+
2623
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2624
+ return not (rhs == self)
2625
+
2626
+ def __repr__(self) -> str:
2627
+ return "BuildWebSocketApiProps(%s)" % ", ".join(
2628
+ k + "=" + repr(v) for k, v in self._values.items()
2629
+ )
2630
+
2631
+
2632
+ @jsii.data_type(
2633
+ jsii_type="@aws-solutions-constructs/core.BuildWebSocketQueueApiRequest",
2634
+ jsii_struct_bases=[],
2635
+ name_mapping={
2636
+ "queue": "queue",
2637
+ "create_default_route": "createDefaultRoute",
2638
+ "custom_route_name": "customRouteName",
2639
+ "default_iam_authorization": "defaultIamAuthorization",
2640
+ "default_route_request_template": "defaultRouteRequestTemplate",
2641
+ "existing_web_socket_api": "existingWebSocketApi",
2642
+ "log_group_props": "logGroupProps",
2643
+ "web_socket_api_props": "webSocketApiProps",
2644
+ },
2645
+ )
2646
+ class BuildWebSocketQueueApiRequest:
2647
+ def __init__(
2648
+ self,
2649
+ *,
2650
+ queue: _aws_cdk_aws_sqs_ceddda9d.IQueue,
2651
+ create_default_route: typing.Optional[builtins.bool] = None,
2652
+ custom_route_name: typing.Optional[builtins.str] = None,
2653
+ default_iam_authorization: typing.Optional[builtins.bool] = None,
2654
+ default_route_request_template: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2655
+ existing_web_socket_api: typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi] = None,
2656
+ log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
2657
+ web_socket_api_props: typing.Optional[typing.Union[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps, typing.Dict[builtins.str, typing.Any]]] = None,
2658
+ ) -> None:
2659
+ '''
2660
+ :param queue: -
2661
+ :param create_default_route: -
2662
+ :param custom_route_name: -
2663
+ :param default_iam_authorization: -
2664
+ :param default_route_request_template: -
2665
+ :param existing_web_socket_api: -
2666
+ :param log_group_props: -
2667
+ :param web_socket_api_props: -
2668
+ '''
2669
+ if isinstance(log_group_props, dict):
2670
+ log_group_props = _aws_cdk_aws_logs_ceddda9d.LogGroupProps(**log_group_props)
2671
+ if isinstance(web_socket_api_props, dict):
2672
+ web_socket_api_props = _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps(**web_socket_api_props)
2673
+ if __debug__:
2674
+ type_hints = typing.get_type_hints(_typecheckingstub__e0c936599a8f1d41536a799d6d9454879ccd497a3d424b64caba6629e67c27b5)
2675
+ check_type(argname="argument queue", value=queue, expected_type=type_hints["queue"])
2676
+ check_type(argname="argument create_default_route", value=create_default_route, expected_type=type_hints["create_default_route"])
2677
+ check_type(argname="argument custom_route_name", value=custom_route_name, expected_type=type_hints["custom_route_name"])
2678
+ check_type(argname="argument default_iam_authorization", value=default_iam_authorization, expected_type=type_hints["default_iam_authorization"])
2679
+ check_type(argname="argument default_route_request_template", value=default_route_request_template, expected_type=type_hints["default_route_request_template"])
2680
+ check_type(argname="argument existing_web_socket_api", value=existing_web_socket_api, expected_type=type_hints["existing_web_socket_api"])
2681
+ check_type(argname="argument log_group_props", value=log_group_props, expected_type=type_hints["log_group_props"])
2682
+ check_type(argname="argument web_socket_api_props", value=web_socket_api_props, expected_type=type_hints["web_socket_api_props"])
2683
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2684
+ "queue": queue,
2685
+ }
2686
+ if create_default_route is not None:
2687
+ self._values["create_default_route"] = create_default_route
2688
+ if custom_route_name is not None:
2689
+ self._values["custom_route_name"] = custom_route_name
2690
+ if default_iam_authorization is not None:
2691
+ self._values["default_iam_authorization"] = default_iam_authorization
2692
+ if default_route_request_template is not None:
2693
+ self._values["default_route_request_template"] = default_route_request_template
2694
+ if existing_web_socket_api is not None:
2695
+ self._values["existing_web_socket_api"] = existing_web_socket_api
2696
+ if log_group_props is not None:
2697
+ self._values["log_group_props"] = log_group_props
2698
+ if web_socket_api_props is not None:
2699
+ self._values["web_socket_api_props"] = web_socket_api_props
2700
+
2701
+ @builtins.property
2702
+ def queue(self) -> _aws_cdk_aws_sqs_ceddda9d.IQueue:
2703
+ result = self._values.get("queue")
2704
+ assert result is not None, "Required property 'queue' is missing"
2705
+ return typing.cast(_aws_cdk_aws_sqs_ceddda9d.IQueue, result)
2706
+
2707
+ @builtins.property
2708
+ def create_default_route(self) -> typing.Optional[builtins.bool]:
2709
+ result = self._values.get("create_default_route")
2710
+ return typing.cast(typing.Optional[builtins.bool], result)
2711
+
2712
+ @builtins.property
2713
+ def custom_route_name(self) -> typing.Optional[builtins.str]:
2714
+ result = self._values.get("custom_route_name")
2715
+ return typing.cast(typing.Optional[builtins.str], result)
2716
+
2717
+ @builtins.property
2718
+ def default_iam_authorization(self) -> typing.Optional[builtins.bool]:
2719
+ result = self._values.get("default_iam_authorization")
2720
+ return typing.cast(typing.Optional[builtins.bool], result)
2721
+
2722
+ @builtins.property
2723
+ def default_route_request_template(
2724
+ self,
2725
+ ) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
2726
+ result = self._values.get("default_route_request_template")
2727
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
2728
+
2729
+ @builtins.property
2730
+ def existing_web_socket_api(
2731
+ self,
2732
+ ) -> typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi]:
2733
+ result = self._values.get("existing_web_socket_api")
2734
+ return typing.cast(typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi], result)
2735
+
2736
+ @builtins.property
2737
+ def log_group_props(
2738
+ self,
2739
+ ) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps]:
2740
+ result = self._values.get("log_group_props")
2741
+ return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps], result)
2742
+
2743
+ @builtins.property
2744
+ def web_socket_api_props(
2745
+ self,
2746
+ ) -> typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps]:
2747
+ result = self._values.get("web_socket_api_props")
2748
+ return typing.cast(typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps], result)
2749
+
2750
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2751
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2752
+
2753
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2754
+ return not (rhs == self)
2755
+
2756
+ def __repr__(self) -> str:
2757
+ return "BuildWebSocketQueueApiRequest(%s)" % ", ".join(
2758
+ k + "=" + repr(v) for k, v in self._values.items()
2759
+ )
2760
+
2761
+
2762
+ @jsii.data_type(
2763
+ jsii_type="@aws-solutions-constructs/core.BuildWebSocketQueueApiResponse",
2764
+ jsii_struct_bases=[],
2765
+ name_mapping={
2766
+ "api_gateway_log_group": "apiGatewayLogGroup",
2767
+ "api_gateway_role": "apiGatewayRole",
2768
+ "web_socket_api": "webSocketApi",
2769
+ "web_socket_stage": "webSocketStage",
2770
+ },
2771
+ )
2772
+ class BuildWebSocketQueueApiResponse:
2773
+ def __init__(
2774
+ self,
2775
+ *,
2776
+ api_gateway_log_group: _aws_cdk_aws_logs_ceddda9d.LogGroup,
2777
+ api_gateway_role: _aws_cdk_aws_iam_ceddda9d.Role,
2778
+ web_socket_api: _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi,
2779
+ web_socket_stage: _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketStage,
2780
+ ) -> None:
2781
+ '''
2782
+ :param api_gateway_log_group: -
2783
+ :param api_gateway_role: -
2784
+ :param web_socket_api: -
2785
+ :param web_socket_stage: -
2786
+ '''
2787
+ if __debug__:
2788
+ type_hints = typing.get_type_hints(_typecheckingstub__111888d39e9a84b3bcb89fe3f7ef11c257597f007900a9a1ddd3a619ba077492)
2789
+ check_type(argname="argument api_gateway_log_group", value=api_gateway_log_group, expected_type=type_hints["api_gateway_log_group"])
2790
+ check_type(argname="argument api_gateway_role", value=api_gateway_role, expected_type=type_hints["api_gateway_role"])
2791
+ check_type(argname="argument web_socket_api", value=web_socket_api, expected_type=type_hints["web_socket_api"])
2792
+ check_type(argname="argument web_socket_stage", value=web_socket_stage, expected_type=type_hints["web_socket_stage"])
2793
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2794
+ "api_gateway_log_group": api_gateway_log_group,
2795
+ "api_gateway_role": api_gateway_role,
2796
+ "web_socket_api": web_socket_api,
2797
+ "web_socket_stage": web_socket_stage,
2798
+ }
2799
+
2800
+ @builtins.property
2801
+ def api_gateway_log_group(self) -> _aws_cdk_aws_logs_ceddda9d.LogGroup:
2802
+ result = self._values.get("api_gateway_log_group")
2803
+ assert result is not None, "Required property 'api_gateway_log_group' is missing"
2804
+ return typing.cast(_aws_cdk_aws_logs_ceddda9d.LogGroup, result)
2805
+
2806
+ @builtins.property
2807
+ def api_gateway_role(self) -> _aws_cdk_aws_iam_ceddda9d.Role:
2808
+ result = self._values.get("api_gateway_role")
2809
+ assert result is not None, "Required property 'api_gateway_role' is missing"
2810
+ return typing.cast(_aws_cdk_aws_iam_ceddda9d.Role, result)
2811
+
2812
+ @builtins.property
2813
+ def web_socket_api(self) -> _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi:
2814
+ result = self._values.get("web_socket_api")
2815
+ assert result is not None, "Required property 'web_socket_api' is missing"
2816
+ return typing.cast(_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi, result)
2817
+
2818
+ @builtins.property
2819
+ def web_socket_stage(self) -> _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketStage:
2820
+ result = self._values.get("web_socket_stage")
2821
+ assert result is not None, "Required property 'web_socket_stage' is missing"
2822
+ return typing.cast(_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketStage, result)
2823
+
2824
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2825
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2826
+
2827
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2828
+ return not (rhs == self)
2829
+
2830
+ def __repr__(self) -> str:
2831
+ return "BuildWebSocketQueueApiResponse(%s)" % ", ".join(
2832
+ k + "=" + repr(v) for k, v in self._values.items()
2833
+ )
2834
+
2835
+
2515
2836
  @jsii.data_type(
2516
2837
  jsii_type="@aws-solutions-constructs/core.BuildWebaclProps",
2517
2838
  jsii_struct_bases=[],
@@ -5032,8 +5353,8 @@ class SinkDataStoreProps:
5032
5353
  '''Interface to define potential outputs to allow the construct define additional output destinations for ETL transformation.
5033
5354
 
5034
5355
  :param datastore_type: Sink data store type.
5035
- :param existing_s3_output_bucket: The output S3 location where the data should be written. The provided S3 bucket will be used to pass the output location to the etl script as an argument to the AWS Glue job. If no location is provided, it will check if @outputBucketProps are provided. If not it will create a new bucket if the @datastoreType is S3. The argument key is ``output_path``. The value of the argument can be retrieve in the python script as follows: getResolvedOptions(sys.argv, ["JOB_NAME", "output_path", ]) output_path = args["output_path"]
5036
- :param output_bucket_props: If @existingS3OutputBUcket is provided, this parameter is ignored. If this parameter is not provided, the construct will create a new bucket if the @datastoreType is S3.
5356
+ :param existing_s3_output_bucket: The output S3 location where the data should be written. The provided S3 bucket will be used to pass the output location to the etl script as an argument to the AWS Glue job. If no location is provided, it will check if
5357
+ :param output_bucket_props: If.
5037
5358
  '''
5038
5359
  if isinstance(output_bucket_props, dict):
5039
5360
  output_bucket_props = _aws_cdk_aws_s3_ceddda9d.BucketProps(**output_bucket_props)
@@ -5066,13 +5387,20 @@ class SinkDataStoreProps:
5066
5387
  The provided S3 bucket will be used to pass
5067
5388
  the output location to the etl script as an argument to the AWS Glue job.
5068
5389
 
5069
- If no location is provided, it will check if @outputBucketProps are provided. If not it will create a new
5070
- bucket if the @datastoreType is S3.
5390
+ If no location is provided, it will check if
5391
+
5392
+ :datastoreType:
5393
+
5394
+ is S3.
5071
5395
 
5072
5396
  The argument key is ``output_path``. The value of the argument can be retrieve in the python script
5073
5397
  as follows:
5074
5398
  getResolvedOptions(sys.argv, ["JOB_NAME", "output_path", ])
5075
5399
  output_path = args["output_path"]
5400
+ :outputBucketProps:
5401
+
5402
+ are provided. If not it will create a new
5403
+ bucket if the
5076
5404
  '''
5077
5405
  result = self._values.get("existing_s3_output_bucket")
5078
5406
  return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], result)
@@ -5081,10 +5409,13 @@ class SinkDataStoreProps:
5081
5409
  def output_bucket_props(
5082
5410
  self,
5083
5411
  ) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps]:
5084
- '''If @existingS3OutputBUcket is provided, this parameter is ignored.
5412
+ '''If.
5413
+
5414
+ :datastoreType: is S3.
5415
+ :existingS3OutputBUcket:
5085
5416
 
5086
- If this parameter is not provided,
5087
- the construct will create a new bucket if the @datastoreType is S3.
5417
+ is provided, this parameter is ignored. If this parameter is not provided,
5418
+ the construct will create a new bucket if the
5088
5419
  '''
5089
5420
  result = self._values.get("output_bucket_props")
5090
5421
  return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
@@ -5455,6 +5786,9 @@ __all__ = [
5455
5786
  "BuildTopicProps",
5456
5787
  "BuildTopicResponse",
5457
5788
  "BuildVpcProps",
5789
+ "BuildWebSocketApiProps",
5790
+ "BuildWebSocketQueueApiRequest",
5791
+ "BuildWebSocketQueueApiResponse",
5458
5792
  "BuildWebaclProps",
5459
5793
  "CfnNagSuppressRule",
5460
5794
  "CloudFrontDistributionForApiGatewayResponse",
@@ -5521,6 +5855,7 @@ def _typecheckingstub__e4b1ec9338820a6eda8ebc288883f36b3164955512161b7cc4267de31
5521
5855
 
5522
5856
  def _typecheckingstub__f79386b6162082a3848170974aab68319c4d3739960a82001b687d0237a8dddb(
5523
5857
  *,
5858
+ construct_dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
5524
5859
  dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
5525
5860
  deploy_dead_letter_queue: typing.Optional[builtins.bool] = None,
5526
5861
  existing_queue_obj: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.Queue] = None,
@@ -5671,6 +6006,8 @@ def _typecheckingstub__999af291cbe0b3ac93ce7fcd7ec44dc0cc2fba2cea7bfa0fb68b20e64
5671
6006
 
5672
6007
  def _typecheckingstub__f6b0628b99348c4f52c56911b1d1df16b203612119c6a5d046c912ca315ff851(
5673
6008
  *,
6009
+ construct_dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
6010
+ construct_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
5674
6011
  dead_letter_queue_props: typing.Optional[typing.Union[_aws_cdk_aws_sqs_ceddda9d.QueueProps, typing.Dict[builtins.str, typing.Any]]] = None,
5675
6012
  deploy_dead_letter_queue: typing.Optional[builtins.bool] = None,
5676
6013
  enable_encryption_with_customer_managed_key: typing.Optional[builtins.bool] = None,
@@ -5786,6 +6123,38 @@ def _typecheckingstub__ba77dacfeb009599df76f2f3981f0e9d35104df22ff4d1aea91142e42
5786
6123
  """Type checking stubs"""
5787
6124
  pass
5788
6125
 
6126
+ def _typecheckingstub__8679b6be19ecaf7b09759426349aee13d06ad2d27592405f7fee401bf848c06a(
6127
+ *,
6128
+ existing_web_socket_api: typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi] = None,
6129
+ web_socket_api_props: typing.Optional[typing.Union[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps, typing.Dict[builtins.str, typing.Any]]] = None,
6130
+ ) -> None:
6131
+ """Type checking stubs"""
6132
+ pass
6133
+
6134
+ def _typecheckingstub__e0c936599a8f1d41536a799d6d9454879ccd497a3d424b64caba6629e67c27b5(
6135
+ *,
6136
+ queue: _aws_cdk_aws_sqs_ceddda9d.IQueue,
6137
+ create_default_route: typing.Optional[builtins.bool] = None,
6138
+ custom_route_name: typing.Optional[builtins.str] = None,
6139
+ default_iam_authorization: typing.Optional[builtins.bool] = None,
6140
+ default_route_request_template: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6141
+ existing_web_socket_api: typing.Optional[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi] = None,
6142
+ log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
6143
+ web_socket_api_props: typing.Optional[typing.Union[_aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApiProps, typing.Dict[builtins.str, typing.Any]]] = None,
6144
+ ) -> None:
6145
+ """Type checking stubs"""
6146
+ pass
6147
+
6148
+ def _typecheckingstub__111888d39e9a84b3bcb89fe3f7ef11c257597f007900a9a1ddd3a619ba077492(
6149
+ *,
6150
+ api_gateway_log_group: _aws_cdk_aws_logs_ceddda9d.LogGroup,
6151
+ api_gateway_role: _aws_cdk_aws_iam_ceddda9d.Role,
6152
+ web_socket_api: _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketApi,
6153
+ web_socket_stage: _aws_cdk_aws_apigatewayv2_ceddda9d.WebSocketStage,
6154
+ ) -> None:
6155
+ """Type checking stubs"""
6156
+ pass
6157
+
5789
6158
  def _typecheckingstub__5c35365146428e8cffe0bebcbe653e04ec2c2fec9c6fb055fbc3578eb6721b7b(
5790
6159
  *,
5791
6160
  existing_webacl_obj: typing.Optional[_aws_cdk_aws_wafv2_ceddda9d.CfnWebACL] = None,
@@ -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.62.0", __name__[0:-6], "core@2.62.0.jsii.tgz"
21
+ "@aws-solutions-constructs/core", "2.63.0", __name__[0:-6], "core@2.63.0.jsii.tgz"
22
22
  )
23
23
 
24
24
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.core
3
- Version: 2.62.0
3
+ Version: 2.63.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
@@ -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.62.0.jsii.tgz
14
+ src/aws_solutions_constructs/core/_jsii/core@2.63.0.jsii.tgz
@@ -1,5 +1,5 @@
1
- aws-cdk-lib<3.0.0,>=2.147.3
2
- aws-cdk.integ-tests-alpha==2.147.3.a0
1
+ aws-cdk-lib<3.0.0,>=2.149.0
2
+ aws-cdk.integ-tests-alpha==2.149.0.a0
3
3
  constructs<11.0.0,>=10.0.0
4
4
  jsii<2.0.0,>=1.101.0
5
5
  publication>=0.0.3