AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

elastic-beanstalk-validate-configuration-settings

Description

Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

This action returns a list of messages indicating any errors or warnings associated with the selection of option values.

Syntax

elastic-beanstalk-validate-configuration-settings -a [name] -t [name] -e [name] -f [filename]

Options

NameDescriptionRequired

-a

--application-name name

The name of the application that the configuration template or environment belongs to.

Type: String

Default: None

Length Constraints: Minimum value of 1. Maximum value of 100.

Yes

-t

--template-name name

The name of the configuration template to validate the settings against.

Condition: You cannot specify both this and the environment name.

Type: String

Default: None

Length Constraints: Minimum value of 1. Maximum value of 100.

No

-e

--environment-name name

The name of the environment to validate the settings against.

Type: String

Default: None

Length Constraints: Minimum value of 4. Maximum value of 23.

No

-f

--options-file filename

The name of a JSON file that contains a list of options and desired values to evaluate.

Type: String

Yes

Output

The command returns a table with the following information:

  • Message—A message describing the error or warning.

  • Namespace

  • OptionName

  • Severity—An indication of the severity of this message:

    • error: This message indicates that this is not a valid settings for an option.

    • warning: This message provides information you should take into account.

Examples

Validating Configuration Settings for an Environment

This example shows how to validate the configuration settings for an environment.

PROMPT> elastic-beanstalk-validate-configuration-settings -a MySampleApp -e MySampleAppEnv -f MyOptionSettingsFile.json