![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.macie.kotlin.SessionArgs.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.macie.SessionArgs.builder
import com.pulumi.awsnative.macie.kotlin.enums.SessionFindingPublishingFrequency
import com.pulumi.awsnative.macie.kotlin.enums.SessionStatus
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The AWS::Macie::Session resource specifies a new Amazon Macie session. A session is an object that represents the Amazon Macie service. A session is required for Amazon Macie to become operational.
* @property findingPublishingFrequency A enumeration value that specifies how frequently finding updates are published.
* @property status A enumeration value that specifies the status of the Macie Session.
*/
public data class SessionArgs(
public val findingPublishingFrequency: Output? = null,
public val status: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.macie.SessionArgs =
com.pulumi.awsnative.macie.SessionArgs.builder()
.findingPublishingFrequency(
findingPublishingFrequency?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [SessionArgs].
*/
@PulumiTagMarker
public class SessionArgsBuilder internal constructor() {
private var findingPublishingFrequency: Output? = null
private var status: Output? = null
/**
* @param value A enumeration value that specifies how frequently finding updates are published.
*/
@JvmName("ckrhiqbkqeuxylwy")
public suspend fun findingPublishingFrequency(`value`: Output) {
this.findingPublishingFrequency = value
}
/**
* @param value A enumeration value that specifies the status of the Macie Session.
*/
@JvmName("iivkemgnnqrllkdc")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value A enumeration value that specifies how frequently finding updates are published.
*/
@JvmName("qbsigqdtpvewrfrp")
public suspend fun findingPublishingFrequency(`value`: SessionFindingPublishingFrequency?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.findingPublishingFrequency = mapped
}
/**
* @param value A enumeration value that specifies the status of the Macie Session.
*/
@JvmName("fmaweqfyqkbhxuof")
public suspend fun status(`value`: SessionStatus?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): SessionArgs = SessionArgs(
findingPublishingFrequency = findingPublishingFrequency,
status = status,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy