You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::RestartAppServerMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RestartAppServerMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  environment_id: "EnvironmentId",
  environment_name: "EnvironmentName",
}

Instance Attribute Summary collapse

Instance Attribute Details

#environment_idString

The ID of the environment to restart the server for.

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

Returns:

  • (String)

    The ID of the environment to restart the server for.

#environment_nameString

The name of the environment to restart the server for.

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

Returns:

  • (String)

    The name of the environment to restart the server for.