You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: s3-eventbridge-sfn-terraform/README.md
+8-15Lines changed: 8 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# S3 to StepFunctions with EventBridge Rule
1
+
# Amazon S3 to AWS Step Functions with Amazon EventBridge Rule
2
2
3
-
This pattern demonstrates how to create an EventBridge rule with S3 as the event source and Step Functions as target. Implemented with Terraform.
3
+
This pattern demonstrates invoking a Step Functions state machine from an S3 event via EventBridge. Implemented with Terraform.
4
4
5
5
Learn more about this pattern at Serverless Land Patterns: [erverlessland.com/patterns/s3-eventbridge-sfn-terraform](https://serverlessland.com/patterns/s3-eventbridge-sfn-terraform)
6
6
@@ -41,29 +41,22 @@ Important: this application uses various AWS services and there are costs associ
41
41
## How it works
42
42
43
43
- Upload a file to the newly created S3 bucket
44
-
- This will send an `Object Created` event to EventBridge
44
+
- This sends an `Object Created` event to EventBridge
45
45
- Based on the EventBridge rule, the state machine is executed
46
46
47
47
48
48
## Testing
49
49
50
-
1. Navigate to AWS console and go to the S3 bucket that was created by this terraform template
50
+
1. Navigate to Amazon S3 console, then choose the S3 bucket created by this Terraform template.
51
51
52
52
2. Upload a file to the S3 bucket
53
53
54
-
3. Immediately after the upload is completed successfully, navigate to the Step Functions state machine, you will see an execution has been triggered
55
-
56
-
## Cleanup
57
-
58
-
1. Delete the stack
59
-
```bash
60
-
cdk destroy
61
-
```
54
+
3. Immediately after the upload completes successfully, navigate to the Step Functions console. Select the state machine created by the template, and observe the state machine execution.
62
55
63
56
64
-
## Documentations and next step
57
+
## Documentation and next step
65
58
66
-
To create a full Step Functions workflow with the pattern created, you can find out example workflows at Step Functions Workflow:[serverlessland.com/workflows](https://serverlessland.com/workflows)
59
+
To create a full Step Functions workflow with this pattern, search the example workflows available at [serverlessland.com/workflows](https://serverlessland.com/workflows)
67
60
68
61
69
62
## Cleanup
@@ -87,4 +80,4 @@ To create a full Step Functions workflow with the pattern created, you can find
87
80
----
88
81
Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
0 commit comments