Interface IStepFunctionsInvokeActionProps
Construction properties of the {@link StepFunctionsInvokeAction StepFunction Invoke Action}.
Inherited Members
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.AWS.CodePipeline.Actions.dll
Syntax (csharp)
public interface IStepFunctionsInvokeActionProps : ICommonAwsActionProps, ICommonActionProps
Syntax (vb)
Public Interface IStepFunctionsInvokeActionProps
Inherits ICommonAwsActionProps, ICommonActionProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.StepFunctions;
var pipeline = new Pipeline(this, "MyPipeline");
var startState = new Pass(this, "StartState");
var simpleStateMachine = new StateMachine(this, "SimpleStateMachine", new StateMachineProps {
Definition = startState
});
var stepFunctionAction = new StepFunctionInvokeAction(new StepFunctionsInvokeActionProps {
ActionName = "Invoke",
StateMachine = simpleStateMachine,
StateMachineInput = StateMachineInput.Literal(new Dictionary<string, boolean> { { "IsHelloWorldExample", true } })
});
pipeline.AddStage(new StageOptions {
StageName = "StepFunctions",
Actions = new [] { stepFunctionAction }
});
Synopsis
Properties
ExecutionNamePrefix | Prefix (optional). |
Output | The optional output Artifact of the Action. |
StateMachine | The state machine to invoke. |
StateMachineInput | Represents the input to the StateMachine. |
Properties
ExecutionNamePrefix
Prefix (optional).
virtual string ExecutionNamePrefix { get; }
Property Value
System.String
Remarks
By default, the action execution ID is used as the state machine execution name. If a prefix is provided, it is prepended to the action execution ID with a hyphen and together used as the state machine execution name.
Default: - action execution ID
Output
The optional output Artifact of the Action.
virtual Artifact_ Output { get; }
Property Value
Remarks
Default: the Action will not have any outputs
StateMachine
StateMachineInput
Represents the input to the StateMachine.
virtual StateMachineInput StateMachineInput { get; }
Property Value
Remarks
This includes input artifact, input type and the statemachine input.
Default: - none