// 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 sns from '@aws-cdk/aws-sns';
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
declare const taskInput: stepfunctions.TaskInput;
declare const topic: sns.Topic;
const publishToTopic = new stepfunctions_tasks.PublishToTopic(topic, {
message: taskInput,
// the properties below are optional
integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
messagePerSubscriptionType: false,
subject: 'subject',
});
// 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 sqs from '@aws-cdk/aws-sqs';
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 queue: sqs.Queue;
declare const taskInput: stepfunctions.TaskInput;
const sendToQueue = new stepfunctions_tasks.SendToQueue(queue, {
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';
declare const resultSelector: any;
declare const taskInput: stepfunctions.TaskInput;
const callApiGatewayEndpointBaseProps: stepfunctions_tasks.CallApiGatewayEndpointBaseProps = {
method: stepfunctions_tasks.HttpMethod.GET,
// the properties below are optional
apiPath: 'apiPath',
authType: stepfunctions_tasks.AuthType.NO_AUTH,
comment: 'comment',
headers: taskInput,
heartbeat: cdk.Duration.minutes(30),
inputPath: 'inputPath',
integrationPattern: stepfunctions.IntegrationPattern.REQUEST_RESPONSE,
outputPath: 'outputPath',
queryParameters: taskInput,
requestBody: taskInput,
resultPath: 'resultPath',
resultSelector: {
resultSelectorKey: resultSelector,
},
timeout: cdk.Duration.minutes(30),
};