2024-02-16 11:17:29 -05:00
# Elastic Beanstalk code examples for the SDK for Ruby
2022-10-21 10:23:10 -06:00
## Overview
2021-10-08 16:29:35 +01:00
2024-02-16 11:17:29 -05:00
Shows how to use the AWS SDK for Ruby to work with AWS Elastic Beanstalk.
<!--custom.overview.start-->
<!--custom.overview.end-->
_ Elastic Beanstalk _
2021-10-08 16:29:35 +01:00
2024-02-16 11:17:29 -05:00
## ⚠ Important
* Running this code might result in charges to your AWS account. For more details, see [AWS Pricing ](https://aws.amazon.com/pricing/ ) and [Free Tier ](https://aws.amazon.com/free/ ).
2022-10-21 10:23:10 -06:00
* Running the tests might result in charges to your AWS account.
2024-02-16 11:17:29 -05:00
* We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see [Grant least privilege ](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege ).
2022-10-21 10:23:10 -06:00
* This code is not tested in every AWS Region. For more information, see [AWS Regional Services ](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services ).
2021-10-08 16:29:35 +01:00
2024-02-16 11:17:29 -05:00
<!--custom.important.start-->
<!--custom.important.end-->
2021-10-08 16:29:35 +01:00
## Code examples
2024-02-16 11:17:29 -05:00
### Prerequisites
For prerequisites, see the [README ](../../README.md#Prerequisites ) in the `ruby` folder.
2021-10-08 16:29:35 +01:00
2024-02-16 11:17:29 -05:00
<!--custom.prerequisites.start-->
<!--custom.prerequisites.end-->
2021-10-08 16:29:35 +01:00
2024-02-16 11:17:29 -05:00
### Single actions
2022-10-21 10:23:10 -06:00
2024-02-16 11:17:29 -05:00
Code excerpts that show you how to call individual service functions.
2022-10-21 10:23:10 -06:00
2024-02-16 11:17:29 -05:00
- [Describe app ](list_apps.rb#L6 ) (`DescribeApplications` )
- [List stacks ](list_stacks.rb#L6 ) (`ListAvailableSolutionStacks` )
- [Update app ](update_app.rb#L8 ) (`UpdateApplication` )
2022-10-21 10:23:10 -06:00
2024-02-16 11:17:29 -05:00
<!--custom.examples.start-->
<!--custom.examples.end-->
2022-10-21 10:23:10 -06:00
2024-02-16 11:17:29 -05:00
### Tests
2022-10-21 10:23:10 -06:00
2024-02-16 11:17:29 -05:00
⚠ Running tests might result in charges to your AWS account.
2021-10-08 16:29:35 +01:00
2021-10-13 19:30:48 +01:00
2024-02-16 11:17:29 -05:00
To find instructions for running these tests, see the [README ](../../README.md#Tests )
in the `ruby` folder.
2022-10-21 10:23:10 -06:00
2023-05-19 13:23:56 -06:00
<!--custom.tests.start-->
The example code in this directory is not currently tested.
## Contribute
Code examples thrive on community contribution.
2022-10-21 10:23:10 -06:00
2023-05-19 13:23:56 -06:00
To learn more about the contributing process, see [CONTRIBUTING.md ](../../../CONTRIBUTING.md ).
<!--custom.tests.end-->
2022-10-21 10:23:10 -06:00
## Additional resources
2024-02-16 11:17:29 -05:00
- [Elastic Beanstalk Developer Guide ](https://docs.aws.amazon.com/elastic-beanstalk/latest/dg/Welcome.html )
- [Elastic Beanstalk API Reference ](https://docs.aws.amazon.com/elastic-beanstalk/latest/api/Welcome.html )
- [SDK for Ruby Elastic Beanstalk reference ](https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Elastic-beanstalk.html )
2023-05-19 13:23:56 -06:00
<!--custom.resources.start-->
<!--custom.resources.end-->
2024-02-16 11:17:29 -05:00
---
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2022-10-21 10:23:10 -06:00
2024-02-16 11:17:29 -05:00
SPDX-License-Identifier: Apache-2.0