
com.pulumi.awsnative.securityhub.kotlin.outputs.GetInsightResult.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.securityhub.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property filters One or more attributes used to filter the findings included in the insight
* @property groupByAttribute The grouping attribute for the insight's findings
* @property insightArn The ARN of a Security Hub insight
* @property name The name of a Security Hub insight
*/
public data class GetInsightResult(
public val filters: InsightAwsSecurityFindingFilters? = null,
public val groupByAttribute: String? = null,
public val insightArn: String? = null,
public val name: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.GetInsightResult): GetInsightResult = GetInsightResult(
filters = javaType.filters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.outputs.InsightAwsSecurityFindingFilters.Companion.toKotlin(args0)
})
}).orElse(null),
groupByAttribute = javaType.groupByAttribute().map({ args0 -> args0 }).orElse(null),
insightArn = javaType.insightArn().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy