@Stability(value=Stable) @Internal public static final class ApiDestinationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiDestinationProps
ApiDestinationPropssoftware.amazon.jsii.JsiiObject.InitializationModeApiDestinationProps.Builder, ApiDestinationProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ApiDestinationProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ApiDestinationProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IQueue |
getDeadLetterQueue()
The SQS queue to be used as deadLetterQueue.
|
RuleTargetInput |
getEvent()
The event to send.
|
IRole |
getEventRole()
The role to assume before invoking the target.
|
Map<String,String> |
getHeaderParameters()
Additional headers sent to the API Destination.
|
Duration |
getMaxEventAge()
The maximum age of a request that Lambda sends to a function for processing.
|
List<String> |
getPathParameterValues()
Path parameters to insert in place of path wildcards (`*`).
|
Map<String,String> |
getQueryStringParameters()
Additional query string parameters sent to the API Destination.
|
Number |
getRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ApiDestinationProps.Builder builder)
ApiDestinationProps.Builder.public final RuleTargetInput getEvent()
ApiDestinationPropsDefault: - the entire EventBridge event
getEvent in interface ApiDestinationPropspublic final IRole getEventRole()
ApiDestinationPropsDefault: - a new role will be created
getEventRole in interface ApiDestinationPropspublic final Map<String,String> getHeaderParameters()
ApiDestinationPropsThese are merged with headers specified on the Connection, with the headers on the Connection taking precedence.
You can only specify secret values on the Connection.
Default: - none
getHeaderParameters in interface ApiDestinationPropspublic final List<String> getPathParameterValues()
ApiDestinationPropsIf the API destination has a wilcard in the path, these path parts will be inserted in that place.
Default: - none
getPathParameterValues in interface ApiDestinationPropspublic final Map<String,String> getQueryStringParameters()
ApiDestinationPropsThese are merged with headers specified on the Connection, with the headers on the Connection taking precedence.
You can only specify secret values on the Connection.
Default: - none
getQueryStringParameters in interface ApiDestinationPropspublic final IQueue getDeadLetterQueue()
TargetBasePropsThe events not successfully delivered are automatically retried for a specified period of time, depending on the retry policy of the target. If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.
Default: - no dead-letter queue
getDeadLetterQueue in interface TargetBasePropspublic final Duration getMaxEventAge()
TargetBasePropsMinimum value of 60. Maximum value of 86400.
Default: Duration.hours(24)
getMaxEventAge in interface TargetBasePropspublic final Number getRetryAttempts()
TargetBasePropsMinimum value of 0. Maximum value of 185.
Default: 185
getRetryAttempts in interface TargetBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.