com.pulumi.awsnative.securityhub.kotlin.FindingAggregatorArgs.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.securityhub.kotlin
import com.pulumi.awsnative.securityhub.FindingAggregatorArgs.builder
import com.pulumi.awsnative.securityhub.kotlin.enums.FindingAggregatorRegionLinkingMode
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
/**
* The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
* @property regionLinkingMode Indicates whether to link all Regions, all Regions except for a list of excluded Regions, or a list of included Regions
* @property regions The list of excluded Regions or included Regions
*/
public data class FindingAggregatorArgs(
public val regionLinkingMode: Output? = null,
public val regions: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.securityhub.FindingAggregatorArgs =
com.pulumi.awsnative.securityhub.FindingAggregatorArgs.builder()
.regionLinkingMode(regionLinkingMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.regions(regions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FindingAggregatorArgs].
*/
@PulumiTagMarker
public class FindingAggregatorArgsBuilder internal constructor() {
private var regionLinkingMode: Output? = null
private var regions: Output>? = null
/**
* @param value Indicates whether to link all Regions, all Regions except for a list of excluded Regions, or a list of included Regions
*/
@JvmName("uyeymdtrwswqqhwb")
public suspend fun regionLinkingMode(`value`: Output) {
this.regionLinkingMode = value
}
/**
* @param value The list of excluded Regions or included Regions
*/
@JvmName("pjhvwjpecwjowoeo")
public suspend fun regions(`value`: Output>) {
this.regions = value
}
@JvmName("foqkrsoltnlntnry")
public suspend fun regions(vararg values: Output) {
this.regions = Output.all(values.asList())
}
/**
* @param values The list of excluded Regions or included Regions
*/
@JvmName("twapvaagvyspmvvo")
public suspend fun regions(values: List