

# AlertTarget


A structure containing the alert target ARN and the role ARN.

## Contents


 ** alertTargetArn **   <a name="iot-Type-AlertTarget-alertTargetArn"></a>
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.  
Type: String  
Required: Yes

 ** roleArn **   <a name="iot-Type-AlertTarget-roleArn"></a>
The ARN of the role that grants permission to send alerts to the notification target.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Required: Yes

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/iot-2015-05-28/AlertTarget) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/iot-2015-05-28/AlertTarget) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/iot-2015-05-28/AlertTarget) 