com.pulumi.aws.guardduty.kotlin.inputs.MalwareProtectionPlanProtectedResourceS3BucketArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.guardduty.kotlin.inputs
import com.pulumi.aws.guardduty.inputs.MalwareProtectionPlanProtectedResourceS3BucketArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property bucketName Name of the S3 bucket.
* @property objectPrefixes The list of object prefixes that specify the S3 objects that will be scanned.
*/
public data class MalwareProtectionPlanProtectedResourceS3BucketArgs(
public val bucketName: Output,
public val objectPrefixes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.guardduty.inputs.MalwareProtectionPlanProtectedResourceS3BucketArgs =
com.pulumi.aws.guardduty.inputs.MalwareProtectionPlanProtectedResourceS3BucketArgs.builder()
.bucketName(bucketName.applyValue({ args0 -> args0 }))
.objectPrefixes(objectPrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [MalwareProtectionPlanProtectedResourceS3BucketArgs].
*/
@PulumiTagMarker
public class MalwareProtectionPlanProtectedResourceS3BucketArgsBuilder internal constructor() {
private var bucketName: Output? = null
private var objectPrefixes: Output>? = null
/**
* @param value Name of the S3 bucket.
*/
@JvmName("nbpctdtudtkcrhdq")
public suspend fun bucketName(`value`: Output) {
this.bucketName = value
}
/**
* @param value The list of object prefixes that specify the S3 objects that will be scanned.
*/
@JvmName("jcjqmqiogsuelumw")
public suspend fun objectPrefixes(`value`: Output>) {
this.objectPrefixes = value
}
@JvmName("cjocmesentfeocij")
public suspend fun objectPrefixes(vararg values: Output) {
this.objectPrefixes = Output.all(values.asList())
}
/**
* @param values The list of object prefixes that specify the S3 objects that will be scanned.
*/
@JvmName("xwqivjlwpqoiygwo")
public suspend fun objectPrefixes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy