All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.s3.kotlin.inputs.StorageLensBucketsAndRegionsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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>) {
        this.buckets = Output.all(values)
    }

    /**
     * @param value This property contains the details of the Regions for the S3 Storage Lens configuration.
     */
    @JvmName("jnilxidjcncfwyha")
    public suspend fun regions(`value`: Output>) {
        this.regions = value
    }

    @JvmName("iwvtuwluhaqigshr")
    public suspend fun regions(vararg values: Output) {
        this.regions = Output.all(values.asList())
    }

    /**
     * @param values This property contains the details of the Regions for the S3 Storage Lens configuration.
     */
    @JvmName("mnkntbmacsfyjevr")
    public suspend fun regions(values: List>) {
        this.regions = Output.all(values)
    }

    /**
     * @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("mkvjqouwcetdnwma")
    public suspend fun buckets(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.buckets = mapped
    }

    /**
     * @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("plcldaincsltlwdg")
    public suspend fun buckets(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.buckets = mapped
    }

    /**
     * @param value This property contains the details of the Regions for the S3 Storage Lens configuration.
     */
    @JvmName("mxrarovattmaygbt")
    public suspend fun regions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.regions = mapped
    }

    /**
     * @param values This property contains the details of the Regions for the S3 Storage Lens configuration.
     */
    @JvmName("jjnalkfmswolxiso")
    public suspend fun regions(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.regions = mapped
    }

    internal fun build(): StorageLensBucketsAndRegionsArgs = StorageLensBucketsAndRegionsArgs(
        buckets = buckets,
        regions = regions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy