class Aws::ElasticBeanstalk::Types::CreateConfigurationTemplateMessage

Request to create a configuration template.

@note When making an API call, you may pass CreateConfigurationTemplateMessage

data as a hash:

    {
      application_name: "ApplicationName", # required
      template_name: "ConfigurationTemplateName", # required
      solution_stack_name: "SolutionStackName",
      platform_arn: "PlatformArn",
      source_configuration: {
        application_name: "ApplicationName",
        template_name: "ConfigurationTemplateName",
      },
      environment_id: "EnvironmentId",
      description: "Description",
      option_settings: [
        {
          resource_name: "ResourceName",
          namespace: "OptionNamespace",
          option_name: "ConfigurationOptionName",
          value: "ConfigurationOptionValue",
        },
      ],
      tags: [
        {
          key: "TagKey",
          value: "TagValue",
        },
      ],
    }

@!attribute [rw] application_name

The name of the Elastic Beanstalk application to associate with this
configuration template.
@return [String]

@!attribute [rw] template_name

The name of the configuration template.

Constraint: This name must be unique per application.
@return [String]

@!attribute [rw] solution_stack_name

The name of an Elastic Beanstalk solution stack (platform version)
that this configuration uses. For example, `64bit Amazon Linux
2013.09 running Tomcat 7 Java 7`. A solution stack specifies the
operating system, runtime, and application server for a
configuration template. It also determines the set of configuration
options as well as the possible and default values. For more
information, see [Supported Platforms][1] in the *AWS Elastic
Beanstalk Developer Guide*.

You must specify `SolutionStackName` if you don't specify
`PlatformArn`, `EnvironmentId`, or `SourceConfiguration`.

Use the [ `ListAvailableSolutionStacks` ][2] API to obtain a list of
available solution stacks.

[1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html
[2]: https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html
@return [String]

@!attribute [rw] platform_arn

The Amazon Resource Name (ARN) of the custom platform. For more
information, see [ Custom Platforms][1] in the *AWS Elastic
Beanstalk Developer Guide*.

<note markdown="1"> If you specify `PlatformArn`, then don't specify
`SolutionStackName`.

 </note>

[1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html
@return [String]

@!attribute [rw] source_configuration

An Elastic Beanstalk configuration template to base this one on. If
specified, Elastic Beanstalk uses the configuration values from the
specified configuration template to create a new configuration.

Values specified in `OptionSettings` override any values obtained
from the `SourceConfiguration`.

You must specify `SourceConfiguration` if you don't specify
`PlatformArn`, `EnvironmentId`, or `SolutionStackName`.

Constraint: If both solution stack name and source configuration are
specified, the solution stack of the source configuration template
must match the specified solution stack name.
@return [Types::SourceConfiguration]

@!attribute [rw] environment_id

The ID of an environment whose settings you want to use to create
the configuration template. You must specify `EnvironmentId` if you
don't specify `PlatformArn`, `SolutionStackName`, or
`SourceConfiguration`.
@return [String]

@!attribute [rw] description

An optional description for this configuration.
@return [String]

@!attribute [rw] option_settings

Option values for the Elastic Beanstalk configuration, such as the
instance type. If specified, these values override the values
obtained from the solution stack or the source configuration
template. For a complete list of Elastic Beanstalk configuration
options, see [Option Values][1] in the *AWS Elastic Beanstalk
Developer Guide*.

[1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html
@return [Array<Types::ConfigurationOptionSetting>]

@!attribute [rw] tags

Specifies the tags applied to the configuration template.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateMessage AWS API Documentation

Constants

SENSITIVE