Interface EksCallJsonPathProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonPathBaseProps
- All Known Implementing Classes:
EksCallJsonPathProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.138Z")
@Stability(Stable)
public interface EksCallJsonPathProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonPathBaseProps
Properties for calling a EKS endpoint with EksCall using JSONPath.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.eks.*;
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Object assign;
Cluster cluster;
Object resultSelector;
TaskInput taskInput;
TaskRole taskRole;
Timeout timeout;
EksCallJsonPathProps eksCallJsonPathProps = EksCallJsonPathProps.builder()
.cluster(cluster)
.httpMethod(HttpMethods.GET)
.httpPath("httpPath")
// the properties below are optional
.assign(Map.of(
"assignKey", assign))
.comment("comment")
.credentials(Credentials.builder()
.role(taskRole)
.build())
.heartbeat(Duration.minutes(30))
.heartbeatTimeout(timeout)
.inputPath("inputPath")
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.outputPath("outputPath")
.queryLanguage(QueryLanguage.JSON_PATH)
.queryParameters(Map.of(
"queryParametersKey", List.of("queryParameters")))
.requestBody(taskInput)
.resultPath("resultPath")
.resultSelector(Map.of(
"resultSelectorKey", resultSelector))
.stateName("stateName")
.taskTimeout(timeout)
.timeout(Duration.minutes(30))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEksCallJsonPathPropsstatic final classAn implementation forEksCallJsonPathProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EksCallJsonPathProps.Builderbuilder()The EKS cluster.HTTP method ("GET", "POST", "PUT", ...) part of HTTP request.HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods.Query Parameters part of HTTP request.default TaskInputRequest body part of HTTP request.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateJsonPathBaseProps
getResultPath, getResultSelector
-
Method Details
-
getCluster
The EKS cluster. -
getHttpMethod
HTTP method ("GET", "POST", "PUT", ...) part of HTTP request. -
getHttpPath
HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods. -
getQueryParameters
Query Parameters part of HTTP request.Default: - no query parameters
-
getRequestBody
Request body part of HTTP request.Default: - No request body
-
builder
- Returns:
- a
EksCallJsonPathProps.BuilderofEksCallJsonPathProps
-