
com.pulumi.awsnative.networkmanager.kotlin.ConnectAttachmentArgs.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.networkmanager.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.networkmanager.ConnectAttachmentArgs.builder
import com.pulumi.awsnative.networkmanager.kotlin.inputs.ConnectAttachmentOptionsArgs
import com.pulumi.awsnative.networkmanager.kotlin.inputs.ConnectAttachmentOptionsArgsBuilder
import com.pulumi.awsnative.networkmanager.kotlin.inputs.ConnectAttachmentProposedSegmentChangeArgs
import com.pulumi.awsnative.networkmanager.kotlin.inputs.ConnectAttachmentProposedSegmentChangeArgsBuilder
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
/**
* AWS::NetworkManager::ConnectAttachment Resource Type Definition
* @property coreNetworkId ID of the CoreNetwork that the attachment will be attached to.
* @property edgeLocation Edge location of the attachment.
* @property options Protocol options for connect attachment
* @property proposedSegmentChange The attachment to move from one segment to another.
* @property tags Tags for the attachment.
* @property transportAttachmentId Id of transport attachment
*/
public data class ConnectAttachmentArgs(
public val coreNetworkId: Output? = null,
public val edgeLocation: Output? = null,
public val options: Output? = null,
public val proposedSegmentChange: Output? = null,
public val tags: Output>? = null,
public val transportAttachmentId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.networkmanager.ConnectAttachmentArgs =
com.pulumi.awsnative.networkmanager.ConnectAttachmentArgs.builder()
.coreNetworkId(coreNetworkId?.applyValue({ args0 -> args0 }))
.edgeLocation(edgeLocation?.applyValue({ args0 -> args0 }))
.options(options?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.proposedSegmentChange(
proposedSegmentChange?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.transportAttachmentId(transportAttachmentId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectAttachmentArgs].
*/
@PulumiTagMarker
public class ConnectAttachmentArgsBuilder internal constructor() {
private var coreNetworkId: Output? = null
private var edgeLocation: Output? = null
private var options: Output? = null
private var proposedSegmentChange: Output? = null
private var tags: Output>? = null
private var transportAttachmentId: Output? = null
/**
* @param value ID of the CoreNetwork that the attachment will be attached to.
*/
@JvmName("mokcwvavgtcjdeau")
public suspend fun coreNetworkId(`value`: Output) {
this.coreNetworkId = value
}
/**
* @param value Edge location of the attachment.
*/
@JvmName("epxsmsclkimvsetv")
public suspend fun edgeLocation(`value`: Output) {
this.edgeLocation = value
}
/**
* @param value Protocol options for connect attachment
*/
@JvmName("srrfxxdhaxxrhttm")
public suspend fun options(`value`: Output) {
this.options = value
}
/**
* @param value The attachment to move from one segment to another.
*/
@JvmName("ackguurpcophlwwq")
public suspend fun proposedSegmentChange(`value`: Output) {
this.proposedSegmentChange = value
}
/**
* @param value Tags for the attachment.
*/
@JvmName("dcrrhpmwujdchbsd")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ddcerxxymbqiljbn")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags for the attachment.
*/
@JvmName("dbwgahkekobwilcr")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy