All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.inputs.LaunchTemplateIpv6PrefixSpecificationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.LaunchTemplateIpv6PrefixSpecificationArgs.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.jvm.JvmName

/**
 * Specifies an IPv6 prefix for a network interface.
 *   ``Ipv6PrefixSpecification`` is a property of [AWS::EC2::LaunchTemplate NetworkInterface](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html).
 * @property ipv6Prefix The IPv6 prefix.
 */
public data class LaunchTemplateIpv6PrefixSpecificationArgs(
    public val ipv6Prefix: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.LaunchTemplateIpv6PrefixSpecificationArgs =
        com.pulumi.awsnative.ec2.inputs.LaunchTemplateIpv6PrefixSpecificationArgs.builder()
            .ipv6Prefix(ipv6Prefix?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LaunchTemplateIpv6PrefixSpecificationArgs].
 */
@PulumiTagMarker
public class LaunchTemplateIpv6PrefixSpecificationArgsBuilder internal constructor() {
    private var ipv6Prefix: Output? = null

    /**
     * @param value The IPv6 prefix.
     */
    @JvmName("mptwylualdwxwuff")
    public suspend fun ipv6Prefix(`value`: Output) {
        this.ipv6Prefix = value
    }

    /**
     * @param value The IPv6 prefix.
     */
    @JvmName("xtggviwtymdeeqxa")
    public suspend fun ipv6Prefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipv6Prefix = mapped
    }

    internal fun build(): LaunchTemplateIpv6PrefixSpecificationArgs =
        LaunchTemplateIpv6PrefixSpecificationArgs(
            ipv6Prefix = ipv6Prefix,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy