Show / Hide Table of Contents

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 resource
  • name - name of the configuration option
  • value - value for the configuration option
  • resource - (Optional) resource name for scheduled action
Inheritance
System.Object
Resource
CustomResource
ConfigurationTemplate
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ElasticBeanstalk
Assembly: Pulumi.Aws.dll
Syntax
public class ConfigurationTemplate : CustomResource

Constructors

View Source

ConfigurationTemplate(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 Source

Application

name of the application to associate with this configuration template

Declaration
public Output<string> Application { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

Short description of the Template

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

EnvironmentId

The ID of the environment used with this configuration template

Declaration
public Output<string> EnvironmentId { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

A unique name for this Template.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.