com.pulumi.awsnative.timestream.kotlin.InfluxDbInstanceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.timestream.InfluxDbInstanceArgs.builder
import com.pulumi.awsnative.timestream.kotlin.enums.InfluxDbInstanceDbInstanceType
import com.pulumi.awsnative.timestream.kotlin.enums.InfluxDbInstanceDbStorageType
import com.pulumi.awsnative.timestream.kotlin.enums.InfluxDbInstanceDeploymentType
import com.pulumi.awsnative.timestream.kotlin.inputs.LogDeliveryConfigurationPropertiesArgs
import com.pulumi.awsnative.timestream.kotlin.inputs.LogDeliveryConfigurationPropertiesArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::Timestream::InfluxDBInstance resource creates an InfluxDB instance.
* @property allocatedStorage The allocated storage for the InfluxDB instance.
* @property bucket The bucket for the InfluxDB instance.
* @property dbInstanceType The compute instance of the InfluxDB instance.
* @property dbParameterGroupIdentifier The name of an existing InfluxDB parameter group.
* @property dbStorageType The storage type of the InfluxDB instance.
* @property deploymentType Deployment type of the InfluxDB Instance.
* @property logDeliveryConfiguration Configuration for sending logs to customer account from the InfluxDB instance.
* @property name The unique name that is associated with the InfluxDB instance.
* @property organization The organization for the InfluxDB instance.
* @property password The password for the InfluxDB instance.
* @property publiclyAccessible Attach a public IP to the customer ENI.
* @property tags An arbitrary set of tags (key-value pairs) for this DB instance.
* @property username The username for the InfluxDB instance.
* @property vpcSecurityGroupIds A list of Amazon EC2 VPC security groups to associate with this InfluxDB instance.
* @property vpcSubnetIds A list of EC2 subnet IDs for this InfluxDB instance.
*/
public data class InfluxDbInstanceArgs(
public val allocatedStorage: Output? = null,
public val bucket: Output? = null,
public val dbInstanceType: Output? = null,
public val dbParameterGroupIdentifier: Output? = null,
public val dbStorageType: Output? = null,
public val deploymentType: Output? = null,
public val logDeliveryConfiguration: Output? = null,
public val name: Output? = null,
public val organization: Output? = null,
public val password: Output? = null,
public val publiclyAccessible: Output? = null,
public val tags: Output>? = null,
public val username: Output? = null,
public val vpcSecurityGroupIds: Output>? = null,
public val vpcSubnetIds: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.timestream.InfluxDbInstanceArgs =
com.pulumi.awsnative.timestream.InfluxDbInstanceArgs.builder()
.allocatedStorage(allocatedStorage?.applyValue({ args0 -> args0 }))
.bucket(bucket?.applyValue({ args0 -> args0 }))
.dbInstanceType(dbInstanceType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.dbParameterGroupIdentifier(dbParameterGroupIdentifier?.applyValue({ args0 -> args0 }))
.dbStorageType(dbStorageType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.deploymentType(deploymentType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.logDeliveryConfiguration(
logDeliveryConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.organization(organization?.applyValue({ args0 -> args0 }))
.password(password?.applyValue({ args0 -> args0 }))
.publiclyAccessible(publiclyAccessible?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.username(username?.applyValue({ args0 -> args0 }))
.vpcSecurityGroupIds(vpcSecurityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.vpcSubnetIds(vpcSubnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [InfluxDbInstanceArgs].
*/
@PulumiTagMarker
public class InfluxDbInstanceArgsBuilder internal constructor() {
private var allocatedStorage: Output? = null
private var bucket: Output? = null
private var dbInstanceType: Output? = null
private var dbParameterGroupIdentifier: Output? = null
private var dbStorageType: Output? = null
private var deploymentType: Output? = null
private var logDeliveryConfiguration: Output? = null
private var name: Output? = null
private var organization: Output? = null
private var password: Output? = null
private var publiclyAccessible: Output? = null
private var tags: Output>? = null
private var username: Output? = null
private var vpcSecurityGroupIds: Output>? = null
private var vpcSubnetIds: Output>? = null
/**
* @param value The allocated storage for the InfluxDB instance.
*/
@JvmName("bxgwuhysufppklwi")
public suspend fun allocatedStorage(`value`: Output) {
this.allocatedStorage = value
}
/**
* @param value The bucket for the InfluxDB instance.
*/
@JvmName("ttcixhmotriqqchu")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value The compute instance of the InfluxDB instance.
*/
@JvmName("exnigspjgetlshua")
public suspend fun dbInstanceType(`value`: Output) {
this.dbInstanceType = value
}
/**
* @param value The name of an existing InfluxDB parameter group.
*/
@JvmName("bcqcrfehjhralxpa")
public suspend fun dbParameterGroupIdentifier(`value`: Output) {
this.dbParameterGroupIdentifier = value
}
/**
* @param value The storage type of the InfluxDB instance.
*/
@JvmName("kgeanjqwrilorfvg")
public suspend fun dbStorageType(`value`: Output) {
this.dbStorageType = value
}
/**
* @param value Deployment type of the InfluxDB Instance.
*/
@JvmName("xnhqttntybfaxloj")
public suspend fun deploymentType(`value`: Output) {
this.deploymentType = value
}
/**
* @param value Configuration for sending logs to customer account from the InfluxDB instance.
*/
@JvmName("xqbsoeduuqqiwdkl")
public suspend fun logDeliveryConfiguration(`value`: Output) {
this.logDeliveryConfiguration = value
}
/**
* @param value The unique name that is associated with the InfluxDB instance.
*/
@JvmName("xjhyoobntdltahkx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The organization for the InfluxDB instance.
*/
@JvmName("rjoubiiwsioxhcgl")
public suspend fun organization(`value`: Output) {
this.organization = value
}
/**
* @param value The password for the InfluxDB instance.
*/
@JvmName("kvjrvakgkthbhlvy")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value Attach a public IP to the customer ENI.
*/
@JvmName("akxygtbnteuruqim")
public suspend fun publiclyAccessible(`value`: Output) {
this.publiclyAccessible = value
}
/**
* @param value An arbitrary set of tags (key-value pairs) for this DB instance.
*/
@JvmName("gujkqgjvnxnxjpgl")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("auumiipduwfokkoj")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An arbitrary set of tags (key-value pairs) for this DB instance.
*/
@JvmName("autraigfuuarfcsl")
public suspend fun tags(values: List