aws-cdk-lib 2.146.0__py3-none-any.whl → 2.147.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 +10 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.146.0.jsii.tgz → aws-cdk-lib@2.147.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +32 -12
- aws_cdk/aws_apigatewayv2/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +142 -4
- aws_cdk/aws_appconfig/__init__.py +8 -4
- aws_cdk/aws_applicationsignals/__init__.py +1766 -0
- aws_cdk/aws_auditmanager/__init__.py +5 -1
- aws_cdk/aws_autoscaling/__init__.py +65 -20
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +272 -103
- aws_cdk/aws_cloudformation/__init__.py +5 -11
- aws_cdk/aws_cloudfront/__init__.py +10 -3
- aws_cdk/aws_cloudtrail/__init__.py +56 -2
- aws_cdk/aws_codebuild/__init__.py +62 -29
- aws_cdk/aws_codepipeline/__init__.py +10 -5
- aws_cdk/aws_datazone/__init__.py +80 -68
- aws_cdk/aws_deadline/__init__.py +603 -17
- aws_cdk/aws_ec2/__init__.py +237 -112
- aws_cdk/aws_ecs/__init__.py +20 -18
- aws_cdk/aws_eks/__init__.py +15 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +11 -5
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +36 -16
- aws_cdk/aws_fsx/__init__.py +126 -21
- aws_cdk/aws_globalaccelerator/__init__.py +2 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +35 -4
- aws_cdk/aws_glue/__init__.py +26 -0
- aws_cdk/aws_grafana/__init__.py +4 -4
- aws_cdk/aws_groundstation/__init__.py +55 -35
- aws_cdk/aws_guardduty/__init__.py +826 -0
- aws_cdk/aws_iot/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +7 -5
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +10 -11
- aws_cdk/aws_mediapackagev2/__init__.py +38 -20
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +4 -4
- aws_cdk/aws_mwaa/__init__.py +16 -8
- aws_cdk/aws_nimblestudio/__init__.py +9 -9
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_opsworks/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +33 -4
- aws_cdk/aws_pipes/__init__.py +97 -45
- aws_cdk/aws_quicksight/__init__.py +23 -21
- aws_cdk/aws_rds/__init__.py +43 -11
- aws_cdk/aws_refactorspaces/__init__.py +3 -3
- aws_cdk/aws_rolesanywhere/__init__.py +21 -14
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_securityhub/__init__.py +163 -78
- aws_cdk/aws_securitylake/__init__.py +7 -5
- aws_cdk/aws_ses/__init__.py +117 -0
- aws_cdk/aws_simspaceweaver/__init__.py +2 -2
- aws_cdk/aws_sns/__init__.py +6 -4
- aws_cdk/aws_sqs/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +51 -28
- aws_cdk/aws_stepfunctions_tasks/__init__.py +56 -2
- aws_cdk/aws_transfer/__init__.py +8 -2
- aws_cdk/aws_wafv2/__init__.py +10 -10
- aws_cdk/aws_workspacesweb/__init__.py +8 -8
- {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/RECORD +67 -66
- {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.146.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -4713,7 +4713,7 @@ class CfnCustomResourceProps:
|
|
|
4713
4713
|
def __init__(self, *, service_token: builtins.str) -> None:
|
|
4714
4714
|
'''Properties for defining a ``CfnCustomResource``.
|
|
4715
4715
|
|
|
4716
|
-
:param service_token:
|
|
4716
|
+
:param service_token: The service token, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region as the stack. Updates aren't supported.
|
|
4717
4717
|
|
|
4718
4718
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html
|
|
4719
4719
|
:exampleMetadata: fixture=_generated
|
|
@@ -4737,13 +4737,9 @@ class CfnCustomResourceProps:
|
|
|
4737
4737
|
|
|
4738
4738
|
@builtins.property
|
|
4739
4739
|
def service_token(self) -> builtins.str:
|
|
4740
|
-
'''
|
|
4740
|
+
'''The service token, such as an Amazon SNS topic ARN or Lambda function ARN.
|
|
4741
4741
|
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
All other properties are defined by the service provider.
|
|
4745
|
-
|
|
4746
|
-
The service token that was given to the template developer by the service provider to access the service, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region in which you are creating the stack.
|
|
4742
|
+
The service token must be from the same Region as the stack.
|
|
4747
4743
|
|
|
4748
4744
|
Updates aren't supported.
|
|
4749
4745
|
|
|
@@ -4931,6 +4927,9 @@ class CfnElement(
|
|
|
4931
4927
|
'''Overrides the auto-generated logical ID with a specific ID.
|
|
4932
4928
|
|
|
4933
4929
|
:param new_logical_id: The new logical ID to use for this stack element.
|
|
4930
|
+
|
|
4931
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html#resources-section-structure-logicalid
|
|
4932
|
+
:throws: an error if ``newLogicalId`` contains non-alphanumeric characters
|
|
4934
4933
|
'''
|
|
4935
4934
|
if __debug__:
|
|
4936
4935
|
type_hints = typing.get_type_hints(_typecheckingstub__5786b9b09eedff01ff70a3bb7cd27562f344e797dfee3e18aea89baaa5c80ea4)
|
|
@@ -27053,7 +27052,7 @@ class CfnCustomResource(
|
|
|
27053
27052
|
'''
|
|
27054
27053
|
:param scope: Scope in which this resource is defined.
|
|
27055
27054
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
27056
|
-
:param service_token:
|
|
27055
|
+
:param service_token: The service token, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region as the stack. Updates aren't supported.
|
|
27057
27056
|
'''
|
|
27058
27057
|
if __debug__:
|
|
27059
27058
|
type_hints = typing.get_type_hints(_typecheckingstub__16a2a0525f82ea7b4a1beeb12b88b2db09686739df818b756288418b59219b7c)
|
|
@@ -27109,9 +27108,7 @@ class CfnCustomResource(
|
|
|
27109
27108
|
@builtins.property
|
|
27110
27109
|
@jsii.member(jsii_name="serviceToken")
|
|
27111
27110
|
def service_token(self) -> builtins.str:
|
|
27112
|
-
'''
|
|
27113
|
-
|
|
27114
|
-
Only one property is defined by AWS for a custom resource: ``ServiceToken`` .'''
|
|
27111
|
+
'''The service token, such as an Amazon SNS topic ARN or Lambda function ARN.'''
|
|
27115
27112
|
return typing.cast(builtins.str, jsii.get(self, "serviceToken"))
|
|
27116
27113
|
|
|
27117
27114
|
@service_token.setter
|
|
@@ -33827,6 +33824,7 @@ __all__ = [
|
|
|
33827
33824
|
"aws_appintegrations",
|
|
33828
33825
|
"aws_applicationautoscaling",
|
|
33829
33826
|
"aws_applicationinsights",
|
|
33827
|
+
"aws_applicationsignals",
|
|
33830
33828
|
"aws_appmesh",
|
|
33831
33829
|
"aws_apprunner",
|
|
33832
33830
|
"aws_appstream",
|
|
@@ -34110,6 +34108,7 @@ from . import aws_appflow
|
|
|
34110
34108
|
from . import aws_appintegrations
|
|
34111
34109
|
from . import aws_applicationautoscaling
|
|
34112
34110
|
from . import aws_applicationinsights
|
|
34111
|
+
from . import aws_applicationsignals
|
|
34113
34112
|
from . import aws_appmesh
|
|
34114
34113
|
from . import aws_apprunner
|
|
34115
34114
|
from . import aws_appstream
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -19,7 +19,7 @@ import aws_cdk.asset_node_proxy_agent_v6._jsii
|
|
|
19
19
|
import constructs._jsii
|
|
20
20
|
|
|
21
21
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
22
|
-
"aws-cdk-lib", "2.
|
|
22
|
+
"aws-cdk-lib", "2.147.0", __name__[0:-6], "aws-cdk-lib@2.147.0.jsii.tgz"
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
Binary file
|
|
@@ -16569,7 +16569,7 @@ class IntegrationOptions:
|
|
|
16569
16569
|
: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.
|
|
16570
16570
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
16571
16571
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
16572
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
16572
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
16573
16573
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
16574
16574
|
|
|
16575
16575
|
:exampleMetadata: lit=aws-apigateway/test/authorizers/integ.request-authorizer.lit.ts infused
|
|
@@ -16799,7 +16799,12 @@ class IntegrationOptions:
|
|
|
16799
16799
|
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
16800
16800
|
'''The maximum amount of time an integration will run before it returns without a response.
|
|
16801
16801
|
|
|
16802
|
-
|
|
16802
|
+
By default, the value must be between 50 milliseconds and 29 seconds.
|
|
16803
|
+
The upper bound can be increased for regional and private Rest APIs only,
|
|
16804
|
+
via a quota increase request for your acccount.
|
|
16805
|
+
This increase might require a reduction in your account-level throttle quota limit.
|
|
16806
|
+
|
|
16807
|
+
See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details.
|
|
16803
16808
|
|
|
16804
16809
|
:default: Duration.seconds(29)
|
|
16805
16810
|
'''
|
|
@@ -18083,7 +18088,7 @@ class LambdaIntegrationOptions(IntegrationOptions):
|
|
|
18083
18088
|
: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.
|
|
18084
18089
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
18085
18090
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
18086
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
18091
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
18087
18092
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
18088
18093
|
:param allow_test_invoke: Allow invoking method from AWS Console UI (for testing purposes). This will add another permission to the AWS Lambda resource policy which will allow the ``test-invoke-stage`` stage to invoke this handler. If this is set to ``false``, the function will only be usable from the deployment endpoint. Default: true
|
|
18089
18094
|
:param proxy: Use proxy integration or normal (request/response mapping) integration. Default: true
|
|
@@ -18274,7 +18279,12 @@ class LambdaIntegrationOptions(IntegrationOptions):
|
|
|
18274
18279
|
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
18275
18280
|
'''The maximum amount of time an integration will run before it returns without a response.
|
|
18276
18281
|
|
|
18277
|
-
|
|
18282
|
+
By default, the value must be between 50 milliseconds and 29 seconds.
|
|
18283
|
+
The upper bound can be increased for regional and private Rest APIs only,
|
|
18284
|
+
via a quota increase request for your acccount.
|
|
18285
|
+
This increase might require a reduction in your account-level throttle quota limit.
|
|
18286
|
+
|
|
18287
|
+
See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details.
|
|
18278
18288
|
|
|
18279
18289
|
:default: Duration.seconds(29)
|
|
18280
18290
|
'''
|
|
@@ -19796,7 +19806,7 @@ class MockIntegration(
|
|
|
19796
19806
|
: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.
|
|
19797
19807
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
19798
19808
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
19799
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
19809
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
19800
19810
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
19801
19811
|
'''
|
|
19802
19812
|
options = IntegrationOptions(
|
|
@@ -24072,7 +24082,7 @@ class SagemakerIntegrationOptions(IntegrationOptions):
|
|
|
24072
24082
|
: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.
|
|
24073
24083
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
24074
24084
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
24075
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
24085
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
24076
24086
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
24077
24087
|
|
|
24078
24088
|
:exampleMetadata: fixture=_generated
|
|
@@ -24284,7 +24294,12 @@ class SagemakerIntegrationOptions(IntegrationOptions):
|
|
|
24284
24294
|
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
24285
24295
|
'''The maximum amount of time an integration will run before it returns without a response.
|
|
24286
24296
|
|
|
24287
|
-
|
|
24297
|
+
By default, the value must be between 50 milliseconds and 29 seconds.
|
|
24298
|
+
The upper bound can be increased for regional and private Rest APIs only,
|
|
24299
|
+
via a quota increase request for your acccount.
|
|
24300
|
+
This increase might require a reduction in your account-level throttle quota limit.
|
|
24301
|
+
|
|
24302
|
+
See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details.
|
|
24288
24303
|
|
|
24289
24304
|
:default: Duration.seconds(29)
|
|
24290
24305
|
'''
|
|
@@ -26116,7 +26131,7 @@ class StepFunctionsExecutionIntegrationOptions(IntegrationOptions):
|
|
|
26116
26131
|
: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.
|
|
26117
26132
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
26118
26133
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
26119
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
26134
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
26120
26135
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
26121
26136
|
:param authorizer: If the whole authorizer object, including custom context values should be in the execution input. The execution input will include a new key ``authorizer``: { "body": {}, "authorizer": { "key": "value" } } Default: false
|
|
26122
26137
|
:param headers: Check if header is to be included inside the execution input. The execution input will include a new key ``headers``: { "body": {}, "headers": { "header1": "value", "header2": "value" } } Default: false
|
|
@@ -26379,7 +26394,12 @@ class StepFunctionsExecutionIntegrationOptions(IntegrationOptions):
|
|
|
26379
26394
|
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
26380
26395
|
'''The maximum amount of time an integration will run before it returns without a response.
|
|
26381
26396
|
|
|
26382
|
-
|
|
26397
|
+
By default, the value must be between 50 milliseconds and 29 seconds.
|
|
26398
|
+
The upper bound can be increased for regional and private Rest APIs only,
|
|
26399
|
+
via a quota increase request for your acccount.
|
|
26400
|
+
This increase might require a reduction in your account-level throttle quota limit.
|
|
26401
|
+
|
|
26402
|
+
See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details.
|
|
26383
26403
|
|
|
26384
26404
|
:default: Duration.seconds(29)
|
|
26385
26405
|
'''
|
|
@@ -26575,7 +26595,7 @@ class StepFunctionsIntegration(
|
|
|
26575
26595
|
: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.
|
|
26576
26596
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
26577
26597
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
26578
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
26598
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
26579
26599
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
26580
26600
|
|
|
26581
26601
|
Example::
|
|
@@ -29318,7 +29338,7 @@ class LambdaIntegration(
|
|
|
29318
29338
|
: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.
|
|
29319
29339
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
29320
29340
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
29321
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
29341
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
29322
29342
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
29323
29343
|
'''
|
|
29324
29344
|
if __debug__:
|
|
@@ -31007,7 +31027,7 @@ class SagemakerIntegration(
|
|
|
31007
31027
|
: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.
|
|
31008
31028
|
: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. Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name. The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
|
|
31009
31029
|
:param request_templates: A map of Apache Velocity templates that are applied on the request payload. The template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:: { "application/json": "{ \\"statusCode\\": 200 }" }
|
|
31010
|
-
:param timeout: The maximum amount of time an integration will run before it returns without a response.
|
|
31030
|
+
:param timeout: The maximum amount of time an integration will run before it returns without a response. By default, the value must be between 50 milliseconds and 29 seconds. The upper bound can be increased for regional and private Rest APIs only, via a quota increase request for your acccount. This increase might require a reduction in your account-level throttle quota limit. See {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html Amazon API Gateway quotas} for more details. Default: Duration.seconds(29)
|
|
31011
31031
|
:param vpc_link: The VpcLink used for the integration. Required if connectionType is VPC_LINK
|
|
31012
31032
|
'''
|
|
31013
31033
|
if __debug__:
|
|
@@ -9353,6 +9353,7 @@ class HttpConnectionType(enum.Enum):
|
|
|
9353
9353
|
"parameter_mapping": "parameterMapping",
|
|
9354
9354
|
"payload_format_version": "payloadFormatVersion",
|
|
9355
9355
|
"secure_server_name": "secureServerName",
|
|
9356
|
+
"timeout": "timeout",
|
|
9356
9357
|
},
|
|
9357
9358
|
)
|
|
9358
9359
|
class HttpIntegrationProps:
|
|
@@ -9370,6 +9371,7 @@ class HttpIntegrationProps:
|
|
|
9370
9371
|
parameter_mapping: typing.Optional["ParameterMapping"] = None,
|
|
9371
9372
|
payload_format_version: typing.Optional["PayloadFormatVersion"] = None,
|
|
9372
9373
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
9374
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
9373
9375
|
) -> None:
|
|
9374
9376
|
'''The integration properties.
|
|
9375
9377
|
|
|
@@ -9384,6 +9386,7 @@ class HttpIntegrationProps:
|
|
|
9384
9386
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
9385
9387
|
:param payload_format_version: The version of the payload format. Default: - defaults to latest in the case of HttpIntegrationType.AWS_PROXY`, irrelevant otherwise.
|
|
9386
9388
|
:param secure_server_name: Specifies the TLS configuration for a private integration. Default: undefined private integration traffic will use HTTP protocol
|
|
9389
|
+
: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)
|
|
9387
9390
|
|
|
9388
9391
|
:exampleMetadata: fixture=_generated
|
|
9389
9392
|
|
|
@@ -9391,6 +9394,7 @@ class HttpIntegrationProps:
|
|
|
9391
9394
|
|
|
9392
9395
|
# The code below shows an example of how to instantiate this type.
|
|
9393
9396
|
# The values are placeholders you should change.
|
|
9397
|
+
import aws_cdk as cdk
|
|
9394
9398
|
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
9395
9399
|
|
|
9396
9400
|
# http_api: apigatewayv2.HttpApi
|
|
@@ -9411,7 +9415,8 @@ class HttpIntegrationProps:
|
|
|
9411
9415
|
method=apigatewayv2.HttpMethod.ANY,
|
|
9412
9416
|
parameter_mapping=parameter_mapping,
|
|
9413
9417
|
payload_format_version=payload_format_version,
|
|
9414
|
-
secure_server_name="secureServerName"
|
|
9418
|
+
secure_server_name="secureServerName",
|
|
9419
|
+
timeout=cdk.Duration.minutes(30)
|
|
9415
9420
|
)
|
|
9416
9421
|
'''
|
|
9417
9422
|
if __debug__:
|
|
@@ -9427,6 +9432,7 @@ class HttpIntegrationProps:
|
|
|
9427
9432
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
9428
9433
|
check_type(argname="argument payload_format_version", value=payload_format_version, expected_type=type_hints["payload_format_version"])
|
|
9429
9434
|
check_type(argname="argument secure_server_name", value=secure_server_name, expected_type=type_hints["secure_server_name"])
|
|
9435
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
9430
9436
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9431
9437
|
"http_api": http_api,
|
|
9432
9438
|
"integration_type": integration_type,
|
|
@@ -9449,6 +9455,8 @@ class HttpIntegrationProps:
|
|
|
9449
9455
|
self._values["payload_format_version"] = payload_format_version
|
|
9450
9456
|
if secure_server_name is not None:
|
|
9451
9457
|
self._values["secure_server_name"] = secure_server_name
|
|
9458
|
+
if timeout is not None:
|
|
9459
|
+
self._values["timeout"] = timeout
|
|
9452
9460
|
|
|
9453
9461
|
@builtins.property
|
|
9454
9462
|
def http_api(self) -> "IHttpApi":
|
|
@@ -9558,6 +9566,17 @@ class HttpIntegrationProps:
|
|
|
9558
9566
|
result = self._values.get("secure_server_name")
|
|
9559
9567
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
9560
9568
|
|
|
9569
|
+
@builtins.property
|
|
9570
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
9571
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
9572
|
+
|
|
9573
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
9574
|
+
|
|
9575
|
+
:default: Duration.seconds(29)
|
|
9576
|
+
'''
|
|
9577
|
+
result = self._values.get("timeout")
|
|
9578
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
9579
|
+
|
|
9561
9580
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9562
9581
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9563
9582
|
|
|
@@ -10058,6 +10077,7 @@ class HttpRouteIntegrationBindOptions:
|
|
|
10058
10077
|
"parameter_mapping": "parameterMapping",
|
|
10059
10078
|
"secure_server_name": "secureServerName",
|
|
10060
10079
|
"subtype": "subtype",
|
|
10080
|
+
"timeout": "timeout",
|
|
10061
10081
|
"uri": "uri",
|
|
10062
10082
|
},
|
|
10063
10083
|
)
|
|
@@ -10074,6 +10094,7 @@ class HttpRouteIntegrationConfig:
|
|
|
10074
10094
|
parameter_mapping: typing.Optional["ParameterMapping"] = None,
|
|
10075
10095
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
10076
10096
|
subtype: typing.Optional[HttpIntegrationSubtype] = None,
|
|
10097
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
10077
10098
|
uri: typing.Optional[builtins.str] = None,
|
|
10078
10099
|
) -> None:
|
|
10079
10100
|
'''Config returned back as a result of the bind.
|
|
@@ -10087,6 +10108,7 @@ class HttpRouteIntegrationConfig:
|
|
|
10087
10108
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
10088
10109
|
:param secure_server_name: Specifies the server name to verified by HTTPS when calling the backend integration. Default: undefined private integration traffic will use HTTP protocol
|
|
10089
10110
|
:param subtype: Integration subtype. Default: - none, required if no ``integrationUri`` is defined.
|
|
10111
|
+
: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)
|
|
10090
10112
|
:param uri: Integration URI. Default: - none, required if no ``integrationSubtype`` is defined.
|
|
10091
10113
|
|
|
10092
10114
|
:exampleMetadata: fixture=_generated
|
|
@@ -10095,6 +10117,7 @@ class HttpRouteIntegrationConfig:
|
|
|
10095
10117
|
|
|
10096
10118
|
# The code below shows an example of how to instantiate this type.
|
|
10097
10119
|
# The values are placeholders you should change.
|
|
10120
|
+
import aws_cdk as cdk
|
|
10098
10121
|
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
10099
10122
|
|
|
10100
10123
|
# integration_credentials: apigatewayv2.IntegrationCredentials
|
|
@@ -10113,6 +10136,7 @@ class HttpRouteIntegrationConfig:
|
|
|
10113
10136
|
parameter_mapping=parameter_mapping,
|
|
10114
10137
|
secure_server_name="secureServerName",
|
|
10115
10138
|
subtype=apigatewayv2.HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS,
|
|
10139
|
+
timeout=cdk.Duration.minutes(30),
|
|
10116
10140
|
uri="uri"
|
|
10117
10141
|
)
|
|
10118
10142
|
'''
|
|
@@ -10127,6 +10151,7 @@ class HttpRouteIntegrationConfig:
|
|
|
10127
10151
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
10128
10152
|
check_type(argname="argument secure_server_name", value=secure_server_name, expected_type=type_hints["secure_server_name"])
|
|
10129
10153
|
check_type(argname="argument subtype", value=subtype, expected_type=type_hints["subtype"])
|
|
10154
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
10130
10155
|
check_type(argname="argument uri", value=uri, expected_type=type_hints["uri"])
|
|
10131
10156
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
10132
10157
|
"payload_format_version": payload_format_version,
|
|
@@ -10146,6 +10171,8 @@ class HttpRouteIntegrationConfig:
|
|
|
10146
10171
|
self._values["secure_server_name"] = secure_server_name
|
|
10147
10172
|
if subtype is not None:
|
|
10148
10173
|
self._values["subtype"] = subtype
|
|
10174
|
+
if timeout is not None:
|
|
10175
|
+
self._values["timeout"] = timeout
|
|
10149
10176
|
if uri is not None:
|
|
10150
10177
|
self._values["uri"] = uri
|
|
10151
10178
|
|
|
@@ -10239,6 +10266,17 @@ class HttpRouteIntegrationConfig:
|
|
|
10239
10266
|
result = self._values.get("subtype")
|
|
10240
10267
|
return typing.cast(typing.Optional[HttpIntegrationSubtype], result)
|
|
10241
10268
|
|
|
10269
|
+
@builtins.property
|
|
10270
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
10271
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
10272
|
+
|
|
10273
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
10274
|
+
|
|
10275
|
+
:default: Duration.seconds(29)
|
|
10276
|
+
'''
|
|
10277
|
+
result = self._values.get("timeout")
|
|
10278
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
10279
|
+
|
|
10242
10280
|
@builtins.property
|
|
10243
10281
|
def uri(self) -> typing.Optional[builtins.str]:
|
|
10244
10282
|
'''Integration URI.
|
|
@@ -17452,6 +17490,7 @@ class HttpIntegration(
|
|
|
17452
17490
|
|
|
17453
17491
|
# The code below shows an example of how to instantiate this type.
|
|
17454
17492
|
# The values are placeholders you should change.
|
|
17493
|
+
import aws_cdk as cdk
|
|
17455
17494
|
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
17456
17495
|
|
|
17457
17496
|
# http_api: apigatewayv2.HttpApi
|
|
@@ -17472,7 +17511,8 @@ class HttpIntegration(
|
|
|
17472
17511
|
method=apigatewayv2.HttpMethod.ANY,
|
|
17473
17512
|
parameter_mapping=parameter_mapping,
|
|
17474
17513
|
payload_format_version=payload_format_version,
|
|
17475
|
-
secure_server_name="secureServerName"
|
|
17514
|
+
secure_server_name="secureServerName",
|
|
17515
|
+
timeout=cdk.Duration.minutes(30)
|
|
17476
17516
|
)
|
|
17477
17517
|
'''
|
|
17478
17518
|
|
|
@@ -17492,6 +17532,7 @@ class HttpIntegration(
|
|
|
17492
17532
|
parameter_mapping: typing.Optional[ParameterMapping] = None,
|
|
17493
17533
|
payload_format_version: typing.Optional[PayloadFormatVersion] = None,
|
|
17494
17534
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
17535
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
17495
17536
|
) -> None:
|
|
17496
17537
|
'''
|
|
17497
17538
|
:param scope: -
|
|
@@ -17507,6 +17548,7 @@ class HttpIntegration(
|
|
|
17507
17548
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
17508
17549
|
:param payload_format_version: The version of the payload format. Default: - defaults to latest in the case of HttpIntegrationType.AWS_PROXY`, irrelevant otherwise.
|
|
17509
17550
|
:param secure_server_name: Specifies the TLS configuration for a private integration. Default: undefined private integration traffic will use HTTP protocol
|
|
17551
|
+
: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)
|
|
17510
17552
|
'''
|
|
17511
17553
|
if __debug__:
|
|
17512
17554
|
type_hints = typing.get_type_hints(_typecheckingstub__d19be0a597e0cdbd39568aa6832089127bfe4497b2bb7caf9bf941856497c1a8)
|
|
@@ -17524,6 +17566,7 @@ class HttpIntegration(
|
|
|
17524
17566
|
parameter_mapping=parameter_mapping,
|
|
17525
17567
|
payload_format_version=payload_format_version,
|
|
17526
17568
|
secure_server_name=secure_server_name,
|
|
17569
|
+
timeout=timeout,
|
|
17527
17570
|
)
|
|
17528
17571
|
|
|
17529
17572
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -19646,6 +19689,7 @@ def _typecheckingstub__58e572b65aa78a3b74d001d0e0643b1e9a8a3f184db7245d5b0bf384d
|
|
|
19646
19689
|
parameter_mapping: typing.Optional[ParameterMapping] = None,
|
|
19647
19690
|
payload_format_version: typing.Optional[PayloadFormatVersion] = None,
|
|
19648
19691
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
19692
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
19649
19693
|
) -> None:
|
|
19650
19694
|
"""Type checking stubs"""
|
|
19651
19695
|
pass
|
|
@@ -19692,6 +19736,7 @@ def _typecheckingstub__04a5d66c5b7f32d4b1d7247ee573a7e31ffe6e39af025b9ec22a53974
|
|
|
19692
19736
|
parameter_mapping: typing.Optional[ParameterMapping] = None,
|
|
19693
19737
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
19694
19738
|
subtype: typing.Optional[HttpIntegrationSubtype] = None,
|
|
19739
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
19695
19740
|
uri: typing.Optional[builtins.str] = None,
|
|
19696
19741
|
) -> None:
|
|
19697
19742
|
"""Type checking stubs"""
|
|
@@ -20482,6 +20527,7 @@ def _typecheckingstub__d19be0a597e0cdbd39568aa6832089127bfe4497b2bb7caf9bf941856
|
|
|
20482
20527
|
parameter_mapping: typing.Optional[ParameterMapping] = None,
|
|
20483
20528
|
payload_format_version: typing.Optional[PayloadFormatVersion] = None,
|
|
20484
20529
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
20530
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
20485
20531
|
) -> None:
|
|
20486
20532
|
"""Type checking stubs"""
|
|
20487
20533
|
pass
|