Class: Aws::ElasticBeanstalk::Types::CreateConfigurationTemplateMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

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",
    },
  ],
}

Request to create a configuration template.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The name of the Elastic Beanstalk application to associate with this configuration template.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

An optional description for this configuration.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#environment_idString

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.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#option_settingsArray<Types::ConfigurationOptionSetting>

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 in the AWS Elastic Beanstalk Developer Guide.



1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#platform_arnString

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

If you specify PlatformArn, then don't specify SolutionStackName.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#solution_stack_nameString

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 in the AWS Elastic Beanstalk Developer Guide.

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

Use the ListAvailableSolutionStacks API to obtain a list of available solution stacks.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#source_configurationTypes::SourceConfiguration

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.



1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Specifies the tags applied to the configuration template.

Returns:



1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#template_nameString

The name of the configuration template.

Constraint: This name must be unique per application.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1330

class CreateConfigurationTemplateMessage < Struct.new(
  :application_name,
  :template_name,
  :solution_stack_name,
  :platform_arn,
  :source_configuration,
  :environment_id,
  :description,
  :option_settings,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end