com.pulumi.awsnative.ec2.kotlin.NetworkInsightsAccessScopeArgs.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.NetworkInsightsAccessScopeArgs.builder
import com.pulumi.awsnative.ec2.kotlin.inputs.NetworkInsightsAccessScopeAccessScopePathRequestArgs
import com.pulumi.awsnative.ec2.kotlin.inputs.NetworkInsightsAccessScopeAccessScopePathRequestArgsBuilder
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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::EC2::NetworkInsightsAccessScope
* @property excludePaths The paths to exclude.
* @property matchPaths The paths to match.
* @property tags The tags.
*/
public data class NetworkInsightsAccessScopeArgs(
public val excludePaths: Output>? =
null,
public val matchPaths: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.NetworkInsightsAccessScopeArgs =
com.pulumi.awsnative.ec2.NetworkInsightsAccessScopeArgs.builder()
.excludePaths(
excludePaths?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.matchPaths(
matchPaths?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [NetworkInsightsAccessScopeArgs].
*/
@PulumiTagMarker
public class NetworkInsightsAccessScopeArgsBuilder internal constructor() {
private var excludePaths: Output>? =
null
private var matchPaths: Output>? = null
private var tags: Output>? = null
/**
* @param value The paths to exclude.
*/
@JvmName("gwxedejbcmwmjket")
public suspend fun excludePaths(`value`: Output>) {
this.excludePaths = value
}
@JvmName("orvjottjsgyjmusr")
public suspend fun excludePaths(vararg values: Output) {
this.excludePaths = Output.all(values.asList())
}
/**
* @param values The paths to exclude.
*/
@JvmName("bmlwmfifgacprtll")
public suspend fun excludePaths(values: List