com.pulumi.awsnative.ivs.kotlin.StorageConfigurationArgs.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.ivs.kotlin
import com.pulumi.awsnative.ivs.StorageConfigurationArgs.builder
import com.pulumi.awsnative.ivs.kotlin.inputs.StorageConfigurationS3StorageConfigurationArgs
import com.pulumi.awsnative.ivs.kotlin.inputs.StorageConfigurationS3StorageConfigurationArgsBuilder
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::IVS::StorageConfiguration
* @property name Storage Configuration Name.
* @property s3 An S3 storage configuration contains information about where recorded video will be stored. See the [S3StorageConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-storageconfiguration-s3storageconfiguration.html) property type for more information.
* @property tags A list of key-value pairs that contain metadata for the asset model.
*/
public data class StorageConfigurationArgs(
public val name: Output? = null,
public val s3: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ivs.StorageConfigurationArgs =
com.pulumi.awsnative.ivs.StorageConfigurationArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.s3(s3?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StorageConfigurationArgs].
*/
@PulumiTagMarker
public class StorageConfigurationArgsBuilder internal constructor() {
private var name: Output? = null
private var s3: Output? = null
private var tags: Output>? = null
/**
* @param value Storage Configuration Name.
*/
@JvmName("lgaecphoirhbcrvw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value An S3 storage configuration contains information about where recorded video will be stored. See the [S3StorageConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-storageconfiguration-s3storageconfiguration.html) property type for more information.
*/
@JvmName("ysylamfqknuhuewa")
public suspend fun s3(`value`: Output) {
this.s3 = value
}
/**
* @param value A list of key-value pairs that contain metadata for the asset model.
*/
@JvmName("pkgmqthdthonvjpy")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("oqmmkvurwnnikmlf")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A list of key-value pairs that contain metadata for the asset model.
*/
@JvmName("qphyvxhsjtclqfyk")
public suspend fun tags(values: List