com.pulumi.awsnative.guardduty.kotlin.ThreatIntelSetArgs.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
import com.pulumi.awsnative.guardduty.ThreatIntelSetArgs.builder
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::ThreatIntelSet
* @property activate A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
* @property detectorId The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
* @property format The format of the file that contains the ThreatIntelSet.
* @property location The URI of the file that contains the ThreatIntelSet.
* @property name A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
* @property tags The tags to be added to a new threat list resource. Each tag consists of a key and an optional value, both of which you define.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
public data class ThreatIntelSetArgs(
public val activate: Output? = null,
public val detectorId: Output? = null,
public val format: Output? = null,
public val location: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.guardduty.ThreatIntelSetArgs =
com.pulumi.awsnative.guardduty.ThreatIntelSetArgs.builder()
.activate(activate?.applyValue({ args0 -> args0 }))
.detectorId(detectorId?.applyValue({ args0 -> args0 }))
.format(format?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ThreatIntelSetArgs].
*/
@PulumiTagMarker
public class ThreatIntelSetArgsBuilder internal constructor() {
private var activate: Output? = null
private var detectorId: Output? = null
private var format: Output? = null
private var location: Output? = null
private var name: Output? = null
private var tags: Output>? = null
/**
* @param value A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
*/
@JvmName("oluqfkvoeayfldmk")
public suspend fun activate(`value`: Output) {
this.activate = value
}
/**
* @param value The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
*/
@JvmName("tbfhepriytbjcbvf")
public suspend fun detectorId(`value`: Output) {
this.detectorId = value
}
/**
* @param value The format of the file that contains the ThreatIntelSet.
*/
@JvmName("colywljucaiikxhw")
public suspend fun format(`value`: Output) {
this.format = value
}
/**
* @param value The URI of the file that contains the ThreatIntelSet.
*/
@JvmName("rbwtfqxbmrseclqw")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
*/
@JvmName("dhaelkagomjwoabv")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The tags to be added to a new threat list resource. Each tag consists of a key and an optional value, both of which you define.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
@JvmName("awtorxhgonphshfp")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("avehdhpmqkvlcfaj")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags to be added to a new threat list resource. Each tag consists of a key and an optional value, both of which you define.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
@JvmName("yhbmpikwaqqbhbek")
public suspend fun tags(values: List