
com.pulumi.azurenative.security.kotlin.inputs.AwsEnvironmentDataArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.security.kotlin.inputs
import com.pulumi.azurenative.security.inputs.AwsEnvironmentDataArgs.builder
import com.pulumi.core.Either
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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS connector environment data
* @property environmentType The type of the environment data.
* Expected value is 'AwsAccount'.
* @property organizationalData The AWS account's organizational data
* @property regions list of regions to scan
*/
public data class AwsEnvironmentDataArgs(
public val environmentType: Output,
public val organizationalData: Output>? = null,
public val regions: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.security.inputs.AwsEnvironmentDataArgs =
com.pulumi.azurenative.security.inputs.AwsEnvironmentDataArgs.builder()
.environmentType(environmentType.applyValue({ args0 -> args0 }))
.organizationalData(
organizationalData?.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 -> args0.toJava() })
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.regions(regions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AwsEnvironmentDataArgs].
*/
@PulumiTagMarker
public class AwsEnvironmentDataArgsBuilder internal constructor() {
private var environmentType: Output? = null
private var organizationalData:
Output>? = null
private var regions: Output>? = null
/**
* @param value The type of the environment data.
* Expected value is 'AwsAccount'.
*/
@JvmName("kmrllmurtdffsaaq")
public suspend fun environmentType(`value`: Output) {
this.environmentType = value
}
/**
* @param value The AWS account's organizational data
*/
@JvmName("cotqhmdhuriamtqk")
public suspend fun organizationalData(`value`: Output>) {
this.organizationalData = value
}
/**
* @param value list of regions to scan
*/
@JvmName("uswsinspsracndvp")
public suspend fun regions(`value`: Output>) {
this.regions = value
}
@JvmName("njnardwwgsnucquk")
public suspend fun regions(vararg values: Output) {
this.regions = Output.all(values.asList())
}
/**
* @param values list of regions to scan
*/
@JvmName("pqcigjwleqtqqtoq")
public suspend fun regions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy