

# ValidationMessage
<a name="API_ValidationMessage"></a>

An error or warning for a desired configuration option value.

## Contents
<a name="API_ValidationMessage_Contents"></a>

 ** Message **   
A message describing the error or warning.  
Type: String  
Required: No

 ** Namespace **   
The namespace to which the option belongs.  
Type: String  
Required: No

 ** OptionName **   
The name of the option.  
Type: String  
Required: No

 ** Severity **   
An indication of the severity of this message:  
+  `error`: This message indicates that this is not a valid setting for an option.
+  `warning`: This message is providing information you should take into account.
Type: String  
Valid Values: `error | warning`   
Required: No

## See Also
<a name="API_ValidationMessage_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/elasticbeanstalk-2010-12-01/ValidationMessage) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elasticbeanstalk-2010-12-01/ValidationMessage) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elasticbeanstalk-2010-12-01/ValidationMessage) 