![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.route53.kotlin.inputs.HostedZoneVpcArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.route53.kotlin.inputs
import com.pulumi.awsnative.route53.inputs.HostedZoneVpcArgs.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.jvm.JvmName
/**
* *Private hosted zones only:* A complex type that contains information about an Amazon VPC. Route 53 Resolver uses the records in the private hosted zone to route traffic in that VPC.
* For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``.
* @property vpcId *Private hosted zones only:* The ID of an Amazon VPC.
* For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``.
* @property vpcRegion *Private hosted zones only:* The region that an Amazon VPC was created in.
* For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``.
*/
public data class HostedZoneVpcArgs(
public val vpcId: Output,
public val vpcRegion: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.route53.inputs.HostedZoneVpcArgs =
com.pulumi.awsnative.route53.inputs.HostedZoneVpcArgs.builder()
.vpcId(vpcId.applyValue({ args0 -> args0 }))
.vpcRegion(vpcRegion.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HostedZoneVpcArgs].
*/
@PulumiTagMarker
public class HostedZoneVpcArgsBuilder internal constructor() {
private var vpcId: Output? = null
private var vpcRegion: Output? = null
/**
* @param value *Private hosted zones only:* The ID of an Amazon VPC.
* For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``.
*/
@JvmName("mxvusqoipkjislhl")
public suspend fun vpcId(`value`: Output) {
this.vpcId = value
}
/**
* @param value *Private hosted zones only:* The region that an Amazon VPC was created in.
* For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``.
*/
@JvmName("raxxbfmjmvvggvqi")
public suspend fun vpcRegion(`value`: Output) {
this.vpcRegion = value
}
/**
* @param value *Private hosted zones only:* The ID of an Amazon VPC.
* For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``.
*/
@JvmName("sidtptccwxhqrodv")
public suspend fun vpcId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.vpcId = mapped
}
/**
* @param value *Private hosted zones only:* The region that an Amazon VPC was created in.
* For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``.
*/
@JvmName("jnalanrrapsyrqtk")
public suspend fun vpcRegion(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.vpcRegion = mapped
}
internal fun build(): HostedZoneVpcArgs = HostedZoneVpcArgs(
vpcId = vpcId ?: throw PulumiNullFieldException("vpcId"),
vpcRegion = vpcRegion ?: throw PulumiNullFieldException("vpcRegion"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy