
com.pulumi.awsnative.macie.kotlin.outputs.GetSessionResult.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.outputs
import com.pulumi.awsnative.macie.kotlin.enums.SessionFindingPublishingFrequency
import com.pulumi.awsnative.macie.kotlin.enums.SessionStatus
import kotlin.String
import kotlin.Suppress
/**
*
* @property awsAccountId AWS account ID of customer
* @property findingPublishingFrequency A enumeration value that specifies how frequently finding updates are published.
* @property serviceRole Service role used by Macie
* @property status A enumeration value that specifies the status of the Macie Session.
*/
public data class GetSessionResult(
public val awsAccountId: String? = null,
public val findingPublishingFrequency: SessionFindingPublishingFrequency? = null,
public val serviceRole: String? = null,
public val status: SessionStatus? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.macie.outputs.GetSessionResult): GetSessionResult = GetSessionResult(
awsAccountId = javaType.awsAccountId().map({ args0 -> args0 }).orElse(null),
findingPublishingFrequency = javaType.findingPublishingFrequency().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.macie.kotlin.enums.SessionFindingPublishingFrequency.Companion.toKotlin(args0)
})
}).orElse(null),
serviceRole = javaType.serviceRole().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.macie.kotlin.enums.SessionStatus.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy