Class ConfigurationTemplate
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
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var tftest = new Aws.ElasticBeanstalk.Application("tftest", new Aws.ElasticBeanstalk.ApplicationArgs
{
Description = "tf-test-desc",
});
var tfTemplate = new Aws.ElasticBeanstalk.ConfigurationTemplate("tfTemplate", new Aws.ElasticBeanstalk.ConfigurationTemplateArgs
{
Application = tftest.Name,
SolutionStackName = "64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4",
});
}
}
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
Inherited Members
Namespace: Pulumi.Aws.ElasticBeanstalk
Assembly: Pulumi.Aws.dll
Syntax
public class ConfigurationTemplate : CustomResource
Constructors
View SourceConfigurationTemplate(String, ConfigurationTemplateArgs, CustomResourceOptions)
Create a ConfigurationTemplate resource with the given unique name, arguments, and options.
Declaration
public ConfigurationTemplate(string name, ConfigurationTemplateArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ConfigurationTemplateArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceApplication
name of the application to associate with this configuration template
Declaration
public Output<string> Application { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Short description of the Template
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EnvironmentId
The ID of the environment used with this configuration template
Declaration
public Output<string> EnvironmentId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
A unique name for this Template.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Settings
Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings
Declaration
public Output<ImmutableArray<ConfigurationTemplateSetting>> Settings { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ConfigurationTemplateSetting>> |
SolutionStackName
A solution stack to base your Template off of. Example stacks can be found in the Amazon API documentation
Declaration
public Output<string> SolutionStackName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ConfigurationTemplateState, CustomResourceOptions)
Get an existing ConfigurationTemplate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ConfigurationTemplate Get(string name, Input<string> id, ConfigurationTemplateState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ConfigurationTemplateState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ConfigurationTemplate |