A readable stream of CloudFormation stack events.
Usage
var AWS = ;var EventStream = ; var cfn = region: 'us-east-1'; cfn;
API
EventStream(cfn, stackName, options)
Returns an object-mode readable stream
which emits StackEvent
objects as returned by describeStackEvents
Required parameters:
cfn
: AnAWS::CloudFormation
instance.stackName
: The name or ARN of the stack. Note that if you are reading events for a stack that is deleted or in the process of being deleted, you need to pass the full ARN rather than the stackName.
Options:
lastEventId
: TheEventId
of aStackEvent
. StackEvents emitted by the resulting stream are guaranteed not to include this event or any preceding events.