@Stability(value=Stable) @Internal public static final class StepFunctionsExecutionIntegrationOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StepFunctionsExecutionIntegrationOptions
StepFunctionsExecutionIntegrationOptionssoftware.amazon.jsii.JsiiObject.InitializationModeStepFunctionsExecutionIntegrationOptions.Builder, StepFunctionsExecutionIntegrationOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(StepFunctionsExecutionIntegrationOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
StepFunctionsExecutionIntegrationOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAuthorizer()
If the whole authorizer object, including custom context values should be in the execution input.
|
List<String> |
getCacheKeyParameters()
A list of request parameters whose values are to be cached.
|
String |
getCacheNamespace()
An API-specific tag group of related cached parameters.
|
ConnectionType |
getConnectionType()
The type of network connection to the integration endpoint.
|
ContentHandling |
getContentHandling()
Specifies how to handle request payload content type conversions.
|
Boolean |
getCredentialsPassthrough()
Requires that the caller's identity be passed through from the request.
|
IRole |
getCredentialsRole()
An IAM role that API Gateway assumes.
|
Boolean |
getHeaders()
Check if header is to be included inside the execution input.
|
List<IntegrationResponse> |
getIntegrationResponses()
The response that API Gateway provides after a method's backend completes processing a request.
|
PassthroughBehavior |
getPassthroughBehavior()
Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource.
|
Boolean |
getPath()
Check if path is to be included inside the execution input.
|
Boolean |
getQuerystring()
Check if querystring is to be included inside the execution input.
|
RequestContext |
getRequestContext()
Which details of the incoming request must be passed onto the underlying state machine, such as, account id, user identity, request id, etc.
|
Map<String,String> |
getRequestParameters()
The request parameters that API Gateway sends with the backend request.
|
Map<String,String> |
getRequestTemplates()
A map of Apache Velocity templates that are applied on the request payload.
|
Duration |
getTimeout()
The maximum amount of time an integration will run before it returns without a response.
|
IVpcLink |
getVpcLink()
The VpcLink used for the integration.
|
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(StepFunctionsExecutionIntegrationOptions.Builder builder)
StepFunctionsExecutionIntegrationOptions.Builder.public final Boolean getAuthorizer()
StepFunctionsExecutionIntegrationOptions
The execution input will include a new key authorizer:
{ "body": {}, "authorizer": { "key": "value" } }
Default: false
getAuthorizer in interface StepFunctionsExecutionIntegrationOptionspublic final Boolean getHeaders()
StepFunctionsExecutionIntegrationOptions
The execution input will include a new key headers:
{ "body": {}, "headers": { "header1": "value", "header2": "value" } }
Default: false
getHeaders in interface StepFunctionsExecutionIntegrationOptionspublic final Boolean getPath()
StepFunctionsExecutionIntegrationOptions
The execution input will include a new key path:
{ "body": {}, "path": { "resourceName": "resourceValue" } }
Default: true
getPath in interface StepFunctionsExecutionIntegrationOptionspublic final Boolean getQuerystring()
StepFunctionsExecutionIntegrationOptions
The execution input will include a new key queryString:
{ "body": {}, "querystring": { "key": "value" } }
Default: true
getQuerystring in interface StepFunctionsExecutionIntegrationOptionspublic final RequestContext getRequestContext()
StepFunctionsExecutionIntegrationOptions
The execution input will include a new key requestContext:
{ "body": {}, "requestContext": { "key": "value" } }
Default: - all parameters within request context will be set as false
getRequestContext in interface StepFunctionsExecutionIntegrationOptionspublic final List<String> getCacheKeyParameters()
IntegrationOptionsIt determines request parameters that will make it into the cache key.
getCacheKeyParameters in interface IntegrationOptionspublic final String getCacheNamespace()
IntegrationOptionsgetCacheNamespace in interface IntegrationOptionspublic final ConnectionType getConnectionType()
IntegrationOptionsDefault: - ConnectionType.VPC_LINK if `vpcLink` property is configured; ConnectionType.Internet otherwise.
getConnectionType in interface IntegrationOptionspublic final ContentHandling getContentHandling()
IntegrationOptionsDefault: none if this property isn't defined, the request payload is passed through from the method request to the integration request without modification, provided that the `passthroughBehaviors` property is configured to support payload pass-through.
getContentHandling in interface IntegrationOptionspublic final Boolean getCredentialsPassthrough()
IntegrationOptionsDefault: Caller identity is not passed through
getCredentialsPassthrough in interface IntegrationOptionspublic final IRole getCredentialsRole()
IntegrationOptions
Mutually exclusive with credentialsPassThrough.
Default: A role is not assumed
getCredentialsRole in interface IntegrationOptionspublic final List<IntegrationResponse> getIntegrationResponses()
IntegrationOptionsAPI Gateway intercepts the response from the backend so that you can control how API Gateway surfaces backend responses. For example, you can map the backend status codes to codes that you define.
getIntegrationResponses in interface IntegrationOptionspublic final PassthroughBehavior getPassthroughBehavior()
IntegrationOptionsThere are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.
getPassthroughBehavior in interface IntegrationOptionspublic final Map<String,String> getRequestParameters()
IntegrationOptionsSpecify request parameters as key-value pairs (string-to-string mappings), with a destination as the key and a source as the value.
Specify the destination by using the following pattern integration.request.location.name, where location is querystring, path, or header, and name is a valid, unique parameter name.
The source must be an existing method request parameter or a static value. You must enclose static values in single quotation marks and pre-encode these values based on their destination in the request.
getRequestParameters in interface IntegrationOptionspublic final Map<String,String> getRequestTemplates()
IntegrationOptionsThe template that API Gateway uses is based on the value of the Content-Type header that's sent by the client. The content type value is the key, and the template is the value (specified as a string), such as the following snippet:
{ "application/json": "{ \"statusCode\": 200 }" }
getRequestTemplates in interface IntegrationOptionspublic final Duration getTimeout()
IntegrationOptionsMust be between 50 milliseconds and 29 seconds.
Default: Duration.seconds(29)
getTimeout in interface IntegrationOptionspublic final IVpcLink getVpcLink()
IntegrationOptionsRequired if connectionType is VPC_LINK
getVpcLink in interface IntegrationOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.