InfluxDBDestinationPropertiesProperty Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const influxDBDestinationPropertiesProperty: iot.CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty = {
endpoint: 'endpoint',
influxDbVersion: 'influxDbVersion',
secretId: 'secretId',
// the properties below are optional
secretKey: 'secretKey',
secretType: 'secretType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot
influx_db_destination_properties_property = iot.CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty(
endpoint="endpoint",
influx_db_version="influxDbVersion",
secret_id="secretId",
# the properties below are optional
secret_key="secretKey",
secret_type="secretType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
InfluxDBDestinationPropertiesProperty influxDBDestinationPropertiesProperty = InfluxDBDestinationPropertiesProperty.builder()
.endpoint("endpoint")
.influxDbVersion("influxDbVersion")
.secretId("secretId")
// the properties below are optional
.secretKey("secretKey")
.secretType("secretType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var influxDBDestinationPropertiesProperty = new InfluxDBDestinationPropertiesProperty {
Endpoint = "endpoint",
InfluxDbVersion = "influxDbVersion",
SecretId = "secretId",
// the properties below are optional
SecretKey = "secretKey",
SecretType = "secretType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
influxDBDestinationPropertiesProperty := &InfluxDBDestinationPropertiesProperty{
Endpoint: jsii.String("endpoint"),
InfluxDbVersion: jsii.String("influxDbVersion"),
SecretId: jsii.String("secretId"),
// the properties below are optional
SecretKey: jsii.String("secretKey"),
SecretType: jsii.String("secretType"),
}
Properties
The endpoint URL of the InfluxDB database.
influxDbVersionstringinflux_db_versionstrinfluxDbVersionStringInfluxDbVersionstringInfluxDbVersion*stringrequired#The version of the InfluxDB database (for example, V2 or V3).
The ARN or name of the Secrets Manager secret containing the InfluxDB API token.
secretKeyoptionalstringsecret_keyoptionalstrsecretKeyoptionalStringSecretKeyoptionalstringSecretKeyoptional*string#The key name within the secret that contains the InfluxDB token.
secretTypeoptionalstringsecret_typeoptionalstrsecretTypeoptionalStringSecretTypeoptionalstringSecretTypeoptional*string#The type of the secret value (SecretString or SecretBinary).