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 Antwort
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
EXPERTE
beantwortet vor einem Jahr
  • Thanks!  How do I wait until the backup is done before I can process the next steps?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen