com.pulumi.awsnative.fms.kotlin.ResourceSetArgs.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.fms.kotlin
import com.pulumi.awsnative.fms.ResourceSetArgs.builder
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
/**
* Creates an AWS Firewall Manager resource set.
* @property description A description of the resource set.
* @property name The descriptive name of the resource set. You can't change the name of a resource set after you create it.
* @property resourceTypeList Determines the resources that can be associated to the resource set. Depending on your setting for max results and the number of resource sets, a single call might not return the full list.
* @property resources
* @property tags
*/
public data class ResourceSetArgs(
public val description: Output? = null,
public val name: Output? = null,
public val resourceTypeList: Output>? = null,
public val resources: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.fms.ResourceSetArgs =
com.pulumi.awsnative.fms.ResourceSetArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.resourceTypeList(resourceTypeList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.resources(resources?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ResourceSetArgs].
*/
@PulumiTagMarker
public class ResourceSetArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var resourceTypeList: Output>? = null
private var resources: Output>? = null
private var tags: Output>? = null
/**
* @param value A description of the resource set.
*/
@JvmName("ogxgttedneywraph")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The descriptive name of the resource set. You can't change the name of a resource set after you create it.
*/
@JvmName("ygkawsbayglucirk")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Determines the resources that can be associated to the resource set. Depending on your setting for max results and the number of resource sets, a single call might not return the full list.
*/
@JvmName("jlfxlkhcnfnokyed")
public suspend fun resourceTypeList(`value`: Output>) {
this.resourceTypeList = value
}
@JvmName("wkqukdoumxrpugnq")
public suspend fun resourceTypeList(vararg values: Output) {
this.resourceTypeList = Output.all(values.asList())
}
/**
* @param values Determines the resources that can be associated to the resource set. Depending on your setting for max results and the number of resource sets, a single call might not return the full list.
*/
@JvmName("aflspqptrnvgkjox")
public suspend fun resourceTypeList(values: List