

# InfluxDBDestinationConfiguration

The configuration of an InfluxDB topic rule destination.

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

 ** endpoint **   <a name="iot-Type-InfluxDBDestinationConfiguration-endpoint"></a>
The URL of the InfluxDB instance to write to.  
Type: String  
Length Constraints: Maximum length of 2000.  
Required: Yes

 ** influxDBVersion **   <a name="iot-Type-InfluxDBDestinationConfiguration-influxDBVersion"></a>
The major version of the InfluxDB instance. Valid values are `V2` and `V3`.  
Type: String  
Valid Values: `V2 | V3`   
Required: Yes

 ** secretId **   <a name="iot-Type-InfluxDBDestinationConfiguration-secretId"></a>
The ARN or name of the AWS Secrets Manager secret that contains the InfluxDB API token.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: Yes

 ** secretKey **   <a name="iot-Type-InfluxDBDestinationConfiguration-secretKey"></a>
The key to read from the secret value when the secret contains a JSON object. If omitted, AWS IoT uses the entire secret value as the InfluxDB API token.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: No

 ** secretType **   <a name="iot-Type-InfluxDBDestinationConfiguration-secretType"></a>
The type of the secret that contains the InfluxDB API token. Valid values are `SecretString` and `SecretBinary`.  
If omitted, AWS IoT reads the secret as a string.  
Type: String  
Valid Values: `SecretString | SecretBinary`   
Required: No

## See Also
<a name="API_InfluxDBDestinationConfiguration_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/iot-2015-05-28/InfluxDBDestinationConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iot-2015-05-28/InfluxDBDestinationConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iot-2015-05-28/InfluxDBDestinationConfiguration) 