NAME
Paws::ElasticBeanstalk::CreateEnvironment - Arguments for method CreateEnvironment on Paws::ElasticBeanstalk
DESCRIPTION
This class represents the parameters used for calling the method CreateEnvironment on the AWS Elastic Beanstalk service. Use the attributes of this class as arguments to method CreateEnvironment.
You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateEnvironment.
As an example:
$service_obj->CreateEnvironment(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
ATTRIBUTES
REQUIRED ApplicationName => Str
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.
CNAMEPrefix => Str
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.
Description => Str
Describes this environment.
REQUIRED EnvironmentName => Str
A unique name for the deployment environment. Used in the application URL.
Constraint: Must be from 4 to 23 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 in your account. If the specified name already exists, 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.
OptionSettings => ArrayRef[Paws::ElasticBeanstalk::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.
OptionsToRemove => ArrayRef[Paws::ElasticBeanstalk::OptionSpecification]
A list of custom user-defined configuration options to remove from the configuration set for this new environment.
SolutionStackName => Str
This is an alternative to specifying a configuration name. If specified, AWS Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack.
Condition: You must specify either this or a TemplateName
, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter
error.
Tags => ArrayRef[Paws::ElasticBeanstalk::Tag]
This specifies the tags applied to resources in the environment.
TemplateName => Str
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.
Condition: You must specify either this parameter or a SolutionStackName
, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter
error.
Tier => Paws::ElasticBeanstalk::EnvironmentTier
This specifies the tier to use for creating this environment.
VersionLabel => Str
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.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateEnvironment in Paws::ElasticBeanstalk
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues