Interface StepFunctionsExecutionIntegrationOptions
- All Superinterfaces:
- IntegrationOptions,- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- StepFunctionsExecutionIntegrationOptions.Jsii$Proxy
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigateway.*;
 import software.amazon.awscdk.services.iam.*;
 import software.amazon.awscdk.core.*;
 Role role;
 VpcLink vpcLink;
 StepFunctionsExecutionIntegrationOptions stepFunctionsExecutionIntegrationOptions = StepFunctionsExecutionIntegrationOptions.builder()
         .authorizer(false)
         .cacheKeyParameters(List.of("cacheKeyParameters"))
         .cacheNamespace("cacheNamespace")
         .connectionType(ConnectionType.INTERNET)
         .contentHandling(ContentHandling.CONVERT_TO_BINARY)
         .credentialsPassthrough(false)
         .credentialsRole(role)
         .headers(false)
         .integrationResponses(List.of(IntegrationResponse.builder()
                 .statusCode("statusCode")
                 // the properties below are optional
                 .contentHandling(ContentHandling.CONVERT_TO_BINARY)
                 .responseParameters(Map.of(
                         "responseParametersKey", "responseParameters"))
                 .responseTemplates(Map.of(
                         "responseTemplatesKey", "responseTemplates"))
                 .selectionPattern("selectionPattern")
                 .build()))
         .passthroughBehavior(PassthroughBehavior.WHEN_NO_MATCH)
         .path(false)
         .querystring(false)
         .requestContext(RequestContext.builder()
                 .accountId(false)
                 .apiId(false)
                 .apiKey(false)
                 .authorizerPrincipalId(false)
                 .caller(false)
                 .cognitoAuthenticationProvider(false)
                 .cognitoAuthenticationType(false)
                 .cognitoIdentityId(false)
                 .cognitoIdentityPoolId(false)
                 .httpMethod(false)
                 .requestId(false)
                 .resourceId(false)
                 .resourcePath(false)
                 .sourceIp(false)
                 .stage(false)
                 .user(false)
                 .userAgent(false)
                 .userArn(false)
                 .build())
         .requestParameters(Map.of(
                 "requestParametersKey", "requestParameters"))
         .requestTemplates(Map.of(
                 "requestTemplatesKey", "requestTemplates"))
         .timeout(Duration.minutes(30))
         .vpcLink(vpcLink)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStepFunctionsExecutionIntegrationOptionsstatic final classAn implementation forStepFunctionsExecutionIntegrationOptions
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default BooleanIf the whole authorizer object, including custom context values should be in the execution input.default BooleanCheck if header is to be included inside the execution input.default BooleangetPath()Check if path is to be included inside the execution input.default BooleanCheck if querystring is to be included inside the execution input.default RequestContextWhich details of the incoming request must be passed onto the underlying state machine, such as, account id, user identity, request id, etc.Methods inherited from interface software.amazon.awscdk.services.apigateway.IntegrationOptionsgetCacheKeyParameters, getCacheNamespace, getConnectionType, getContentHandling, getCredentialsPassthrough, getCredentialsRole, getIntegrationResponses, getPassthroughBehavior, getRequestParameters, getRequestTemplates, getTimeout, getVpcLinkMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getAuthorizerIf the whole authorizer object, including custom context values should be in the execution input.The execution input will include a new key authorizer:{ "body": {}, "authorizer": { "key": "value" } } Default: false 
- 
getHeadersCheck if header is to be included inside the execution input.The execution input will include a new key headers:{ "body": {}, "headers": { "header1": "value", "header2": "value" } } Default: false 
- 
getPathCheck if path is to be included inside the execution input.The execution input will include a new key path:{ "body": {}, "path": { "resourceName": "resourceValue" } } Default: true 
- 
getQuerystringCheck if querystring is to be included inside the execution input.The execution input will include a new key queryString:{ "body": {}, "querystring": { "key": "value" } } Default: true 
- 
getRequestContextWhich details of the incoming request must be passed onto the underlying state machine, such as, account id, user identity, request id, etc.The execution input will include a new key requestContext:{ "body": {}, "requestContext": { "key": "value" } } Default: - all parameters within request context will be set as false 
- 
builder
 
-