
com.pulumi.awsnative.s3.kotlin.inputs.BucketAnalyticsConfigurationArgs.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.BucketAnalyticsConfigurationArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
* @property id The ID that identifies the analytics configuration.
* @property prefix The prefix that an object must have to be included in the analytics results.
* @property storageClassAnalysis Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
* @property tagFilters The tags to use when evaluating an analytics filter.
* The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.
*/
public data class BucketAnalyticsConfigurationArgs(
public val id: Output,
public val prefix: Output? = null,
public val storageClassAnalysis: Output,
public val tagFilters: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.inputs.BucketAnalyticsConfigurationArgs =
com.pulumi.awsnative.s3.inputs.BucketAnalyticsConfigurationArgs.builder()
.id(id.applyValue({ args0 -> args0 }))
.prefix(prefix?.applyValue({ args0 -> args0 }))
.storageClassAnalysis(
storageClassAnalysis.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tagFilters(
tagFilters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BucketAnalyticsConfigurationArgs].
*/
@PulumiTagMarker
public class BucketAnalyticsConfigurationArgsBuilder internal constructor() {
private var id: Output? = null
private var prefix: Output? = null
private var storageClassAnalysis: Output? = null
private var tagFilters: Output>? = null
/**
* @param value The ID that identifies the analytics configuration.
*/
@JvmName("rhwldsagoxwoxfrk")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The prefix that an object must have to be included in the analytics results.
*/
@JvmName("vxyamehsfhgiillg")
public suspend fun prefix(`value`: Output) {
this.prefix = value
}
/**
* @param value Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
*/
@JvmName("yrxlqxpmcqngqefc")
public suspend fun storageClassAnalysis(`value`: Output) {
this.storageClassAnalysis = value
}
/**
* @param value The tags to use when evaluating an analytics filter.
* The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.
*/
@JvmName("lflbfwpuecbejhoc")
public suspend fun tagFilters(`value`: Output>) {
this.tagFilters = value
}
@JvmName("vvyubwkjvfsvekwd")
public suspend fun tagFilters(vararg values: Output) {
this.tagFilters = Output.all(values.asList())
}
/**
* @param values The tags to use when evaluating an analytics filter.
* The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.
*/
@JvmName("obearjdrdcgbflrt")
public suspend fun tagFilters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy