Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed Feb 7, 2024
1 parent 76c7608 commit 8a81e41
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,8 @@ new tasks.EventBridgePutEvents(this, 'Send an event to EventBridge', {

Step Functions supports [AWS Glue](https://docs.aws.amazon.com/step-functions/latest/dg/connect-glue.html) through the service integration pattern.

### StartJobRun

You can call the [`StartJobRun`](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-runs-StartJobRun) API from a `Task` state.

```ts
Expand All @@ -1054,6 +1056,16 @@ new tasks.GlueStartJobRun(this, 'Task', {
});
```

### StartCrawlerRun

You can call the `startCrawler` API from a `Task` state through AWS SDK service integrations.

```ts
new tasks.GlueStartCrawlerRun(this, 'Task', {
crawlerName: 'my-crawler-job',
});
```

## Glue DataBrew

Step Functions supports [AWS Glue DataBrew](https://docs.aws.amazon.com/step-functions/latest/dg/connect-databrew.html) through the service integration pattern.
Expand Down

0 comments on commit 8a81e41

Please sign in to comment.