Package software.amazon.cloudformation
Class LambdaWrapper<ResourceT,CallbackT,ConfigurationT>
java.lang.Object
software.amazon.cloudformation.AbstractWrapper<ResourceT,CallbackT,ConfigurationT>
software.amazon.cloudformation.LambdaWrapper<ResourceT,CallbackT,ConfigurationT>
- All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.RequestStreamHandler
public abstract class LambdaWrapper<ResourceT,CallbackT,ConfigurationT>
extends AbstractWrapper<ResourceT,CallbackT,ConfigurationT>
implements com.amazonaws.services.lambda.runtime.RequestStreamHandler
-
Field Summary
Fields inherited from class software.amazon.cloudformation.AbstractWrapper
HTTP_CLIENT -
Constructor Summary
ConstructorsConstructorDescriptionLambdaWrapper(CredentialsProvider providerCredentialsProvider, LogPublisher platformEventsLogger, CloudWatchLogPublisher providerEventsLogger, MetricsPublisher providerMetricsPublisher, software.amazon.cloudformation.resource.SchemaValidator validator, Serializer serializer, software.amazon.awssdk.http.SdkHttpClient httpClient) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(InputStream inputStream, OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context) Methods inherited from class software.amazon.cloudformation.AbstractWrapper
invokeHandler, processRequest
-
Constructor Details
-
LambdaWrapper
public LambdaWrapper() -
LambdaWrapper
public LambdaWrapper(CredentialsProvider providerCredentialsProvider, LogPublisher platformEventsLogger, CloudWatchLogPublisher providerEventsLogger, MetricsPublisher providerMetricsPublisher, software.amazon.cloudformation.resource.SchemaValidator validator, Serializer serializer, software.amazon.awssdk.http.SdkHttpClient httpClient)
-
-
Method Details
-
handleRequest
public void handleRequest(InputStream inputStream, OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context) throws IOException, TerminalException - Specified by:
handleRequestin interfacecom.amazonaws.services.lambda.runtime.RequestStreamHandler- Throws:
IOExceptionTerminalException
-