EksCallProps

class aws_cdk.aws_stepfunctions_tasks.EksCallProps(*, comment=None, heartbeat=None, input_path=None, integration_pattern=None, output_path=None, result_path=None, timeout=None, cluster, http_method, http_path, query_parameters=None, request_body=None)

Bases: aws_cdk.aws_stepfunctions.TaskStateBaseProps

(experimental) Properties for calling a EKS endpoint with EksCall.

Parameters
  • comment (Optional[str]) – An optional description for this state. Default: - No comment

  • heartbeat (Optional[Duration]) – Timeout for the heartbeat. Default: - None

  • input_path (Optional[str]) – JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: - The entire task input (JSON path ‘$’)

  • integration_pattern (Optional[IntegrationPattern]) – AWS Step Functions integrates with services directly in the Amazon States Language. You can control these AWS services using service integration patterns Default: IntegrationPattern.REQUEST_RESPONSE

  • output_path (Optional[str]) – JSONPath expression to select select a portion of the state output to pass to the next state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path ‘$’)

  • result_path (Optional[str]) – JSONPath expression to indicate where to inject the state’s output. May also be the special value JsonPath.DISCARD, which will cause the state’s input to become its output. Default: - Replaces the entire input with the result (JSON path ‘$’)

  • timeout (Optional[Duration]) – Timeout for the state machine. Default: - None

  • cluster (ICluster) – (experimental) The EKS cluster.

  • http_method (HttpMethods) – (experimental) HTTP method (“GET”, “POST”, “PUT”, …) part of HTTP request.

  • http_path (str) – (experimental) HTTP path of the Kubernetes REST API operation For example: /api/v1/namespaces/default/pods.

  • query_parameters (Optional[Mapping[str, Sequence[str]]]) – (experimental) Query Parameters part of HTTP request. Default: - no query parameters

  • request_body (Optional[TaskInput]) – (experimental) Request body part of HTTP request. Default: - No request body

Stability

experimental

Attributes

cluster

(experimental) The EKS cluster.

Stability

experimental

Return type

ICluster

comment

An optional description for this state.

Default
  • No comment

Return type

Optional[str]

heartbeat

Timeout for the heartbeat.

Default
  • None

Return type

Optional[Duration]

http_method

(experimental) HTTP method (“GET”, “POST”, “PUT”, …) part of HTTP request.

Stability

experimental

Return type

HttpMethods

http_path

/api/v1/namespaces/default/pods.

Stability

experimental

Type

(experimental) HTTP path of the Kubernetes REST API operation For example

Return type

str

input_path

JSONPath expression to select part of the state to be the input to this state.

May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.

Default
  • The entire task input (JSON path ‘$’)

Return type

Optional[str]

integration_pattern

AWS Step Functions integrates with services directly in the Amazon States Language.

You can control these AWS services using service integration patterns

Default

IntegrationPattern.REQUEST_RESPONSE

See

https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token

Return type

Optional[IntegrationPattern]

output_path

JSONPath expression to select select a portion of the state output to pass to the next state.

May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.

Default

  • The entire JSON node determined by the state input, the task result,

and resultPath is passed to the next state (JSON path ‘$’)

Return type

Optional[str]

query_parameters

(experimental) Query Parameters part of HTTP request.

Default
  • no query parameters

Stability

experimental

Return type

Optional[Mapping[str, List[str]]]

request_body

(experimental) Request body part of HTTP request.

Default
  • No request body

Stability

experimental

Return type

Optional[TaskInput]

result_path

JSONPath expression to indicate where to inject the state’s output.

May also be the special value JsonPath.DISCARD, which will cause the state’s input to become its output.

Default
  • Replaces the entire input with the result (JSON path ‘$’)

Return type

Optional[str]

timeout

Timeout for the state machine.

Default
  • None

Return type

Optional[Duration]