
com.pulumi.awsnative.accessanalyzer.kotlin.inputs.AnalyzerArchiveRuleArgs.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.accessanalyzer.kotlin.inputs
import com.pulumi.awsnative.accessanalyzer.inputs.AnalyzerArchiveRuleArgs.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
/**
* An Access Analyzer archive rule. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.
* @property filter The criteria for the rule.
* @property ruleName The archive rule name
*/
public data class AnalyzerArchiveRuleArgs(
public val filter: Output>,
public val ruleName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.accessanalyzer.inputs.AnalyzerArchiveRuleArgs =
com.pulumi.awsnative.accessanalyzer.inputs.AnalyzerArchiveRuleArgs.builder()
.filter(filter.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.ruleName(ruleName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalyzerArchiveRuleArgs].
*/
@PulumiTagMarker
public class AnalyzerArchiveRuleArgsBuilder internal constructor() {
private var filter: Output>? = null
private var ruleName: Output? = null
/**
* @param value The criteria for the rule.
*/
@JvmName("hjxikggbvyudwsgm")
public suspend fun filter(`value`: Output>) {
this.filter = value
}
@JvmName("vitulnmsygnublap")
public suspend fun filter(vararg values: Output) {
this.filter = Output.all(values.asList())
}
/**
* @param values The criteria for the rule.
*/
@JvmName("yvhelernakxhdmuk")
public suspend fun filter(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy