

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

# AWS::SecurityAgent::Pentest CloudWatchLog
<a name="aws-properties-securityagent-pentest-cloudwatchlog"></a>

The Amazon CloudWatch Logs configuration for pentest job logging.

## Syntax
<a name="aws-properties-securityagent-pentest-cloudwatchlog-syntax"></a>

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

### JSON
<a name="aws-properties-securityagent-pentest-cloudwatchlog-syntax.json"></a>

```
{
  "[LogGroup](#cfn-securityagent-pentest-cloudwatchlog-loggroup)" : {{String}},
  "[LogStream](#cfn-securityagent-pentest-cloudwatchlog-logstream)" : {{String}}
}
```

### YAML
<a name="aws-properties-securityagent-pentest-cloudwatchlog-syntax.yaml"></a>

```
  [LogGroup](#cfn-securityagent-pentest-cloudwatchlog-loggroup): {{String}}
  [LogStream](#cfn-securityagent-pentest-cloudwatchlog-logstream): {{String}}
```

## Properties
<a name="aws-properties-securityagent-pentest-cloudwatchlog-properties"></a>

`LogGroup`  <a name="cfn-securityagent-pentest-cloudwatchlog-loggroup"></a>
The name of the CloudWatch log group.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LogStream`  <a name="cfn-securityagent-pentest-cloudwatchlog-logstream"></a>
The name of the CloudWatch log stream.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)