paws.compute (version 0.1.0)

elasticbeanstalk_update_configuration_template: Updates the specified configuration template to have the specified properties or configuration option values

Description

Updates the specified configuration template to have the specified properties or configuration option values.

Usage

elasticbeanstalk_update_configuration_template(ApplicationName,
  TemplateName, Description, OptionSettings, OptionsToRemove)

Arguments

ApplicationName

[required] The name of the application associated with the configuration template to update.

If no application is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

TemplateName

[required] The name of the configuration template to update.

If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.

Description

A new description for the configuration.

OptionSettings

A list of configuration option settings to update with the new specified option value.

OptionsToRemove

A list of configuration options to remove from the configuration set.

Constraint: You can remove only UserDefined configuration options.

Request syntax

svc$update_configuration_template(
  ApplicationName = "string",
  TemplateName = "string",
  Description = "string",
  OptionSettings = list(
    list(
      ResourceName = "string",
      Namespace = "string",
      OptionName = "string",
      Value = "string"
    )
  ),
  OptionsToRemove = list(
    list(
      ResourceName = "string",
      Namespace = "string",
      OptionName = "string"
    )
  )
)

Details

If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string.

Related Topics

  • DescribeConfigurationOptions

Examples

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

Run the code above in your browser using DataLab