AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Container for the parameters to the CreateApplicationVersion operation. Creates an application version for the specified application. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticBeanstalk.AmazonElasticBeanstalkRequest
      Amazon.ElasticBeanstalk.Model.CreateApplicationVersionRequest

Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CreateApplicationVersionRequest : AmazonElasticBeanstalkRequest
         IRequestEvents

The CreateApplicationVersionRequest type exposes the following members

Constructors

NameDescription
Public Method CreateApplicationVersionRequest() Empty constructor used to set properties independently even when a simple constructor is available
Public Method CreateApplicationVersionRequest(string, string) Instantiates CreateApplicationVersionRequest with the parameterized properties

Properties

NameTypeDescription
Public Property ApplicationName System.String Gets and sets the property ApplicationName.

The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an InvalidParameterValue error.

Public Property AutoCreateApplication System.Boolean Gets and sets the property AutoCreateApplication.

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

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

Default: false

Valid Values: true | false

Public Property Description System.String Gets and sets the property Description.

Describes this version.

Public Property Process System.Boolean Gets and sets the property Process.

Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.

Public Property SourceBundle Amazon.ElasticBeanstalk.Model.S3Location 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 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 InvalidParameterCombination error.

Public Property VersionLabel System.String 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 InvalidParameterValue error.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1