Skip to content

Rebuild Environment

elasticbeanstalk_rebuild_environment R Documentation

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc

Description

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

Usage

elasticbeanstalk_rebuild_environment(EnvironmentId, EnvironmentName)

Arguments

EnvironmentId

The ID of the environment to rebuild.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

EnvironmentName

The name of the environment to rebuild.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Value

An empty list.

Request syntax

svc$rebuild_environment(
  EnvironmentId = "string",
  EnvironmentName = "string"
)

Examples

## Not run: 
# The following operation terminates and recreates the resources in an
# environment named my-env:
svc$rebuild_environment(
  EnvironmentName = "my-env"
)

## End(Not run)