
com.pulumi.awsnative.networkmanager.kotlin.ConnectPeerArgs.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.ConnectPeerArgs.builder
import com.pulumi.awsnative.networkmanager.kotlin.inputs.ConnectPeerBgpOptionsArgs
import com.pulumi.awsnative.networkmanager.kotlin.inputs.ConnectPeerBgpOptionsArgsBuilder
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::ConnectPeer Resource Type Definition.
* @property bgpOptions Bgp options for connect peer.
* @property connectAttachmentId The ID of the attachment to connect.
* @property coreNetworkAddress The IP address of a core network.
* @property insideCidrBlocks The inside IP addresses used for a Connect peer configuration.
* @property peerAddress The IP address of the Connect peer.
* @property subnetArn The subnet ARN for the connect peer.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class ConnectPeerArgs(
public val bgpOptions: Output? = null,
public val connectAttachmentId: Output? = null,
public val coreNetworkAddress: Output? = null,
public val insideCidrBlocks: Output>? = null,
public val peerAddress: Output? = null,
public val subnetArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.networkmanager.ConnectPeerArgs =
com.pulumi.awsnative.networkmanager.ConnectPeerArgs.builder()
.bgpOptions(bgpOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.connectAttachmentId(connectAttachmentId?.applyValue({ args0 -> args0 }))
.coreNetworkAddress(coreNetworkAddress?.applyValue({ args0 -> args0 }))
.insideCidrBlocks(insideCidrBlocks?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.peerAddress(peerAddress?.applyValue({ args0 -> args0 }))
.subnetArn(subnetArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ConnectPeerArgs].
*/
@PulumiTagMarker
public class ConnectPeerArgsBuilder internal constructor() {
private var bgpOptions: Output? = null
private var connectAttachmentId: Output? = null
private var coreNetworkAddress: Output? = null
private var insideCidrBlocks: Output>? = null
private var peerAddress: Output? = null
private var subnetArn: Output? = null
private var tags: Output>? = null
/**
* @param value Bgp options for connect peer.
*/
@JvmName("gexdbtdailyxevbe")
public suspend fun bgpOptions(`value`: Output) {
this.bgpOptions = value
}
/**
* @param value The ID of the attachment to connect.
*/
@JvmName("hchgijgmuooulkpc")
public suspend fun connectAttachmentId(`value`: Output) {
this.connectAttachmentId = value
}
/**
* @param value The IP address of a core network.
*/
@JvmName("ffelgsvbchqmedor")
public suspend fun coreNetworkAddress(`value`: Output) {
this.coreNetworkAddress = value
}
/**
* @param value The inside IP addresses used for a Connect peer configuration.
*/
@JvmName("usdmivmnowdkenet")
public suspend fun insideCidrBlocks(`value`: Output>) {
this.insideCidrBlocks = value
}
@JvmName("oskkmaqqlumkjyxr")
public suspend fun insideCidrBlocks(vararg values: Output) {
this.insideCidrBlocks = Output.all(values.asList())
}
/**
* @param values The inside IP addresses used for a Connect peer configuration.
*/
@JvmName("cksncqwyxwtcyryo")
public suspend fun insideCidrBlocks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy