Skip to content

Latest commit

 

History

History

infrastructure

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Infrastructure

This is the home of the underlying infrastructure for the App 2025 AnyCompany SaaS application. This infrastructure creates one [Amazon EventBridge] custom event bus and an [AWS Lambda] function that allows [AWS Step Functions] workflows to place events onto the bus.

Deployment instructions

  1. First, build the app.

    sam build
  2. Next, deploy the app using a guided deployment.

    sam deploy --guided
    • At the Stack Name prompt, enter app2025-infrastructure
  3. Record the values of the EventBusName and PublishEventsFunctionArn CloudFormation outputs to use in deploying the customer and operations microservices.

Placing events onto the bus

From this directory:

Episode 2 events

aws events put-events --entries file://events/episode2.json

This places five sample events of various types from various sources onto the custom event bus you created.

Episode 3 events

aws events put-events --entries file://events/episode2.json

This places a single sample account-created event onto the custom event bus you created.

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0