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

com.pulumi.awsnative.imagebuilder.kotlin.outputs.GetDistributionConfigurationResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.imagebuilder.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the distribution configuration.
 * @property description The description of the distribution configuration.
 * @property distributions The distributions of the distribution configuration.
 * @property tags The tags associated with the component.
 */
public data class GetDistributionConfigurationResult(
    public val arn: String? = null,
    public val description: String? = null,
    public val distributions: List? = null,
    public val tags: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.outputs.GetDistributionConfigurationResult): GetDistributionConfigurationResult = GetDistributionConfigurationResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            distributions = javaType.distributions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.imagebuilder.kotlin.outputs.DistributionConfigurationDistribution.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy