![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.accessanalyzer.kotlin.AnalyzerArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.accessanalyzer.kotlin
import com.pulumi.awsnative.accessanalyzer.AnalyzerArgs.builder
import com.pulumi.awsnative.accessanalyzer.kotlin.inputs.AnalyzerArchiveRuleArgs
import com.pulumi.awsnative.accessanalyzer.kotlin.inputs.AnalyzerArchiveRuleArgsBuilder
import com.pulumi.awsnative.accessanalyzer.kotlin.inputs.AnalyzerConfigurationPropertiesArgs
import com.pulumi.awsnative.accessanalyzer.kotlin.inputs.AnalyzerConfigurationPropertiesArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user's account
* ## Example Usage
* ### Example
* No Java example available.
* @property analyzerConfiguration The configuration for the analyzer
* @property analyzerName Analyzer name
* @property archiveRules Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
* @property tags An array of key-value pairs to apply to this resource.
* @property type The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS
*/
public data class AnalyzerArgs(
public val analyzerConfiguration: Output? = null,
public val analyzerName: Output? = null,
public val archiveRules: Output>? = null,
public val tags: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.accessanalyzer.AnalyzerArgs =
com.pulumi.awsnative.accessanalyzer.AnalyzerArgs.builder()
.analyzerConfiguration(
analyzerConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.analyzerName(analyzerName?.applyValue({ args0 -> args0 }))
.archiveRules(
archiveRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalyzerArgs].
*/
@PulumiTagMarker
public class AnalyzerArgsBuilder internal constructor() {
private var analyzerConfiguration: Output? = null
private var analyzerName: Output? = null
private var archiveRules: Output>? = null
private var tags: Output>? = null
private var type: Output? = null
/**
* @param value The configuration for the analyzer
*/
@JvmName("vgoipxghgrjsygjs")
public suspend fun analyzerConfiguration(`value`: Output) {
this.analyzerConfiguration = value
}
/**
* @param value Analyzer name
*/
@JvmName("hyqbtdadasjvucry")
public suspend fun analyzerName(`value`: Output) {
this.analyzerName = value
}
/**
* @param value Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
*/
@JvmName("rhkctpplwtapqkon")
public suspend fun archiveRules(`value`: Output>) {
this.archiveRules = value
}
@JvmName("jlpksukcpnoujyjs")
public suspend fun archiveRules(vararg values: Output) {
this.archiveRules = Output.all(values.asList())
}
/**
* @param values Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
*/
@JvmName("airuexpdpbwwevyh")
public suspend fun archiveRules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy