aws-cdk-lib 2.133.0__py3-none-any.whl → 2.134.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +105 -3
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +6 -4
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +423 -73
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +2 -2
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +21 -5
- aws_cdk/aws_codepipeline/__init__.py +24 -8
- aws_cdk/aws_cognito/__init__.py +41 -40
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +493 -93
- aws_cdk/aws_ecs/__init__.py +6 -4
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +359 -60
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +110 -50
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +19 -17
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +48 -14
- aws_cdk/aws_sagemaker/__init__.py +2 -2
- aws_cdk/aws_ssm/__init__.py +3 -3
- aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +96 -46
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +56 -56
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
|
@@ -313,6 +313,9 @@ web_socket_api.add_route("$connect",
|
|
|
313
313
|
)
|
|
314
314
|
)
|
|
315
315
|
```
|
|
316
|
+
|
|
317
|
+
You can also set additional properties to change the behavior of your integration, such as `contentHandling`.
|
|
318
|
+
See [Working with binary media types for WebSocket APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/websocket-api-develop-binary-media-types.html).
|
|
316
319
|
'''
|
|
317
320
|
import abc
|
|
318
321
|
import builtins
|
|
@@ -329,7 +332,9 @@ from typeguard import check_type
|
|
|
329
332
|
from .._jsii import *
|
|
330
333
|
|
|
331
334
|
import constructs as _constructs_77d1e7e8
|
|
335
|
+
from .. import Duration as _Duration_4839e8c3
|
|
332
336
|
from ..aws_apigatewayv2 import (
|
|
337
|
+
ContentHandling as _ContentHandling_1512a7da,
|
|
333
338
|
HttpConnectionType as _HttpConnectionType_02a8b6fb,
|
|
334
339
|
HttpIntegrationSubtype as _HttpIntegrationSubtype_beb63b59,
|
|
335
340
|
HttpIntegrationType as _HttpIntegrationType_aee0d440,
|
|
@@ -1536,21 +1541,25 @@ class WebSocketAwsIntegration(
|
|
|
1536
1541
|
*,
|
|
1537
1542
|
integration_method: builtins.str,
|
|
1538
1543
|
integration_uri: builtins.str,
|
|
1544
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
1539
1545
|
credentials_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
1540
1546
|
passthrough_behavior: typing.Optional[_PassthroughBehavior_379b8a9e] = None,
|
|
1541
1547
|
request_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1542
1548
|
request_templates: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1543
1549
|
template_selection_expression: typing.Optional[builtins.str] = None,
|
|
1550
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1544
1551
|
) -> None:
|
|
1545
1552
|
'''
|
|
1546
1553
|
:param id: id of the underlying integration construct.
|
|
1547
1554
|
:param integration_method: Specifies the integration's HTTP method type.
|
|
1548
1555
|
:param integration_uri: Integration URI.
|
|
1556
|
+
:param content_handling: Specifies how to handle response payload content type conversions. Default: - The response payload will be passed through from the integration response to the route response or method response without modification.
|
|
1549
1557
|
:param credentials_role: Specifies the credentials role required for the integration. Default: - No credential role provided.
|
|
1550
1558
|
:param passthrough_behavior: Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Default: - No passthrough behavior required.
|
|
1551
1559
|
:param request_parameters: The request parameters that API Gateway sends with the backend request. Specify request parameters as key-value pairs (string-to-string mappings), with a destination as the key and a source as the value. Default: - No request parameter provided to the integration.
|
|
1552
1560
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. Example:: { "application/json": "{ \\"statusCode\\": 200 }" } Default: - No request template provided to the integration.
|
|
1553
1561
|
:param template_selection_expression: The template selection expression for the integration. Default: - No template selection expression provided.
|
|
1562
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. Must be between 50 milliseconds and 29 seconds. Default: Duration.seconds(29)
|
|
1554
1563
|
'''
|
|
1555
1564
|
if __debug__:
|
|
1556
1565
|
type_hints = typing.get_type_hints(_typecheckingstub__9bba00d2a284a155db9e940bdf51118b0715f0312e8109e916f7848b20023815)
|
|
@@ -1558,11 +1567,13 @@ class WebSocketAwsIntegration(
|
|
|
1558
1567
|
props = WebSocketAwsIntegrationProps(
|
|
1559
1568
|
integration_method=integration_method,
|
|
1560
1569
|
integration_uri=integration_uri,
|
|
1570
|
+
content_handling=content_handling,
|
|
1561
1571
|
credentials_role=credentials_role,
|
|
1562
1572
|
passthrough_behavior=passthrough_behavior,
|
|
1563
1573
|
request_parameters=request_parameters,
|
|
1564
1574
|
request_templates=request_templates,
|
|
1565
1575
|
template_selection_expression=template_selection_expression,
|
|
1576
|
+
timeout=timeout,
|
|
1566
1577
|
)
|
|
1567
1578
|
|
|
1568
1579
|
jsii.create(self.__class__, self, [id, props])
|
|
@@ -1592,11 +1603,13 @@ class WebSocketAwsIntegration(
|
|
|
1592
1603
|
name_mapping={
|
|
1593
1604
|
"integration_method": "integrationMethod",
|
|
1594
1605
|
"integration_uri": "integrationUri",
|
|
1606
|
+
"content_handling": "contentHandling",
|
|
1595
1607
|
"credentials_role": "credentialsRole",
|
|
1596
1608
|
"passthrough_behavior": "passthroughBehavior",
|
|
1597
1609
|
"request_parameters": "requestParameters",
|
|
1598
1610
|
"request_templates": "requestTemplates",
|
|
1599
1611
|
"template_selection_expression": "templateSelectionExpression",
|
|
1612
|
+
"timeout": "timeout",
|
|
1600
1613
|
},
|
|
1601
1614
|
)
|
|
1602
1615
|
class WebSocketAwsIntegrationProps:
|
|
@@ -1605,21 +1618,25 @@ class WebSocketAwsIntegrationProps:
|
|
|
1605
1618
|
*,
|
|
1606
1619
|
integration_method: builtins.str,
|
|
1607
1620
|
integration_uri: builtins.str,
|
|
1621
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
1608
1622
|
credentials_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
1609
1623
|
passthrough_behavior: typing.Optional[_PassthroughBehavior_379b8a9e] = None,
|
|
1610
1624
|
request_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1611
1625
|
request_templates: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1612
1626
|
template_selection_expression: typing.Optional[builtins.str] = None,
|
|
1627
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1613
1628
|
) -> None:
|
|
1614
|
-
'''Props for AWS type integration for
|
|
1629
|
+
'''Props for AWS type integration for a WebSocket Api.
|
|
1615
1630
|
|
|
1616
1631
|
:param integration_method: Specifies the integration's HTTP method type.
|
|
1617
1632
|
:param integration_uri: Integration URI.
|
|
1633
|
+
:param content_handling: Specifies how to handle response payload content type conversions. Default: - The response payload will be passed through from the integration response to the route response or method response without modification.
|
|
1618
1634
|
:param credentials_role: Specifies the credentials role required for the integration. Default: - No credential role provided.
|
|
1619
1635
|
:param passthrough_behavior: Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Default: - No passthrough behavior required.
|
|
1620
1636
|
:param request_parameters: The request parameters that API Gateway sends with the backend request. Specify request parameters as key-value pairs (string-to-string mappings), with a destination as the key and a source as the value. Default: - No request parameter provided to the integration.
|
|
1621
1637
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. Example:: { "application/json": "{ \\"statusCode\\": 200 }" } Default: - No request template provided to the integration.
|
|
1622
1638
|
:param template_selection_expression: The template selection expression for the integration. Default: - No template selection expression provided.
|
|
1639
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. Must be between 50 milliseconds and 29 seconds. Default: Duration.seconds(29)
|
|
1623
1640
|
|
|
1624
1641
|
:exampleMetadata: infused
|
|
1625
1642
|
|
|
@@ -1661,15 +1678,19 @@ class WebSocketAwsIntegrationProps:
|
|
|
1661
1678
|
type_hints = typing.get_type_hints(_typecheckingstub__aa585be6945644a75e60414b518cacf76637190e70170ea912e9826651e3e5ea)
|
|
1662
1679
|
check_type(argname="argument integration_method", value=integration_method, expected_type=type_hints["integration_method"])
|
|
1663
1680
|
check_type(argname="argument integration_uri", value=integration_uri, expected_type=type_hints["integration_uri"])
|
|
1681
|
+
check_type(argname="argument content_handling", value=content_handling, expected_type=type_hints["content_handling"])
|
|
1664
1682
|
check_type(argname="argument credentials_role", value=credentials_role, expected_type=type_hints["credentials_role"])
|
|
1665
1683
|
check_type(argname="argument passthrough_behavior", value=passthrough_behavior, expected_type=type_hints["passthrough_behavior"])
|
|
1666
1684
|
check_type(argname="argument request_parameters", value=request_parameters, expected_type=type_hints["request_parameters"])
|
|
1667
1685
|
check_type(argname="argument request_templates", value=request_templates, expected_type=type_hints["request_templates"])
|
|
1668
1686
|
check_type(argname="argument template_selection_expression", value=template_selection_expression, expected_type=type_hints["template_selection_expression"])
|
|
1687
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
1669
1688
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1670
1689
|
"integration_method": integration_method,
|
|
1671
1690
|
"integration_uri": integration_uri,
|
|
1672
1691
|
}
|
|
1692
|
+
if content_handling is not None:
|
|
1693
|
+
self._values["content_handling"] = content_handling
|
|
1673
1694
|
if credentials_role is not None:
|
|
1674
1695
|
self._values["credentials_role"] = credentials_role
|
|
1675
1696
|
if passthrough_behavior is not None:
|
|
@@ -1680,6 +1701,8 @@ class WebSocketAwsIntegrationProps:
|
|
|
1680
1701
|
self._values["request_templates"] = request_templates
|
|
1681
1702
|
if template_selection_expression is not None:
|
|
1682
1703
|
self._values["template_selection_expression"] = template_selection_expression
|
|
1704
|
+
if timeout is not None:
|
|
1705
|
+
self._values["timeout"] = timeout
|
|
1683
1706
|
|
|
1684
1707
|
@builtins.property
|
|
1685
1708
|
def integration_method(self) -> builtins.str:
|
|
@@ -1695,6 +1718,18 @@ class WebSocketAwsIntegrationProps:
|
|
|
1695
1718
|
assert result is not None, "Required property 'integration_uri' is missing"
|
|
1696
1719
|
return typing.cast(builtins.str, result)
|
|
1697
1720
|
|
|
1721
|
+
@builtins.property
|
|
1722
|
+
def content_handling(self) -> typing.Optional[_ContentHandling_1512a7da]:
|
|
1723
|
+
'''Specifies how to handle response payload content type conversions.
|
|
1724
|
+
|
|
1725
|
+
:default:
|
|
1726
|
+
|
|
1727
|
+
- The response payload will be passed through from the integration response to
|
|
1728
|
+
the route response or method response without modification.
|
|
1729
|
+
'''
|
|
1730
|
+
result = self._values.get("content_handling")
|
|
1731
|
+
return typing.cast(typing.Optional[_ContentHandling_1512a7da], result)
|
|
1732
|
+
|
|
1698
1733
|
@builtins.property
|
|
1699
1734
|
def credentials_role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
1700
1735
|
'''Specifies the credentials role required for the integration.
|
|
@@ -1754,6 +1789,17 @@ class WebSocketAwsIntegrationProps:
|
|
|
1754
1789
|
result = self._values.get("template_selection_expression")
|
|
1755
1790
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1756
1791
|
|
|
1792
|
+
@builtins.property
|
|
1793
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
1794
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
1795
|
+
|
|
1796
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
1797
|
+
|
|
1798
|
+
:default: Duration.seconds(29)
|
|
1799
|
+
'''
|
|
1800
|
+
result = self._values.get("timeout")
|
|
1801
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
1802
|
+
|
|
1757
1803
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1758
1804
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1759
1805
|
|
|
@@ -1793,16 +1839,29 @@ class WebSocketLambdaIntegration(
|
|
|
1793
1839
|
)
|
|
1794
1840
|
'''
|
|
1795
1841
|
|
|
1796
|
-
def __init__(
|
|
1842
|
+
def __init__(
|
|
1843
|
+
self,
|
|
1844
|
+
id: builtins.str,
|
|
1845
|
+
handler: _IFunction_6adb0ab8,
|
|
1846
|
+
*,
|
|
1847
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
1848
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1849
|
+
) -> None:
|
|
1797
1850
|
'''
|
|
1798
1851
|
:param id: id of the underlying integration construct.
|
|
1799
1852
|
:param handler: the Lambda function handler.
|
|
1853
|
+
:param content_handling: Specifies how to handle response payload content type conversions. Default: - The response payload will be passed through from the integration response to the route response or method response without modification.
|
|
1854
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. Must be between 50 milliseconds and 29 seconds. Default: Duration.seconds(29)
|
|
1800
1855
|
'''
|
|
1801
1856
|
if __debug__:
|
|
1802
1857
|
type_hints = typing.get_type_hints(_typecheckingstub__990acb5e6eea396fa4e1595408a45c01b4b03ad6d7085d83c680a56888ae6a6a)
|
|
1803
1858
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1804
1859
|
check_type(argname="argument handler", value=handler, expected_type=type_hints["handler"])
|
|
1805
|
-
|
|
1860
|
+
props = WebSocketLambdaIntegrationProps(
|
|
1861
|
+
content_handling=content_handling, timeout=timeout
|
|
1862
|
+
)
|
|
1863
|
+
|
|
1864
|
+
jsii.create(self.__class__, self, [id, handler, props])
|
|
1806
1865
|
|
|
1807
1866
|
@jsii.member(jsii_name="bind")
|
|
1808
1867
|
def bind(
|
|
@@ -1823,6 +1882,83 @@ class WebSocketLambdaIntegration(
|
|
|
1823
1882
|
return typing.cast(_WebSocketRouteIntegrationConfig_7402c18a, jsii.invoke(self, "bind", [options]))
|
|
1824
1883
|
|
|
1825
1884
|
|
|
1885
|
+
@jsii.data_type(
|
|
1886
|
+
jsii_type="aws-cdk-lib.aws_apigatewayv2_integrations.WebSocketLambdaIntegrationProps",
|
|
1887
|
+
jsii_struct_bases=[],
|
|
1888
|
+
name_mapping={"content_handling": "contentHandling", "timeout": "timeout"},
|
|
1889
|
+
)
|
|
1890
|
+
class WebSocketLambdaIntegrationProps:
|
|
1891
|
+
def __init__(
|
|
1892
|
+
self,
|
|
1893
|
+
*,
|
|
1894
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
1895
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1896
|
+
) -> None:
|
|
1897
|
+
'''Props for Lambda type integration for a WebSocket Api.
|
|
1898
|
+
|
|
1899
|
+
:param content_handling: Specifies how to handle response payload content type conversions. Default: - The response payload will be passed through from the integration response to the route response or method response without modification.
|
|
1900
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. Must be between 50 milliseconds and 29 seconds. Default: Duration.seconds(29)
|
|
1901
|
+
|
|
1902
|
+
:exampleMetadata: fixture=_generated
|
|
1903
|
+
|
|
1904
|
+
Example::
|
|
1905
|
+
|
|
1906
|
+
# The code below shows an example of how to instantiate this type.
|
|
1907
|
+
# The values are placeholders you should change.
|
|
1908
|
+
import aws_cdk as cdk
|
|
1909
|
+
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
1910
|
+
from aws_cdk import aws_apigatewayv2_integrations as apigatewayv2_integrations
|
|
1911
|
+
|
|
1912
|
+
web_socket_lambda_integration_props = apigatewayv2_integrations.WebSocketLambdaIntegrationProps(
|
|
1913
|
+
content_handling=apigatewayv2.ContentHandling.CONVERT_TO_BINARY,
|
|
1914
|
+
timeout=cdk.Duration.minutes(30)
|
|
1915
|
+
)
|
|
1916
|
+
'''
|
|
1917
|
+
if __debug__:
|
|
1918
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b3043b7d6bcd4be959d4924c0dbbe6ad490dc788f95ab7a014933e7e1b2fefff)
|
|
1919
|
+
check_type(argname="argument content_handling", value=content_handling, expected_type=type_hints["content_handling"])
|
|
1920
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
1921
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1922
|
+
if content_handling is not None:
|
|
1923
|
+
self._values["content_handling"] = content_handling
|
|
1924
|
+
if timeout is not None:
|
|
1925
|
+
self._values["timeout"] = timeout
|
|
1926
|
+
|
|
1927
|
+
@builtins.property
|
|
1928
|
+
def content_handling(self) -> typing.Optional[_ContentHandling_1512a7da]:
|
|
1929
|
+
'''Specifies how to handle response payload content type conversions.
|
|
1930
|
+
|
|
1931
|
+
:default:
|
|
1932
|
+
|
|
1933
|
+
- The response payload will be passed through from the integration response to
|
|
1934
|
+
the route response or method response without modification.
|
|
1935
|
+
'''
|
|
1936
|
+
result = self._values.get("content_handling")
|
|
1937
|
+
return typing.cast(typing.Optional[_ContentHandling_1512a7da], result)
|
|
1938
|
+
|
|
1939
|
+
@builtins.property
|
|
1940
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
1941
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
1942
|
+
|
|
1943
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
1944
|
+
|
|
1945
|
+
:default: Duration.seconds(29)
|
|
1946
|
+
'''
|
|
1947
|
+
result = self._values.get("timeout")
|
|
1948
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
1949
|
+
|
|
1950
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1951
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1952
|
+
|
|
1953
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1954
|
+
return not (rhs == self)
|
|
1955
|
+
|
|
1956
|
+
def __repr__(self) -> str:
|
|
1957
|
+
return "WebSocketLambdaIntegrationProps(%s)" % ", ".join(
|
|
1958
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1959
|
+
)
|
|
1960
|
+
|
|
1961
|
+
|
|
1826
1962
|
class WebSocketMockIntegration(
|
|
1827
1963
|
_WebSocketRouteIntegration_bb950e43,
|
|
1828
1964
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2112,6 +2248,7 @@ __all__ = [
|
|
|
2112
2248
|
"WebSocketAwsIntegration",
|
|
2113
2249
|
"WebSocketAwsIntegrationProps",
|
|
2114
2250
|
"WebSocketLambdaIntegration",
|
|
2251
|
+
"WebSocketLambdaIntegrationProps",
|
|
2115
2252
|
"WebSocketMockIntegration",
|
|
2116
2253
|
]
|
|
2117
2254
|
|
|
@@ -2305,11 +2442,13 @@ def _typecheckingstub__9bba00d2a284a155db9e940bdf51118b0715f0312e8109e916f7848b2
|
|
|
2305
2442
|
*,
|
|
2306
2443
|
integration_method: builtins.str,
|
|
2307
2444
|
integration_uri: builtins.str,
|
|
2445
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
2308
2446
|
credentials_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
2309
2447
|
passthrough_behavior: typing.Optional[_PassthroughBehavior_379b8a9e] = None,
|
|
2310
2448
|
request_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2311
2449
|
request_templates: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2312
2450
|
template_selection_expression: typing.Optional[builtins.str] = None,
|
|
2451
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2313
2452
|
) -> None:
|
|
2314
2453
|
"""Type checking stubs"""
|
|
2315
2454
|
pass
|
|
@@ -2318,11 +2457,13 @@ def _typecheckingstub__aa585be6945644a75e60414b518cacf76637190e70170ea912e982665
|
|
|
2318
2457
|
*,
|
|
2319
2458
|
integration_method: builtins.str,
|
|
2320
2459
|
integration_uri: builtins.str,
|
|
2460
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
2321
2461
|
credentials_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
2322
2462
|
passthrough_behavior: typing.Optional[_PassthroughBehavior_379b8a9e] = None,
|
|
2323
2463
|
request_parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2324
2464
|
request_templates: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2325
2465
|
template_selection_expression: typing.Optional[builtins.str] = None,
|
|
2466
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2326
2467
|
) -> None:
|
|
2327
2468
|
"""Type checking stubs"""
|
|
2328
2469
|
pass
|
|
@@ -2330,6 +2471,17 @@ def _typecheckingstub__aa585be6945644a75e60414b518cacf76637190e70170ea912e982665
|
|
|
2330
2471
|
def _typecheckingstub__990acb5e6eea396fa4e1595408a45c01b4b03ad6d7085d83c680a56888ae6a6a(
|
|
2331
2472
|
id: builtins.str,
|
|
2332
2473
|
handler: _IFunction_6adb0ab8,
|
|
2474
|
+
*,
|
|
2475
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
2476
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2477
|
+
) -> None:
|
|
2478
|
+
"""Type checking stubs"""
|
|
2479
|
+
pass
|
|
2480
|
+
|
|
2481
|
+
def _typecheckingstub__b3043b7d6bcd4be959d4924c0dbbe6ad490dc788f95ab7a014933e7e1b2fefff(
|
|
2482
|
+
*,
|
|
2483
|
+
content_handling: typing.Optional[_ContentHandling_1512a7da] = None,
|
|
2484
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2333
2485
|
) -> None:
|
|
2334
2486
|
"""Type checking stubs"""
|
|
2335
2487
|
pass
|