Step function - EmrActivity

0

Hi,

I have an EmrActivity step on the data pipeline that backups the dynamoDB and stores it in S3. I would like to use this functionality on a step function or something other than Data Pipeline. If this is possible, how do I accomplish this? Enter image description here

1回答
0

You could probably use the export-table-to-point-in-time https://docs.aws.amazon.com/cli/latest/reference/dynamodb/export-table-to-point-in-time.html

The SDK operation can be invoked from StepFunction, ASL would like something like this.

Comment: A description of my state machine
StartAt: ExportTableToPointInTime
States:
  ExportTableToPointInTime:
    Type: Task
    End: true
    Parameters:
      S3Bucket: S3Bucket
      TableArn: MyDynamoDBARN
    Resource: arn:aws:states:::aws-sdk:dynamodb:exportTableToPointInTime

Point in time recovery MUST be enabled on the DynamoDB table.

profile picture
エキスパート
回答済み 1年前
  • Thanks!  How do I wait until the backup is done before I can process the next steps?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ