@Stability(value=Experimental) @Internal public static final class ApiGatewayProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiGatewayProps
ApiGatewayPropssoftware.amazon.jsii.JsiiObject.InitializationModeApiGatewayProps.Builder, ApiGatewayProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IRole eventRole,
Map<String,String> headerParameters,
String method,
String path,
List<String> pathParameterValues,
RuleTargetInput postBody,
Map<String,String> queryStringParameters,
String stage,
IQueue deadLetterQueue,
Duration maxEventAge,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
ApiGatewayProps.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()
(experimental) The SQS queue to be used as deadLetterQueue.
|
IRole |
getEventRole()
(experimental) The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered.
|
Map<String,String> |
getHeaderParameters()
(experimental) The headers to be set when requesting API.
|
Duration |
getMaxEventAge()
(experimental) The maximum age of a request that Lambda sends to a function for processing.
|
String |
getMethod()
(experimental) The method for api resource invoked by the rule.
|
String |
getPath()
(experimental) The api resource invoked by the rule.
|
List<String> |
getPathParameterValues()
(experimental) The path parameter values to be used to populate to wildcards("*") of requesting api path.
|
RuleTargetInput |
getPostBody()
(experimental) This will be the post request body send to the API.
|
Map<String,String> |
getQueryStringParameters()
(experimental) The query parameters to be set when requesting API.
|
Number |
getRetryAttempts()
(experimental) The maximum number of times to retry when the function returns an error.
|
String |
getStage()
(experimental) The deploy stage of api gateway invoked by the rule.
|
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(IRole eventRole, Map<String,String> headerParameters, String method, String path, List<String> pathParameterValues, RuleTargetInput postBody, Map<String,String> queryStringParameters, String stage, IQueue deadLetterQueue, Duration maxEventAge, Number retryAttempts)
ApiGatewayProps.Builder.public final IRole getEventRole()
ApiGatewayPropsDefault: - a new role will be created
getEventRole in interface ApiGatewayPropspublic final Map<String,String> getHeaderParameters()
ApiGatewayPropsDefault: no header parameters
getHeaderParameters in interface ApiGatewayPropspublic final String getMethod()
ApiGatewayPropsDefault: '*' that treated as ANY
getMethod in interface ApiGatewayPropspublic final String getPath()
ApiGatewayPropsWe can use wildcards('*') to specify the path. In that case, an equal number of real values must be specified for pathParameterValues.
Default: '/'
getPath in interface ApiGatewayPropspublic final List<String> getPathParameterValues()
ApiGatewayPropsDefault: no path parameters
getPathParameterValues in interface ApiGatewayPropspublic final RuleTargetInput getPostBody()
ApiGatewayPropsDefault: the entire EventBridge event
getPostBody in interface ApiGatewayPropspublic final Map<String,String> getQueryStringParameters()
ApiGatewayPropsDefault: no querystring parameters
getQueryStringParameters in interface ApiGatewayPropspublic final String getStage()
ApiGatewayPropsDefault: the value of deploymentStage.stageName of target api gateway.
getStage in interface ApiGatewayPropspublic 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 © 2021. All rights reserved.