C# Class Amazon.ElasticBeanstalk.Model.CreateApplicationVersionRequest

Container for the parameters to the CreateApplicationVersion operation. Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:

Specify a commit in an AWS CodeCommit repository with SourceBuildInformation.

Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration.

Specify a source bundle in S3 with SourceBundle

Omit both SourceBuildInformation and SourceBundle to use the default sample 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: AmazonElasticBeanstalkRequest
ファイルを表示 Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateApplicationVersionRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateApplicationVersionRequest ( string applicationName, string versionLabel ) : System

Instantiates CreateApplicationVersionRequest with the parameterized properties

Private Methods

Method Description
IsSetApplicationName ( ) : bool
IsSetAutoCreateApplication ( ) : bool
IsSetBuildConfiguration ( ) : bool
IsSetDescription ( ) : bool
IsSetProcess ( ) : bool
IsSetSourceBuildInformation ( ) : bool
IsSetSourceBundle ( ) : bool
IsSetVersionLabel ( ) : bool

Method Details

CreateApplicationVersionRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateApplicationVersionRequest ( ) : System
return System

CreateApplicationVersionRequest() public method

Instantiates CreateApplicationVersionRequest with the parameterized properties
public CreateApplicationVersionRequest ( string applicationName, string versionLabel ) : System
applicationName string The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an InvalidParameterValue error.
versionLabel string 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.
return System