Interface EksCallJsonataProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonataBaseProps
- All Known Implementing Classes:
EksCallJsonataProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:18.807Z")
@Stability(Stable)
public interface EksCallJsonataProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonataBaseProps
Properties for calling a EKS endpoint with EksCall using JSONata.
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 outputs;
TaskInput taskInput;
TaskRole taskRole;
Timeout timeout;
EksCallJsonataProps eksCallJsonataProps = EksCallJsonataProps.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)
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.outputs(outputs)
.queryLanguage(QueryLanguage.JSON_PATH)
.queryParameters(Map.of(
"queryParametersKey", List.of("queryParameters")))
.requestBody(taskInput)
.stateName("stateName")
.taskTimeout(timeout)
.timeout(Duration.minutes(30))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEksCallJsonataPropsstatic final classAn implementation forEksCallJsonataProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EksCallJsonataProps.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.JsonataCommonOptions
getOutputsMethods 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, getTimeout
-
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
EksCallJsonataProps.BuilderofEksCallJsonataProps
-