![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.vpclattice.kotlin.ServiceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.vpclattice.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.vpclattice.ServiceArgs.builder
import com.pulumi.awsnative.vpclattice.kotlin.enums.ServiceAuthType
import com.pulumi.awsnative.vpclattice.kotlin.inputs.ServiceDnsEntryArgs
import com.pulumi.awsnative.vpclattice.kotlin.inputs.ServiceDnsEntryArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
* @property authType The type of IAM policy.
* - `NONE` : The resource does not use an IAM policy. This is the default.
* - `AWS_IAM` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
* @property certificateArn The Amazon Resource Name (ARN) of the certificate.
* @property customDomainName The custom domain name of the service.
* @property dnsEntry The DNS information of the service.
* @property name The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
* If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
* @property tags The tags for the service.
*/
public data class ServiceArgs(
public val authType: Output? = null,
public val certificateArn: Output? = null,
public val customDomainName: Output? = null,
public val dnsEntry: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.vpclattice.ServiceArgs =
com.pulumi.awsnative.vpclattice.ServiceArgs.builder()
.authType(authType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.certificateArn(certificateArn?.applyValue({ args0 -> args0 }))
.customDomainName(customDomainName?.applyValue({ args0 -> args0 }))
.dnsEntry(dnsEntry?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ServiceArgs].
*/
@PulumiTagMarker
public class ServiceArgsBuilder internal constructor() {
private var authType: Output? = null
private var certificateArn: Output? = null
private var customDomainName: Output? = null
private var dnsEntry: Output? = null
private var name: Output? = null
private var tags: Output>? = null
/**
* @param value The type of IAM policy.
* - `NONE` : The resource does not use an IAM policy. This is the default.
* - `AWS_IAM` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
*/
@JvmName("balrjiqygmssqgoj")
public suspend fun authType(`value`: Output) {
this.authType = value
}
/**
* @param value The Amazon Resource Name (ARN) of the certificate.
*/
@JvmName("syvhusvxcwwmgsef")
public suspend fun certificateArn(`value`: Output) {
this.certificateArn = value
}
/**
* @param value The custom domain name of the service.
*/
@JvmName("sdhkdmqirecnnmti")
public suspend fun customDomainName(`value`: Output) {
this.customDomainName = value
}
/**
* @param value The DNS information of the service.
*/
@JvmName("jhlpvnxcqabuxcup")
public suspend fun dnsEntry(`value`: Output) {
this.dnsEntry = value
}
/**
* @param value The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
* If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
*/
@JvmName("eboecoipegpmfkku")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The tags for the service.
*/
@JvmName("chbujwruabrrjqkw")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("lssdenbtsqvctort")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags for the service.
*/
@JvmName("qqjrjwsqrxpcnkye")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy