@Stability(value=Stable) public static final class CallAwsServiceProps.Builder extends Object implements software.amazon.jsii.Builder<CallAwsServiceProps>
CallAwsServiceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CallAwsServiceProps.Builder action(String action)
CallAwsServiceProps.getAction()action - The API action to call. This parameter is required.
Use camelCase.this@Stability(value=Stable) public CallAwsServiceProps.Builder iamResources(List<String> iamResources)
CallAwsServiceProps.getIamResources()iamResources - The resources for the IAM statement that will be added to the state machine role's policy to allow the state machine to make the API call. This parameter is required.
By default the action for this IAM statement will be service:action.this@Stability(value=Stable) public CallAwsServiceProps.Builder service(String service)
CallAwsServiceProps.getService()service - The AWS service to call. This parameter is required.this@Stability(value=Stable) public CallAwsServiceProps.Builder iamAction(String iamAction)
CallAwsServiceProps.getIamAction()iamAction - The action for the IAM statement that will be added to the state machine role's policy to allow the state machine to make the API call.
Use in the case where the IAM action name does not match with the
API service/action name, e.g. s3:ListBuckets requires s3:ListAllMyBuckets.this@Stability(value=Stable) public CallAwsServiceProps.Builder parameters(Map<String,? extends Object> parameters)
CallAwsServiceProps.getParameters()parameters - Parameters for the API action call.
Use PascalCase for the parameter names.this@Stability(value=Stable) public CallAwsServiceProps.Builder comment(String comment)
TaskStateBaseProps.getComment()comment - An optional description for this state.this@Stability(value=Stable) public CallAwsServiceProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()heartbeat - Timeout for the heartbeat.this@Stability(value=Stable) public CallAwsServiceProps.Builder inputPath(String inputPath)
TaskStateBaseProps.getInputPath()inputPath - 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 {}.this@Stability(value=Stable) public CallAwsServiceProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()integrationPattern - AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis@Stability(value=Stable) public CallAwsServiceProps.Builder outputPath(String outputPath)
TaskStateBaseProps.getOutputPath()outputPath - 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 {}.this@Stability(value=Stable) public CallAwsServiceProps.Builder resultPath(String resultPath)
TaskStateBaseProps.getResultPath()resultPath - 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.this@Stability(value=Stable) public CallAwsServiceProps.Builder resultSelector(Map<String,? extends Object> resultSelector)
TaskStateBaseProps.getResultSelector()resultSelector - 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.this@Stability(value=Stable) public CallAwsServiceProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()timeout - Timeout for the state machine.this@Stability(value=Stable) public CallAwsServiceProps build()
build in interface software.amazon.jsii.Builder<CallAwsServiceProps>CallAwsServicePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.