ruby/example_code/eventbridge/README.md
Shows how to use the AWS SDK for Ruby to work with Amazon EventBridge.
<!--custom.overview.start--> <!--custom.overview.end-->EventBridge is a serverless event bus service that makes it easy to connect your applications with data from a variety of sources.
For prerequisites, see the README in the ruby folder.
Code examples that show you how to accomplish a specific task by calling multiple functions within the same service.
<!--custom.examples.start--> <!--custom.examples.end-->The quickest way to interact with this example code is to invoke a Scenario from your command line. For example, ruby some_scenario.rb will invoke some_scenario.rb.
This example shows you how to create and trigger a rule in Amazon EventBridge.
<!--custom.scenario_prereqs.eventbridge_Scenario_createAndTriggerARule.start--> <!--custom.scenario_prereqs.eventbridge_Scenario_createAndTriggerARule.end-->Start the example by running the following at a command prompt:
ruby cw-ruby-example-send-events-ec2.rb
⚠ Running tests might result in charges to your AWS account.
To find instructions for running these tests, see the README
in the ruby folder.
Code examples thrive on community contribution.
To learn more about the contributing process, see CONTRIBUTING.md.
<!--custom.tests.end-->Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0