![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.workspacesweb.kotlin.NetworkSettingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.workspacesweb.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.workspacesweb.NetworkSettingsArgs.builder
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
/**
* Definition of AWS::WorkSpacesWeb::NetworkSettings Resource Type
* @property securityGroupIds One or more security groups used to control access from streaming instances to your VPC.
* *Pattern* : `^[\w+\-]+$`
* @property subnetIds The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
* *Pattern* : `^subnet-([0-9a-f]{8}|[0-9a-f]{17})$`
* @property tags The tags to add to the network settings resource. A tag is a key-value pair.
* @property vpcId The VPC that streaming instances will connect to.
* *Pattern* : `^vpc-[0-9a-z]*$`
*/
public data class NetworkSettingsArgs(
public val securityGroupIds: Output>? = null,
public val subnetIds: Output>? = null,
public val tags: Output>? = null,
public val vpcId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.workspacesweb.NetworkSettingsArgs =
com.pulumi.awsnative.workspacesweb.NetworkSettingsArgs.builder()
.securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NetworkSettingsArgs].
*/
@PulumiTagMarker
public class NetworkSettingsArgsBuilder internal constructor() {
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
private var tags: Output>? = null
private var vpcId: Output? = null
/**
* @param value One or more security groups used to control access from streaming instances to your VPC.
* *Pattern* : `^[\w+\-]+$`
*/
@JvmName("dkxntqbadpfvmmcx")
public suspend fun securityGroupIds(`value`: Output>) {
this.securityGroupIds = value
}
@JvmName("khtavdwjdidjpkvi")
public suspend fun securityGroupIds(vararg values: Output) {
this.securityGroupIds = Output.all(values.asList())
}
/**
* @param values One or more security groups used to control access from streaming instances to your VPC.
* *Pattern* : `^[\w+\-]+$`
*/
@JvmName("ksogdymvqraimxbe")
public suspend fun securityGroupIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy