com.pulumi.aws.ec2.kotlin.inputs.VpcPeeringConnectionAccepterAccepterArgs.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.ec2.kotlin.inputs
import com.pulumi.aws.ec2.inputs.VpcPeeringConnectionAccepterAccepterArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property allowRemoteVpcDnsResolution Indicates whether a local VPC can resolve public DNS hostnames to
* private IP addresses when queried from instances in a peer VPC.
*/
public data class VpcPeeringConnectionAccepterAccepterArgs(
public val allowRemoteVpcDnsResolution: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ec2.inputs.VpcPeeringConnectionAccepterAccepterArgs =
com.pulumi.aws.ec2.inputs.VpcPeeringConnectionAccepterAccepterArgs.builder()
.allowRemoteVpcDnsResolution(allowRemoteVpcDnsResolution?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VpcPeeringConnectionAccepterAccepterArgs].
*/
@PulumiTagMarker
public class VpcPeeringConnectionAccepterAccepterArgsBuilder internal constructor() {
private var allowRemoteVpcDnsResolution: Output? = null
/**
* @param value Indicates whether a local VPC can resolve public DNS hostnames to
* private IP addresses when queried from instances in a peer VPC.
*/
@JvmName("uejayoicrienshrg")
public suspend fun allowRemoteVpcDnsResolution(`value`: Output) {
this.allowRemoteVpcDnsResolution = value
}
/**
* @param value Indicates whether a local VPC can resolve public DNS hostnames to
* private IP addresses when queried from instances in a peer VPC.
*/
@JvmName("gkcakyjqatxigita")
public suspend fun allowRemoteVpcDnsResolution(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.allowRemoteVpcDnsResolution = mapped
}
internal fun build(): VpcPeeringConnectionAccepterAccepterArgs =
VpcPeeringConnectionAccepterAccepterArgs(
allowRemoteVpcDnsResolution = allowRemoteVpcDnsResolution,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy