Interface IRunLambdaTaskProps
(deprecated) Properties for RunLambdaTask.
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface IRunLambdaTaskProps
Syntax (vb)
Public Interface IRunLambdaTaskProps
Remarks
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;
TaskInput taskInput;
var runLambdaTaskProps = new RunLambdaTaskProps {
ClientContext = "clientContext",
IntegrationPattern = ServiceIntegrationPattern.FIRE_AND_FORGET,
InvocationType = InvocationType.REQUEST_RESPONSE,
Payload = taskInput,
Qualifier = "qualifier"
};
Synopsis
Properties
ClientContext | (deprecated) Client context to pass to the function. |
IntegrationPattern | (deprecated) The service integration pattern indicates different ways to invoke Lambda function. |
InvocationType | (deprecated) Invocation type of the Lambda function. |
Payload | (deprecated) The JSON that you want to provide to your Lambda function as input. |
Qualifier | (deprecated) Version or alias of the function to be invoked. |
Properties
ClientContext
(deprecated) Client context to pass to the function.
virtual string ClientContext { get; }
Property Value
System.String
Remarks
Default: - No context
Stability: Deprecated
IntegrationPattern
(deprecated) The service integration pattern indicates different ways to invoke Lambda function.
virtual Nullable<ServiceIntegrationPattern> IntegrationPattern { get; }
Property Value
System.Nullable<ServiceIntegrationPattern>
Remarks
The valid value for Lambda is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN, it determines whether to pause the workflow until a task token is returned.
If this is set to WAIT_FOR_TASK_TOKEN, the JsonPath.taskToken value must be included
somewhere in the payload and the Lambda must call
SendTaskSuccess/SendTaskFailure
using that token.
Default: FIRE_AND_FORGET
Stability: Deprecated
InvocationType
(deprecated) Invocation type of the Lambda function.
virtual Nullable<InvocationType> InvocationType { get; }
Property Value
System.Nullable<InvocationType>
Remarks
Default: RequestResponse
Stability: Deprecated
Payload
(deprecated) The JSON that you want to provide to your Lambda function as input.
virtual TaskInput Payload { get; }
Property Value
Remarks
Default: - The state input (JSON path '$')
Stability: Deprecated
Qualifier
(deprecated) Version or alias of the function to be invoked.
virtual string Qualifier { get; }
Property Value
System.String
Remarks
Default: - No qualifier
Stability: Deprecated