
com.pulumi.awsnative.guardduty.kotlin.outputs.GetMalwareProtectionPlanResult.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 com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property actions Specifies the action that is to be applied to the Malware Protection plan resource.
* @property arn Amazon Resource Name (ARN) of the protected resource.
* @property createdAt The timestamp when the Malware Protection plan resource was created.
* @property malwareProtectionPlanId A unique identifier associated with Malware Protection plan resource.
* @property protectedResource Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
* @property role IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
* @property status Status of the Malware Protection plan resource.
* @property statusReasons Status details associated with the Malware Protection plan resource status.
* @property tags The tags to be added to the created Malware Protection plan resource. Each tag consists of a key and an optional value, both of which you need to specify.
*/
public data class GetMalwareProtectionPlanResult(
public val actions: MalwareProtectionPlanCfnActions? = null,
public val arn: String? = null,
public val createdAt: String? = null,
public val malwareProtectionPlanId: String? = null,
public val protectedResource: MalwareProtectionPlanCfnProtectedResource? = null,
public val role: String? = null,
public val status: String? = null,
public val statusReasons: List? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.guardduty.outputs.GetMalwareProtectionPlanResult): GetMalwareProtectionPlanResult = GetMalwareProtectionPlanResult(
actions = javaType.actions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.guardduty.kotlin.outputs.MalwareProtectionPlanCfnActions.Companion.toKotlin(args0)
})
}).orElse(null),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
malwareProtectionPlanId = javaType.malwareProtectionPlanId().map({ args0 -> args0 }).orElse(null),
protectedResource = javaType.protectedResource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.guardduty.kotlin.outputs.MalwareProtectionPlanCfnProtectedResource.Companion.toKotlin(args0)
})
}).orElse(null),
role = javaType.role().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
statusReasons = javaType.statusReasons().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.guardduty.kotlin.outputs.MalwareProtectionPlanCfnStatusReasons.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy