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

com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetIdMappingTableResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cleanrooms.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the ID mapping table.
 * @property collaborationArn The Amazon Resource Name (ARN) of the collaboration that contains this ID mapping table.
 * @property collaborationIdentifier
 * @property description The description of the ID mapping table.
 * @property idMappingTableIdentifier
 * @property inputReferenceProperties
 * @property kmsKeyArn The Amazon Resource Name (ARN) of the AWS KMS key.
 * @property membershipArn The Amazon Resource Name (ARN) of the membership resource for the ID mapping table.
 * @property tags An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
 */
public data class GetIdMappingTableResult(
    public val arn: String? = null,
    public val collaborationArn: String? = null,
    public val collaborationIdentifier: String? = null,
    public val description: String? = null,
    public val idMappingTableIdentifier: String? = null,
    public val inputReferenceProperties: IdMappingTableInputReferenceProperties? = null,
    public val kmsKeyArn: String? = null,
    public val membershipArn: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cleanrooms.outputs.GetIdMappingTableResult): GetIdMappingTableResult = GetIdMappingTableResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            collaborationArn = javaType.collaborationArn().map({ args0 -> args0 }).orElse(null),
            collaborationIdentifier = javaType.collaborationIdentifier().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            idMappingTableIdentifier = javaType.idMappingTableIdentifier().map({ args0 -> args0 }).orElse(null),
            inputReferenceProperties = javaType.inputReferenceProperties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cleanrooms.kotlin.outputs.IdMappingTableInputReferenceProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
            membershipArn = javaType.membershipArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy