Interface TaskStateBaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AthenaGetQueryExecutionProps
,AthenaGetQueryResultsProps
,AthenaStartQueryExecutionProps
,AthenaStopQueryExecutionProps
,BatchSubmitJobProps
,BedrockInvokeModelProps
,CallApiGatewayEndpointBaseProps
,CallApiGatewayHttpApiEndpointProps
,CallApiGatewayRestApiEndpointProps
,CallAwsServiceCrossRegionProps
,CallAwsServiceProps
,CodeBuildStartBuildBatchProps
,CodeBuildStartBuildProps
,DynamoDeleteItemProps
,DynamoGetItemProps
,DynamoPutItemProps
,DynamoUpdateItemProps
,EcsRunTaskProps
,EksCallProps
,EmrAddStepProps
,EmrCancelStepProps
,EmrContainersCreateVirtualClusterProps
,EmrContainersDeleteVirtualClusterProps
,EmrContainersStartJobRunProps
,EmrCreateClusterProps
,EmrModifyInstanceFleetByNameProps
,EmrModifyInstanceGroupByNameProps
,EmrSetClusterTerminationProtectionProps
,EmrTerminateClusterProps
,EvaluateExpressionProps
,EventBridgePutEventsProps
,EventBridgeSchedulerCreateScheduleTaskProps
,GlueDataBrewStartJobRunProps
,GlueStartCrawlerRunProps
,GlueStartJobRunProps
,HttpInvokeProps
,LambdaInvokeProps
,MediaConvertCreateJobProps
,SageMakerCreateEndpointConfigProps
,SageMakerCreateEndpointProps
,SageMakerCreateModelProps
,SageMakerCreateTrainingJobProps
,SageMakerCreateTransformJobProps
,SageMakerUpdateEndpointProps
,SnsPublishProps
,SqsSendMessageProps
,StepFunctionsInvokeActivityProps
,StepFunctionsStartExecutionProps
- All Known Implementing Classes:
AthenaGetQueryExecutionProps.Jsii$Proxy
,AthenaGetQueryResultsProps.Jsii$Proxy
,AthenaStartQueryExecutionProps.Jsii$Proxy
,AthenaStopQueryExecutionProps.Jsii$Proxy
,BatchSubmitJobProps.Jsii$Proxy
,BedrockInvokeModelProps.Jsii$Proxy
,CallApiGatewayEndpointBaseProps.Jsii$Proxy
,CallApiGatewayHttpApiEndpointProps.Jsii$Proxy
,CallApiGatewayRestApiEndpointProps.Jsii$Proxy
,CallAwsServiceCrossRegionProps.Jsii$Proxy
,CallAwsServiceProps.Jsii$Proxy
,CodeBuildStartBuildBatchProps.Jsii$Proxy
,CodeBuildStartBuildProps.Jsii$Proxy
,DynamoDeleteItemProps.Jsii$Proxy
,DynamoGetItemProps.Jsii$Proxy
,DynamoPutItemProps.Jsii$Proxy
,DynamoUpdateItemProps.Jsii$Proxy
,EcsRunTaskProps.Jsii$Proxy
,EksCallProps.Jsii$Proxy
,EmrAddStepProps.Jsii$Proxy
,EmrCancelStepProps.Jsii$Proxy
,EmrContainersCreateVirtualClusterProps.Jsii$Proxy
,EmrContainersDeleteVirtualClusterProps.Jsii$Proxy
,EmrContainersStartJobRunProps.Jsii$Proxy
,EmrCreateClusterProps.Jsii$Proxy
,EmrModifyInstanceFleetByNameProps.Jsii$Proxy
,EmrModifyInstanceGroupByNameProps.Jsii$Proxy
,EmrSetClusterTerminationProtectionProps.Jsii$Proxy
,EmrTerminateClusterProps.Jsii$Proxy
,EvaluateExpressionProps.Jsii$Proxy
,EventBridgePutEventsProps.Jsii$Proxy
,EventBridgeSchedulerCreateScheduleTaskProps.Jsii$Proxy
,GlueDataBrewStartJobRunProps.Jsii$Proxy
,GlueStartCrawlerRunProps.Jsii$Proxy
,GlueStartJobRunProps.Jsii$Proxy
,HttpInvokeProps.Jsii$Proxy
,LambdaInvokeProps.Jsii$Proxy
,MediaConvertCreateJobProps.Jsii$Proxy
,SageMakerCreateEndpointConfigProps.Jsii$Proxy
,SageMakerCreateEndpointProps.Jsii$Proxy
,SageMakerCreateModelProps.Jsii$Proxy
,SageMakerCreateTrainingJobProps.Jsii$Proxy
,SageMakerCreateTransformJobProps.Jsii$Proxy
,SageMakerUpdateEndpointProps.Jsii$Proxy
,SnsPublishProps.Jsii$Proxy
,SqsSendMessageProps.Jsii$Proxy
,StepFunctionsInvokeActivityProps.Jsii$Proxy
,StepFunctionsStartExecutionProps.Jsii$Proxy
,TaskStateBaseProps.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.*; import software.amazon.awscdk.services.stepfunctions.*; Object resultSelector; TaskRole taskRole; Timeout timeout; TaskStateBaseProps taskStateBaseProps = TaskStateBaseProps.builder() .comment("comment") .credentials(Credentials.builder() .role(taskRole) .build()) .heartbeat(Duration.minutes(30)) .heartbeatTimeout(timeout) .inputPath("inputPath") .integrationPattern(IntegrationPattern.REQUEST_RESPONSE) .outputPath("outputPath") .resultPath("resultPath") .resultSelector(Map.of( "resultSelectorKey", resultSelector)) .stateName("stateName") .taskTimeout(timeout) .timeout(Duration.minutes(30)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTaskStateBaseProps
static final class
An implementation forTaskStateBaseProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskStateBaseProps.Builder
builder()
default String
An optional description for this state.default Credentials
Credentials for an IAM Role that the State Machine assumes for executing the task.default Duration
Deprecated.default Timeout
Timeout for the heartbeat.default String
JSONPath expression to select part of the state to be the input to this state.default IntegrationPattern
AWS Step Functions integrates with services directly in the Amazon States Language.default String
JSONPath expression to select select a portion of the state output to pass to the next state.default String
JSONPath expression to indicate where to inject the state's output.The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.default String
Optional name for this state.default Timeout
Timeout for the task.default Duration
Deprecated.usetaskTimeout
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComment
An optional description for this state.Default: - No comment
-
getCredentials
Credentials for an IAM Role that the State Machine assumes for executing the task.This enables cross-account resource invocations.
Default: - None (Task is executed using the State Machine's execution role)
- See Also:
-
getHeartbeat
Deprecated.useheartbeatTimeout
(deprecated) Timeout for the heartbeat.Default: - None
-
getHeartbeatTimeout
Timeout for the heartbeat.[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
Default: - None
-
getInputPath
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 '$')
-
getIntegrationPattern
AWS Step Functions integrates with services directly in the Amazon States Language.You can control these AWS services using service integration patterns.
Depending on the AWS Service, the Service Integration Pattern availability will vary.
Default: - `IntegrationPattern.REQUEST_RESPONSE` for most tasks. `IntegrationPattern.RUN_JOB` for the following exceptions: `BatchSubmitJob`, `EmrAddStep`, `EmrCreateCluster`, `EmrTerminationCluster`, and `EmrContainersStartJobRun`.
- See Also:
-
getOutputPath
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 '$')
-
getResultPath
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 '$')
-
getResultSelector
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
- See Also:
-
getStateName
Optional name for this state.Default: - The construct ID will be used as state name
-
getTaskTimeout
Timeout for the task.[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
Default: - None
-
getTimeout
Deprecated.usetaskTimeout
(deprecated) Timeout for the task.Default: - None
-
builder
- Returns:
- a
TaskStateBaseProps.Builder
ofTaskStateBaseProps
-
heartbeatTimeout