Class InvokeActivity
(deprecated) A Step Functions Task to invoke an Activity worker.
Inheritance
System.Object
InvokeActivity
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class InvokeActivity : DeputyBase, IStepFunctionsTask
Syntax (vb)
Public Class InvokeActivity
Inherits DeputyBase
Implements IStepFunctionsTask
Remarks
An Activity can be used directly as a Resource.
Stability: Deprecated
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
using Amazon.CDK.AWS.StepFunctions.Tasks;
using Amazon.CDK;
Activity activity;
var invokeActivity = new InvokeActivity(activity, new InvokeActivityProps {
Heartbeat = Duration.Minutes(30)
});
Synopsis
Constructors
InvokeActivity(IActivity, IInvokeActivityProps) | |
InvokeActivity(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InvokeActivity(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Task) | (deprecated) Called when the task object is used in a workflow. |
Constructors
InvokeActivity(IActivity, IInvokeActivityProps)
public InvokeActivity(IActivity activity, IInvokeActivityProps props = null)
Parameters
- activity IActivity
- props IInvokeActivityProps
Remarks
Stability: Deprecated
InvokeActivity(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InvokeActivity(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InvokeActivity(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InvokeActivity(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Task)
(deprecated) Called when the task object is used in a workflow.
public virtual IStepFunctionsTaskConfig Bind(Task task)
Parameters
- task Task
Returns
Remarks
Stability: Deprecated