Configuration Template Args
data class ConfigurationTemplateArgs(val application: Output<String>? = null, val description: Output<String>? = null, val environmentId: Output<String>? = null, val name: Output<String>? = null, val settings: Output<List<ConfigurationTemplateSettingArgs>>? = null, val solutionStackName: Output<String>? = null) : ConvertibleToJava<ConfigurationTemplateArgs>
Provides an Elastic Beanstalk Configuration Template, which are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.elasticbeanstalk.Application;
import com.pulumi.aws.elasticbeanstalk.ApplicationArgs;
import com.pulumi.aws.elasticbeanstalk.ConfigurationTemplate;
import com.pulumi.aws.elasticbeanstalk.ConfigurationTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var tftest = new Application("tftest", ApplicationArgs.builder()
.description("tf-test-desc")
.build());
var myTemplate = new ConfigurationTemplate("myTemplate", ConfigurationTemplateArgs.builder()
.application(tftest.name())
.solutionStackName("64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4")
.build());
}
}
Content copied to clipboard
Option Settings
The setting
field supports the following format:
namespace
- unique namespace identifying the option's associated AWS resourcename
- name of the configuration optionvalue
- value for the configuration optionresource
- (Optional) resource name for scheduled action
Constructors
Link copied to clipboard
fun ConfigurationTemplateArgs(application: Output<String>? = null, description: Output<String>? = null, environmentId: Output<String>? = null, name: Output<String>? = null, settings: Output<List<ConfigurationTemplateSettingArgs>>? = null, solutionStackName: Output<String>? = null)