Bases: object
Result of binding an Integration to a Method.
type (IntegrationType
) â Specifies an API method integration type.
deployment_token (Optional
[str
]) â This value is included in computing the Deploymentâs fingerprint. When the fingerprint changes, a new deployment is triggered. This property should contain values associated with the Integration that upon changing should trigger a fresh the Deployment needs to be refreshed. Default: undefined deployments are not triggered for any change to this integration.
integration_http_method (Optional
[str
]) â The integrationâs HTTP method type. Default: - no integration method specified.
options (Union
[IntegrationOptions
, Dict
[str
, Any
], None
]) â Integration options. Default: - no integration options
uri (Optional
[str
]) â The Uniform Resource Identifier (URI) for the integration. Default: - no URI. Usually applies to MOCK integration
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 integration_config = apigateway.IntegrationConfig( type=apigateway.IntegrationType.AWS, # the properties below are optional deployment_token="deploymentToken", integration_http_method="integrationHttpMethod", 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 ), uri="uri" )
Attributes
This value is included in computing the Deploymentâs fingerprint.
When the fingerprint changes, a new deployment is triggered. This property should contain values associated with the Integration that upon changing should trigger a fresh the Deployment needs to be refreshed.
undefined deployments are not triggered for any change to this integration.
The integrationâs HTTP method type.
no integration method specified.
Integration options.
no integration options
Specifies an API method integration type.
The Uniform Resource Identifier (URI) for the integration.
no URI. Usually applies to MOCK integration
https://docs.aws.amazon.com/apigateway/api-reference/resource/integration/#uri
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