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

com.pulumi.awsnative.cloudformation.kotlin.ModuleVersionArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cloudformation.kotlin

import com.pulumi.awsnative.cloudformation.ModuleVersionArgs.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

/**
 * A module that has been registered in the CloudFormation registry.
 * ## Example Usage
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * @property moduleName The name of the module being registered.
 * Recommended module naming pattern: company_or_organization::service::type::MODULE.
 * @property modulePackage The url to the S3 bucket containing the schema and template fragment for the module you want to register.
 */
public data class ModuleVersionArgs(
    public val moduleName: Output? = null,
    public val modulePackage: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cloudformation.ModuleVersionArgs =
        com.pulumi.awsnative.cloudformation.ModuleVersionArgs.builder()
            .moduleName(moduleName?.applyValue({ args0 -> args0 }))
            .modulePackage(modulePackage?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ModuleVersionArgs].
 */
@PulumiTagMarker
public class ModuleVersionArgsBuilder internal constructor() {
    private var moduleName: Output? = null

    private var modulePackage: Output? = null

    /**
     * @param value The name of the module being registered.
     * Recommended module naming pattern: company_or_organization::service::type::MODULE.
     */
    @JvmName("iahjotnwjtcfdher")
    public suspend fun moduleName(`value`: Output) {
        this.moduleName = value
    }

    /**
     * @param value The url to the S3 bucket containing the schema and template fragment for the module you want to register.
     */
    @JvmName("xwlvnoxcroguxcbh")
    public suspend fun modulePackage(`value`: Output) {
        this.modulePackage = value
    }

    /**
     * @param value The name of the module being registered.
     * Recommended module naming pattern: company_or_organization::service::type::MODULE.
     */
    @JvmName("jayxbpwxrvwmgdvm")
    public suspend fun moduleName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.moduleName = mapped
    }

    /**
     * @param value The url to the S3 bucket containing the schema and template fragment for the module you want to register.
     */
    @JvmName("dhjfcuhmenriljkq")
    public suspend fun modulePackage(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.modulePackage = mapped
    }

    internal fun build(): ModuleVersionArgs = ModuleVersionArgs(
        moduleName = moduleName,
        modulePackage = modulePackage,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy