com.pulumi.aws.ec2.kotlin.inputs.VpcPeeringConnectionAccepterRequesterArgs.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.VpcPeeringConnectionAccepterRequesterArgs.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 VpcPeeringConnectionAccepterRequesterArgs(
public val allowRemoteVpcDnsResolution: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ec2.inputs.VpcPeeringConnectionAccepterRequesterArgs =
com.pulumi.aws.ec2.inputs.VpcPeeringConnectionAccepterRequesterArgs.builder()
.allowRemoteVpcDnsResolution(allowRemoteVpcDnsResolution?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VpcPeeringConnectionAccepterRequesterArgs].
*/
@PulumiTagMarker
public class VpcPeeringConnectionAccepterRequesterArgsBuilder 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("hndwsxlnbrcxcjhn")
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("drylipacpxclwept")
public suspend fun allowRemoteVpcDnsResolution(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.allowRemoteVpcDnsResolution = mapped
}
internal fun build(): VpcPeeringConnectionAccepterRequesterArgs =
VpcPeeringConnectionAccepterRequesterArgs(
allowRemoteVpcDnsResolution = allowRemoteVpcDnsResolution,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy