AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Updates the specified configuration template to have the specified properties or configuration
option values.
If a property (for example, ApplicationName
) is not provided, its value remains
unchanged. To clear such properties, specify an empty string.
Related Topics
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateConfigurationTemplateAsync.
Namespace: Amazon.ElasticBeanstalk
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z
public abstract UpdateConfigurationTemplateResponse UpdateConfigurationTemplate( UpdateConfigurationTemplateRequest request )
Container for the necessary parameters to execute the UpdateConfigurationTemplate service method.
Exception | Condition |
---|---|
InsufficientPrivilegesException | The specified account does not have sufficient privileges for one or more AWS services. |
TooManyBucketsException | The specified account has reached its limit of Amazon S3 buckets. |
The following operation removes the configured CloudWatch custom health metrics configuration ConfigDocument from a saved configuration template named my-template:
var client = new AmazonElasticBeanstalkClient(); var response = client.UpdateConfigurationTemplate(new UpdateConfigurationTemplateRequest { ApplicationName = "my-app", OptionsToRemove = new List<OptionSpecification> { new OptionSpecification { Namespace = "aws:elasticbeanstalk:healthreporting:system", OptionName = "ConfigDocument" } }, TemplateName = "my-template" }); string applicationName = response.ApplicationName; DateTime dateCreated = response.DateCreated; DateTime dateUpdated = response.DateUpdated; string solutionStackName = response.SolutionStackName; string templateName = response.TemplateName;
.NET Framework:
Supported in: 4.5, 4.0, 3.5