Interface CallAwsServiceCrossRegionJsonataProps
- All Superinterfaces:
- AssignableStateOptions,- software.amazon.jsii.JsiiSerializable,- JsonataCommonOptions,- StateBaseProps,- TaskStateBaseOptions,- TaskStateJsonataBaseProps
- All Known Implementing Classes:
- CallAwsServiceCrossRegionJsonataProps.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.iam.*;
 import software.amazon.awscdk.services.stepfunctions.*;
 import software.amazon.awscdk.services.stepfunctions.tasks.*;
 Object assign;
 Object outputs;
 Object parameters;
 PolicyStatement policyStatement;
 TaskRole taskRole;
 Timeout timeout;
 CallAwsServiceCrossRegionJsonataProps callAwsServiceCrossRegionJsonataProps = CallAwsServiceCrossRegionJsonataProps.builder()
         .action("action")
         .iamResources(List.of("iamResources"))
         .region("region")
         .service("service")
         // the properties below are optional
         .additionalIamStatements(List.of(policyStatement))
         .assign(Map.of(
                 "assignKey", assign))
         .comment("comment")
         .credentials(Credentials.builder()
                 .role(taskRole)
                 .build())
         .endpoint("endpoint")
         .heartbeat(Duration.minutes(30))
         .heartbeatTimeout(timeout)
         .iamAction("iamAction")
         .integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
         .outputs(outputs)
         .parameters(Map.of(
                 "parametersKey", parameters))
         .queryLanguage(QueryLanguage.JSON_PATH)
         .retryOnServiceExceptions(false)
         .stateName("stateName")
         .taskTimeout(timeout)
         .timeout(Duration.minutes(30))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCallAwsServiceCrossRegionJsonataPropsstatic final classAn implementation forCallAwsServiceCrossRegionJsonataProps
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()The API action to call.default List<PolicyStatement> Additional IAM statements that will be added to the state machine role's policy.default StringThe AWS API endpoint.default StringThe action for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call.The resources for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call.Parameters for the API action call in AWS SDK for JavaScript v3 format.The AWS region to call this AWS API for.default BooleanWhether to retry on the backend Lambda service exceptions.The AWS service to call in AWS SDK for JavaScript v3 format.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptionsgetAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptionsgetOutputsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBasePropsgetComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptionsgetCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeout
- 
Method Details- 
getActionThe API action to call.Use camelCase. 
- 
getIamResourcesThe resources for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call.
- 
getRegionThe AWS region to call this AWS API for.Example: "us-east-1"; 
- 
getServiceThe AWS service to call in AWS SDK for JavaScript v3 format.Example: "s3"; - See Also:
 
- 
getAdditionalIamStatementsAdditional IAM statements that will be added to the state machine role's policy.Use in the case where the call requires more than a single statement to be executed, e.g. rekognition:detectLabelsrequires also S3 permissions to read the object on which it must act.Default: - no additional statements are added 
- 
getEndpointThe AWS API endpoint.Default: Do not override API endpoint. 
- 
getIamActionThe action for the IAM statement that will be added to the Lambda function role's policy to allow the state machine to make the API call.By default the action for this IAM statement will be service:action.Use in the case where the IAM action name does not match with the API service/action name, e.g. s3:ListBucketsrequiress3:ListAllMyBuckets.Default: - service:action 
- 
getParametersParameters for the API action call in AWS SDK for JavaScript v3 format.Default: - no parameters 
- 
getRetryOnServiceExceptionsWhether to retry on the backend Lambda service exceptions.This handles Lambda.ServiceException,Lambda.AWSLambdaException,Lambda.SdkClientException, andLambda.ClientExecutionTimeoutExceptionwith an interval of 2 seconds, a back-off rate of 2 and 6 maximum attempts.Default: true - See Also:
 
- 
builder
 
-