ConfigurationTemplateArgs

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());
}
}

Option Settings

The setting field supports the following format:

  • namespace - unique namespace identifying the option's associated AWS resource

  • name - name of the configuration option

  • value - value for the configuration option

  • resource - (Optional) resource name for scheduled action

Constructors

Link copied to clipboard
constructor(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)

Properties

Link copied to clipboard
val application: Output<String>? = null

name of the application to associate with this configuration template

Link copied to clipboard
val description: Output<String>? = null

Short description of the Template

Link copied to clipboard
val environmentId: Output<String>? = null

The ID of the environment used with this configuration template

Link copied to clipboard
val name: Output<String>? = null

A unique name for this Template.

Link copied to clipboard

Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings

Link copied to clipboard
val solutionStackName: Output<String>? = null

A solution stack to base your Template off of. Example stacks can be found in the 1

Functions

Link copied to clipboard
open override fun toJava(): ConfigurationTemplateArgs