paws.compute (version 0.1.0)

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

Description

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

Usage

elasticbeanstalk_validate_configuration_settings(ApplicationName,
  TemplateName, EnvironmentName, OptionSettings)

Arguments

ApplicationName

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

TemplateName

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

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

EnvironmentName

The name of the environment to validate the settings against.

Condition: You cannot specify both this and a configuration template name.

OptionSettings

[required] A list of the options and desired values to evaluate.

Request syntax

svc$validate_configuration_settings(
  ApplicationName = "string",
  TemplateName = "string",
  EnvironmentName = "string",
  OptionSettings = list(
    list(
      ResourceName = "string",
      Namespace = "string",
      OptionName = "string",
      Value = "string"
    )
  )
)

Details

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

Examples

Run this code
# 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