Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted
stacks do not show up in the DescribeStacks
API if the deletion has been completed
successfully.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name or the unique identifier associated with the stack. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Delete a stack.
$stack = new AmazonCloudFormation(); $response = $stack->delete_stack('my-stack'); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/cloudformation.class.php | Toggle source view (7 lines) | View on GitHub