Creates an application that has one configuration template named default and no
application versions.
The default configuration template is for a 32-bit version of the Amazon Linux
operating system running the Tomcat 6 application container.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
Required |
The name of the application. Constraint: This name must be unique within your account. If the specified name already exists, the action returns an |
|
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
|---|---|
|
A |
Examples
Creates a new application.
// Instantiate the class
$bean = new AmazonElasticBeanstalk();
$response = $bean->create_application('my-application', array(
'Description' => 'This is my application!'
));
// Success?
var_dump($response->isOK());
Result:
bool(true)
Related Methods
Source
Method defined in services/elasticbeanstalk.class.php | Toggle source view (7 lines) | View on GitHub

