

# SlackChannel
<a name="API_SlackChannel"></a>

Represents a Slack channel with its ID and optional name.

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

 ** channelId **   <a name="devopsagent-Type-SlackChannel-channelId"></a>
Slack channel ID  
Type: String  
Length Constraints: Minimum length of 8. Maximum length of 16.  
Pattern: `[CGD][A-Z0-9]+`   
Required: Yes

 ** channelName **   <a name="devopsagent-Type-SlackChannel-channelName"></a>
Slack channel name  
Type: String  
Required: No

## See Also
<a name="API_SlackChannel_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/devops-agent-2026-01-01/SlackChannel) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/devops-agent-2026-01-01/SlackChannel) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/devops-agent-2026-01-01/SlackChannel) 