diff --git a/moto/cloudformation/responses.py b/moto/cloudformation/responses.py
index e407be9d2..2b71cb8b1 100644
--- a/moto/cloudformation/responses.py
+++ b/moto/cloudformation/responses.py
@@ -91,6 +91,13 @@ class CloudFormationResponse(BaseResponse):
template = self.response_template(DESCRIBE_STACK_RESOURCES_RESPONSE)
return template.render(stack=stack)
+ def describe_stack_events(self):
+ stack_name = self._get_param('StackName')
+ stack = self.cloudformation_backend.get_stack(stack_name)
+
+ template = self.response_template(DESCRIBE_STACK_EVENTS_RESPONSE)
+ return template.render(stack=stack)
+
def list_stacks(self):
stacks = self.cloudformation_backend.list_stacks()
template = self.response_template(LIST_STACKS_RESPONSE)
@@ -269,6 +276,31 @@ DESCRIBE_STACK_RESOURCES_RESPONSE = """
"""
+DESCRIBE_STACK_EVENTS_RESPONSE = """
+
+
+ {% for event in stack.events %}
+
+ {{ event.timestamp }}
+ {{ event.resource_status }}
+ {{ event.stack_id }}
+ {{ event.event_id }}
+ {{ event.logical_resource_id }}
+ {% if event.resource_status_reason %}{{ event.resource_status_reason }}{% endif %}
+ {{ event.stack_name }}
+ {{ event.physical_resource_id }}
+ {% if event.resource_properties %}{{ event.resource_properties }}{% endif %}
+ {{ event.resource_type }}
+
+ {% endfor %}
+
+
+
+ b9b4b068-3a41-11e5-94eb-example
+
+"""
+
+
LIST_STACKS_RESPONSE = """