# 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