com.pulumi.awsnative.ec2.kotlin.NetworkInsightsAnalysisArgs.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.ec2.kotlin
import com.pulumi.awsnative.ec2.NetworkInsightsAnalysisArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::EC2::NetworkInsightsAnalysis
* @property additionalAccounts The member accounts that contain resources that the path can traverse.
* @property filterInArns The Amazon Resource Names (ARN) of the resources that the path must traverse.
* @property networkInsightsPathId The ID of the path.
* @property tags The tags to apply.
*/
public data class NetworkInsightsAnalysisArgs(
public val additionalAccounts: Output>? = null,
public val filterInArns: Output>? = null,
public val networkInsightsPathId: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.NetworkInsightsAnalysisArgs =
com.pulumi.awsnative.ec2.NetworkInsightsAnalysisArgs.builder()
.additionalAccounts(additionalAccounts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.filterInArns(filterInArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.networkInsightsPathId(networkInsightsPathId?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [NetworkInsightsAnalysisArgs].
*/
@PulumiTagMarker
public class NetworkInsightsAnalysisArgsBuilder internal constructor() {
private var additionalAccounts: Output>? = null
private var filterInArns: Output>? = null
private var networkInsightsPathId: Output? = null
private var tags: Output>? = null
/**
* @param value The member accounts that contain resources that the path can traverse.
*/
@JvmName("sjdogluqxrikxbik")
public suspend fun additionalAccounts(`value`: Output>) {
this.additionalAccounts = value
}
@JvmName("lojayybvshgsgkeg")
public suspend fun additionalAccounts(vararg values: Output) {
this.additionalAccounts = Output.all(values.asList())
}
/**
* @param values The member accounts that contain resources that the path can traverse.
*/
@JvmName("oigmhpehbutyaiym")
public suspend fun additionalAccounts(values: List