java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IMapRunRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:51:12.617Z") @Stability(Stable) public class CfnMapRun extends CfnResource implements IInspectable, IMapRunRef
Resource schema for AWS::StepFunctions::MapRun.

A Map Run is a set of child workflow executions started by a Distributed Map state in Step Functions.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.stepfunctions.*;
 CfnMapRun cfnMapRun = CfnMapRun.Builder.create(this, "MyCfnMapRun")
         .executionArn("executionArn")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMapRun

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

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

      @Stability(Stable) public CfnMapRun(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnMapRunProps props)
      Create a new AWS::StepFunctions::MapRun.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnMapRun

      @Stability(Stable) public CfnMapRun(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::StepFunctions::MapRun.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • arnForMapRun

      @Stability(Stable) @NotNull public static String arnForMapRun(@NotNull IMapRunRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnMapRun

      @Stability(Stable) @NotNull public static Boolean isCfnMapRun(@NotNull Object x)
      Checks whether the given object is a CfnMapRun.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrExecutionCounts

      @Stability(Stable) @NotNull public IResolvable getAttrExecutionCounts()
      Contains details about all child workflow executions started by a Map Run.
    • getAttrItemCounts

      @Stability(Stable) @NotNull public IResolvable getAttrItemCounts()
      Contains details about items processed in all child workflow executions started by a Map Run.
    • getAttrMapRunArn

      @Stability(Stable) @NotNull public String getAttrMapRunArn()
      The Amazon Resource Name (ARN) that identifies the Map Run.
    • getAttrMaxConcurrency

      @Stability(Stable) @NotNull public Number getAttrMaxConcurrency()
      The maximum number of child workflow executions configured to run in parallel for the Map Run at the same time.
    • getAttrStartDate

      @Stability(Stable) @NotNull public String getAttrStartDate()
      The date when the Map Run was started.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The current status of the Map Run.
    • getAttrStopDate

      @Stability(Stable) @NotNull public String getAttrStopDate()
      The date when the Map Run was stopped.
    • getAttrToleratedFailureCount

      @Stability(Stable) @NotNull public Number getAttrToleratedFailureCount()
      The maximum number of failed child workflow executions before the Map Run fails.
    • getAttrToleratedFailurePercentage

      @Stability(Stable) @NotNull public IResolvable getAttrToleratedFailurePercentage()
      The maximum percentage of failed child workflow executions before the Map Run fails.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getMapRunRef

      @Stability(Stable) @NotNull public MapRunReference getMapRunRef()
      A reference to a MapRun resource.
      Specified by:
      getMapRunRef in interface IMapRunRef
    • getExecutionArn

      @Stability(Stable) @Nullable public String getExecutionArn()
      The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.
    • setExecutionArn

      @Stability(Stable) public void setExecutionArn(@Nullable String value)
      The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.