com.pulumi.awsnative.s3.kotlin.StorageLensArgs.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.s3.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.s3.StorageLensArgs.builder
import com.pulumi.awsnative.s3.kotlin.inputs.StorageLensConfigurationArgs
import com.pulumi.awsnative.s3.kotlin.inputs.StorageLensConfigurationArgsBuilder
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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::S3::StorageLens resource is an Amazon S3 resource type that you can use to create Storage Lens configurations.
* @property storageLensConfiguration This resource contains the details Amazon S3 Storage Lens configuration.
* @property tags A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
*/
public data class StorageLensArgs(
public val storageLensConfiguration: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.StorageLensArgs =
com.pulumi.awsnative.s3.StorageLensArgs.builder()
.storageLensConfiguration(
storageLensConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StorageLensArgs].
*/
@PulumiTagMarker
public class StorageLensArgsBuilder internal constructor() {
private var storageLensConfiguration: Output? = null
private var tags: Output>? = null
/**
* @param value This resource contains the details Amazon S3 Storage Lens configuration.
*/
@JvmName("xggxfcmooxkcidrw")
public suspend fun storageLensConfiguration(`value`: Output) {
this.storageLensConfiguration = value
}
/**
* @param value A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
*/
@JvmName("vtndfxrhalgybflf")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("epxpalfmfbxsgnji")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
*/
@JvmName("mcqseljyvffahrlx")
public suspend fun tags(values: List