Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(aws-stepfunctions-tasks): support AWS SDK service integrations #16780

Closed
2 tasks
matthias-pichler opened this issue Oct 4, 2021 · 2 comments · Fixed by #16746
Closed
2 tasks

(aws-stepfunctions-tasks): support AWS SDK service integrations #16780

matthias-pichler opened this issue Oct 4, 2021 · 2 comments · Fixed by #16746
Assignees
Labels
@aws-cdk/aws-stepfunctions-tasks effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. in-progress This issue is being actively worked on. p1

Comments

@matthias-pichler
Copy link
Contributor

Description

StepFunctions now integrates with over 200 AWS Services via AWS SDK service integrations. It would be great to have a higher level construct than the CustomState to use these

Use Case

Build step functions using the new service integrations and thereby removing a lot of lambdas

Proposed Solution

Something like:

new tasks.AwsSdk(this, 'Call S3', {
  service: "s3",
  action: "putObject",
  payload: sfn.TaskInput.fromObject({
    Bucket: sfn.JsonPath.stringAt("$.bucketName"),
    Body: "Hello World",
    Key: "test.txt"
  })
});

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change
@matthias-pichler matthias-pichler added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Oct 4, 2021
@jogold
Copy link
Contributor

jogold commented Oct 4, 2021

#16746

@kaizencc kaizencc added effort/small Small work item – less than a day of effort in-progress This issue is being actively worked on. p1 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. effort/small Small work item – less than a day of effort labels Oct 4, 2021
@mergify mergify bot closed this as completed in #16746 Oct 8, 2021
mergify bot pushed a commit that referenced this issue Oct 8, 2021
Add support for Step Functions' AWS SDK integrations to call
any of the over two hundred AWS services directly from a state
machine.

See https://docs.aws.amazon.com/step-functions/latest/dg/supported-services-awssdk.html
See https://aws.amazon.com/blogs/aws/now-aws-step-functions-supports-200-aws-services-to-enable-easier-workflow-automation/

Closes #16780 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@github-actions
Copy link

github-actions bot commented Oct 8, 2021

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

njlynch pushed a commit that referenced this issue Oct 11, 2021
Add support for Step Functions' AWS SDK integrations to call
any of the over two hundred AWS services directly from a state
machine.

See https://docs.aws.amazon.com/step-functions/latest/dg/supported-services-awssdk.html
See https://aws.amazon.com/blogs/aws/now-aws-step-functions-supports-200-aws-services-to-enable-easier-workflow-automation/

Closes #16780 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this issue Feb 21, 2022
Add support for Step Functions' AWS SDK integrations to call
any of the over two hundred AWS services directly from a state
machine.

See https://docs.aws.amazon.com/step-functions/latest/dg/supported-services-awssdk.html
See https://aws.amazon.com/blogs/aws/now-aws-step-functions-supports-200-aws-services-to-enable-easier-workflow-automation/

Closes aws#16780 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-stepfunctions-tasks effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. in-progress This issue is being actively worked on. p1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants