# CloudWatchOutputConfigProperty

Configuration options for sending command output to Amazon CloudWatch Logs.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
const cloudWatchOutputConfigProperty: ssm.CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty = {
  cloudWatchLogGroupName: 'cloudWatchLogGroupName',
  cloudWatchOutputEnabled: false,
};
```

## Properties

- `cloudWatchLogGroupName`: string — The name of the CloudWatch Logs log group where you want to send command output.

  If you don't specify a group name, AWS Systems Manager automatically creates a log group for you. The log group uses the following naming format:

  `aws/ssm/ *SystemsManagerDocumentName*`

- `cloudWatchOutputEnabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Enables Systems Manager to send command output to CloudWatch Logs.
