![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotanalytics.kotlin.DatastoreArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin
import com.pulumi.awsnative.iotanalytics.DatastoreArgs.builder
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastoreFileFormatConfigurationArgs
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastoreFileFormatConfigurationArgsBuilder
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastorePartitionsArgs
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastorePartitionsArgsBuilder
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastoreRetentionPeriodArgs
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastoreRetentionPeriodArgsBuilder
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastoreStorageArgs
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatastoreStorageArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::IoTAnalytics::Datastore
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property datastoreName The name of the data store.
* @property datastorePartitions Information about the partition dimensions in a data store.
* @property datastoreStorage Where data store data is stored.
* @property fileFormatConfiguration Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and [Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/) .
* The default file format is JSON. You can specify only one format.
* You can't change the file format after you create the data store.
* @property retentionPeriod How long, in days, message data is kept for the data store. When `customerManagedS3` storage is selected, this parameter is ignored.
* @property tags Metadata which can be used to manage the data store.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
public data class DatastoreArgs(
public val datastoreName: Output? = null,
public val datastorePartitions: Output? = null,
public val datastoreStorage: Output? = null,
public val fileFormatConfiguration: Output? = null,
public val retentionPeriod: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.DatastoreArgs =
com.pulumi.awsnative.iotanalytics.DatastoreArgs.builder()
.datastoreName(datastoreName?.applyValue({ args0 -> args0 }))
.datastorePartitions(
datastorePartitions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.datastoreStorage(datastoreStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fileFormatConfiguration(
fileFormatConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.retentionPeriod(retentionPeriod?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DatastoreArgs].
*/
@PulumiTagMarker
public class DatastoreArgsBuilder internal constructor() {
private var datastoreName: Output? = null
private var datastorePartitions: Output? = null
private var datastoreStorage: Output? = null
private var fileFormatConfiguration: Output? = null
private var retentionPeriod: Output? = null
private var tags: Output>? = null
/**
* @param value The name of the data store.
*/
@JvmName("svysuyerqexrhbys")
public suspend fun datastoreName(`value`: Output) {
this.datastoreName = value
}
/**
* @param value Information about the partition dimensions in a data store.
*/
@JvmName("grrfgfpxqryovpto")
public suspend fun datastorePartitions(`value`: Output) {
this.datastorePartitions = value
}
/**
* @param value Where data store data is stored.
*/
@JvmName("evkddkcknbcqpgex")
public suspend fun datastoreStorage(`value`: Output) {
this.datastoreStorage = value
}
/**
* @param value Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and [Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/) .
* The default file format is JSON. You can specify only one format.
* You can't change the file format after you create the data store.
*/
@JvmName("vmstdgndapyfpfuq")
public suspend fun fileFormatConfiguration(`value`: Output) {
this.fileFormatConfiguration = value
}
/**
* @param value How long, in days, message data is kept for the data store. When `customerManagedS3` storage is selected, this parameter is ignored.
*/
@JvmName("irieftfxhevltocw")
public suspend fun retentionPeriod(`value`: Output) {
this.retentionPeriod = value
}
/**
* @param value Metadata which can be used to manage the data store.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
@JvmName("tsgtqphqesicinlq")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ifthttdaaguyplat")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Metadata which can be used to manage the data store.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
@JvmName("llmxnndfkstvjrwa")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy