com.pulumi.awsnative.refactorspaces.kotlin.ServiceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
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.refactorspaces.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.refactorspaces.ServiceArgs.builder
import com.pulumi.awsnative.refactorspaces.kotlin.enums.ServiceEndpointType
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.ServiceLambdaEndpointInputArgs
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.ServiceLambdaEndpointInputArgsBuilder
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.ServiceUrlEndpointInputArgs
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.ServiceUrlEndpointInputArgsBuilder
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
/**
* Definition of AWS::RefactorSpaces::Service Resource Type
* @property applicationIdentifier The unique identifier of the application.
* @property description A description of the service.
* @property endpointType The endpoint type of the service.
* @property environmentIdentifier The unique identifier of the environment.
* @property lambdaEndpoint A summary of the configuration for the AWS Lambda endpoint type.
* @property name The name of the service.
* @property tags Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
* @property urlEndpoint The summary of the configuration for the URL endpoint type.
* @property vpcId The ID of the virtual private cloud (VPC).
*/
public data class ServiceArgs(
public val applicationIdentifier: Output? = null,
public val description: Output? = null,
public val endpointType: Output? = null,
public val environmentIdentifier: Output? = null,
public val lambdaEndpoint: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
public val urlEndpoint: Output? = null,
public val vpcId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.refactorspaces.ServiceArgs =
com.pulumi.awsnative.refactorspaces.ServiceArgs.builder()
.applicationIdentifier(applicationIdentifier?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.endpointType(endpointType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.environmentIdentifier(environmentIdentifier?.applyValue({ args0 -> args0 }))
.lambdaEndpoint(lambdaEndpoint?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.urlEndpoint(urlEndpoint?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceArgs].
*/
@PulumiTagMarker
public class ServiceArgsBuilder internal constructor() {
private var applicationIdentifier: Output? = null
private var description: Output? = null
private var endpointType: Output? = null
private var environmentIdentifier: Output? = null
private var lambdaEndpoint: Output? = null
private var name: Output? = null
private var tags: Output>? = null
private var urlEndpoint: Output? = null
private var vpcId: Output? = null
/**
* @param value The unique identifier of the application.
*/
@JvmName("fcliyusmdaekwofs")
public suspend fun applicationIdentifier(`value`: Output) {
this.applicationIdentifier = value
}
/**
* @param value A description of the service.
*/
@JvmName("eopwfedjmeocpqus")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The endpoint type of the service.
*/
@JvmName("oksxdnlospjaodfv")
public suspend fun endpointType(`value`: Output) {
this.endpointType = value
}
/**
* @param value The unique identifier of the environment.
*/
@JvmName("odovgfeuuudytuof")
public suspend fun environmentIdentifier(`value`: Output) {
this.environmentIdentifier = value
}
/**
* @param value A summary of the configuration for the AWS Lambda endpoint type.
*/
@JvmName("ebapqfunneeolojr")
public suspend fun lambdaEndpoint(`value`: Output) {
this.lambdaEndpoint = value
}
/**
* @param value The name of the service.
*/
@JvmName("bxtiocxyvyawpmat")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
*/
@JvmName("ubiulxnvhhyopolc")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("gouvbviapjojjebm")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
*/
@JvmName("cbktdgmvxqhdmrda")
public suspend fun tags(values: List