com.pulumi.aws.synthetics.kotlin.inputs.CanaryVpcConfigArgs.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.synthetics.kotlin.inputs
import com.pulumi.aws.synthetics.inputs.CanaryVpcConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property securityGroupIds IDs of the security groups for this canary.
* @property subnetIds IDs of the subnets where this canary is to run.
* @property vpcId ID of the VPC where this canary is to run.
*/
public data class CanaryVpcConfigArgs(
public val securityGroupIds: Output>? = null,
public val subnetIds: Output>? = null,
public val vpcId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.synthetics.inputs.CanaryVpcConfigArgs =
com.pulumi.aws.synthetics.inputs.CanaryVpcConfigArgs.builder()
.securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CanaryVpcConfigArgs].
*/
@PulumiTagMarker
public class CanaryVpcConfigArgsBuilder internal constructor() {
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
private var vpcId: Output? = null
/**
* @param value IDs of the security groups for this canary.
*/
@JvmName("bskbeaxgxqgrixkj")
public suspend fun securityGroupIds(`value`: Output>) {
this.securityGroupIds = value
}
@JvmName("rxnyfyceofrvldyf")
public suspend fun securityGroupIds(vararg values: Output) {
this.securityGroupIds = Output.all(values.asList())
}
/**
* @param values IDs of the security groups for this canary.
*/
@JvmName("cebrymcljmbvhuir")
public suspend fun securityGroupIds(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy