
Last chance! 50% off unlimited learning
Sale ends in
Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.
elasticbeanstalk_validate_configuration_settings(ApplicationName,
TemplateName, EnvironmentName, OptionSettings)
[required] The name of the application that the configuration template or environment belongs to.
The name of the configuration template to validate the settings against.
Condition: You cannot specify both this and an environment name.
The name of the environment to validate the settings against.
Condition: You cannot specify both this and a configuration template name.
[required] A list of the options and desired values to evaluate.
svc$validate_configuration_settings( ApplicationName = "string", TemplateName = "string", EnvironmentName = "string", OptionSettings = list( list( ResourceName = "string", Namespace = "string", OptionName = "string", Value = "string" ) ) )
This action returns a list of messages indicating any errors or warnings associated with the selection of option values.
# NOT RUN {
# The following operation validates a CloudWatch custom metrics config
# document:
# }
# NOT RUN {
svc$validate_configuration_settings(
ApplicationName = "my-app",
EnvironmentName = "my-env",
OptionSettings = list(
list(
Namespace = "aws:elasticbeanstalk:healthreporting:system",
OptionName = "ConfigDocument",
Value = "{\"CloudWatchMetrics\": {\"Environment\": {\"ApplicationLatencyP99.9\": null,..."
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab