
com.pulumi.awsnative.iotanalytics.kotlin.inputs.ChannelCustomerManagedS3Args.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.ChannelCustomerManagedS3Args.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucket The name of the S3 bucket in which channel data is stored.
* @property keyPrefix (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
* @property roleArn The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
*/
public data class ChannelCustomerManagedS3Args(
public val bucket: Output,
public val keyPrefix: Output? = null,
public val roleArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.ChannelCustomerManagedS3Args =
com.pulumi.awsnative.iotanalytics.inputs.ChannelCustomerManagedS3Args.builder()
.bucket(bucket.applyValue({ args0 -> args0 }))
.keyPrefix(keyPrefix?.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ChannelCustomerManagedS3Args].
*/
@PulumiTagMarker
public class ChannelCustomerManagedS3ArgsBuilder internal constructor() {
private var bucket: Output? = null
private var keyPrefix: Output? = null
private var roleArn: Output? = null
/**
* @param value The name of the S3 bucket in which channel data is stored.
*/
@JvmName("giqerubhxhgurfkc")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
*/
@JvmName("dcmndbvjqwjjlhfn")
public suspend fun keyPrefix(`value`: Output) {
this.keyPrefix = value
}
/**
* @param value The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
*/
@JvmName("qgpuuqacnfwbrgsb")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The name of the S3 bucket in which channel data is stored.
*/
@JvmName("tojjhlfhdkpspnkm")
public suspend fun bucket(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
*/
@JvmName("wwdcxlbhxpnlbbig")
public suspend fun keyPrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyPrefix = mapped
}
/**
* @param value The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
*/
@JvmName("ovjuskipcyvncwbf")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
internal fun build(): ChannelCustomerManagedS3Args = ChannelCustomerManagedS3Args(
bucket = bucket ?: throw PulumiNullFieldException("bucket"),
keyPrefix = keyPrefix,
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy