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
전문가
답변함 일 년 전
  • Thanks!  How do I wait until the backup is done before I can process the next steps?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠