Skip to main content

configuration_options

Creates, updates, deletes, gets or lists a configuration_options resource.

Overview

Nameconfiguration_options
TypeResource
Idaws.elasticbeanstalk.configuration_options

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
change_severitystringAn indication of which action is required if the value for this configuration option changes: NoInterruption : There is no interruption to the environment or application availability. RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
default_valuestringThe default value for this configuration option.
max_lengthintegerIf specified, the configuration option must be a string value no longer than this value.
max_valueintegerIf specified, the configuration option must be a numeric value less than this value.
min_valueintegerIf specified, the configuration option must be a numeric value greater than this value.
namestringThe name of the configuration option.
namespacestringA unique namespace identifying the option's associated AWS resource.
regexstringIf specified, the configuration option must be a string value that satisfies this regular expression.
user_definedbooleanAn indication of whether the user defined this configuration option: true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings. false : This configuration was not defined by the user. Constraint: You can remove only UserDefined options from a configuration. Valid Values: true | false
value_optionsstringIf specified, values for the configuration option are selected from this list.
value_typestringAn indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints. List : Values for this option are multiple selections from the possible values. Boolean : Values for this option are either true or false . Json : Values for this option are a JSON representation of a ConfigDocument.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_configuration_optionsselectregionApplicationName, TemplateName, EnvironmentName, SolutionStackName, PlatformArn, OptionsDescribes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
ApplicationNamestringThe name of the application associated with the configuration template or environment. Only needed if you want to describe the configuration options associated with either the configuration template or environment.
EnvironmentNamestringThe name of the environment whose configuration options you want to describe.
OptionsarrayIf specified, restricts the descriptions to only the specified options.
PlatformArnstringThe ARN of the custom platform.
SolutionStackNamestringThe name of the solution stack whose configuration options you want to describe.
TemplateNamestringThe name of the configuration template whose configuration options you want to describe.

SELECT examples

Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.

SELECT
change_severity,
default_value,
max_length,
max_value,
min_value,
name,
namespace,
regex,
user_defined,
value_options,
value_type
FROM aws.elasticbeanstalk.configuration_options
WHERE region = '{{ region }}' -- required
AND ApplicationName = '{{ ApplicationName }}'
AND TemplateName = '{{ TemplateName }}'
AND EnvironmentName = '{{ EnvironmentName }}'
AND SolutionStackName = '{{ SolutionStackName }}'
AND PlatformArn = '{{ PlatformArn }}'
AND Options = '{{ Options }}'
;