Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.awsnative.ec2.kotlin
import com.pulumi.awsnative.ec2.DhcpOptionsArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::EC2::DHCPOptions
* @property domainName This value is used to complete unqualified DNS hostnames.
* @property domainNameServers The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
* @property ipv6AddressPreferredLeaseTime The preferred Lease Time for ipV6 address in seconds.
* @property netbiosNameServers The IPv4 addresses of up to four NetBIOS name servers.
* @property netbiosNodeType The NetBIOS node type (1, 2, 4, or 8).
* @property ntpServers The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
* @property tags Any tags assigned to the DHCP options set.
*/
public data class DhcpOptionsArgs(
public val domainName: Output? = null,
public val domainNameServers: Output>? = null,
public val ipv6AddressPreferredLeaseTime: Output? = null,
public val netbiosNameServers: Output>? = null,
public val netbiosNodeType: Output? = null,
public val ntpServers: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.DhcpOptionsArgs =
com.pulumi.awsnative.ec2.DhcpOptionsArgs.builder()
.domainName(domainName?.applyValue({ args0 -> args0 }))
.domainNameServers(domainNameServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ipv6AddressPreferredLeaseTime(ipv6AddressPreferredLeaseTime?.applyValue({ args0 -> args0 }))
.netbiosNameServers(netbiosNameServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.netbiosNodeType(netbiosNodeType?.applyValue({ args0 -> args0 }))
.ntpServers(ntpServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DhcpOptionsArgs].
*/
@PulumiTagMarker
public class DhcpOptionsArgsBuilder internal constructor() {
private var domainName: Output? = null
private var domainNameServers: Output>? = null
private var ipv6AddressPreferredLeaseTime: Output? = null
private var netbiosNameServers: Output>? = null
private var netbiosNodeType: Output? = null
private var ntpServers: Output>? = null
private var tags: Output>? = null
/**
* @param value This value is used to complete unqualified DNS hostnames.
*/
@JvmName("itumahxcijmfqqjw")
public suspend fun domainName(`value`: Output) {
this.domainName = value
}
/**
* @param value The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
*/
@JvmName("tgbdfneqgjnaiexf")
public suspend fun domainNameServers(`value`: Output>) {
this.domainNameServers = value
}
@JvmName("wkayndrikembglva")
public suspend fun domainNameServers(vararg values: Output) {
this.domainNameServers = Output.all(values.asList())
}
/**
* @param values The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
*/
@JvmName("esgsblpgoluucill")
public suspend fun domainNameServers(values: List