aws / aws/aws-cdk

(aws-stepfunctions-tasks): sagemaker runtime invoke endpoint

Open
#21,610 7 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-stepfunctions-tasks effort/medium feature-request p3
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
1d 19h
Merged PRs (30d)
74

Description

### Describe the feature

We need the ability to trigger a Sagemaker Endpoint from a step function. I am seeing that there are some available Sagemaker tasks [here](https://github.com/aws/aws-cdk/tree/74318c7d22bfc00de9e005f68a0a6aaa58c7db39/packages/%40aws-cdk/aws-stepfunctions-tasks/lib/sagemaker), but I am not seeing one for Sagemaker Runtime Invoke Endpoint.

In the AWS console's Step Function Workflow Studio, but we are not seeing this as an option in the CDK

![image](https://user-images.githubusercontent.com/109094294/184705182-7e0f452a-9988-4102-a046-76896af0b87a.png)

### Use Case

Need to trigger sagemaker endpoint from step function using CDK

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.37.1 (build f15dee0)

### Environment details (OS name and version, etc.)

macOS Monterey 12.4

Contributor guide

Open the contributing guide

Research direction

Start in packages/@aws-cdk/aws-stepfunctions-tasks/lib/sagemaker and compare the existing SageMaker task implementations with the Step Functions SageMaker Runtime Invoke Endpoint operation. Add the missing task support for triggering a SageMaker endpoint from a CDK step function, and verify it against the repository's relevant task tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.