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

com.pulumi.awsnative.greengrassv2.kotlin.outputs.GetComponentVersionResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.greengrassv2.kotlin.outputs

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

/**
 *
 * @property arn The ARN of the component version.
 * @property componentName The name of the component.
 * @property componentVersion The version of the component.
 * @property tags Application-specific metadata to attach to the component version. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see [Tag your AWS IoT Greengrass Version 2 resources](https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html) in the *AWS IoT Greengrass V2 Developer Guide* .
 * This `Json` property type is processed as a map of key-value pairs. It uses the following format, which is different from most `Tags` implementations in AWS CloudFormation templates.
 * ```json
 * "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
 * }
 * ```
 */
public data class GetComponentVersionResult(
    public val arn: String? = null,
    public val componentName: String? = null,
    public val componentVersion: String? = null,
    public val tags: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.outputs.GetComponentVersionResult): GetComponentVersionResult = GetComponentVersionResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            componentName = javaType.componentName().map({ args0 -> args0 }).orElse(null),
            componentVersion = javaType.componentVersion().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy