AWS SDK for .NET Documentation
CreateApplicationVersionRequest Class
AmazonAmazon.ElasticBeanstalk.ModelCreateApplicationVersionRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateApplicationVersion operation. Creates 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.
Declaration Syntax
C#
public class CreateApplicationVersionRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateApplicationVersionRequest()()()()
Initializes a new instance of the CreateApplicationVersionRequest class

ApplicationName
Gets and sets the property ApplicationName.

The name of the application. If no application is found with this name, and

CopyC#
AutoCreateApplication
is
CopyC#
false
, returns an
CopyC#
InvalidParameterValue
error.


AutoCreateApplication
Gets and sets the property AutoCreateApplication.

Determines how the system behaves if the specified application for this version does not already exist:

Value

CopyC#
true
: Automatically creates the specified application for this version if it does not already exist.

Value

CopyC#
false
: Returns an
CopyC#
InvalidParameterValue
if the specified application for this version does not already exist.

  • CopyC#
    true
    : Automatically creates the specified application for this release if it does not already exist.
  • CopyC#
    false
    : Throws an
    CopyC#
    InvalidParameterValue
    if the specified application for this release does not already exist.

Default:

CopyC#
false

Valid Values:

CopyC#
true
|
CopyC#
false


Description
Gets and sets the property Description.

Describes this version.


Equals(Object)
Determines whether the specified Object is equal to the current 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
Gets and sets the property 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

CopyC#
InvalidParameterValue
error. The maximum size allowed is 512 MB.

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

CopyC#
InvalidParameterCombination
error.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VersionLabel
Gets and sets the property 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

CopyC#
InvalidParameterValue
error.


WithApplicationName(String) Obsolete.
Sets the ApplicationName property

WithAutoCreateApplication(Boolean) Obsolete.
Sets the AutoCreateApplication property

WithDescription(String) Obsolete.
Sets the Description property

WithSourceBundle(S3Location) Obsolete.
Sets the SourceBundle property

WithVersionLabel(String) Obsolete.
Sets the VersionLabel property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 CreateApplicationVersionRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)