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

com.pulumi.awsnative.configuration.kotlin.inputs.TemplateSsmDocumentDetailsPropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.configuration.kotlin.inputs

import com.pulumi.awsnative.configuration.inputs.TemplateSsmDocumentDetailsPropertiesArgs.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

/**
 * The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
 * @property documentName The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, AWS Config checks only your account and AWS Region for the SSM document.
 * @property documentVersion The version of the SSM document to use to create a conformance pack. By default, AWS Config uses the latest version.
 * > This field is optional.
 */
public data class TemplateSsmDocumentDetailsPropertiesArgs(
    public val documentName: Output? = null,
    public val documentVersion: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.configuration.inputs.TemplateSsmDocumentDetailsPropertiesArgs =
        com.pulumi.awsnative.configuration.inputs.TemplateSsmDocumentDetailsPropertiesArgs.builder()
            .documentName(documentName?.applyValue({ args0 -> args0 }))
            .documentVersion(documentVersion?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TemplateSsmDocumentDetailsPropertiesArgs].
 */
@PulumiTagMarker
public class TemplateSsmDocumentDetailsPropertiesArgsBuilder internal constructor() {
    private var documentName: Output? = null

    private var documentVersion: Output? = null

    /**
     * @param value The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, AWS Config checks only your account and AWS Region for the SSM document.
     */
    @JvmName("xeoxnvgmsmyeqqik")
    public suspend fun documentName(`value`: Output) {
        this.documentName = value
    }

    /**
     * @param value The version of the SSM document to use to create a conformance pack. By default, AWS Config uses the latest version.
     * > This field is optional.
     */
    @JvmName("nrhllddcudlpxoup")
    public suspend fun documentVersion(`value`: Output) {
        this.documentVersion = value
    }

    /**
     * @param value The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, AWS Config checks only your account and AWS Region for the SSM document.
     */
    @JvmName("rqyahcyeisbsmxfj")
    public suspend fun documentName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.documentName = mapped
    }

    /**
     * @param value The version of the SSM document to use to create a conformance pack. By default, AWS Config uses the latest version.
     * > This field is optional.
     */
    @JvmName("qmkkwkjlartdmypu")
    public suspend fun documentVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.documentVersion = mapped
    }

    internal fun build(): TemplateSsmDocumentDetailsPropertiesArgs =
        TemplateSsmDocumentDetailsPropertiesArgs(
            documentName = documentName,
            documentVersion = documentVersion,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy