AWS SDK Version 3 for .NET
API Reference

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.

Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.

Related Topics

Note:

For PCL this operation is only available in asynchronous form. Please refer to CreateConfigurationTemplateAsync.

Namespace: Amazon.ElasticBeanstalk
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateConfigurationTemplateResponse CreateConfigurationTemplate(
         CreateConfigurationTemplateRequest request
)
Parameters
request
Type: Amazon.ElasticBeanstalk.Model.CreateConfigurationTemplateRequest

Container for the necessary parameters to execute the CreateConfigurationTemplate service method.

Return Value
The response from the CreateConfigurationTemplate service method, as returned by ElasticBeanstalk.

Exceptions

ExceptionCondition
InsufficientPrivilegesException The specified account does not have sufficient privileges for one of more AWS services.
TooManyBucketsException The specified account has reached its limit of Amazon S3 buckets.
TooManyConfigurationTemplatesException The specified account has reached its limit of configuration templates.

Examples

The following operation creates a configuration template named my-app-v1 from the settings applied to an environment with the id e-rpqsewtp2j:

To create a configuration template


var response = client.CreateConfigurationTemplate(new CreateConfigurationTemplateRequest 
{
    ApplicationName = "my-app",
    EnvironmentId = "e-rpqsewtp2j",
    TemplateName = "my-app-v1"
});

string applicationName = response.ApplicationName;
DateTime dateCreated = response.DateCreated;
DateTime dateUpdated = response.DateUpdated;
string solutionStackName = response.SolutionStackName;
string templateName = response.TemplateName;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also