com.pulumi.awsnative.guardduty.kotlin.outputs.GetMemberResult.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.guardduty.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property email The email address associated with the member account.
* @property status You can use the `Status` property to update the status of the relationship between the member account and its administrator account. Valid values are `Created` and `Invited` when using an `AWS::GuardDuty::Member` resource. If the value for this property is not provided or set to `Created` , a member account is created but not invited. If the value of this property is set to `Invited` , a member account is created and invited.
*/
public data class GetMemberResult(
public val email: String? = null,
public val status: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.guardduty.outputs.GetMemberResult): GetMemberResult = GetMemberResult(
email = javaType.email().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
)
}
}