aws-cdk-lib 2.145.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 +12 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.145.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_appsync/__init__.py +62 -0
- aws_cdk/aws_auditmanager/__init__.py +5 -1
- aws_cdk/aws_autoscaling/__init__.py +457 -56
- 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 +85 -32
- aws_cdk/aws_codepipeline/__init__.py +10 -5
- aws_cdk/aws_connect/__init__.py +86 -0
- 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 +123 -12
- aws_cdk/aws_eks/__init__.py +1335 -50
- 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_iam/__init__.py +13 -8
- 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 +11 -4
- aws_cdk/aws_opsworks/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +33 -4
- aws_cdk/aws_pipes/__init__.py +691 -0
- aws_cdk/aws_quicksight/__init__.py +23 -21
- aws_cdk/aws_rds/__init__.py +55 -11
- aws_cdk/aws_refactorspaces/__init__.py +3 -3
- aws_cdk/aws_rolesanywhere/__init__.py +206 -3
- 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 +67 -13
- aws_cdk/aws_sqs/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +51 -28
- aws_cdk/aws_stepfunctions_tasks/__init__.py +59 -5
- 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/region_info/__init__.py +6 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/NOTICE +0 -35
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/RECORD +71 -70
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/top_level.txt +0 -0
|
@@ -427,6 +427,7 @@ class HttpAlbIntegration(
|
|
|
427
427
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
428
428
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
429
429
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
430
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
430
431
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
431
432
|
) -> None:
|
|
432
433
|
'''
|
|
@@ -435,6 +436,7 @@ class HttpAlbIntegration(
|
|
|
435
436
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
436
437
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
437
438
|
: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
|
|
439
|
+
: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)
|
|
438
440
|
:param vpc_link: The vpc link to be used for the private integration. Default: - a new VpcLink is created
|
|
439
441
|
'''
|
|
440
442
|
if __debug__:
|
|
@@ -445,6 +447,7 @@ class HttpAlbIntegration(
|
|
|
445
447
|
method=method,
|
|
446
448
|
parameter_mapping=parameter_mapping,
|
|
447
449
|
secure_server_name=secure_server_name,
|
|
450
|
+
timeout=timeout,
|
|
448
451
|
vpc_link=vpc_link,
|
|
449
452
|
)
|
|
450
453
|
|
|
@@ -548,12 +551,14 @@ class HttpLambdaIntegration(
|
|
|
548
551
|
*,
|
|
549
552
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
550
553
|
payload_format_version: typing.Optional[_PayloadFormatVersion_a469cb03] = None,
|
|
554
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
551
555
|
) -> None:
|
|
552
556
|
'''
|
|
553
557
|
:param id: id of the underlying integration construct.
|
|
554
558
|
:param handler: the Lambda handler to integrate with.
|
|
555
559
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
556
560
|
:param payload_format_version: Version of the payload sent to the lambda handler. Default: PayloadFormatVersion.VERSION_2_0
|
|
561
|
+
: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)
|
|
557
562
|
'''
|
|
558
563
|
if __debug__:
|
|
559
564
|
type_hints = typing.get_type_hints(_typecheckingstub__186fcdf4e12ad29dbad06f4ae566e815dd0e4855b4b9ffd6626f945f2a4aee19)
|
|
@@ -562,6 +567,7 @@ class HttpLambdaIntegration(
|
|
|
562
567
|
props = HttpLambdaIntegrationProps(
|
|
563
568
|
parameter_mapping=parameter_mapping,
|
|
564
569
|
payload_format_version=payload_format_version,
|
|
570
|
+
timeout=timeout,
|
|
565
571
|
)
|
|
566
572
|
|
|
567
573
|
jsii.create(self.__class__, self, [id, handler, props])
|
|
@@ -612,6 +618,7 @@ class HttpLambdaIntegration(
|
|
|
612
618
|
name_mapping={
|
|
613
619
|
"parameter_mapping": "parameterMapping",
|
|
614
620
|
"payload_format_version": "payloadFormatVersion",
|
|
621
|
+
"timeout": "timeout",
|
|
615
622
|
},
|
|
616
623
|
)
|
|
617
624
|
class HttpLambdaIntegrationProps:
|
|
@@ -620,11 +627,13 @@ class HttpLambdaIntegrationProps:
|
|
|
620
627
|
*,
|
|
621
628
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
622
629
|
payload_format_version: typing.Optional[_PayloadFormatVersion_a469cb03] = None,
|
|
630
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
623
631
|
) -> None:
|
|
624
632
|
'''Lambda Proxy integration properties.
|
|
625
633
|
|
|
626
634
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
627
635
|
:param payload_format_version: Version of the payload sent to the lambda handler. Default: PayloadFormatVersion.VERSION_2_0
|
|
636
|
+
: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)
|
|
628
637
|
|
|
629
638
|
:exampleMetadata: fixture=_generated
|
|
630
639
|
|
|
@@ -632,6 +641,7 @@ class HttpLambdaIntegrationProps:
|
|
|
632
641
|
|
|
633
642
|
# The code below shows an example of how to instantiate this type.
|
|
634
643
|
# The values are placeholders you should change.
|
|
644
|
+
import aws_cdk as cdk
|
|
635
645
|
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
636
646
|
from aws_cdk import aws_apigatewayv2_integrations as apigatewayv2_integrations
|
|
637
647
|
|
|
@@ -640,18 +650,22 @@ class HttpLambdaIntegrationProps:
|
|
|
640
650
|
|
|
641
651
|
http_lambda_integration_props = apigatewayv2_integrations.HttpLambdaIntegrationProps(
|
|
642
652
|
parameter_mapping=parameter_mapping,
|
|
643
|
-
payload_format_version=payload_format_version
|
|
653
|
+
payload_format_version=payload_format_version,
|
|
654
|
+
timeout=cdk.Duration.minutes(30)
|
|
644
655
|
)
|
|
645
656
|
'''
|
|
646
657
|
if __debug__:
|
|
647
658
|
type_hints = typing.get_type_hints(_typecheckingstub__7494501e4bf220385c831472b8042a561df79a565c497e77d41cfc10427bce41)
|
|
648
659
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
649
660
|
check_type(argname="argument payload_format_version", value=payload_format_version, expected_type=type_hints["payload_format_version"])
|
|
661
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
650
662
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
651
663
|
if parameter_mapping is not None:
|
|
652
664
|
self._values["parameter_mapping"] = parameter_mapping
|
|
653
665
|
if payload_format_version is not None:
|
|
654
666
|
self._values["payload_format_version"] = payload_format_version
|
|
667
|
+
if timeout is not None:
|
|
668
|
+
self._values["timeout"] = timeout
|
|
655
669
|
|
|
656
670
|
@builtins.property
|
|
657
671
|
def parameter_mapping(self) -> typing.Optional[_ParameterMapping_c11a48e0]:
|
|
@@ -675,6 +689,17 @@ class HttpLambdaIntegrationProps:
|
|
|
675
689
|
result = self._values.get("payload_format_version")
|
|
676
690
|
return typing.cast(typing.Optional[_PayloadFormatVersion_a469cb03], result)
|
|
677
691
|
|
|
692
|
+
@builtins.property
|
|
693
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
694
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
695
|
+
|
|
696
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
697
|
+
|
|
698
|
+
:default: Duration.seconds(29)
|
|
699
|
+
'''
|
|
700
|
+
result = self._values.get("timeout")
|
|
701
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
702
|
+
|
|
678
703
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
679
704
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
680
705
|
|
|
@@ -721,6 +746,7 @@ class HttpNlbIntegration(
|
|
|
721
746
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
722
747
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
723
748
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
749
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
724
750
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
725
751
|
) -> None:
|
|
726
752
|
'''
|
|
@@ -729,6 +755,7 @@ class HttpNlbIntegration(
|
|
|
729
755
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
730
756
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
731
757
|
: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
|
|
758
|
+
: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)
|
|
732
759
|
:param vpc_link: The vpc link to be used for the private integration. Default: - a new VpcLink is created
|
|
733
760
|
'''
|
|
734
761
|
if __debug__:
|
|
@@ -739,6 +766,7 @@ class HttpNlbIntegration(
|
|
|
739
766
|
method=method,
|
|
740
767
|
parameter_mapping=parameter_mapping,
|
|
741
768
|
secure_server_name=secure_server_name,
|
|
769
|
+
timeout=timeout,
|
|
742
770
|
vpc_link=vpc_link,
|
|
743
771
|
)
|
|
744
772
|
|
|
@@ -816,6 +844,7 @@ class HttpNlbIntegration(
|
|
|
816
844
|
"method": "method",
|
|
817
845
|
"parameter_mapping": "parameterMapping",
|
|
818
846
|
"secure_server_name": "secureServerName",
|
|
847
|
+
"timeout": "timeout",
|
|
819
848
|
"vpc_link": "vpcLink",
|
|
820
849
|
},
|
|
821
850
|
)
|
|
@@ -826,6 +855,7 @@ class HttpPrivateIntegrationOptions:
|
|
|
826
855
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
827
856
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
828
857
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
858
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
829
859
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
830
860
|
) -> None:
|
|
831
861
|
'''Base options for private integration.
|
|
@@ -833,6 +863,7 @@ class HttpPrivateIntegrationOptions:
|
|
|
833
863
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
834
864
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
835
865
|
: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
|
|
866
|
+
: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)
|
|
836
867
|
:param vpc_link: The vpc link to be used for the private integration. Default: - a new VpcLink is created
|
|
837
868
|
|
|
838
869
|
:exampleMetadata: fixture=_generated
|
|
@@ -841,6 +872,7 @@ class HttpPrivateIntegrationOptions:
|
|
|
841
872
|
|
|
842
873
|
# The code below shows an example of how to instantiate this type.
|
|
843
874
|
# The values are placeholders you should change.
|
|
875
|
+
import aws_cdk as cdk
|
|
844
876
|
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
845
877
|
from aws_cdk import aws_apigatewayv2_integrations as apigatewayv2_integrations
|
|
846
878
|
|
|
@@ -851,6 +883,7 @@ class HttpPrivateIntegrationOptions:
|
|
|
851
883
|
method=apigatewayv2.HttpMethod.ANY,
|
|
852
884
|
parameter_mapping=parameter_mapping,
|
|
853
885
|
secure_server_name="secureServerName",
|
|
886
|
+
timeout=cdk.Duration.minutes(30),
|
|
854
887
|
vpc_link=vpc_link
|
|
855
888
|
)
|
|
856
889
|
'''
|
|
@@ -859,6 +892,7 @@ class HttpPrivateIntegrationOptions:
|
|
|
859
892
|
check_type(argname="argument method", value=method, expected_type=type_hints["method"])
|
|
860
893
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
861
894
|
check_type(argname="argument secure_server_name", value=secure_server_name, expected_type=type_hints["secure_server_name"])
|
|
895
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
862
896
|
check_type(argname="argument vpc_link", value=vpc_link, expected_type=type_hints["vpc_link"])
|
|
863
897
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
864
898
|
if method is not None:
|
|
@@ -867,6 +901,8 @@ class HttpPrivateIntegrationOptions:
|
|
|
867
901
|
self._values["parameter_mapping"] = parameter_mapping
|
|
868
902
|
if secure_server_name is not None:
|
|
869
903
|
self._values["secure_server_name"] = secure_server_name
|
|
904
|
+
if timeout is not None:
|
|
905
|
+
self._values["timeout"] = timeout
|
|
870
906
|
if vpc_link is not None:
|
|
871
907
|
self._values["vpc_link"] = vpc_link
|
|
872
908
|
|
|
@@ -901,6 +937,17 @@ class HttpPrivateIntegrationOptions:
|
|
|
901
937
|
result = self._values.get("secure_server_name")
|
|
902
938
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
903
939
|
|
|
940
|
+
@builtins.property
|
|
941
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
942
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
943
|
+
|
|
944
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
945
|
+
|
|
946
|
+
:default: Duration.seconds(29)
|
|
947
|
+
'''
|
|
948
|
+
result = self._values.get("timeout")
|
|
949
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
950
|
+
|
|
904
951
|
@builtins.property
|
|
905
952
|
def vpc_link(self) -> typing.Optional[_IVpcLink_adecf0e2]:
|
|
906
953
|
'''The vpc link to be used for the private integration.
|
|
@@ -960,6 +1007,7 @@ class HttpServiceDiscoveryIntegration(
|
|
|
960
1007
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
961
1008
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
962
1009
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
1010
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
963
1011
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
964
1012
|
) -> None:
|
|
965
1013
|
'''
|
|
@@ -968,6 +1016,7 @@ class HttpServiceDiscoveryIntegration(
|
|
|
968
1016
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
969
1017
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
970
1018
|
: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
|
|
1019
|
+
: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)
|
|
971
1020
|
:param vpc_link: The vpc link to be used for the private integration. Default: - a new VpcLink is created
|
|
972
1021
|
'''
|
|
973
1022
|
if __debug__:
|
|
@@ -978,6 +1027,7 @@ class HttpServiceDiscoveryIntegration(
|
|
|
978
1027
|
method=method,
|
|
979
1028
|
parameter_mapping=parameter_mapping,
|
|
980
1029
|
secure_server_name=secure_server_name,
|
|
1030
|
+
timeout=timeout,
|
|
981
1031
|
vpc_link=vpc_link,
|
|
982
1032
|
)
|
|
983
1033
|
|
|
@@ -1055,6 +1105,7 @@ class HttpServiceDiscoveryIntegration(
|
|
|
1055
1105
|
"method": "method",
|
|
1056
1106
|
"parameter_mapping": "parameterMapping",
|
|
1057
1107
|
"secure_server_name": "secureServerName",
|
|
1108
|
+
"timeout": "timeout",
|
|
1058
1109
|
"vpc_link": "vpcLink",
|
|
1059
1110
|
},
|
|
1060
1111
|
)
|
|
@@ -1065,6 +1116,7 @@ class HttpServiceDiscoveryIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
1065
1116
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
1066
1117
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
1067
1118
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
1119
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1068
1120
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
1069
1121
|
) -> None:
|
|
1070
1122
|
'''Properties to initialize ``HttpServiceDiscoveryIntegration``.
|
|
@@ -1072,6 +1124,7 @@ class HttpServiceDiscoveryIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
1072
1124
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
1073
1125
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
1074
1126
|
: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
|
|
1127
|
+
: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)
|
|
1075
1128
|
:param vpc_link: The vpc link to be used for the private integration. Default: - a new VpcLink is created
|
|
1076
1129
|
|
|
1077
1130
|
:exampleMetadata: infused
|
|
@@ -1101,6 +1154,7 @@ class HttpServiceDiscoveryIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
1101
1154
|
check_type(argname="argument method", value=method, expected_type=type_hints["method"])
|
|
1102
1155
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
1103
1156
|
check_type(argname="argument secure_server_name", value=secure_server_name, expected_type=type_hints["secure_server_name"])
|
|
1157
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
1104
1158
|
check_type(argname="argument vpc_link", value=vpc_link, expected_type=type_hints["vpc_link"])
|
|
1105
1159
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1106
1160
|
if method is not None:
|
|
@@ -1109,6 +1163,8 @@ class HttpServiceDiscoveryIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
1109
1163
|
self._values["parameter_mapping"] = parameter_mapping
|
|
1110
1164
|
if secure_server_name is not None:
|
|
1111
1165
|
self._values["secure_server_name"] = secure_server_name
|
|
1166
|
+
if timeout is not None:
|
|
1167
|
+
self._values["timeout"] = timeout
|
|
1112
1168
|
if vpc_link is not None:
|
|
1113
1169
|
self._values["vpc_link"] = vpc_link
|
|
1114
1170
|
|
|
@@ -1143,6 +1199,17 @@ class HttpServiceDiscoveryIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
1143
1199
|
result = self._values.get("secure_server_name")
|
|
1144
1200
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1145
1201
|
|
|
1202
|
+
@builtins.property
|
|
1203
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
1204
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
1205
|
+
|
|
1206
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
1207
|
+
|
|
1208
|
+
:default: Duration.seconds(29)
|
|
1209
|
+
'''
|
|
1210
|
+
result = self._values.get("timeout")
|
|
1211
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
1212
|
+
|
|
1146
1213
|
@builtins.property
|
|
1147
1214
|
def vpc_link(self) -> typing.Optional[_IVpcLink_adecf0e2]:
|
|
1148
1215
|
'''The vpc link to be used for the private integration.
|
|
@@ -1413,19 +1480,21 @@ class HttpUrlIntegration(
|
|
|
1413
1480
|
*,
|
|
1414
1481
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
1415
1482
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
1483
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1416
1484
|
) -> None:
|
|
1417
1485
|
'''
|
|
1418
1486
|
:param id: id of the underlying integration construct.
|
|
1419
1487
|
:param url: the URL to proxy to.
|
|
1420
1488
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
1421
1489
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
1490
|
+
: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)
|
|
1422
1491
|
'''
|
|
1423
1492
|
if __debug__:
|
|
1424
1493
|
type_hints = typing.get_type_hints(_typecheckingstub__39ce64d79e6c4249c8c60321022b7721149966e379b0f947f602cb248aee9bce)
|
|
1425
1494
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1426
1495
|
check_type(argname="argument url", value=url, expected_type=type_hints["url"])
|
|
1427
1496
|
props = HttpUrlIntegrationProps(
|
|
1428
|
-
method=method, parameter_mapping=parameter_mapping
|
|
1497
|
+
method=method, parameter_mapping=parameter_mapping, timeout=timeout
|
|
1429
1498
|
)
|
|
1430
1499
|
|
|
1431
1500
|
jsii.create(self.__class__, self, [id, url, props])
|
|
@@ -1450,7 +1519,11 @@ class HttpUrlIntegration(
|
|
|
1450
1519
|
@jsii.data_type(
|
|
1451
1520
|
jsii_type="aws-cdk-lib.aws_apigatewayv2_integrations.HttpUrlIntegrationProps",
|
|
1452
1521
|
jsii_struct_bases=[],
|
|
1453
|
-
name_mapping={
|
|
1522
|
+
name_mapping={
|
|
1523
|
+
"method": "method",
|
|
1524
|
+
"parameter_mapping": "parameterMapping",
|
|
1525
|
+
"timeout": "timeout",
|
|
1526
|
+
},
|
|
1454
1527
|
)
|
|
1455
1528
|
class HttpUrlIntegrationProps:
|
|
1456
1529
|
def __init__(
|
|
@@ -1458,11 +1531,13 @@ class HttpUrlIntegrationProps:
|
|
|
1458
1531
|
*,
|
|
1459
1532
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
1460
1533
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
1534
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1461
1535
|
) -> None:
|
|
1462
1536
|
'''Properties to initialize a new ``HttpProxyIntegration``.
|
|
1463
1537
|
|
|
1464
1538
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
1465
1539
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
1540
|
+
: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)
|
|
1466
1541
|
|
|
1467
1542
|
:exampleMetadata: fixture=_generated
|
|
1468
1543
|
|
|
@@ -1470,6 +1545,7 @@ class HttpUrlIntegrationProps:
|
|
|
1470
1545
|
|
|
1471
1546
|
# The code below shows an example of how to instantiate this type.
|
|
1472
1547
|
# The values are placeholders you should change.
|
|
1548
|
+
import aws_cdk as cdk
|
|
1473
1549
|
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
1474
1550
|
from aws_cdk import aws_apigatewayv2_integrations as apigatewayv2_integrations
|
|
1475
1551
|
|
|
@@ -1477,18 +1553,22 @@ class HttpUrlIntegrationProps:
|
|
|
1477
1553
|
|
|
1478
1554
|
http_url_integration_props = apigatewayv2_integrations.HttpUrlIntegrationProps(
|
|
1479
1555
|
method=apigatewayv2.HttpMethod.ANY,
|
|
1480
|
-
parameter_mapping=parameter_mapping
|
|
1556
|
+
parameter_mapping=parameter_mapping,
|
|
1557
|
+
timeout=cdk.Duration.minutes(30)
|
|
1481
1558
|
)
|
|
1482
1559
|
'''
|
|
1483
1560
|
if __debug__:
|
|
1484
1561
|
type_hints = typing.get_type_hints(_typecheckingstub__abe29aa89dc1da944745a812d1d5e87dd81ab57867504a928a129c8b904c99da)
|
|
1485
1562
|
check_type(argname="argument method", value=method, expected_type=type_hints["method"])
|
|
1486
1563
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
1564
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
1487
1565
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1488
1566
|
if method is not None:
|
|
1489
1567
|
self._values["method"] = method
|
|
1490
1568
|
if parameter_mapping is not None:
|
|
1491
1569
|
self._values["parameter_mapping"] = parameter_mapping
|
|
1570
|
+
if timeout is not None:
|
|
1571
|
+
self._values["timeout"] = timeout
|
|
1492
1572
|
|
|
1493
1573
|
@builtins.property
|
|
1494
1574
|
def method(self) -> typing.Optional[_HttpMethod_4c4f3090]:
|
|
@@ -1510,6 +1590,17 @@ class HttpUrlIntegrationProps:
|
|
|
1510
1590
|
result = self._values.get("parameter_mapping")
|
|
1511
1591
|
return typing.cast(typing.Optional[_ParameterMapping_c11a48e0], result)
|
|
1512
1592
|
|
|
1593
|
+
@builtins.property
|
|
1594
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
1595
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
1596
|
+
|
|
1597
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
1598
|
+
|
|
1599
|
+
:default: Duration.seconds(29)
|
|
1600
|
+
'''
|
|
1601
|
+
result = self._values.get("timeout")
|
|
1602
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
1603
|
+
|
|
1513
1604
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1514
1605
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1515
1606
|
|
|
@@ -2043,6 +2134,7 @@ class WebSocketMockIntegration(
|
|
|
2043
2134
|
"method": "method",
|
|
2044
2135
|
"parameter_mapping": "parameterMapping",
|
|
2045
2136
|
"secure_server_name": "secureServerName",
|
|
2137
|
+
"timeout": "timeout",
|
|
2046
2138
|
"vpc_link": "vpcLink",
|
|
2047
2139
|
},
|
|
2048
2140
|
)
|
|
@@ -2053,6 +2145,7 @@ class HttpAlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2053
2145
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2054
2146
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2055
2147
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2148
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2056
2149
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2057
2150
|
) -> None:
|
|
2058
2151
|
'''Properties to initialize ``HttpAlbIntegration``.
|
|
@@ -2060,6 +2153,7 @@ class HttpAlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2060
2153
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
2061
2154
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
2062
2155
|
: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
|
|
2156
|
+
: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)
|
|
2063
2157
|
:param vpc_link: The vpc link to be used for the private integration. Default: - a new VpcLink is created
|
|
2064
2158
|
|
|
2065
2159
|
:exampleMetadata: infused
|
|
@@ -2086,6 +2180,7 @@ class HttpAlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2086
2180
|
check_type(argname="argument method", value=method, expected_type=type_hints["method"])
|
|
2087
2181
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
2088
2182
|
check_type(argname="argument secure_server_name", value=secure_server_name, expected_type=type_hints["secure_server_name"])
|
|
2183
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
2089
2184
|
check_type(argname="argument vpc_link", value=vpc_link, expected_type=type_hints["vpc_link"])
|
|
2090
2185
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2091
2186
|
if method is not None:
|
|
@@ -2094,6 +2189,8 @@ class HttpAlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2094
2189
|
self._values["parameter_mapping"] = parameter_mapping
|
|
2095
2190
|
if secure_server_name is not None:
|
|
2096
2191
|
self._values["secure_server_name"] = secure_server_name
|
|
2192
|
+
if timeout is not None:
|
|
2193
|
+
self._values["timeout"] = timeout
|
|
2097
2194
|
if vpc_link is not None:
|
|
2098
2195
|
self._values["vpc_link"] = vpc_link
|
|
2099
2196
|
|
|
@@ -2128,6 +2225,17 @@ class HttpAlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2128
2225
|
result = self._values.get("secure_server_name")
|
|
2129
2226
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2130
2227
|
|
|
2228
|
+
@builtins.property
|
|
2229
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
2230
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
2231
|
+
|
|
2232
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
2233
|
+
|
|
2234
|
+
:default: Duration.seconds(29)
|
|
2235
|
+
'''
|
|
2236
|
+
result = self._values.get("timeout")
|
|
2237
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
2238
|
+
|
|
2131
2239
|
@builtins.property
|
|
2132
2240
|
def vpc_link(self) -> typing.Optional[_IVpcLink_adecf0e2]:
|
|
2133
2241
|
'''The vpc link to be used for the private integration.
|
|
@@ -2156,6 +2264,7 @@ class HttpAlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2156
2264
|
"method": "method",
|
|
2157
2265
|
"parameter_mapping": "parameterMapping",
|
|
2158
2266
|
"secure_server_name": "secureServerName",
|
|
2267
|
+
"timeout": "timeout",
|
|
2159
2268
|
"vpc_link": "vpcLink",
|
|
2160
2269
|
},
|
|
2161
2270
|
)
|
|
@@ -2166,6 +2275,7 @@ class HttpNlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2166
2275
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2167
2276
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2168
2277
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2278
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2169
2279
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2170
2280
|
) -> None:
|
|
2171
2281
|
'''Properties to initialize ``HttpNlbIntegration``.
|
|
@@ -2173,6 +2283,7 @@ class HttpNlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2173
2283
|
:param method: The HTTP method that must be used to invoke the underlying HTTP proxy. Default: HttpMethod.ANY
|
|
2174
2284
|
:param parameter_mapping: Specifies how to transform HTTP requests before sending them to the backend. Default: undefined requests are sent to the backend unmodified
|
|
2175
2285
|
: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
|
|
2286
|
+
: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)
|
|
2176
2287
|
:param vpc_link: The vpc link to be used for the private integration. Default: - a new VpcLink is created
|
|
2177
2288
|
|
|
2178
2289
|
:exampleMetadata: fixture=_generated
|
|
@@ -2181,6 +2292,7 @@ class HttpNlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2181
2292
|
|
|
2182
2293
|
# The code below shows an example of how to instantiate this type.
|
|
2183
2294
|
# The values are placeholders you should change.
|
|
2295
|
+
import aws_cdk as cdk
|
|
2184
2296
|
from aws_cdk import aws_apigatewayv2 as apigatewayv2
|
|
2185
2297
|
from aws_cdk import aws_apigatewayv2_integrations as apigatewayv2_integrations
|
|
2186
2298
|
|
|
@@ -2191,6 +2303,7 @@ class HttpNlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2191
2303
|
method=apigatewayv2.HttpMethod.ANY,
|
|
2192
2304
|
parameter_mapping=parameter_mapping,
|
|
2193
2305
|
secure_server_name="secureServerName",
|
|
2306
|
+
timeout=cdk.Duration.minutes(30),
|
|
2194
2307
|
vpc_link=vpc_link
|
|
2195
2308
|
)
|
|
2196
2309
|
'''
|
|
@@ -2199,6 +2312,7 @@ class HttpNlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2199
2312
|
check_type(argname="argument method", value=method, expected_type=type_hints["method"])
|
|
2200
2313
|
check_type(argname="argument parameter_mapping", value=parameter_mapping, expected_type=type_hints["parameter_mapping"])
|
|
2201
2314
|
check_type(argname="argument secure_server_name", value=secure_server_name, expected_type=type_hints["secure_server_name"])
|
|
2315
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
2202
2316
|
check_type(argname="argument vpc_link", value=vpc_link, expected_type=type_hints["vpc_link"])
|
|
2203
2317
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2204
2318
|
if method is not None:
|
|
@@ -2207,6 +2321,8 @@ class HttpNlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2207
2321
|
self._values["parameter_mapping"] = parameter_mapping
|
|
2208
2322
|
if secure_server_name is not None:
|
|
2209
2323
|
self._values["secure_server_name"] = secure_server_name
|
|
2324
|
+
if timeout is not None:
|
|
2325
|
+
self._values["timeout"] = timeout
|
|
2210
2326
|
if vpc_link is not None:
|
|
2211
2327
|
self._values["vpc_link"] = vpc_link
|
|
2212
2328
|
|
|
@@ -2241,6 +2357,17 @@ class HttpNlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
2241
2357
|
result = self._values.get("secure_server_name")
|
|
2242
2358
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2243
2359
|
|
|
2360
|
+
@builtins.property
|
|
2361
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
2362
|
+
'''The maximum amount of time an integration will run before it returns without a response.
|
|
2363
|
+
|
|
2364
|
+
Must be between 50 milliseconds and 29 seconds.
|
|
2365
|
+
|
|
2366
|
+
:default: Duration.seconds(29)
|
|
2367
|
+
'''
|
|
2368
|
+
result = self._values.get("timeout")
|
|
2369
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
2370
|
+
|
|
2244
2371
|
@builtins.property
|
|
2245
2372
|
def vpc_link(self) -> typing.Optional[_IVpcLink_adecf0e2]:
|
|
2246
2373
|
'''The vpc link to be used for the private integration.
|
|
@@ -2292,6 +2419,7 @@ def _typecheckingstub__928f282b08310c18e1704595722c48f29856eea7d0afc8e0dd89d67e6
|
|
|
2292
2419
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2293
2420
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2294
2421
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2422
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2295
2423
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2296
2424
|
) -> None:
|
|
2297
2425
|
"""Type checking stubs"""
|
|
@@ -2327,6 +2455,7 @@ def _typecheckingstub__186fcdf4e12ad29dbad06f4ae566e815dd0e4855b4b9ffd6626f945f2
|
|
|
2327
2455
|
*,
|
|
2328
2456
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2329
2457
|
payload_format_version: typing.Optional[_PayloadFormatVersion_a469cb03] = None,
|
|
2458
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2330
2459
|
) -> None:
|
|
2331
2460
|
"""Type checking stubs"""
|
|
2332
2461
|
pass
|
|
@@ -2335,6 +2464,7 @@ def _typecheckingstub__7494501e4bf220385c831472b8042a561df79a565c497e77d41cfc104
|
|
|
2335
2464
|
*,
|
|
2336
2465
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2337
2466
|
payload_format_version: typing.Optional[_PayloadFormatVersion_a469cb03] = None,
|
|
2467
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2338
2468
|
) -> None:
|
|
2339
2469
|
"""Type checking stubs"""
|
|
2340
2470
|
pass
|
|
@@ -2346,6 +2476,7 @@ def _typecheckingstub__543e48e97b53816262605885854d56b7f2c624e9fe59f7e60eadcde80
|
|
|
2346
2476
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2347
2477
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2348
2478
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2479
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2349
2480
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2350
2481
|
) -> None:
|
|
2351
2482
|
"""Type checking stubs"""
|
|
@@ -2380,6 +2511,7 @@ def _typecheckingstub__d60e74e57400fa0f9757a69ecb53197543ad6fd054f8168eaa56d7cd0
|
|
|
2380
2511
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2381
2512
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2382
2513
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2514
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2383
2515
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2384
2516
|
) -> None:
|
|
2385
2517
|
"""Type checking stubs"""
|
|
@@ -2392,6 +2524,7 @@ def _typecheckingstub__dc876ae5ee3ca1141486563e7214d682fb6d2e3b3b1ab6b4f91e525d7
|
|
|
2392
2524
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2393
2525
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2394
2526
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2527
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2395
2528
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2396
2529
|
) -> None:
|
|
2397
2530
|
"""Type checking stubs"""
|
|
@@ -2426,6 +2559,7 @@ def _typecheckingstub__8bbb857ee24522818d504a3830c65b95bbc66b9ef70c67fa5b85fbdca
|
|
|
2426
2559
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2427
2560
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2428
2561
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2562
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2429
2563
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2430
2564
|
) -> None:
|
|
2431
2565
|
"""Type checking stubs"""
|
|
@@ -2456,6 +2590,7 @@ def _typecheckingstub__39ce64d79e6c4249c8c60321022b7721149966e379b0f947f602cb248
|
|
|
2456
2590
|
*,
|
|
2457
2591
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2458
2592
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2593
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2459
2594
|
) -> None:
|
|
2460
2595
|
"""Type checking stubs"""
|
|
2461
2596
|
pass
|
|
@@ -2464,6 +2599,7 @@ def _typecheckingstub__abe29aa89dc1da944745a812d1d5e87dd81ab57867504a928a129c8b9
|
|
|
2464
2599
|
*,
|
|
2465
2600
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2466
2601
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2602
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2467
2603
|
) -> None:
|
|
2468
2604
|
"""Type checking stubs"""
|
|
2469
2605
|
pass
|
|
@@ -2528,6 +2664,7 @@ def _typecheckingstub__888094a9f19868567acc15fa299310b8ddeaefe11dd88694812981a0e
|
|
|
2528
2664
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2529
2665
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2530
2666
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2667
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2531
2668
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2532
2669
|
) -> None:
|
|
2533
2670
|
"""Type checking stubs"""
|
|
@@ -2538,6 +2675,7 @@ def _typecheckingstub__26b3884985e428aa291cb06dd5d372bf9b2520356516ccc3fd63c2d6f
|
|
|
2538
2675
|
method: typing.Optional[_HttpMethod_4c4f3090] = None,
|
|
2539
2676
|
parameter_mapping: typing.Optional[_ParameterMapping_c11a48e0] = None,
|
|
2540
2677
|
secure_server_name: typing.Optional[builtins.str] = None,
|
|
2678
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2541
2679
|
vpc_link: typing.Optional[_IVpcLink_adecf0e2] = None,
|
|
2542
2680
|
) -> None:
|
|
2543
2681
|
"""Type checking stubs"""
|
|
@@ -4366,7 +4366,7 @@ class CfnHostedConfigurationVersion(
|
|
|
4366
4366
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4367
4367
|
:param application_id: The application ID.
|
|
4368
4368
|
:param configuration_profile_id: The configuration profile ID.
|
|
4369
|
-
:param content: The
|
|
4369
|
+
:param content: The configuration data, as bytes. .. epigraph:: AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
|
|
4370
4370
|
:param content_type: A standard MIME type describing the format of the configuration content. For more information, see `Content-Type <https://docs.aws.amazon.com/https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17>`_ .
|
|
4371
4371
|
:param description: A description of the configuration.
|
|
4372
4372
|
:param latest_version_number: An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
|
|
@@ -4461,7 +4461,7 @@ class CfnHostedConfigurationVersion(
|
|
|
4461
4461
|
@builtins.property
|
|
4462
4462
|
@jsii.member(jsii_name="content")
|
|
4463
4463
|
def content(self) -> builtins.str:
|
|
4464
|
-
'''The
|
|
4464
|
+
'''The configuration data, as bytes.'''
|
|
4465
4465
|
return typing.cast(builtins.str, jsii.get(self, "content"))
|
|
4466
4466
|
|
|
4467
4467
|
@content.setter
|
|
@@ -4553,7 +4553,7 @@ class CfnHostedConfigurationVersionProps:
|
|
|
4553
4553
|
|
|
4554
4554
|
:param application_id: The application ID.
|
|
4555
4555
|
:param configuration_profile_id: The configuration profile ID.
|
|
4556
|
-
:param content: The
|
|
4556
|
+
:param content: The configuration data, as bytes. .. epigraph:: AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
|
|
4557
4557
|
:param content_type: A standard MIME type describing the format of the configuration content. For more information, see `Content-Type <https://docs.aws.amazon.com/https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17>`_ .
|
|
4558
4558
|
:param description: A description of the configuration.
|
|
4559
4559
|
:param latest_version_number: An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
|
|
@@ -4624,7 +4624,11 @@ class CfnHostedConfigurationVersionProps:
|
|
|
4624
4624
|
|
|
4625
4625
|
@builtins.property
|
|
4626
4626
|
def content(self) -> builtins.str:
|
|
4627
|
-
'''The
|
|
4627
|
+
'''The configuration data, as bytes.
|
|
4628
|
+
|
|
4629
|
+
.. epigraph::
|
|
4630
|
+
|
|
4631
|
+
AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
|
|
4628
4632
|
|
|
4629
4633
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-content
|
|
4630
4634
|
'''
|