![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.guardduty.kotlin.MalwareProtectionPlanArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.guardduty.kotlin
import com.pulumi.awsnative.guardduty.MalwareProtectionPlanArgs.builder
import com.pulumi.awsnative.guardduty.kotlin.inputs.MalwareProtectionPlanCfnActionsArgs
import com.pulumi.awsnative.guardduty.kotlin.inputs.MalwareProtectionPlanCfnActionsArgsBuilder
import com.pulumi.awsnative.guardduty.kotlin.inputs.MalwareProtectionPlanCfnProtectedResourceArgs
import com.pulumi.awsnative.guardduty.kotlin.inputs.MalwareProtectionPlanCfnProtectedResourceArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::GuardDuty::MalwareProtectionPlan
* @property actions Specifies the action that is to be applied to the 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 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 MalwareProtectionPlanArgs(
public val actions: Output? = null,
public val protectedResource: Output? = null,
public val role: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.guardduty.MalwareProtectionPlanArgs =
com.pulumi.awsnative.guardduty.MalwareProtectionPlanArgs.builder()
.actions(actions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.protectedResource(protectedResource?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.role(role?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MalwareProtectionPlanArgs].
*/
@PulumiTagMarker
public class MalwareProtectionPlanArgsBuilder internal constructor() {
private var actions: Output? = null
private var protectedResource: Output? = null
private var role: Output? = null
private var tags: Output>? = null
/**
* @param value Specifies the action that is to be applied to the Malware Protection plan resource.
*/
@JvmName("rcpenwjkoqfscney")
public suspend fun actions(`value`: Output) {
this.actions = value
}
/**
* @param value Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
*/
@JvmName("ppfnfaamoyrjpdom")
public suspend fun protectedResource(`value`: Output) {
this.protectedResource = value
}
/**
* @param value IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
*/
@JvmName("lhvvnxbdwqchbtmb")
public suspend fun role(`value`: Output) {
this.role = value
}
/**
* @param value 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.
*/
@JvmName("kwbrbbqaahkukqji")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("rccfandfcsoqdfas")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("bgshtqfdpxmxqmlv")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy