Bases: object
http_method (Optional
[str
]) â HTTP method to use when invoking the backend URL. Default: GET
options (Union
[IntegrationOptions
, Dict
[str
, Any
], None
]) â Integration options, such as request/resopnse mapping, content handling, etc. Default: defaults based on IntegrationOptions
defaults
proxy (Optional
[bool
]) â Determines whether to use proxy integration or custom integration. Default: true
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_apigateway as apigateway import aws_cdk.aws_iam as iam import aws_cdk.core as cdk # role: iam.Role # vpc_link: apigateway.VpcLink http_integration_props = apigateway.HttpIntegrationProps( http_method="httpMethod", options=apigateway.IntegrationOptions( cache_key_parameters=["cacheKeyParameters"], cache_namespace="cacheNamespace", connection_type=apigateway.ConnectionType.INTERNET, content_handling=apigateway.ContentHandling.CONVERT_TO_BINARY, credentials_passthrough=False, credentials_role=role, integration_responses=[apigateway.IntegrationResponse( status_code="statusCode", # the properties below are optional content_handling=apigateway.ContentHandling.CONVERT_TO_BINARY, response_parameters={ "response_parameters_key": "responseParameters" }, response_templates={ "response_templates_key": "responseTemplates" }, selection_pattern="selectionPattern" )], passthrough_behavior=apigateway.PassthroughBehavior.WHEN_NO_MATCH, request_parameters={ "request_parameters_key": "requestParameters" }, request_templates={ "request_templates_key": "requestTemplates" }, timeout=cdk.Duration.minutes(30), vpc_link=vpc_link ), proxy=False )
Attributes
HTTP method to use when invoking the backend URL.
GET
Integration options, such as request/resopnse mapping, content handling, etc.
defaults based on IntegrationOptions
defaults
Determines whether to use proxy integration or custom integration.
true
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4