All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.securityhub.kotlin.outputs.GetInsightResult.kt Maven / Gradle / Ivy

@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