java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.pipes.targets.alpha.SfnStateMachine
All Implemented Interfaces:
ITarget, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-11T18:01:25.952Z") @Stability(Experimental) public class SfnStateMachine extends software.amazon.jsii.JsiiObject implements ITarget
(experimental) An EventBridge Pipes target that sends messages to an AWS Step Functions State Machine.

Example:

 Queue sourceQueue;
 IStateMachine targetStateMachine;
 SfnStateMachine pipeTarget = SfnStateMachine.Builder.create(targetStateMachine)
         .invocationType(StateMachineInvocationType.FIRE_AND_FORGET)
         .build();
 Pipe pipe = Pipe.Builder.create(this, "Pipe")
         .source(new SomeSource(sourceQueue))
         .target(pipeTarget)
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for SfnStateMachine.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.pipes.alpha.ITarget

    ITarget.Jsii$Default, ITarget.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    SfnStateMachine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    SfnStateMachine(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(IPipe pipe)
    (experimental) Bind this target to a pipe.
    (experimental) The ARN of the target resource.
    void
    grantPush(IRole grantee)
    (experimental) Grant the pipe role to push to the target.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • SfnStateMachine

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

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

      @Stability(Experimental) public SfnStateMachine(@NotNull IStateMachine stateMachine, @NotNull SfnStateMachineParameters parameters)
      Parameters:
      stateMachine - This parameter is required.
      parameters - This parameter is required.
  • Method Details

    • bind

      @Stability(Experimental) @NotNull public TargetConfig bind(@NotNull IPipe pipe)
      (experimental) Bind this target to a pipe.

      Specified by:
      bind in interface ITarget
      Parameters:
      pipe - This parameter is required.
    • grantPush

      @Stability(Experimental) public void grantPush(@NotNull IRole grantee)
      (experimental) Grant the pipe role to push to the target.

      Specified by:
      grantPush in interface ITarget
      Parameters:
      grantee - This parameter is required.
    • getTargetArn

      @Stability(Experimental) @NotNull public String getTargetArn()
      (experimental) The ARN of the target resource.
      Specified by:
      getTargetArn in interface ITarget