![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.SubnetCidrBlockArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin
import com.pulumi.awsnative.ec2.SubnetCidrBlockArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR
* @property ipv6CidrBlock The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
* @property ipv6IpamPoolId The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
* @property ipv6NetmaskLength The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
* @property subnetId The ID of the subnet
*/
public data class SubnetCidrBlockArgs(
public val ipv6CidrBlock: Output? = null,
public val ipv6IpamPoolId: Output? = null,
public val ipv6NetmaskLength: Output? = null,
public val subnetId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.SubnetCidrBlockArgs =
com.pulumi.awsnative.ec2.SubnetCidrBlockArgs.builder()
.ipv6CidrBlock(ipv6CidrBlock?.applyValue({ args0 -> args0 }))
.ipv6IpamPoolId(ipv6IpamPoolId?.applyValue({ args0 -> args0 }))
.ipv6NetmaskLength(ipv6NetmaskLength?.applyValue({ args0 -> args0 }))
.subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SubnetCidrBlockArgs].
*/
@PulumiTagMarker
public class SubnetCidrBlockArgsBuilder internal constructor() {
private var ipv6CidrBlock: Output? = null
private var ipv6IpamPoolId: Output? = null
private var ipv6NetmaskLength: Output? = null
private var subnetId: Output? = null
/**
* @param value The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
*/
@JvmName("yqjreelbywapkxqb")
public suspend fun ipv6CidrBlock(`value`: Output) {
this.ipv6CidrBlock = value
}
/**
* @param value The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
*/
@JvmName("vevipskhxpcircqp")
public suspend fun ipv6IpamPoolId(`value`: Output) {
this.ipv6IpamPoolId = value
}
/**
* @param value The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
*/
@JvmName("vgqkvlohioynbhfe")
public suspend fun ipv6NetmaskLength(`value`: Output) {
this.ipv6NetmaskLength = value
}
/**
* @param value The ID of the subnet
*/
@JvmName("txksiqrmelbdtnfw")
public suspend fun subnetId(`value`: Output) {
this.subnetId = value
}
/**
* @param value The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
*/
@JvmName("ammqlktyhavfxctk")
public suspend fun ipv6CidrBlock(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipv6CidrBlock = mapped
}
/**
* @param value The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
*/
@JvmName("rpkfhbhsbybcgtlk")
public suspend fun ipv6IpamPoolId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipv6IpamPoolId = mapped
}
/**
* @param value The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
*/
@JvmName("pxlcwolgehmdwjoa")
public suspend fun ipv6NetmaskLength(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipv6NetmaskLength = mapped
}
/**
* @param value The ID of the subnet
*/
@JvmName("yichufqblsmsclka")
public suspend fun subnetId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subnetId = mapped
}
internal fun build(): SubnetCidrBlockArgs = SubnetCidrBlockArgs(
ipv6CidrBlock = ipv6CidrBlock,
ipv6IpamPoolId = ipv6IpamPoolId,
ipv6NetmaskLength = ipv6NetmaskLength,
subnetId = subnetId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy