Container for the parameters to the CreateApplicationVersion operation.
Namespace: Amazon.ElasticBeanstalk.ModelCreates an application version for the specified application.
NOTE:Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class CreateApplicationVersionRequest : AmazonWebServiceRequest
Public Class CreateApplicationVersionRequest _ Inherits AmazonWebServiceRequest
public ref class CreateApplicationVersionRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| CreateApplicationVersionRequest()()()() | Initializes a new instance of the CreateApplicationVersionRequest class | |
| ApplicationName |
The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an
InvalidParameterValue error.
Constraints: | |
| AutoCreateApplication |
Determines how the system behaves if the specified application for this version does not already exist: Field Valuetrue: Automatically creates the specified application for this version if it does not already exist.Field Valuefalse: Returns an InvalidParameterValue if the specified application for this version does not already exist.
| |
| Description |
Describes this version.
Constraints: | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| SourceBundle |
The Amazon S3 bucket and key that identify the location of the source bundle for this version. If data found at the Amazon S3 location
exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an InvalidParameterValue error. Default: If not
specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key)
or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an InvalidParameterCombination error.
| |
| ToString()()()() | (Inherited from Object.) | |
| VersionLabel |
A label identifying this version. Constraint: Must be unique per application. If an application version already exists with this label for
the specified application, AWS Elastic Beanstalk returns an InvalidParameterValue error.
Constraints: | |
| WithApplicationName(String) |
Sets the ApplicationName property
| |
| WithAutoCreateApplication(Boolean) |
Sets the AutoCreateApplication property
| |
| WithDescription(String) |
Sets the Description property
| |
| WithSourceBundle(S3Location) |
Sets the SourceBundle property
| |
| WithVersionLabel(String) |
Sets the VersionLabel property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.ElasticBeanstalk.Model..::..CreateApplicationVersionRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.ElasticBeanstalk.Model..::..CreateApplicationVersionRequest