com.pulumi.awsnative.ec2.kotlin.outputs.GetNetworkInsightsAccessScopeAnalysisResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import com.pulumi.awsnative.ec2.kotlin.enums.NetworkInsightsAccessScopeAnalysisFindingsFound
import com.pulumi.awsnative.ec2.kotlin.enums.NetworkInsightsAccessScopeAnalysisStatus
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property analyzedEniCount The number of network interfaces analyzed.
* @property endDate The end date of the analysis.
* @property findingsFound Indicates whether there are findings (true | false | unknown).
* @property networkInsightsAccessScopeAnalysisArn The ARN of the Network Access Scope analysis.
* @property networkInsightsAccessScopeAnalysisId The ID of the Network Access Scope analysis.
* @property startDate The start date of the analysis.
* @property status The status of the analysis (running | succeeded | failed).
* @property statusMessage The status message.
* @property tags The tags.
*/
public data class GetNetworkInsightsAccessScopeAnalysisResult(
public val analyzedEniCount: Int? = null,
public val endDate: String? = null,
public val findingsFound: NetworkInsightsAccessScopeAnalysisFindingsFound? = null,
public val networkInsightsAccessScopeAnalysisArn: String? = null,
public val networkInsightsAccessScopeAnalysisId: String? = null,
public val startDate: String? = null,
public val status: NetworkInsightsAccessScopeAnalysisStatus? = null,
public val statusMessage: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetNetworkInsightsAccessScopeAnalysisResult): GetNetworkInsightsAccessScopeAnalysisResult = GetNetworkInsightsAccessScopeAnalysisResult(
analyzedEniCount = javaType.analyzedEniCount().map({ args0 -> args0 }).orElse(null),
endDate = javaType.endDate().map({ args0 -> args0 }).orElse(null),
findingsFound = javaType.findingsFound().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.enums.NetworkInsightsAccessScopeAnalysisFindingsFound.Companion.toKotlin(args0)
})
}).orElse(null),
networkInsightsAccessScopeAnalysisArn = javaType.networkInsightsAccessScopeAnalysisArn().map({ args0 ->
args0
}).orElse(null),
networkInsightsAccessScopeAnalysisId = javaType.networkInsightsAccessScopeAnalysisId().map({ args0 ->
args0
}).orElse(null),
startDate = javaType.startDate().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.enums.NetworkInsightsAccessScopeAnalysisStatus.Companion.toKotlin(args0)
})
}).orElse(null),
statusMessage = javaType.statusMessage().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}