elasticbeanstalk_validate_configuration_settings: Takes a set of configuration settings and either a...

Description Usage Arguments Request syntax Examples

View source: R/elasticbeanstalk_operations.R

Description

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.

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
svc$validate_configuration_settings(
  ApplicationName = "string",
  TemplateName = "string",
  EnvironmentName = "string",
  OptionSettings = list(
    list(
      ResourceName = "string",
      Namespace = "string",
      OptionName = "string",
      Value = "string"
    )
  )
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# The following operation validates a CloudWatch custom metrics config
# document:
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,..."
    )
  )
)

## End(Not run)

paws.compute documentation built on Jan. 17, 2021, 1:06 a.m.