java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.893Z") @Stability(Stable) public class CallAwsService extends TaskStateBase
A StepFunctions task to call an AWS service API.

Example:

 Bucket myBucket;
 CallAwsService getObject = CallAwsService.Builder.create(this, "GetObject")
         .service("s3")
         .action("getObject")
         .parameters(Map.of(
                 "Bucket", myBucket.getBucketName(),
                 "Key", JsonPath.stringAt("$.key")))
         .iamResources(List.of(myBucket.arnForObjects("*")))
         .build();
 
  • Constructor Details

    • CallAwsService

      protected CallAwsService(software.amazon.jsii.JsiiObjectRef objRef)
    • CallAwsService

      protected CallAwsService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CallAwsService

      @Stability(Stable) public CallAwsService(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CallAwsServiceProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details