Method: Aws::APIGateway::Types::Integration#type
- Defined in:
- lib/aws-sdk-apigateway/types.rb
#type ⇒ String
Specifies an API method integration type. The valid value is one of the following:
-
‘AWS`: for integrating the API method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration.
-
‘AWS_PROXY`: for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration.
-
‘HTTP`: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration.
-
‘HTTP_PROXY`: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration.
-
‘MOCK`: for integrating the API method request with API Gateway as a “loop-back” endpoint without invoking any backend.
For the HTTP and HTTP proxy integrations, each integration can specify a protocol (‘http/https`), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a `connectionType` of `VPC_LINK` is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.
4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4864 class Integration < Struct.new( :type, :http_method, :uri, :connection_type, :connection_id, :credentials, :request_parameters, :request_templates, :passthrough_behavior, :content_handling, :timeout_in_millis, :cache_namespace, :cache_key_parameters, :integration_responses, :tls_config) SENSITIVE = [] include Aws::Structure end |