// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
declare const function_: lambda.Function;
declare const taskInput: stepfunctions.TaskInput;
const runLambdaTask = new stepfunctions_tasks.RunLambdaTask(function_, /* all optional props */ {
clientContext: 'clientContext',
integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
invocationType: stepfunctions_tasks.InvocationType.REQUEST_RESPONSE,
payload: taskInput,
qualifier: 'qualifier',
});
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
declare const input: any;
declare const stateMachine: stepfunctions.StateMachine;
const startExecution = new stepfunctions_tasks.StartExecution(stateMachine, /* all optional props */ {
input: {
inputKey: input,
},
integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
name: 'name',
});
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
import * as cdk from '@aws-cdk/core';
declare const taskInput: stepfunctions.TaskInput;
const sendToQueueProps: stepfunctions_tasks.SendToQueueProps = {
messageBody: taskInput,
// the properties below are optional
delay: cdk.Duration.minutes(30),
integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
messageDeduplicationId: 'messageDeduplicationId',
messageGroupId: 'messageGroupId',
};
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
import * as cdk from '@aws-cdk/core';
const runGlueJobTask = new stepfunctions_tasks.RunGlueJobTask('glueJobName', /* all optional props */ {
arguments: {
argumentsKey: 'arguments',
},
integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
notifyDelayAfter: cdk.Duration.minutes(30),
securityConfiguration: 'securityConfiguration',
timeout: cdk.Duration.minutes(30),
});
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
import * as cdk from '@aws-cdk/core';
const runGlueJobTaskProps: stepfunctions_tasks.RunGlueJobTaskProps = {
arguments: {
argumentsKey: 'arguments',
},
integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
notifyDelayAfter: cdk.Duration.minutes(30),
securityConfiguration: 'securityConfiguration',
timeout: cdk.Duration.minutes(30),
};