Deletes the specified LaunchConfiguration
.
The specified launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name of the launch configuration. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Delete an auto scaling launch configuration.
// Instantiate the class $as = new AmazonAS(); $response = $as->delete_launch_configuration('my-launch-config'); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/as.class.php | Toggle source view (7 lines) | View on GitHub