

# SnsDestination
<a name="API_SnsDestination"></a>

An object that defines an Amazon SNS destination for events. You can use Amazon SNS to send notification when certain events occur.

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

 ** TopicArn **   <a name="pinpoint-Type-SnsDestination-TopicArn"></a>
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Pattern: `arn:\S+`   
Required: Yes

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/pinpoint-sms-voice-v2-2022-03-31/SnsDestination) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/pinpoint-sms-voice-v2-2022-03-31/SnsDestination) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/pinpoint-sms-voice-v2-2022-03-31/SnsDestination) 