All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.globalaccelerator.kotlin.inputs.CrossAccountAttachmentResourceArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.globalaccelerator.kotlin.inputs

import com.pulumi.aws.globalaccelerator.inputs.CrossAccountAttachmentResourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property cidrBlock IP address range, in CIDR format, that is specified as resource.
 * @property endpointId The endpoint ID for the endpoint that is specified as a AWS resource.
 * @property region The AWS Region where a shared endpoint resource is located.
 */
public data class CrossAccountAttachmentResourceArgs(
    public val cidrBlock: Output? = null,
    public val endpointId: Output? = null,
    public val region: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.globalaccelerator.inputs.CrossAccountAttachmentResourceArgs = com.pulumi.aws.globalaccelerator.inputs.CrossAccountAttachmentResourceArgs.builder()
        .cidrBlock(cidrBlock?.applyValue({ args0 -> args0 }))
        .endpointId(endpointId?.applyValue({ args0 -> args0 }))
        .region(region?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CrossAccountAttachmentResourceArgs].
 */
@PulumiTagMarker
public class CrossAccountAttachmentResourceArgsBuilder internal constructor() {
    private var cidrBlock: Output? = null

    private var endpointId: Output? = null

    private var region: Output? = null

    /**
     * @param value IP address range, in CIDR format, that is specified as resource.
     */
    @JvmName("pbhriaqbrhgnkjih")
    public suspend fun cidrBlock(`value`: Output) {
        this.cidrBlock = value
    }

    /**
     * @param value The endpoint ID for the endpoint that is specified as a AWS resource.
     */
    @JvmName("qjusanleafcajgah")
    public suspend fun endpointId(`value`: Output) {
        this.endpointId = value
    }

    /**
     * @param value The AWS Region where a shared endpoint resource is located.
     */
    @JvmName("fjgxrlouyusfkhyv")
    public suspend fun region(`value`: Output) {
        this.region = value
    }

    /**
     * @param value IP address range, in CIDR format, that is specified as resource.
     */
    @JvmName("sfvbvfermxncwhba")
    public suspend fun cidrBlock(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cidrBlock = mapped
    }

    /**
     * @param value The endpoint ID for the endpoint that is specified as a AWS resource.
     */
    @JvmName("wasyfxyosemlangh")
    public suspend fun endpointId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpointId = mapped
    }

    /**
     * @param value The AWS Region where a shared endpoint resource is located.
     */
    @JvmName("niwqxrjvboniunsd")
    public suspend fun region(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.region = mapped
    }

    internal fun build(): CrossAccountAttachmentResourceArgs = CrossAccountAttachmentResourceArgs(
        cidrBlock = cidrBlock,
        endpointId = endpointId,
        region = region,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy