

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::GuardDuty::MalwareProtectionPlan CFNStatusReasons
<a name="aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons"></a>

Information about the status code and status details associated with the status of the Malware Protection plan.

## Syntax
<a name="aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons-syntax"></a>

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

### JSON
<a name="aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons-syntax.json"></a>

```
{
  "[Code](#cfn-guardduty-malwareprotectionplan-cfnstatusreasons-code)" : {{String}},
  "[Message](#cfn-guardduty-malwareprotectionplan-cfnstatusreasons-message)" : {{String}}
}
```

### YAML
<a name="aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons-syntax.yaml"></a>

```
  [Code](#cfn-guardduty-malwareprotectionplan-cfnstatusreasons-code): {{String}}
  [Message](#cfn-guardduty-malwareprotectionplan-cfnstatusreasons-message): {{String}}
```

## Properties
<a name="aws-properties-guardduty-malwareprotectionplan-cfnstatusreasons-properties"></a>

`Code`  <a name="cfn-guardduty-malwareprotectionplan-cfnstatusreasons-code"></a>
The status code of the Malware Protection plan. For more information, see [Malware Protection plan resource status](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection-s3-bucket-status-gdu.html) in the *GuardDuty User Guide*.  
*Required*: No  
*Type*: String  
*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-guardduty-malwareprotectionplan-cfnstatusreasons-message"></a>
Issue message that specifies the reason. For information about potential troubleshooting steps, see [Troubleshooting Malware Protection for S3 status issues](https://docs.aws.amazon.com/guardduty/latest/ug/troubleshoot-s3-malware-protection-status-errors.html) in the *Amazon GuardDuty User Guide*.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)