if (FALSE) {
# The following operation removes the configured CloudWatch custom health
# metrics configuration ConfigDocument from a saved configuration template
# named my-template:
svc$update_configuration_template(
ApplicationName = "my-app",
OptionsToRemove = list(
list(
Namespace = "aws:elasticbeanstalk:healthreporting:system",
OptionName = "ConfigDocument"
)
),
TemplateName = "my-template"
)
}
Run the code above in your browser using DataLab