com.pulumi.aws.grafana.kotlin.inputs.WorkspaceVpcConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.grafana.kotlin.inputs
import com.pulumi.aws.grafana.inputs.WorkspaceVpcConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property securityGroupIds The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
* @property subnetIds The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
*/
public data class WorkspaceVpcConfigurationArgs(
public val securityGroupIds: Output>,
public val subnetIds: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.grafana.inputs.WorkspaceVpcConfigurationArgs =
com.pulumi.aws.grafana.inputs.WorkspaceVpcConfigurationArgs.builder()
.securityGroupIds(securityGroupIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WorkspaceVpcConfigurationArgs].
*/
@PulumiTagMarker
public class WorkspaceVpcConfigurationArgsBuilder internal constructor() {
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
/**
* @param value The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
*/
@JvmName("ugewgwqgjugxmjcc")
public suspend fun securityGroupIds(`value`: Output>) {
this.securityGroupIds = value
}
@JvmName("ufjimxayxsrsqfgv")
public suspend fun securityGroupIds(vararg values: Output) {
this.securityGroupIds = Output.all(values.asList())
}
/**
* @param values The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
*/
@JvmName("xxmxvrlfpsiyjpsn")
public suspend fun securityGroupIds(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy