CloudFormation / Paginator / DescribeStackEvents
DescribeStackEvents¶
- class CloudFormation.Paginator.DescribeStackEvents¶
- paginator = client.get_paginator('describe_stack_events') - paginate(**kwargs)¶
- Creates an iterator that will paginate through responses from - CloudFormation.Client.describe_stack_events().- See also: AWS API Documentation - Request Syntax- response_iterator = paginator.paginate( StackName='string', PaginationConfig={ 'MaxItems': 123, 'StartingToken': 'string' } ) - Parameters:
- StackName (string) – - The name or the unique stack ID that’s associated with the stack, which aren’t always interchangeable: - Running stacks: You can specify either the stack’s name or its unique stack ID. 
- Deleted stacks: You must specify the unique stack ID. 
 
- PaginationConfig (dict) – - A dictionary that provides parameters to control pagination. - MaxItems (integer) – - The total number of items to return. If the total number of items available is more than the value specified in max-items then a - NextTokenwill be provided in the output that you can use to resume pagination.
- StartingToken (string) – - A token to specify where to start paginating. This is the - NextTokenfrom a previous response.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'StackEvents': [ { 'StackId': 'string', 'EventId': 'string', 'StackName': 'string', 'LogicalResourceId': 'string', 'PhysicalResourceId': 'string', 'ResourceType': 'string', 'Timestamp': datetime(2015, 1, 1), 'ResourceStatus': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'CREATE_COMPLETE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETE_COMPLETE'|'DELETE_SKIPPED'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED'|'UPDATE_COMPLETE'|'IMPORT_FAILED'|'IMPORT_COMPLETE'|'IMPORT_IN_PROGRESS'|'IMPORT_ROLLBACK_IN_PROGRESS'|'IMPORT_ROLLBACK_FAILED'|'IMPORT_ROLLBACK_COMPLETE'|'EXPORT_FAILED'|'EXPORT_COMPLETE'|'EXPORT_IN_PROGRESS'|'EXPORT_ROLLBACK_IN_PROGRESS'|'EXPORT_ROLLBACK_FAILED'|'EXPORT_ROLLBACK_COMPLETE'|'UPDATE_ROLLBACK_IN_PROGRESS'|'UPDATE_ROLLBACK_COMPLETE'|'UPDATE_ROLLBACK_FAILED'|'ROLLBACK_IN_PROGRESS'|'ROLLBACK_COMPLETE'|'ROLLBACK_FAILED', 'ResourceStatusReason': 'string', 'ResourceProperties': 'string', 'ClientRequestToken': 'string', 'HookType': 'string', 'HookStatus': 'HOOK_IN_PROGRESS'|'HOOK_COMPLETE_SUCCEEDED'|'HOOK_COMPLETE_FAILED'|'HOOK_FAILED', 'HookStatusReason': 'string', 'HookInvocationPoint': 'PRE_PROVISION', 'HookInvocationId': 'string', 'HookFailureMode': 'FAIL'|'WARN', 'DetailedStatus': 'CONFIGURATION_COMPLETE'|'VALIDATION_FAILED' }, ], } - Response Structure- (dict) – - The output for a DescribeStackEvents action. - StackEvents (list) – - A list of - StackEventsstructures.- (dict) – - The StackEvent data type. - StackId (string) – - The unique ID name of the instance of the stack. 
- EventId (string) – - The unique identifier of this event. 
- StackName (string) – - The name associated with a stack. 
- LogicalResourceId (string) – - The logical name of the resource specified in the template. 
- PhysicalResourceId (string) – - The name or unique identifier associated with the physical instance of the resource. 
- ResourceType (string) – - Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide. 
- Timestamp (datetime) – - Time the status was updated. 
- ResourceStatus (string) – - Current status of the resource. 
- ResourceStatusReason (string) – - Success/failure message associated with the resource. 
- ResourceProperties (string) – - BLOB of the properties used to create the resource. 
- ClientRequestToken (string) – - The token passed to the operation that generated this event. - All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a - CreateStackoperation with the token- token1, then all the- StackEventsgenerated by that operation will have- ClientRequestTokenset as- token1.- In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: - Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.
- HookType (string) – - The name of the Hook. 
- HookStatus (string) – - Provides the status of the change set Hook. 
- HookStatusReason (string) – - Provides the reason for the Hook status. 
- HookInvocationPoint (string) – - The specific point in the provisioning process where the Hook is invoked. 
- HookInvocationId (string) – - The unique identifier of the Hook invocation. 
- HookFailureMode (string) – - Specify the Hook failure mode for non-compliant resources in the followings ways. - FAILStops provisioning resources.
- WARNAllows provisioning to continue with a warning message.
 
- DetailedStatus (string) – - An optional field that contains information about the detailed status of the stack event. - CONFIGURATION_COMPLETE- all of the resources in the stack have reached that event. For more information, see Understand CloudFormation stack creation events in the CloudFormation User Guide.
- VALIDATION_FAILED- template validation failed because of invalid properties in the template. The- ResourceStatusReasonfield shows what properties are defined incorrectly.