paws.compute (version 0.1.0)

elasticbeanstalk_rebuild_environment: 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.

Request syntax

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

Examples

Run this code
# NOT RUN {
# The following operation terminates and recreates the resources in an
# environment named my-env:
# }
# NOT RUN {
svc$rebuild_environment(
  EnvironmentName = "my-env"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab