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

com.pulumi.awsnative.entityresolution.kotlin.outputs.GetIdNamespaceResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.entityresolution.kotlin.outputs

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

/**
 *
 * @property createdAt The date and time when the IdNamespace was created
 * @property description The description of the ID namespace.
 * @property idMappingWorkflowProperties Determines the properties of `IdMappingWorflow` where this `IdNamespace` can be used as a `Source` or a `Target` .
 * @property idNamespaceArn The arn associated with the IdNamespace
 * @property inputSourceConfig A list of `InputSource` objects, which have the fields `InputSourceARN` and `SchemaName` .
 * @property roleArn The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to access the resources defined in this `IdNamespace` on your behalf as part of the workflow run.
 * @property tags The tags used to organize, track, or control access for this resource.
 * @property type The type of ID namespace. There are two types: `SOURCE` and `TARGET` .
 * The `SOURCE` contains configurations for `sourceId` data that will be processed in an ID mapping workflow.
 * The `TARGET` contains a configuration of `targetId` which all `sourceIds` will resolve to.
 * @property updatedAt The date and time when the IdNamespace was updated
 */
public data class GetIdNamespaceResult(
    public val createdAt: String? = null,
    public val description: String? = null,
    public val idMappingWorkflowProperties: List? = null,
    public val idNamespaceArn: String? = null,
    public val inputSourceConfig: List? = null,
    public val roleArn: String? = null,
    public val tags: List? = null,
    public val type: IdNamespaceType? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.entityresolution.outputs.GetIdNamespaceResult): GetIdNamespaceResult = GetIdNamespaceResult(
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            idMappingWorkflowProperties = javaType.idMappingWorkflowProperties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.entityresolution.kotlin.outputs.IdNamespaceIdMappingWorkflowProperties.Companion.toKotlin(args0)
                })
            }),
            idNamespaceArn = javaType.idNamespaceArn().map({ args0 -> args0 }).orElse(null),
            inputSourceConfig = javaType.inputSourceConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.entityresolution.kotlin.outputs.IdNamespaceInputSource.Companion.toKotlin(args0)
                })
            }),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            type = javaType.type().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.entityresolution.kotlin.enums.IdNamespaceType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy