{"id":22831674,"url":"https://github.com/danilodeluca/aws-beanstalk-java","last_synced_at":"2026-05-03T04:34:16.908Z","repository":{"id":88562272,"uuid":"124945214","full_name":"danilodeLuca/aws-beanstalk-java","owner":"danilodeLuca","description":"Simple way to use AWS Elastic Beanstalk Java API","archived":false,"fork":false,"pushed_at":"2018-03-14T21:29:07.000Z","size":29,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T07:13:27.256Z","etag":null,"topics":["aws","aws-beanstalk","elasticbeanstalk","java-api"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danilodeLuca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-12T20:08:45.000Z","updated_at":"2018-03-14T21:29:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"12ea17fc-6bdc-4980-8432-bd9d14bf2db6","html_url":"https://github.com/danilodeLuca/aws-beanstalk-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2Faws-beanstalk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2Faws-beanstalk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2Faws-beanstalk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilodeLuca%2Faws-beanstalk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danilodeLuca","download_url":"https://codeload.github.com/danilodeLuca/aws-beanstalk-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403903,"owners_count":20771527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-beanstalk","elasticbeanstalk","java-api"],"created_at":"2024-12-12T20:29:48.968Z","updated_at":"2026-05-03T04:34:16.865Z","avatar_url":"https://github.com/danilodeLuca.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Elastic Beanstalk - Java API Helper\n\nSimple way to use AWS Elastic Beanstalk Java API\n\n## Usage\n\nYou can checkout the class BeanstalkHelperExample.java....  Here is some code\n\n### Rebuild Terminated Environment ById\n```java\nAWSElasticBeanstalk awsElasticBeastalk = getAWSElasticBeastalk();\nnew BeanstalkHelper(awsElasticBeastalk).byId().rebuildEnvironment(\"ENV_ID\");\n```\n### Rebuild Terminated Environment ByName\n```java\nAWSElasticBeanstalk awsElasticBeastalk = getAWSElasticBeastalk();\nnew BeanstalkHelper(awsElasticBeastalk).byName().rebuildEnvironment(\"ENV_NAME\");\n```\n### Terminate Environment ById\n```java\nAWSElasticBeanstalk awsElasticBeastalk = getAWSElasticBeastalk();\nnew BeanstalkHelper(awsElasticBeastalk).byId().terminateEnvironment(\"ENV_ID\");\n```\n### Terminate Environment ByName\n```java\nAWSElasticBeanstalk awsElasticBeastalk = getAWSElasticBeastalk();\nnew BeanstalkHelper(awsElasticBeastalk).byName().terminateEnvironment(\"ENV_NAME\");\n```\n\n\n## Environment Creator\nThere is one option for creation your environments using EnvironmentCreator.java\n\n```java\nAWSElasticBeanstalk aws = getAWSElasticBeastalk();\n```\n### Simple Environment \n```java\nEnvironmentCreator.creator(aws)\n\t.newEnv()\n\t\t.withApplicationName(\"APP NAME\")\n\t\t.withName(\"ENV NAME\")\n\t\t.withUrl(\"MY-ENV\")\n\t\t.withConfiguration(\"64bit Amazon Linux 2017.09 v2.8.4 running Docker 17.09.1-ce\")\n\t\t.withVersion(\"V1\")\n\t.process();\n```\n### Multiple Environments \n```java\nEnvironmentCreator.creator(aws)\n\t.newEnv()\n\t\t.withApplicationName(\"APP NAME\")\n\t\t.withName(\"ENV NAME\")\n\t\t.withUrl(\"MY-ENV\")\n\t\t.withConfiguration(\"64bit Amazon Linux 2017.09 v2.8.4 running Docker 17.09.1-ce\")\n\t\t.withVersion(\"V1\")\n\t.newEnv()\n\t\t.withApplicationName(\"APP NAME\")\n\t\t.withName(\"ENV NAME2\")\n\t\t.withUrl(\"MY-ENV2\")\n\t\t.withConfiguration(\"64bit Amazon Linux 2017.09 v2.8.4 running Docker 17.09.1-ce\")\n\t\t.withVersion(\"V2\")\n\t.process();\n```\n### Environment from Saved configuration on your Application\n```java\nEnvironmentCreator.creator(aws)\n\t.newEnv()\n\t\t.withApplicationName(\"APP NAME\")\n\t\t.withName(\"ENV NAME\")\n\t\t.withUrl(\"MY-ENV\")\n\t\t.withSavedConfiguration(\"SAVED_CONFIG\")\n\t.process();\n```\n### Environment from Saved configuration on your Application and Wait to be ready\n```java\nEnvironmentCreator.creator(aws)\n\t.newEnv()\n\t\t.withApplicationName(\"APP NAME\")\n\t\t.withName(\"ENV NAME\")\n\t\t.withUrl(\"MY-ENV\")\n\t\t.withSavedConfiguration(\"SAVED_CONFIG\")\n\t.processAndWait();\n```\n### Killing your Environments\n```java\nEnvironmentCreator.creator(aws).killAll();\nEnvironmentCreator.creator(aws).kill(\"APP NAME\", \"ENV NAME\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilodeluca%2Faws-beanstalk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanilodeluca%2Faws-beanstalk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilodeluca%2Faws-beanstalk-java/lists"}