
com.pulumi.awsnative.s3.kotlin.inputs.StorageLensBucketsAndRegionsArgs.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.inputs
import com.pulumi.awsnative.s3.inputs.StorageLensBucketsAndRegionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* S3 buckets and Regions to include/exclude in the Amazon S3 Storage Lens configuration.
* @property buckets This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see [Buckets ARN format here](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_Include.html#API_control_Include_Contents) in the *Amazon S3 API Reference* .
* @property regions This property contains the details of the Regions for the S3 Storage Lens configuration.
*/
public data class StorageLensBucketsAndRegionsArgs(
public val buckets: Output>? = null,
public val regions: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.inputs.StorageLensBucketsAndRegionsArgs =
com.pulumi.awsnative.s3.inputs.StorageLensBucketsAndRegionsArgs.builder()
.buckets(buckets?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.regions(regions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [StorageLensBucketsAndRegionsArgs].
*/
@PulumiTagMarker
public class StorageLensBucketsAndRegionsArgsBuilder internal constructor() {
private var buckets: Output>? = null
private var regions: Output>? = null
/**
* @param value This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see [Buckets ARN format here](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_Include.html#API_control_Include_Contents) in the *Amazon S3 API Reference* .
*/
@JvmName("ojhqppbditxkguhf")
public suspend fun buckets(`value`: Output>) {
this.buckets = value
}
@JvmName("jjiowfvusbudxxof")
public suspend fun buckets(vararg values: Output) {
this.buckets = Output.all(values.asList())
}
/**
* @param values This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see [Buckets ARN format here](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_Include.html#API_control_Include_Contents) in the *Amazon S3 API Reference* .
*/
@JvmName("pclykiiqyvqqirdo")
public suspend fun buckets(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy