Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Describe all stacks.
$stack = new AmazonCloudFormation(); $response = $stack->describe_stacks(); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/cloudformation.class.php | Toggle source view (6 lines) | View on GitHub