

# ChildWorkflowExecutionFailedEventAttributes
<a name="API_ChildWorkflowExecutionFailedEventAttributes"></a>

Provides the details of the `ChildWorkflowExecutionFailed` event.

## Contents
<a name="API_ChildWorkflowExecutionFailedEventAttributes_Contents"></a>

 ** initiatedEventId **   <a name="SWF-Type-ChildWorkflowExecutionFailedEventAttributes-initiatedEventId"></a>
The ID of the `StartChildWorkflowExecutionInitiated` event corresponding to the `StartChildWorkflowExecution` [Decision](API_Decision.md) to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.  
Type: Long  
Required: Yes

 ** startedEventId **   <a name="SWF-Type-ChildWorkflowExecutionFailedEventAttributes-startedEventId"></a>
The ID of the `ChildWorkflowExecutionStarted` event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.  
Type: Long  
Required: Yes

 ** workflowExecution **   <a name="SWF-Type-ChildWorkflowExecutionFailedEventAttributes-workflowExecution"></a>
The child workflow execution that failed.  
Type: [WorkflowExecution](API_WorkflowExecution.md) object  
Required: Yes

 ** workflowType **   <a name="SWF-Type-ChildWorkflowExecutionFailedEventAttributes-workflowType"></a>
The type of the child workflow execution.  
Type: [WorkflowType](API_WorkflowType.md) object  
Required: Yes

 ** details **   <a name="SWF-Type-ChildWorkflowExecutionFailedEventAttributes-details"></a>
The details of the failure (if provided).  
Type: String  
Length Constraints: Maximum length of 32768.  
Required: No

 ** reason **   <a name="SWF-Type-ChildWorkflowExecutionFailedEventAttributes-reason"></a>
The reason for the failure (if provided).  
Type: String  
Length Constraints: Maximum length of 256.  
Required: No

## See Also
<a name="API_ChildWorkflowExecutionFailedEventAttributes_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/swf-2012-01-25/ChildWorkflowExecutionFailedEventAttributes) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/swf-2012-01-25/ChildWorkflowExecutionFailedEventAttributes) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/swf-2012-01-25/ChildWorkflowExecutionFailedEventAttributes) 