

# CloudWatchLogs
<a name="API_CloudWatchLogs"></a>

The Amazon CloudWatch Logs settings for channel logging.

## Contents
<a name="API_CloudWatchLogs_Contents"></a>

 ** Enabled **   <a name="Streams-Type-CloudWatchLogs-Enabled"></a>
Specifies whether logging to Amazon CloudWatch Logs is enabled.  
Type: Boolean  
Required: Yes

 ** LogGroupName **   <a name="Streams-Type-CloudWatchLogs-LogGroupName"></a>
The name of the Amazon CloudWatch Logs log group. Defaults to `/aws/kinesis/{channelName}/{channelId}`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Pattern: `[\.\-_/#A-Za-z0-9]+`   
Required: No

 ** LogStreamName **   <a name="Streams-Type-CloudWatchLogs-LogStreamName"></a>
The name of the Amazon CloudWatch Logs log stream. Defaults to `DestinationDelivery`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Pattern: `[^:*]*`   
Required: No

## See Also
<a name="API_CloudWatchLogs_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/kinesis-2013-12-02/CloudWatchLogs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/kinesis-2013-12-02/CloudWatchLogs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/kinesis-2013-12-02/CloudWatchLogs) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Kinesis Streams. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query kinesis` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
