Class: Aws::ElasticBeanstalk::Types::CreateEnvironmentMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::CreateEnvironmentMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticbeanstalk/types.rb
Overview
When making an API call, you may pass CreateEnvironmentMessage data as a hash:
{
application_name: "ApplicationName", # required
environment_name: "EnvironmentName",
group_name: "GroupName",
description: "Description",
cname_prefix: "DNSCnamePrefix",
tier: {
name: "String",
type: "String",
version: "String",
},
tags: [
{
key: "TagKey",
value: "TagValue",
},
],
version_label: "VersionLabel",
template_name: "ConfigurationTemplateName",
solution_stack_name: "SolutionStackName",
platform_arn: "PlatformArn",
option_settings: [
{
resource_name: "ResourceName",
namespace: "OptionNamespace",
option_name: "ConfigurationOptionName",
value: "ConfigurationOptionValue",
},
],
options_to_remove: [
{
resource_name: "ResourceName",
namespace: "OptionNamespace",
option_name: "ConfigurationOptionName",
},
],
}
Instance Attribute Summary collapse
-
#application_name ⇒ String
The name of the application that contains the version to be deployed.
-
#cname_prefix ⇒ String
If specified, the environment attempts to use this value as the prefix for the CNAME.
-
#description ⇒ String
Describes this environment.
-
#environment_name ⇒ String
A unique name for the deployment environment.
-
#group_name ⇒ String
The name of the group to which the target environment belongs.
-
#option_settings ⇒ Array<Types::ConfigurationOptionSetting>
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment.
-
#options_to_remove ⇒ Array<Types::OptionSpecification>
A list of custom user-defined configuration options to remove from the configuration set for this new environment.
-
#platform_arn ⇒ String
The ARN of the platform.
-
#solution_stack_name ⇒ String
This is an alternative to specifying a template name.
-
#tags ⇒ Array<Types::Tag>
This specifies the tags applied to resources in the environment.
-
#template_name ⇒ String
The name of the configuration template to use in deployment.
-
#tier ⇒ Types::EnvironmentTier
This specifies the tier to use for creating this environment.
-
#version_label ⇒ String
The name of the application version to deploy.
Instance Attribute Details
#application_name ⇒ String
The name of the application that contains the version to be deployed.
If no application is found with this name, ‘CreateEnvironment` returns an `InvalidParameterValue` error.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#cname_prefix ⇒ String
If specified, the environment attempts to use this value as the prefix for the CNAME. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#description ⇒ String
Describes this environment.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#environment_name ⇒ String
A unique name for the deployment environment. Used in the application URL.
Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It cannot start or end with a hyphen. This name must be unique within a region in your account. If the specified name already exists in the region, AWS Elastic Beanstalk returns an ‘InvalidParameterValue` error.
Default: If the CNAME parameter is not specified, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#group_name ⇒ String
The name of the group to which the target environment belongs. Specify a group name only if the environment’s name is specified in an environment manifest and not with the environment name parameter. See [Environment Manifest (env.yaml)] for details.
[1]: docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#option_settings ⇒ Array<Types::ConfigurationOptionSetting>
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#options_to_remove ⇒ Array<Types::OptionSpecification>
A list of custom user-defined configuration options to remove from the configuration set for this new environment.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#platform_arn ⇒ String
The ARN of the platform.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#solution_stack_name ⇒ String
This is an alternative to specifying a template name. If specified, AWS Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
This specifies the tags applied to resources in the environment.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#template_name ⇒ String
The name of the configuration template to use in deployment. If no configuration template is found with this name, AWS Elastic Beanstalk returns an ‘InvalidParameterValue` error.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#tier ⇒ Types::EnvironmentTier
This specifies the tier to use for creating this environment.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |
#version_label ⇒ String
The name of the application version to deploy.
If the specified application has no associated application versions, AWS Elastic Beanstalk ‘UpdateEnvironment` returns an `InvalidParameterValue` error.
Default: If not specified, AWS Elastic Beanstalk attempts to launch the sample application in the container.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1289 class CreateEnvironmentMessage < Struct.new( :application_name, :environment_name, :group_name, :description, :cname_prefix, :tier, :tags, :version_label, :template_name, :solution_stack_name, :platform_arn, :option_settings, :options_to_remove) include Aws::Structure end |