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

com.pulumi.awsnative.devicefarm.kotlin.VpceConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.devicefarm.kotlin

import com.pulumi.awsnative.devicefarm.VpceConfigurationArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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::DeviceFarm::VPCEConfiguration creates a new Device Farm VPCE Configuration
 * @property serviceDnsName The DNS name that Device Farm will use to map to the private service you want to access.
 * @property tags An array of key-value pairs to apply to this resource.
 * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
 * @property vpceConfigurationDescription An optional description that provides details about your VPC endpoint configuration.
 * @property vpceConfigurationName The friendly name you give to your VPC endpoint configuration to manage your configurations more easily.
 * @property vpceServiceName The name of the VPC endpoint service that you want to access from Device Farm.
 * The name follows the format `com.amazonaws.vpce.us-west-2.vpce-svc-id` .
 */
public data class VpceConfigurationArgs(
    public val serviceDnsName: Output? = null,
    public val tags: Output>? = null,
    public val vpceConfigurationDescription: Output? = null,
    public val vpceConfigurationName: Output? = null,
    public val vpceServiceName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.devicefarm.VpceConfigurationArgs =
        com.pulumi.awsnative.devicefarm.VpceConfigurationArgs.builder()
            .serviceDnsName(serviceDnsName?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .vpceConfigurationDescription(vpceConfigurationDescription?.applyValue({ args0 -> args0 }))
            .vpceConfigurationName(vpceConfigurationName?.applyValue({ args0 -> args0 }))
            .vpceServiceName(vpceServiceName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VpceConfigurationArgs].
 */
@PulumiTagMarker
public class VpceConfigurationArgsBuilder internal constructor() {
    private var serviceDnsName: Output? = null

    private var tags: Output>? = null

    private var vpceConfigurationDescription: Output? = null

    private var vpceConfigurationName: Output? = null

    private var vpceServiceName: Output? = null

    /**
     * @param value The DNS name that Device Farm will use to map to the private service you want to access.
     */
    @JvmName("vdgjncdilpdvglag")
    public suspend fun serviceDnsName(`value`: Output) {
        this.serviceDnsName = value
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
     */
    @JvmName("wboggkfkhkcklmnh")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("gxdiqrvnvkbioixm")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
     */
    @JvmName("emkfvvgmkwgwfleb")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value An optional description that provides details about your VPC endpoint configuration.
     */
    @JvmName("ovylwrosguscusgg")
    public suspend fun vpceConfigurationDescription(`value`: Output) {
        this.vpceConfigurationDescription = value
    }

    /**
     * @param value The friendly name you give to your VPC endpoint configuration to manage your configurations more easily.
     */
    @JvmName("xltjbtyrpkcoitpo")
    public suspend fun vpceConfigurationName(`value`: Output) {
        this.vpceConfigurationName = value
    }

    /**
     * @param value The name of the VPC endpoint service that you want to access from Device Farm.
     * The name follows the format `com.amazonaws.vpce.us-west-2.vpce-svc-id` .
     */
    @JvmName("rabuaqxmkvaaxpkl")
    public suspend fun vpceServiceName(`value`: Output) {
        this.vpceServiceName = value
    }

    /**
     * @param value The DNS name that Device Farm will use to map to the private service you want to access.
     */
    @JvmName("krlifxxtafymjjkl")
    public suspend fun serviceDnsName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceDnsName = mapped
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
     */
    @JvmName("spjdgvwsmkifgkec")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
     */
    @JvmName("ucpeigxewhadhams")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
     */
    @JvmName("psyvigajxkjbtcxg")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
     */
    @JvmName("ggxcauafdtecexae")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
     */
    @JvmName("jkisgsqpntudcnhd")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value An optional description that provides details about your VPC endpoint configuration.
     */
    @JvmName("gvintylbccwheuii")
    public suspend fun vpceConfigurationDescription(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpceConfigurationDescription = mapped
    }

    /**
     * @param value The friendly name you give to your VPC endpoint configuration to manage your configurations more easily.
     */
    @JvmName("tuebrdsfinpcwlwj")
    public suspend fun vpceConfigurationName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpceConfigurationName = mapped
    }

    /**
     * @param value The name of the VPC endpoint service that you want to access from Device Farm.
     * The name follows the format `com.amazonaws.vpce.us-west-2.vpce-svc-id` .
     */
    @JvmName("xkdcqhyxcbpgobce")
    public suspend fun vpceServiceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpceServiceName = mapped
    }

    internal fun build(): VpceConfigurationArgs = VpceConfigurationArgs(
        serviceDnsName = serviceDnsName,
        tags = tags,
        vpceConfigurationDescription = vpceConfigurationDescription,
        vpceConfigurationName = vpceConfigurationName,
        vpceServiceName = vpceServiceName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy