Returns all the stack related events for the AWS account. If StackName
is
specified, returns events related to all the stacks with the given name. If
StackName
is not specified, returns all the events for the account. For more
information about a stack’s event history, go to the AWS CloudFormation User
Guide.
Events are returned, even if the stack never existed or has been successfully deleted.
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 events for a given stack.
$stack = new AmazonCloudFormation(); $response = $stack->describe_stack_events(array( 'StackName' => 'aws-php-sdk-stack1' )); // 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