| Modifier and Type | Method and Description |
|---|---|
Response |
Response.Builder.build()
Builds a Response object for the value.
|
protected abstract Response |
AbstractCustomResourceHandler.create(com.amazonaws.services.lambda.runtime.events.CloudFormationCustomResourceEvent event,
com.amazonaws.services.lambda.runtime.Context context)
Returns the response object to send to the custom CloudFormation resource upon its creation.
|
protected abstract Response |
AbstractCustomResourceHandler.delete(com.amazonaws.services.lambda.runtime.events.CloudFormationCustomResourceEvent event,
com.amazonaws.services.lambda.runtime.Context context)
Returns the response object to send to the custom CloudFormation resource upon its deletion.
|
static Response |
Response.failed()
Creates an empty, failed Response.
|
Response |
AbstractCustomResourceHandler.handleRequest(com.amazonaws.services.lambda.runtime.events.CloudFormationCustomResourceEvent event,
com.amazonaws.services.lambda.runtime.Context context)
Generates the appropriate response object based on the event type and sends it as a response to the custom
cloud formation resource using the URL provided within the event.
|
static Response |
Response.success()
Creates an empty, successful Response.
|
protected abstract Response |
AbstractCustomResourceHandler.update(com.amazonaws.services.lambda.runtime.events.CloudFormationCustomResourceEvent event,
com.amazonaws.services.lambda.runtime.Context context)
Returns the response object to send to the custom CloudFormation resource upon its modification.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractCustomResourceHandler.onSendFailure(com.amazonaws.services.lambda.runtime.events.CloudFormationCustomResourceEvent event,
com.amazonaws.services.lambda.runtime.Context context,
Response response,
java.lang.Exception exception)
Invoked when there is an error sending a response to the custom cloud formation resource.
|
Copyright © 2023. All rights reserved.