class Aws::SWF::Types::FailWorkflowExecutionDecisionAttributes

Provides the details of the `FailWorkflowExecution` decision.

**Access Control**

You can use IAM policies to control this decision's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's `cause` parameter is set to `OPERATION_NOT_PERMITTED`. For details and example IAM policies, see [Using IAM to Manage Access to Amazon SWF Workflows] in the *Amazon SWF Developer Guide*.

[1]: docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html

@note When making an API call, you may pass FailWorkflowExecutionDecisionAttributes

data as a hash:

    {
      reason: "FailureReason",
      details: "Data",
    }

@!attribute [rw] reason

A descriptive reason for the failure that may help in diagnostics.
@return [String]

@!attribute [rw] details

Details of the failure.
@return [String]

Constants

SENSITIVE