

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::SecurityHub::Connector HealthIssue
<a name="aws-properties-securityhub-connector-healthissue"></a>

Represents a specific health issue detected for a connector.

## Syntax
<a name="aws-properties-securityhub-connector-healthissue-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-securityhub-connector-healthissue-syntax.json"></a>

```
{
  "[Code](#cfn-securityhub-connector-healthissue-code)" : {{String}},
  "[Message](#cfn-securityhub-connector-healthissue-message)" : {{String}}
}
```

### YAML
<a name="aws-properties-securityhub-connector-healthissue-syntax.yaml"></a>

```
  [Code](#cfn-securityhub-connector-healthissue-code): {{String}}
  [Message](#cfn-securityhub-connector-healthissue-message): {{String}}
```

## Properties
<a name="aws-properties-securityhub-connector-healthissue-properties"></a>

`Code`  <a name="cfn-securityhub-connector-healthissue-code"></a>
The error code that identifies the type of health issue.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `AUTHENTICATION_FAILURE | STREAM_AUTHORIZATION_FAILURE | DISCOVERY_FAILURE | STREAM_LIMIT_EXCEEDED | STREAM_DISCONNECTED | RECORDING_FAILURE | NO_HEALTH_DATA`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Message`  <a name="cfn-securityhub-connector-healthissue-message"></a>
A human-readable message that describes the health issue.  
*Required*: Yes  
*Type*: String  
*Pattern*: `.*\S.*`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)