@Stability(value=Experimental) public static final class StepFunctionsTaskConfig.Builder extends Object
StepFunctionsTaskConfig| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public StepFunctionsTaskConfig.Builder resourceArn(String resourceArn)
StepFunctionsTaskConfig.getResourceArn()resourceArn - The resource that represents the work to be executed. This parameter is required.
Either the ARN of a Lambda Function or Activity, or a special
ARN.this@Stability(value=Experimental) public StepFunctionsTaskConfig.Builder heartbeat(Duration heartbeat)
StepFunctionsTaskConfig.getHeartbeat()heartbeat - Maximum time between heart beats.
If the time between heart beats takes longer than this, a 'Timeout' error is raised.
This is only relevant when using an Activity type as resource.
this@Stability(value=Experimental) public StepFunctionsTaskConfig.Builder metricDimensions(Map<String,Object> metricDimensions)
StepFunctionsTaskConfig.getMetricDimensions()metricDimensions - The dimensions to attach to metrics.this@Stability(value=Experimental) public StepFunctionsTaskConfig.Builder metricPrefixPlural(String metricPrefixPlural)
StepFunctionsTaskConfig.getMetricPrefixPlural()metricPrefixPlural - Prefix for plural metric names of activity actions.this@Stability(value=Experimental) public StepFunctionsTaskConfig.Builder metricPrefixSingular(String metricPrefixSingular)
StepFunctionsTaskConfig.getMetricPrefixSingular()metricPrefixSingular - Prefix for singular metric names of activity actions.this@Stability(value=Experimental) public StepFunctionsTaskConfig.Builder parameters(Map<String,Object> parameters)
StepFunctionsTaskConfig.getParameters()parameters - Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input.
The meaning of these parameters is task-dependent.
Its values will be merged with the parameters property which is configured directly
on the Task state.
this@Stability(value=Experimental) public StepFunctionsTaskConfig.Builder policyStatements(List<PolicyStatement> policyStatements)
StepFunctionsTaskConfig.getPolicyStatements()policyStatements - Additional policy statements to add to the execution role.this@Stability(value=Experimental) public StepFunctionsTaskConfig build()
StepFunctionsTaskConfigNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.