com.pulumi.awsnative.macie.kotlin.CustomDataIdentifierArgs.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.macie.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.macie.CustomDataIdentifierArgs.builder
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Macie CustomDataIdentifier resource schema
* @property description Description of custom data identifier.
* @property ignoreWords Words to be ignored.
* @property keywords Keywords to be matched against.
* @property maximumMatchDistance Maximum match distance.
* @property name Name of custom data identifier.
* @property regex Regular expression for custom data identifier.
* @property tags A collection of tags associated with a resource
*/
public data class CustomDataIdentifierArgs(
public val description: Output? = null,
public val ignoreWords: Output>? = null,
public val keywords: Output>? = null,
public val maximumMatchDistance: Output? = null,
public val name: Output? = null,
public val regex: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.macie.CustomDataIdentifierArgs =
com.pulumi.awsnative.macie.CustomDataIdentifierArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.ignoreWords(ignoreWords?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.keywords(keywords?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.maximumMatchDistance(maximumMatchDistance?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.regex(regex?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CustomDataIdentifierArgs].
*/
@PulumiTagMarker
public class CustomDataIdentifierArgsBuilder internal constructor() {
private var description: Output? = null
private var ignoreWords: Output>? = null
private var keywords: Output>? = null
private var maximumMatchDistance: Output? = null
private var name: Output? = null
private var regex: Output? = null
private var tags: Output>? = null
/**
* @param value Description of custom data identifier.
*/
@JvmName("wgmnwniollyrvxwu")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Words to be ignored.
*/
@JvmName("mhbvailmsrbjybeq")
public suspend fun ignoreWords(`value`: Output>) {
this.ignoreWords = value
}
@JvmName("nvoxyhjloiwcokex")
public suspend fun ignoreWords(vararg values: Output) {
this.ignoreWords = Output.all(values.asList())
}
/**
* @param values Words to be ignored.
*/
@JvmName("drpokgxounquohlq")
public suspend fun ignoreWords(values: List