Class: Aws::ElasticBeanstalk::Types::CreateEnvironmentMessage

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The name of the application that is associated with this environment.

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#cname_prefixString

If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

Your description for this environment.

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#environment_nameString

A unique name for the environment.

Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It can’t 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, Elastic Beanstalk returns an ‘InvalidParameterValue` error.

If you don’t specify the ‘CNAMEPrefix` parameter, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#group_nameString

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

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#operations_roleString

The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment’s operations role. If specified, Elastic Beanstalk uses the operations role for permissions to downstream services during this call and during subsequent calls acting on this environment. To specify an operations role, you must have the ‘iam:PassRole` permission for the role. For more information, see

Operations roles][1

in the *AWS Elastic Beanstalk Developer

Guide*.

[1]: docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#option_settingsArray<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.



1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#options_to_removeArray<Types::OptionSpecification>

A list of custom user-defined configuration options to remove from the configuration set for this new environment.

Returns:



1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#platform_arnString

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

<note markdown=“1”> If you specify ‘PlatformArn`, don’t specify ‘SolutionStackName`.

</note>

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

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#solution_stack_nameString

The name of an Elastic Beanstalk solution stack (platform version) to use with the environment. If specified, Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. For a list of current solution stacks, see

Elastic Beanstalk Supported Platforms][1

in the *AWS Elastic

Beanstalk Platforms* guide.

<note markdown=“1”> If you specify ‘SolutionStackName`, don’t specify ‘PlatformArn` or `TemplateName`.

</note>

[1]: docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Specifies the tags applied to resources in the environment.

Returns:



1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#template_nameString

The name of the Elastic Beanstalk configuration template to use with the environment.

<note markdown=“1”> If you specify ‘TemplateName`, then don’t specify ‘SolutionStackName`.

</note>

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#tierTypes::EnvironmentTier

Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.



1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#version_labelString

The name of the application version to deploy.

Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 1286

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,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end