Skip to main content

configuration_settings

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

Overview

Nameconfiguration_settings
TypeResource
Idaws.elasticbeanstalk.configuration_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_namestringThe name of the application associated with this configuration set.
date_createdstringThe date (in UTC time) when this configuration set was created.
date_updatedstringThe date (in UTC time) when this configuration set was last modified.
deployment_statusstringIf this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set: null: This configuration is not associated with a running environment. pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying. deployed: This is the configuration that is currently deployed to the associated running environment. failed: This is a draft configuration that failed to successfully deploy.
descriptionstringDescribes this configuration set.
environment_namestringIf not null, the name of the environment for this configuration set.
option_settingsstringA list of the configuration options and their values in this configuration set.
platform_arnstringThe ARN of the platform version.
solution_stack_namestringThe name of the solution stack this configuration set uses.
template_namestringIf not null, the name of the configuration template for this configuration set.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_configuration_settingsselectApplicationName, regionTemplateName, EnvironmentNameReturns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment. When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. Related Topics DeleteEnvironmentConfiguration
validate_configuration_settingsexecApplicationName, OptionSettings, regionTemplateName, EnvironmentNameTakes 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.

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
ApplicationNamestringThe name of the application that the configuration template or environment belongs to.
OptionSettingsarrayA list of the options and desired values to evaluate.
regionstringAWS region (default: us-east-1)
EnvironmentNamestringThe name of the environment to validate the settings against. Condition: You cannot specify both this and a configuration template name.
TemplateNamestringThe name of the configuration template to validate the settings against. Condition: You cannot specify both this and an environment name.

SELECT examples

Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment. When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy. Related Topics DeleteEnvironmentConfiguration

SELECT
application_name,
date_created,
date_updated,
deployment_status,
description,
environment_name,
option_settings,
platform_arn,
solution_stack_name,
template_name
FROM aws.elasticbeanstalk.configuration_settings
WHERE ApplicationName = '{{ ApplicationName }}' -- required
AND region = '{{ region }}' -- required
AND TemplateName = '{{ TemplateName }}'
AND EnvironmentName = '{{ EnvironmentName }}'
;

Lifecycle Methods

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.

EXEC aws.elasticbeanstalk.configuration_settings.validate_configuration_settings
@ApplicationName='{{ ApplicationName }}' --required,
@OptionSettings='{{ OptionSettings }}' --required,
@region='{{ region }}' --required,
@TemplateName='{{ TemplateName }}',
@EnvironmentName='{{ EnvironmentName }}'
;