Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.guardduty.kotlin
import com.pulumi.awsnative.guardduty.DetectorArgs.builder
import com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfnDataSourceConfigurationsArgs
import com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfnDataSourceConfigurationsArgsBuilder
import com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfnFeatureConfigurationArgs
import com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfnFeatureConfigurationArgsBuilder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::GuardDuty::Detector
* @property dataSources Describes which data sources will be enabled for the detector.
* @property enable Specifies whether the detector is to be enabled on creation.
* @property features A list of features that will be configured for the detector.
* @property findingPublishingFrequency Specifies how frequently updated findings are exported.
* @property tags Specifies tags added to a new detector resource. Each tag consists of a key and an optional value, both of which you define.
* Currently, support is available only for creating and deleting a tag. No support exists for updating the tags.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
public data class DetectorArgs(
public val dataSources: Output? = null,
public val enable: Output? = null,
public val features: Output>? = null,
public val findingPublishingFrequency: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.guardduty.DetectorArgs =
com.pulumi.awsnative.guardduty.DetectorArgs.builder()
.dataSources(dataSources?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.enable(enable?.applyValue({ args0 -> args0 }))
.features(
features?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.findingPublishingFrequency(findingPublishingFrequency?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DetectorArgs].
*/
@PulumiTagMarker
public class DetectorArgsBuilder internal constructor() {
private var dataSources: Output? = null
private var enable: Output? = null
private var features: Output>? = null
private var findingPublishingFrequency: Output? = null
private var tags: Output>? = null
/**
* @param value Describes which data sources will be enabled for the detector.
*/
@JvmName("kgfyjorcpyyjnbtq")
public suspend fun dataSources(`value`: Output) {
this.dataSources = value
}
/**
* @param value Specifies whether the detector is to be enabled on creation.
*/
@JvmName("fikyutxenighakus")
public suspend fun enable(`value`: Output) {
this.enable = value
}
/**
* @param value A list of features that will be configured for the detector.
*/
@JvmName("jmmafegooiqmigtt")
public suspend fun features(`value`: Output>) {
this.features = value
}
@JvmName("ihjxkggmshkvwase")
public suspend fun features(vararg values: Output) {
this.features = Output.all(values.asList())
}
/**
* @param values A list of features that will be configured for the detector.
*/
@JvmName("pehwnefunpjgxfql")
public suspend fun features(values: List