Call DynamoDB APIs with Step Functions (Insert , Get , Delete) | In-depth intuition
Автор: Knowledge Amplifier
Загружено: 2022-06-16
Просмотров: 2997
Описание:
Step Functions can control certain AWS services directly from the Amazon States Language.
In this video one such direct integration is covered -- AWS' direct DynamoDB integration as part of a Step Function Task.
If you want to learn AWS Step Function in easiest way , you can refer this playlist --
Getting started with AWS Step Functions with AWS Lambda & Athena
• Getting started with AWS Step Functions wi...
AWS Step Function: Adding Retries and Error Notifications to a Lambda Function
• AWS Step Function: Adding Retries and Erro...
Call Your AWS Step Functions With API Gateway
• Call Your AWS Step Functions With API Gateway
Invoking State Machine with CloudWatch
• Invoking State Machine with CloudWatch
Build and orchestrate ETL pipelines using Amazon Athena and AWS Step Functions
• Build and orchestrate ETL pipelines using ...
Send message from Step Function to SQS directly | in-depth intuition
• Send message from Step Function to SQS dir...
Code:
-----------
{
"Comment": "A description of my state machine",
"StartAt": "Insert Data",
"States": {
"Insert Data": {
"Type": "Task",
"Resource": "arn:aws:states:::dynamodb:putItem",
"Parameters": {
"TableName": "studentinfo",
"Item.$": "$.item"
},
"ResultPath": "$.output",
"Next": "Pass"
},
"Pass": {
"Type": "Pass",
"InputPath": "$.item.roll_no.N",
"Next": "Get the data"
},
"Get the data": {
"Type": "Task",
"Resource": "arn:aws:states:::dynamodb:getItem",
"Parameters": {
"TableName": "studentinfo",
"Key": {
"roll_no": {
"N.$": "$"
}
}
},
"Next": "Wait"
},
"Wait": {
"Type": "Wait",
"Seconds": 60,
"Next": "DynamoDB DeleteItem"
},
"DynamoDB DeleteItem": {
"Type": "Task",
"Resource": "arn:aws:states:::dynamodb:deleteItem",
"Parameters": {
"TableName": "studentinfo",
"Key": {
"roll_no": {
"N.$": "$.Item.roll_no.N"
}
}
},
"End": true
}
}
}
Check this playlist for more AWS Projects in Big Data domain:
• Demystifying Data Engineering with Cloud C...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: