Interface HttpIntegrationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpIntegrationProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apigatewayv2.*; HttpApi httpApi; IntegrationCredentials integrationCredentials; ParameterMapping parameterMapping; PayloadFormatVersion payloadFormatVersion; HttpIntegrationProps httpIntegrationProps = HttpIntegrationProps.builder() .httpApi(httpApi) .integrationType(HttpIntegrationType.HTTP_PROXY) // the properties below are optional .connectionId("connectionId") .connectionType(HttpConnectionType.VPC_LINK) .credentials(integrationCredentials) .integrationSubtype(HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS) .integrationUri("integrationUri") .method(HttpMethod.ANY) .parameterMapping(parameterMapping) .payloadFormatVersion(payloadFormatVersion) .secureServerName("secureServerName") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpIntegrationProps
static final class
An implementation forHttpIntegrationProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpIntegrationProps.Builder
builder()
default String
(experimental) The ID of the VPC link for a private integration.default HttpConnectionType
(experimental) The type of the network connection to the integration endpoint.default IntegrationCredentials
(experimental) The credentials with which to invoke the integration.(experimental) The HTTP API to which this integration should be bound.default HttpIntegrationSubtype
(experimental) Integration subtype.(experimental) Integration type.default String
(experimental) Integration URI.default HttpMethod
(experimental) The HTTP method to use when calling the underlying HTTP proxy.default ParameterMapping
(experimental) Specifies how to transform HTTP requests before sending them to the backend.default PayloadFormatVersion
(experimental) The version of the payload format.default String
(experimental) Specifies the TLS configuration for a private integration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpApi
(experimental) The HTTP API to which this integration should be bound. -
getIntegrationType
(experimental) Integration type. -
getConnectionId
(experimental) The ID of the VPC link for a private integration.Supported only for HTTP APIs.
Default: - undefined
-
getConnectionType
(experimental) The type of the network connection to the integration endpoint.Default: HttpConnectionType.INTERNET
-
getCredentials
(experimental) The credentials with which to invoke the integration.Default: - no credentials, use resource-based permissions on supported AWS services
-
getIntegrationSubtype
(experimental) Integration subtype.Used for AWS Service integrations, specifies the target of the integration.
Default: - none, required if no `integrationUri` is defined.
-
getIntegrationUri
(experimental) Integration URI.This will be the function ARN in the case of
HttpIntegrationType.AWS_PROXY
, or HTTP URL in the case ofHttpIntegrationType.HTTP_PROXY
.Default: - none, required if no `integrationSubtype` is defined.
-
getMethod
(experimental) The HTTP method to use when calling the underlying HTTP proxy.Default: - none. required if the integration type is `HttpIntegrationType.HTTP_PROXY`.
-
getParameterMapping
(experimental) Specifies how to transform HTTP requests before sending them to the backend.Default: undefined requests are sent to the backend unmodified
- See Also:
-
getPayloadFormatVersion
(experimental) The version of the payload format.Default: - defaults to latest in the case of HttpIntegrationType.AWS_PROXY`, irrelevant otherwise.
- See Also:
-
getSecureServerName
(experimental) Specifies the TLS configuration for a private integration.Default: undefined private integration traffic will use HTTP protocol
- See Also:
-
builder
- Returns:
- a
HttpIntegrationProps.Builder
ofHttpIntegrationProps
-