createConfigurationTemplate
abstract suspend fun createConfigurationTemplate(input: CreateConfigurationTemplateRequest): CreateConfigurationTemplateResponse
Creates an AWS Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk application. You define application configuration settings in a configuration template. You can then use the configuration template to deploy different versions of the application with the same configuration settings.
Templates aren't associated with any environment. The EnvironmentName
response element is always null
.
Related Topics
DescribeConfigurationOptions
DescribeConfigurationSettings
ListAvailableSolutionStacks
Samples
fun main() {
//sampleStart
// The following operation creates a configuration template named my app v1 from the settings applied
// to an environment with the id e rpqsewtp2j
val resp = elasticBeanstalkClient.createConfigurationTemplate {
applicationName = "my-app"
templateName = "my-app-v1"
environmentId = "e-rpqsewtp2j"
}
//sampleEnd
}